Пример #1
0
        public override void LoadFrom(FilterItem value)
        {
            var boolean = Get <BooleanFilterItem>(value);

            Operator = boolean.Operator;
            Value    = ValueExpressionBuilder.GetBuilder(boolean.Value);
        }
Пример #2
0
        public override void LoadFrom(FilterItem value)
        {
            var relational = Get <RelationalFilterItem>(value);

            Left     = ValueExpressionBuilder.GetBuilder(relational.Left);
            Right    = ValueExpressionBuilder.GetBuilder(relational.Right);
            Operator = relational.Operator;
        }
Пример #3
0
        public override void LoadFrom(FilterItem value)
        {
            var binary = Get <BinaryFilterItem>(value);

            Left  = ValueExpressionBuilder.GetBuilder(binary.Left);
            Right = ValueExpressionBuilder.GetBuilder(binary.Right);

            var stringBinary = Get <StringBinaryFilterItem>(value);

            Operator = stringBinary.Operator;
        }