public IQueryable <TModel> FromSqlRaw <TModel>([NotNull] string sql, [NotNull] params object[] parameters) where TModel : class { return(appDbContext.Set <TModel>().FromSqlRaw(sql, parameters)); }
// public Repository(MFFDbContext dbContext) public BaseRepository(SmartLabDB dbContext) { this.dbContext = dbContext; dbSet = dbContext.Set <TEntity>(); }