This commit is contained in:
sunkaixuan
2017-01-15 00:45:07 +08:00
parent 63c0b56705
commit a5a6eefe8c
20 changed files with 97 additions and 45 deletions

View File

@@ -36,7 +36,7 @@ namespace OrmTest.ExpressionTest
}
private static void MultipleDynamic()
{
Expression<Func<Student, School, object>> exp = (it, school) => new{ Name = "a", Id = it.Id, SchoolId = school.Id };
Expression<Func<Student, School, object>> exp = (it, school) => new{ Name = "a", Id = it.Id/2, SchoolId = school.Id };
ExpressionContext expContext = new ExpressionContext(exp, ResolveExpressType.SelectMultiple);
expContext.Resolve();
var selectorValue = expContext.Result.GetString();

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.