public void DropDb() { var db = DbUtil.Create <TestDbContext>(ConnectionString); db.Database.EnsureDeleted(); }
public CustomDbContext <TKey> GetContext <TKey>() where TKey : IEquatable <TKey> { return(DbUtil.Create <CustomDbContext <TKey> >(ConnectionString)); }