mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
-
This commit is contained in:
@@ -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
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user