mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add unit test
This commit is contained in:
parent
1a1ddcf8cd
commit
3084b8a26b
@ -99,6 +99,7 @@ namespace OrmTest
|
||||
public static void SplitTest2()
|
||||
{
|
||||
var db = Db;
|
||||
db.CodeFirst.SplitTables().InitTables<WordTestTable2>();
|
||||
db.CodeFirst.InitTables<WordTestTable2>();
|
||||
//使用自定义分表
|
||||
// db.CurrentConnectionConfig.ConfigureExternalServices.SplitTableService = new WordSplitService();
|
||||
|
Loading…
Reference in New Issue
Block a user