Name | Description | |
---|---|---|
BaseRepository<T> Constructor |
The following tables list the members exposed by BaseRepository<T>.
Name | Description | |
---|---|---|
BaseRepository<T> Constructor |
Name | Description | |
---|---|---|
Count | Return the count of records in the table | |
CreateQuery | LINQ Provider | |
Delete | Delete the corresponding record in the database | |
DeleteWithChildren | Delete the corresponding record in the database and all its children | |
GetLazyValue<TC> | Load a child or a parent by the property name lambda | |
LoadAll | Overloaded. Load all the records from a table into a class list | |
LoadLookup | Load the primary key and the first text field. | |
LoadOne | Overloaded. Load the first record in a table | |
LoadPage | Load a page of records that are ordered | |
LoadWithChildren | Load a record by the primary key with all children | |
Save | Overloaded. Insert or Update a record depending upon if the primary keys is the default value | |
SaveWithChildren | Save an object with its parent and children | |
Search | Search for records based on the passed in search object and page in the database | |
SearchCount | Count the number of records for a search |