Suport Collections.Generic

This commit is contained in:
sunkaixuan
2017-06-15 10:08:08 +08:00
parent f566a6ea19
commit b623a08735
2 changed files with 2 additions and 2 deletions

View File

@@ -430,7 +430,7 @@ namespace OrmTest.UnitTest
}
private void ExtendContainsArray() {
string[] array = new string[] { "1", "2" };
var array = new string[] { "1", "2" }.ToList();
Expression<Func<Student, bool>> exp = it => array.Contains(it.Name);
SqlServerExpressionContext expContext = new SqlServerExpressionContext();
expContext.Resolve(exp, ResolveExpressType.WhereSingle);