This commit is contained in:
sunkaixuan
2017-01-14 18:00:20 +08:00
parent 3ad3e1a1d9
commit 3424e2e199
27 changed files with 38 additions and 28 deletions

View File

@@ -16,7 +16,7 @@ namespace OrmTest.ExpressionTest
Expression<Func<Student, object>> exp = it => new Program() { x = it.Name };
ExpressionContext expContext = new ExpressionContext(exp, ResolveExpressType.WhereSingle);
expContext.ResolveType = ResolveExpressType.SelectSingle;
var x= expContext.ToResultString();
var x = expContext.Result;
}
}
}

View File

@@ -32,7 +32,7 @@ namespace OrmTest
// Expression<Func<Student, object>> exp = it => it.Name;
ExpressionContext expContext = new ExpressionContext(exp, ResolveExpressType.WhereSingle);
// var x = expContext.GetFiledName();
var xx = expContext.ToResultString();
// var xx = expContext.ToResultString();
var b = DateTime.Now;

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.