BuildYourOwnDAL.Actions.DatabaseAction.CreateCommand C# (CSharp) Method

CreateCommand() protected method

protected CreateCommand ( ) : SqlCommand
return System.Data.SqlClient.SqlCommand
        protected SqlCommand CreateCommand()
        {
            var command = Connection.CreateCommand();
            command.Transaction = Transaction;
            return command;
        }