| Db Class |
Namespace: LiteRepository
public class Db
The Db type exposes the following members.
| Name | Description | |
|---|---|---|
| Db(SqlDialect, DbConnection) |
Initializes a new instance of the Db class.
| |
| Db(SqlDialect, FuncDbConnection) |
Initializes a new instance of the Db class.
|
| Name | Description | |
|---|---|---|
| DeleteE(ExpressionFuncE, Boolean, Object) |
Deletes entities which meet where conditions from the database.
| |
| DeleteE, K(K) |
Deletes entity with key from the database.
| |
| DeleteAsyncE(ExpressionFuncE, Boolean, Object) |
An asynchronous version of Delete.
| |
| DeleteAsyncE, K(K) |
An asynchronous version of Delete.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExecT |
Executes any action method in database transaction.
| |
| ExecAsyncT |
An asynchronous version of Exec.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetE |
Returns a collection of entities which meet a where condition.
| |
| GetAsyncE |
An asynchronous version of Get.
| |
| GetByKeyE, K |
Returns an entity with the key.
| |
| GetByKeyAsyncE, K |
An asynchronous version of GetByKeyAsync.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetScalarE, T |
Returns a scalar expression.
| |
| GetScalarAsyncE, T |
An asynchronous version of GetScalar.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InsertE |
Inserts entity to the database.
| |
| InsertAsyncE |
An asynchronous version of Insert.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TruncateE |
Truncates entities from the database.
| |
| TruncateAsyncE |
An asynchronous version of Delete.
| |
| UpdateE(E) |
Updates entity in the database.
| |
| UpdateE(Object, ExpressionFuncE, Boolean) |
Updates subset subEntity of the entity in the database.
| |
| UpdateAsyncE(E) |
An asynchronous version of Update.
| |
| UpdateAsyncE(Object, ExpressionFuncE, Boolean) |
An asynchronous version of Update.
|