public virtual RepositoryQuery <TEntity> Query()
        {
            var repositoryGetFluentHelper =
                new RepositoryQuery <TEntity>(this);

            return(repositoryGetFluentHelper);
        }
예제 #2
0
        public virtual IQueryable <TEntity> QueryGet(Expression <Func <TEntity, bool> > filter)
        {
            var repositoryGetFluentHelper = new RepositoryQuery <TEntity>(this);

            repositoryGetFluentHelper.Filter(filter);
            return(repositoryGetFluentHelper.Get());
        }
예제 #3
0
        public virtual IRepositoryQuery <TEntity> Query(bool includeDeleted = false)
        {
            var repositoryGetFluentHelper = new RepositoryQuery <TEntity>(this);

            if (includeDeleted == false)
            {
                repositoryGetFluentHelper.Filter(x => !x.deleted);
            }

            return(repositoryGetFluentHelper);
        }
예제 #4
0
        public virtual IQueryable <TEntity> QueryGet()
        {
            var repositoryGetFluentHelper = new RepositoryQuery <TEntity>(this);

            return(repositoryGetFluentHelper.Get());
        }