예제 #1
0
        public void CompletelyRemove(Type documentType)
        {
            var tableName = DocumentMapping.TableNameFor(documentType);

            dropTable(tableName);

            var dropTargets = _dropFunctionSql.ToFormat(DocumentMapping.UpsertNameFor(documentType));

            dropFunctions(dropTargets);
        }
예제 #2
0
        public void DeleteDocumentsFor(Type documentType)
        {
            var tableName = DocumentMapping.TableNameFor(documentType);

            truncateTable(tableName);
        }