// Constructors

        protected FieldExpression(
            ExtendedExpressionType expressionType,
            FieldInfo field,
            Segment <int> mapping,
            ParameterExpression parameterExpression,
            bool defaultIfEmpty)
            : base(expressionType, field.Name, field.ValueType, mapping, field.UnderlyingProperty, parameterExpression, defaultIfEmpty)
        {
            Field = field;
        }
Example #2
0
        // Constructors

        protected PersistentFieldExpression(
            ExtendedExpressionType expressionType,
            string name,
            Type type,
            Segment <int> segment,
            PropertyInfo underlyingProperty,
            ParameterExpression parameterExpression,
            bool defaultIfEmpty)
            : base(expressionType, type, parameterExpression, defaultIfEmpty)
        {
            Name = name;
            UnderlyingProperty = underlyingProperty;
            Mapping            = segment;
        }
 public SubQueryExpression(Type type, ParameterExpression parameterExpression, bool defaultIfEmpty, ProjectionExpression projectionExpression, ApplyParameter applyParameter, ExtendedExpressionType expressionType)
     : base(expressionType, type, parameterExpression, defaultIfEmpty)
 {
     ProjectionExpression = projectionExpression;
     ApplyParameter       = applyParameter;
 }
        // Constructors

        protected ParameterizedExpression(ExtendedExpressionType expressionType, Type type, ParameterExpression parameterExpression, bool defaultIfEmpty)
            : base(expressionType, type)
        {
            OuterParameter = parameterExpression;
            DefaultIfEmpty = defaultIfEmpty;
        }
Example #5
0
        // Constructors

        protected PersistentFieldExpression(
            ExtendedExpressionType expressionType,
            string name,
            Type type,
            in Segment <int> segment,
        // Constructors

        protected ExtendedExpression(ExtendedExpressionType expressionType, Type type)
            : base()
        {
            this.type    = type;
            ExtendedType = expressionType;
        }