/// <summary> /// Appends a comma-separated list of safe literals, e.g. <c>1, 2, 3</c>, to a new attribute buffer. Parameters are used for unsafe literals. /// </summary> /// <param name="projection">The current projection.</param> /// <param name="expression">Expression selecting a specific attribute.</param> /// <returns>A new attribute containing the appended buffer.</returns> public static IProjectionAttribute LitList <TModel, TItem>(this IProjection <TModel> projection, Expression <Func <TModel, IEnumerable <TItem> > > expression) => projection.Open(expression).LitList();
public static IProjection <TProperty> For <TModel, TItem, TProperty>(this IProjection <TModel> projection, Expression <Func <TModel, IEnumerable <TItem> > > listExpression, Expression <Func <TItem, TProperty> > propertyExpression) => projection.Open(listExpression).For(propertyExpression);
public static IProjectionValues <TItem> Vals <TModel, TItem>(this IProjection <TModel> projection, Expression <Func <TModel, IEnumerable <TItem> > > expression, int batchIndex = -1) => projection.Open(expression).Vals(batchIndex);
public static IEnumerable <IProjection <TItem> > Vals <TModel, TItem>(this IProjection <TModel> projection, Expression <Func <TModel, IEnumerable <TItem> > > expression) => projection.Open(expression).Vals();