Skip to content

DeleteByPkAsync Method ​

Definition ​

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

Overloads ​

NameDescription
Task<bool> DeleteByPkAsync(object id, int commandTimeout = null, CancellationToken cancellationToken = null)Deletes a row by primary key value.
Task<bool> DeleteByPkAsync(TableInfo table, object id, int commandTimeout = null, CancellationToken cancellationToken = null)Deletes a row by primary key value.
Task<bool> DeleteByPkAsync(Type entityType, object id, int commandTimeout = null, CancellationToken cancellationToken = null)Deletes a row by primary key value.

Task<bool> DeleteByPkAsync(TableInfo table, object id, int commandTimeout = null, CancellationToken cancellationToken = null) ​

csharp
Task<bool> DeleteByPkAsync(TableInfo table, object id, int commandTimeout = null, CancellationToken cancellationToken = null)

Deletes a row by primary key value.

Task<bool> DeleteByPkAsync(Type entityType, object id, int commandTimeout = null, CancellationToken cancellationToken = null) ​

csharp
Task<bool> DeleteByPkAsync(Type entityType, object id, int commandTimeout = null, CancellationToken cancellationToken = null)

Deletes a row by primary key value.

Task<bool> DeleteByPkAsync(object id, int commandTimeout = null, CancellationToken cancellationToken = null) ​

csharp
Task<bool> DeleteByPkAsync(object id, int commandTimeout = null, CancellationToken cancellationToken = null)

Deletes a row by primary key value.