CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ Truncate< TEntity >()

static void Cqrs.DataStores.SqlDataStoreExtension.Truncate< TEntity > ( this Table< TEntity >  table)
static

Calls the TRUNCATE SQL command on the Table<TEntity>.

Template Parameters
TEntityThe Type of IEntity to truncate all data of.
Parameters
tableThe Table<TEntity> to truncate all data of.
Type Constraints
TEntity :class