public static void DropAndCreate(IDatabaseProvider provider) { provider.DeleteAll<Shipper>(); provider.DropAndCreate(typeof(Shipper)); provider.DeleteAll<ShipperType>(); provider.DropAndCreate(typeof(ShipperType)); }
private static ShipperType InsertLookupTypes(IDatabaseProvider provider) { provider.DeleteAll<ShipperType>(); return provider.Insert<ShipperType>(DataProvider.GetShipperTypesForInsert()); }