Class AggregateFunctionBuilder.ModeConfig
- Namespace
- LinqToDB.Linq.Translation
- Assembly
- linq2db.dll
public sealed class AggregateFunctionBuilder.ModeConfig
- Inheritance
-
objectAggregateFunctionBuilder.ModeConfig
- Extension Methods
Properties
AllowDistinctFlag
public bool AllowDistinctFlag { get; set; }
Property Value
AllowFilterFlag
public bool AllowFilterFlag { get; set; }
Property Value
AllowNotNullCheckMode
public bool? AllowNotNullCheckMode { get; set; }
Property Value
- bool?
AllowOrderByFlag
public bool AllowOrderByFlag { get; set; }
Property Value
ArgumentIndexes
public int[] ArgumentIndexes { get; set; }
Property Value
- int[]
BuildAction
public Action<AggregateFunctionBuilder.AggregateComposer>? BuildAction { get; set; }
Property Value
FallbackExpression
public Expression? FallbackExpression { get; set; }
Property Value
FilterLambdaIndex
public int? FilterLambdaIndex { get; set; }
Property Value
- int?
HasValue
public bool HasValue { get; set; }
Property Value
IsServerSideOnly
When false (default), allows Build(ITranslationContext, MethodCallExpression, bool)
to bail out gracefully (return null) on a translation failure
of any argument / item / value expression — but only when the caller passed
isExpression: true to Build. Set to true for strict
server-side-only aggregates that must error rather than fall through to a
partial-translation cascade.
public bool IsServerSideOnly { get; set; }
Property Value
ItemTransform
Plain-mode hook: rewrite each unpacked item LINQ-expression before SQL translation.
public Func<Expression, Expression>? ItemTransform { get; set; }
Property Value
SequenceIndex
public int? SequenceIndex { get; set; }
Property Value
- int?
ValueTransform
Aggregate-mode hook: rewrite the per-row value LINQ-expression before SQL translation.
public Func<Expression, Expression>? ValueTransform { get; set; }
Property Value
Methods
Clone()
Creates a shallow copy of current configuration. Arrays are cloned, delegates are referenced.
public AggregateFunctionBuilder.ModeConfig Clone()