public void Delete <T>(object dbContext, T model, bool saveChanges = true) where T : class { DefaultDataAccess.Delete <T>(dbContext, model, saveChanges); }
public bool SaveChanges(object dbContext) { return(DefaultDataAccess.SaveChanges(dbContext)); }
public static void AddOrUpdate <T>(object dbContext, T model, bool saveChanges = true) where T : class { DefaultDataAccess.AddOrUpdate <T>(dbContext, model, saveChanges); }
public bool Any <T>(object dbContext, Expression <Func <T, bool> > predicate) where T : class { return(DefaultDataAccess.Any <T>(dbContext, predicate)); }
public IQueryable <T> GetList <T>(object dbContext) where T : class { return(DefaultDataAccess.GetList <T>(dbContext)); }
public IQueryable <T> GetList <T>(object dbContext, Expression <Func <T, bool> > predicate) where T : class { return(DefaultDataAccess.GetList <T>(dbContext, predicate)); }
public T GetFirstOrDefault <T>(object dbContext, Expression <Func <T, bool> > predicate) where T : class { return(DefaultDataAccess.GetFirstOrDefault <T>(dbContext, predicate)); }