This commit is contained in:
sunkaixuan
2017-12-22 16:05:04 +08:00
parent 75766b3735
commit 00ac5b53af
2 changed files with 1 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ namespace OrmTest.Demo
public static void Init() public static void Init()
{ {
for (int i = 0; i < 1000; i++) for (int i = 0; i < 10; i++)
{ {
var db = GetMasterSlaveInstance(); var db = GetMasterSlaveInstance();
var list = db.Insertable(new Student() { Name="aa" }).ExecuteCommand(); // ConnectionString2 or ConnectionString3 var list = db.Insertable(new Student() { Name="aa" }).ExecuteCommand(); // ConnectionString2 or ConnectionString3