The Repository type exposes the following members.

Methods

  NameDescription
Public methodCreate<(Of <<'(T>)>>)
Creates a data entity.
Public methodDelete<(Of <<'(T>)>>)
Deletes a data entity
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecuteUnitOfWork
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTop<(Of <<'(T>)>>)
Gets a list of entities of type T.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodInitialize()()()()
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.
Public methodInitialize(IDbManager, String)
Initializes a repository instance using dbManager and connectionString parameters.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate<(Of <<'(T>)>>)
Updates a data entity.

See Also