The IRepository type exposes the following members.

Methods

  NameDescription
Public methodCreate<(Of <<'(T>)>>)
Creates a data entity.
Public methodDelete<(Of <<'(T>)>>)
Deletes a data entity
Public methodExecuteUnitOfWork
Performs a unit of work by executing the action within a transaction to perform an all or nothing operation.
Public methodFind<(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.
Public methodGet<(Of <<'(T>)>>)
Gets an instance of the entity type T with that has an integer id specified by the id parameter
Public methodGetCount<(Of <<'(T>)>>)
Gets the total count of entities of type T found in the database.
Public methodGetTop<(Of <<'(T>)>>)
Gets a list of entities of type T.
Public methodInitialize()()()()
Initializes a repository instance using default configuration settings.
Public methodInitialize(IDbManager, String)
Initializes a repository instance using dbManager and connectionString parameters.
Public methodUpdate<(Of <<'(T>)>>)
Updates a data entity.

See Also