Skip to content

TruncateAsync Method ​

Definition ​

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

Overloads ​

NameDescription
Task<bool> TruncateAsync()Executes a TRUNCATE against the underlying table for T.
Task<bool> TruncateAsync(Type entityType)Executes a TRUNCATE against the underlying table for the specified runtime entity type.

Task<bool> TruncateAsync(Type entityType) ​

csharp
Task<bool> TruncateAsync(Type entityType)

Executes a TRUNCATE against the underlying table for the specified runtime entity type.

Task<bool> TruncateAsync() ​

csharp
Task<bool> TruncateAsync()

Executes a TRUNCATE against the underlying table for T.

Remarks ​

Danger: TRUNCATE removes all rows and is typically not recoverable. Ensure you understand transactional behavior and permissions for your provider.