프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Contacts | IQueryable |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
LoadContacts | void |
메소드 | 설명 | |
---|---|---|
FindAll ( int Limit ) : IQueryable |
Finds all persons
|
|
FullName ( person row ) : string |
Take a DB person row and concat first + last names
|
|
GetEmail ( ) : string |
Get's the person's email
|
|
GetPhone ( ) : string |
Search for the person's phone
|
|
Load ( int PersonId ) : bool |
|
|
Login ( string Username, string Password ) : bool |
Authenticate the user
|
|
Logout ( ) : void |
Log the user out
|
|
New ( ) : int |
Creates a new row in the database
|
|
Person ( ) : System |
Empty constructor
|
|
Person ( int PersonId ) : System |
Create and load the model
|
|
PreviousCalls ( System.DateTime Until ) : call[] |
Get previous calls (up to that point) by the caller
|
|
Save ( ) : int |
Validation checks before saving
|
메소드 | 설명 | |
---|---|---|
LoadContacts ( ) : void |
Loads the loaded person's contact entries
|
public FindAll ( int Limit ) : IQueryable | ||
Limit | int | The max number of rows to return |
리턴 | IQueryable |
public Login ( string Username, string Password ) : bool | ||
Username | string | |
Password | string | |
리턴 | bool |
public PreviousCalls ( System.DateTime Until ) : call[] | ||
Until | System.DateTime | Previous calls up to that point |
리턴 | call[] |