Свойство | Type | Description | |
---|---|---|---|
CurrentConnection | DatabaseDataContext |
Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
Crud ( ) : System |
Default constructor - create a new DatabaseDataContext
|
|
FindAll ( int Limit ) : IQueryable |
Find all non-deleted rows
|
|
Load ( int Id ) : bool |
Load the model with the specified ID
|
|
Loaded ( ) : bool |
Check if the model is loaded
|
|
New ( ) : int |
Create a new row
|
|
Save ( ) : int |
Save the currently loaded model
|
|
Unload ( ) : void |
Unload the model
|
Méthode | Description | |
---|---|---|
ResetConnection ( ) : void |
Reset the DB connection
|
public FindAll ( int Limit ) : IQueryable | ||
Limit | int | Max number of rows to return |
Résultat | IQueryable |
public Load ( int Id ) : bool | ||
Id | int | The ID of the row in the database |
Résultat | bool |