C# Class SIP_Agent.Model.Task

Inheritance: Crud, ICrud
显示文件 Open project: anroots/SIP-Agent

Private Properties

Property Type Description

Public Methods

Method Description
Calls ( ) : int[]

Returns an array of all call ID's associated with this task

FindAll ( int Limit ) : IQueryable

Find all non-deleted rows

GetTasks ( int TaskIds ) : task[]

Returns tasks matching given ID's

Load ( int TaskId ) : bool

Load the model with the specified ID

New ( ) : int

Creates a new entry in the database

Save ( ) : int

Save the model

Task ( ) : System

Task ( int TaskId ) : System

Method Details

Calls() public method

Returns an array of all call ID's associated with this task
public Calls ( ) : int[]
return int[]

FindAll() public method

Find all non-deleted rows
public FindAll ( int Limit ) : IQueryable
Limit int Max number of rows to return
return IQueryable

GetTasks() public method

Returns tasks matching given ID's
public GetTasks ( int TaskIds ) : task[]
TaskIds int
return task[]

Load() public method

Load the model with the specified ID
public Load ( int TaskId ) : bool
TaskId int The ID of the row in the database
return bool

New() public method

Creates a new entry in the database
public New ( ) : int
return int

Save() public method

Save the model
public Save ( ) : int
return int

Task() public method

public Task ( ) : System
return System

Task() public method

public Task ( int TaskId ) : System
TaskId int
return System