Skip to content

Truncate Method ​

Definition ​

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

Overloads ​

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

bool Truncate(Type entityType) ​

csharp
bool Truncate(Type entityType)

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

bool Truncate() ​

csharp
bool Truncate()

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.