public void ClearStorage() { using (var storage = new Storage()) { storage.DropTable<Manufacturer>(); storage.DropTable<RawMaterialType>(); storage.DropTable<RawMaterial>(); storage.DropTable<PriceExtraCategory>(); storage.DropTable<PriceExtra>(); storage.DropTable<PriceItem>(); storage.DropTable<Product>(); storage.DropTable<PriceCache>(); } }