mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-07 18:04:55 +08:00
-
This commit is contained in:
@@ -18,7 +18,7 @@ namespace OrmTest
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// /***Unit Test***/
|
||||
new Select(1).Init();
|
||||
//new Select(1).Init();
|
||||
new Field(1).Init();
|
||||
new Where(1).Init();
|
||||
new Method(1).Init();
|
||||
|
||||
@@ -129,9 +129,9 @@ namespace OrmTest.UnitTest
|
||||
"Select.single4 Error");
|
||||
}
|
||||
|
||||
private void single5(int p = 1)
|
||||
private void single5(DateTime? p = null)
|
||||
{
|
||||
Expression<Func<Student, object>> exp = it => it.SchoolId.HasValue;
|
||||
Expression<Func<Student, object>> exp = it => p.HasValue;
|
||||
SqlServerExpressionContext expContext = new SqlServerExpressionContext();
|
||||
expContext.IsSingle = false;
|
||||
expContext.Resolve(exp, ResolveExpressType.WhereMultiple);
|
||||
|
||||
Reference in New Issue
Block a user