Skip to content

DeleteListByPkAsync Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
Task<int> DeleteListByPkAsync(IEnumerable<object> ids, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null)Deletes a list of records by primary key values.
Task<int> DeleteListByPkAsync(Type entityType, IEnumerable<object> ids, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null)Deletes a list of records by primary key values using a runtime entity type.

Task<int> DeleteListByPkAsync(Type entityType, IEnumerable<object> ids, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null) ​

csharp
Task<int> DeleteListByPkAsync(Type entityType, IEnumerable<object> ids, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null)

Deletes a list of records by primary key values using a runtime entity type.

Task<int> DeleteListByPkAsync(IEnumerable<object> ids, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null) ​

csharp
Task<int> DeleteListByPkAsync(IEnumerable<object> ids, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null)

Deletes a list of records by primary key values.