Updateable.Wherecolumn add check

This commit is contained in:
610262374@qq.com
2018-12-17 18:00:30 +08:00
parent 5ec37a5c81
commit b0aff94d24
4 changed files with 9 additions and 1 deletions

View File

@@ -113,6 +113,8 @@ namespace OrmTest.Demo
var t23= db.Updateable<Student>(new Student() { })
.Where(p => p.SchoolId == SqlFunc.Subqueryable<Student>().Where(s => s.SchoolId == p.Id).Select(s => s.Id)).ExecuteCommand();
var t24 = db.Updateable(new Student() { }).WhereColumns(it=>it.CreateTime).ExecuteCommand();
}
}
}