This commit is contained in:
sunkaixuan
2017-01-08 23:27:43 +08:00
parent bfe3330c7c
commit 5d7e266ec7
16 changed files with 39 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ namespace OrmTest
{
Program.id = "xx";
string x = "1";
Expression<Func<Student, bool>> exp = it => it.Name==new Program().x;
Expression<Func<Student, object>> exp = it => new Program() { x=it.Name };
// Expression<Func<Student, object>> exp = it => it.Name;
ExpressionContext expContext = new ExpressionContext(exp, ResolveExpressType.WhereSingle);
// var x = expContext.GetFiledName();

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.