Update Oracle

This commit is contained in:
sunkaixuan
2017-11-07 15:26:06 +08:00
parent a6cf3ea0eb
commit 00907fcd06
2 changed files with 9 additions and 0 deletions

View File

@@ -277,6 +277,7 @@ namespace OrmTest.Demo
{
var db = GetInstance();
var t1 = db.Queryable<Student>().Where(it => SqlFunc.ToLower(it.Name) == SqlFunc.ToLower("JACK")).ToList();
var t2 = db.Queryable<Student>().Where(it => SqlFunc.IsNull(it.Name, "nullvalue") == "nullvalue").ToList();
//SELECT [Id],[SchoolId],[Name],[CreateTime] FROM [Student] WHERE ((LOWER([Name])) = (LOWER(@MethodConst0)) )
/***More Functions***/