public static IIncludable <TEntity, TProperty> ThenInclude <TEntity, TPreviousProperty, TProperty>( this IIncludable <TEntity, IEnumerable <TPreviousProperty> > source, Expression <Func <TPreviousProperty, TProperty> > navigationPropertyPath) where TEntity : class { return(null); }
public static IIncludable <TEntity, TProperty> Include <TEntity, TProperty>(this IIncludable <TEntity> includes, Expression <Func <TEntity, TProperty> > propertySelector) where TEntity : class { var result = ((Includable <TEntity>)includes).Input.Include(propertySelector); return(new Includable <TEntity, TProperty>(result)); }
ThenInclude <TEntity, TOtherProperty, TProperty>( this IIncludable <TEntity, IEnumerable <TProperty> > includes, Expression <Func <TProperty, TOtherProperty> > propertySelector) where TEntity : class { var result = includes.IncludableInput.ThenInclude(propertySelector); return(new Includable <TEntity, TOtherProperty>(result)); }
public static IIncludable <TEntity, TProperty> ThenInclude <TEntity, TPreviousProperty, TProperty>( this IIncludable <TEntity, IEnumerable <TPreviousProperty> > includable, Expression <Func <TPreviousProperty, TProperty> > expression, params Expression <Func <TProperty, object> >[] thenIncludes) where TEntity : Entity { AddThenIncludeInIncludes(includable, expression, thenIncludes); return(new Includable <TEntity, TProperty>(includable)); }