Ejemplo n.º 1
0
        public void Compile_EscapesIndexerNames()
        {
            Expression <Func <TestLdapModel, bool> > expr = (TestLdapModel e) => e["one "] == "123";
            var filter = Core.ExpressionToString(expr.Body, expr.Parameters);

            Assert.Equal(@"(one\20=123)", filter);
        }