Esempio n. 1
0
        private IQueryable <TEntity> InternalInclude(IQueryable <TEntity> query)
        {
            var q = _includeOverride == null?Include(query) : _includeOverride(query);

            _includeOverride = null;
            return(q);
        }
Esempio n. 2
0
 public IIncludeConfigurator <TEntity, TService> ExtendChain(EntityIncludeDelegate <TEntity> chain)
 {
     _includeChain = query => chain(_parent.Include(query));
     return(this);
 }
Esempio n. 3
0
 public IIncludeConfigurator <TEntity, TService> IgnoreDefaultServiceIncludes()
 {
     _includeChain = IncludeOverride;
     return(this);
 }
Esempio n. 4
0
 public IIncludeConfigurator <TEntity, TService> WithChain(EntityIncludeDelegate <TEntity> chain)
 {
     _includeChain = chain;
     return(this);
 }