예제 #1
0
        private IQueryable <TEntity> InternalInclude(IQueryable <TEntity> query)
        {
            var q = _includeOverride == null?Include(query) : _includeOverride(query);

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