C# Class SIP_Agent.Model.Company

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

Private Properties

Property Type Description

Public Methods

Method Description
Company ( ) : System

Empty constructor

Company ( int companyId ) : System

Create and load the model

FindAll ( int Limit ) : IQueryable

Find all non-deleted rows

Load ( int CompanyId ) : bool

Load the model with data (row from the DB)

New ( ) : int

Creates a new row in the database

Method Details

Company() public method

Empty constructor
public Company ( ) : System
return System

Company() public method

Create and load the model
public Company ( int companyId ) : System
companyId int
return System

FindAll() public method

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

Load() public method

Load the model with data (row from the DB)
public Load ( int CompanyId ) : bool
CompanyId int
return bool

New() public method

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