The IRepository type exposes the following members.
Methods
Name | Description | |
---|---|---|
Create<(Of <<'(T>)>>) |
Creates a data entity.
| |
Delete<(Of <<'(T>)>>) |
Deletes a data entity
| |
ExecuteUnitOfWork |
Performs a unit of work by executing the action within a transaction to perform an all or nothing operation.
| |
Find<(Of <<'(T>)>>) |
Performs a search by example using the item parameter.
Property values of the item parameter are used to construct the necessary search query.
| |
Get<(Of <<'(T>)>>) |
Gets an instance of the entity type T with that has an integer id specified by the id parameter
| |
GetCount<(Of <<'(T>)>>) |
Gets the total count of entities of type T found in the database.
| |
GetTop<(Of <<'(T>)>>) |
Gets a list of entities of type T.
| |
Initialize()()()() |
Initializes a repository instance using default configuration settings.
| |
Initialize(IDbManager, String) |
Initializes a repository instance using dbManager and connectionString parameters.
| |
Update<(Of <<'(T>)>>) |
Updates a data entity.
|