public IQueryable <IDalAppFile> GetByPredicate(System.Linq.Expressions.Expression <Func <IDalAppFile, bool> > f) { return(_context.Set <AppFile>().Select(DalMappersExpressions.ToDalAppFileExpression()).Where(f)); }
public IQueryable <IDalAppFile> GetAll() { return(_context.Set <AppFile>().Include("User").Include("Folder").Select(DalMappersExpressions.ToDalAppFileExpression())); }
public IQueryable <IDalUser> GetAll() { return(_context.Set <User>().Include("Role").Include("Files").Include("Folders").Select(DalMappersExpressions.ToDalUserExpression())); }
public IQueryable <IDalUser> GetByPredicate(Expression <Func <IDalUser, bool> > f) { return(_context.Set <User>().Include("Role").Include("Files").Include("Folders").Select(DalMappersExpressions.ToDalUserExpression()).Where(f)); }
public IQueryable <IDalAppFolder> GetByPredicate(Expression <Func <IDalAppFolder, bool> > f) { return(_context.Set <AppFolder>().Select(DalMappersExpressions.ToDalAppFolderExpression()).Where(f)); }