Method DeleteAsync
|
Improve this Doc
View Source
DeleteAsync<TSource, TTarget>(DataSet<TSource>, DbTable<TTarget>, CandidateKey, CancellationToken)
Declaration
protected override sealed Task<int> DeleteAsync<TSource, TTarget>(DataSet<TSource> source, DbTable<TTarget> target, CandidateKey targetKey, CancellationToken cancellationToken)
where TSource : class, IEntity, new()
where TTarget : class, IEntity, new()
Parameters
Type |
Name |
Description |
DataSet<TSource> |
source |
|
DbTable<TTarget> |
target |
|
CandidateKey |
targetKey |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Int32> |
|
Type Parameters
Name |
Description |
TSource |
|
TTarget |
|
Overrides
DevZest.Data.Primitives.DbSession.DeleteAsync<TSource, TTarget>(DevZest.Data.DataSet<TSource>, DevZest.Data.DbTable<TTarget>, DevZest.Data.CandidateKey, System.Threading.CancellationToken)