Class DbTableExtensions
Provides extension methods for database table object.
Inheritance
System.Object
DbTableExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.Primitives
Assembly: DevZest.Data.dll
Syntax
public static class DbTableExtensions
Methods
Name | Description |
---|---|
BuildDeleteStatement<TSource, TTarget>(DbTable<TTarget>, DbSet<TSource>, IReadOnlyList<ColumnMapping>) | Builds DELETE query statement. |
BuildInsertStatement<TSource, TTarget>(DbTable<TTarget>, DbSet<TSource>, Action<ColumnMapper, TSource, TTarget>) | Builds INSERT query statement. |
BuildInsertStatement<TSource, TTarget>(DbTable<TTarget>, DbSet<TSource>, IReadOnlyList<ColumnMapping>) | Builds INSERT query statement. |
BuildUpdateStatement(IDbTable, IDbTable, IReadOnlyList<ColumnMapping>, IReadOnlyList<ColumnMapping>) | Builds UPDATE query statement. |
BuildUpdateStatement<TSource, TTarget>(DbTable<TTarget>, DbSet<TSource>, Action<ColumnMapper, TSource, TTarget>, IReadOnlyList<ColumnMapping>) | Builds UPDATE query statement. |
BuildUpdateStatement<TSource, TTarget>(DbTable<TTarget>, DbSet<TSource>, IReadOnlyList<ColumnMapping>, IReadOnlyList<ColumnMapping>) | Builds UPDATE query statement. |
UpdateAsync(IDbTable, DbSelectStatement, CancellationToken) | Executes UPDATE query statement. |