Пример #1
0
        public void OperationTest()
        {
            AQuery query = _db.Query
                           .Let("x", AValue.Op(AValue <Dummy> .Field(x => x.Baz), "/", AValue <Dummy> .Field(x => x.Bar)));

            Assert.AreEqual("LET x = (x.Baz / x.Bar)", query.GetExpression());
        }