![]()  | 
  
    CQRS.NET
    2.1
    
   A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments. 
   | 
 
| void Cqrs.DataStores.IDataStore< TData >.Destroy | ( | TData | data | ) | 
Remove the provided data (normally by IEntity.Rsn) from the data store and persist the change.
Implemented in Cqrs.DataStores.SqlDataStore< TData >, Cqrs.Azure.DocumentDb.DataStores.AzureDocumentDbDataStore< TData >, Cqrs.MongoDB.DataStores.MongoDbDataStore< TData >, Cqrs.DataStores.InProcessDataStore< TData >, and Cqrs.Mongo.DataStores.MongoDataStore< TData >.