private IQueryable <TEntity> InternalInclude(IQueryable <TEntity> query) { var q = _includeOverride == null?Include(query) : _includeOverride(query); _includeOverride = null; return(q); }
public IIncludeConfigurator <TEntity, TService> ExtendChain(EntityIncludeDelegate <TEntity> chain) { _includeChain = query => chain(_parent.Include(query)); return(this); }
public IIncludeConfigurator <TEntity, TService> IgnoreDefaultServiceIncludes() { _includeChain = IncludeOverride; return(this); }
public IIncludeConfigurator <TEntity, TService> WithChain(EntityIncludeDelegate <TEntity> chain) { _includeChain = chain; return(this); }