The Repository type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Repository |
Initializes instance of the Repository class.
|
Methods
Name | Description | |
---|---|---|
Create<(Of <<'(T>)>>) |
Creates a data entity.
| |
Delete<(Of <<'(T>)>>) |
Deletes a data entity
| |
Equals | (Inherited from Object.) | |
ExecuteUnitOfWork | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetTop<(Of <<'(T>)>>) |
Gets a list of entities of type T.
| |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
Initialize()()()() |
Initializes the license repository using the application configuration.
AppSettings value for the "SimpleMode.SecureLicenseManager.Data.DbManagerType" key will be used to identify the type of the IDBManager instance that will be created.
AppSettings value for the "SimpleMode.SecureLicenseManager.Data.ConnectionString" key will be used to identify the connection string.
| |
Initialize(IDbManager, String) |
Initializes a repository instance using dbManager and connectionString parameters.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update<(Of <<'(T>)>>) |
Updates a data entity.
|