mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-26 18:59:17 +08:00
Merge branch 'dev' of github.com:sunkaixuan/SqlSugar
This commit is contained in:
@@ -124,6 +124,14 @@ namespace OrmTest.UnitTest
|
||||
new SugarParameter("@Id0",1),
|
||||
new SugarParameter("@Const1",1)
|
||||
}, t13.Key, t13.Value, "single t13 error ");
|
||||
|
||||
|
||||
var t14 = db.Queryable<Student>()
|
||||
.Where(it => it.Name == "a" && SqlFunc.HasValue(it.Name)).ToSql();
|
||||
base.Check("SELECT [ID],[SchoolId],[Name],[CreateTime] FROM [STudent] WHERE (( [Name] = @Name0 ) AND ( [Name]<>'' AND [Name] IS NOT NULL ))",
|
||||
new List<SugarParameter>() {
|
||||
new SugarParameter("@Name0","a")
|
||||
}, t14.Key, t14.Value, "single t14 error ");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user