mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Split support no table query
This commit is contained in:
@@ -35,6 +35,12 @@ namespace OrmTest
|
||||
.SplitTable(tabs => tabs.Take(3))
|
||||
.Where(it=>it.Time==DateTime.Now).ToOffsetPage(1,2);
|
||||
|
||||
|
||||
var first = db.Queryable<OrderSpliteTest>()
|
||||
.SplitTable(DateTime.MaxValue, DateTime.Now)
|
||||
.First();//no table
|
||||
|
||||
|
||||
Console.WriteLine();
|
||||
|
||||
//根据时间选出的表进行查询
|
||||
|
Reference in New Issue
Block a user