Свойство | Type | Description | |
---|---|---|---|
Contacts | IQueryable |
Свойство | Type | Description | |
---|---|---|---|
LoadContacts | void |
Méthode | Description | |
---|---|---|
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
|
Méthode | Description | |
---|---|---|
LoadContacts ( ) : void |
Loads the loaded person's contact entries
|
public FindAll ( int Limit ) : IQueryable | ||
Limit | int | The max number of rows to return |
Résultat | IQueryable |
public static FullName ( person row ) : string | ||
row | person | |
Résultat | string |
public Login ( string Username, string Password ) : bool | ||
Username | string | |
Password | string | |
Résultat | bool |
public PreviousCalls ( System.DateTime Until ) : call[] | ||
Until | System.DateTime | Previous calls up to that point |
Résultat | call[] |