Click or drag to resize
Db Class
Provides functional to execute queries for database.
Inheritance Hierarchy
SystemObject
  LiteRepositoryDb

Namespace: LiteRepository
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public class Db

The Db type exposes the following members.

Constructors
Methods
  NameDescription
Public methodDeleteE(ExpressionFuncE, Boolean, Object)
Deletes entities which meet where conditions from the database.
Public methodDeleteE, K(K)
Deletes entity with key from the database.
Public methodDeleteAsyncE(ExpressionFuncE, Boolean, Object)
An asynchronous version of Delete.
Public methodDeleteAsyncE, K(K)
An asynchronous version of Delete.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecT
Executes any action method in database transaction.
Public methodExecAsyncT
An asynchronous version of Exec.
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 methodGetE
Returns a collection of entities which meet a where condition.
Public methodGetAsyncE
An asynchronous version of Get.
Public methodGetByKeyE, K
Returns an entity with the key.
Public methodGetByKeyAsyncE, K
An asynchronous version of GetByKeyAsync.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetScalarE, T
Returns a scalar expression.
Public methodGetScalarAsyncE, T
An asynchronous version of GetScalar.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertE
Inserts entity to the database.
Public methodInsertAsyncE
An asynchronous version of Insert.
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 methodTruncateE
Truncates entities from the database.
Public methodTruncateAsyncE
An asynchronous version of Delete.
Public methodUpdateE(E)
Updates entity in the database.
Public methodUpdateE(Object, ExpressionFuncE, Boolean)
Updates subset subEntity of the entity in the database.
Public methodUpdateAsyncE(E)
An asynchronous version of Update.
Public methodUpdateAsyncE(Object, ExpressionFuncE, Boolean)
An asynchronous version of Update.
Top
See Also