mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Split support no table query
This commit is contained in:
@@ -36,6 +36,11 @@ namespace OrmTest
|
||||
.SplitTable(DateTime.Now.Date.AddYears(-1),DateTime.Now)
|
||||
.ToList();
|
||||
|
||||
var first = db.Queryable<OrderSpliteTest>()
|
||||
.SplitTable(DateTime.MaxValue, DateTime.Now)
|
||||
.First();//no table
|
||||
|
||||
|
||||
Console.WriteLine();
|
||||
|
||||
//根据时间选出的表进行查询
|
||||
|
Reference in New Issue
Block a user