public void CompletelyRemove(Type documentType) { var tableName = DocumentMapping.TableNameFor(documentType); dropTable(tableName); var dropTargets = _dropFunctionSql.ToFormat(DocumentMapping.UpsertNameFor(documentType)); dropFunctions(dropTargets); }
public void DeleteDocumentsFor(Type documentType) { var tableName = DocumentMapping.TableNameFor(documentType); truncateTable(tableName); }