mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Update Demo
This commit is contained in:
@@ -23,6 +23,8 @@ namespace OrmTest.Demo
|
||||
db.Queryable<Student>().First();
|
||||
}
|
||||
//db.Insertable(new Student() { Name = "masterTest" }).ExecuteCommand();// Config.ConnectionString
|
||||
Console.WriteLine("saveable");
|
||||
GetMasterSlaveInstance().Saveable(new Student() { Name = "a" }).ExecuteCommand();
|
||||
}
|
||||
|
||||
public static SqlSugarClient GetMasterSlaveInstance()
|
||||
|
Reference in New Issue
Block a user