mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update demo
This commit is contained in:
parent
483923a148
commit
ae77008884
@ -205,7 +205,7 @@ namespace OrmTest
|
|||||||
Console.WriteLine("#### Singleton Pattern end ####");
|
Console.WriteLine("#### Singleton Pattern end ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
static SqlSugarClient singleDb = new SqlSugarClient(
|
static SqlSugarScope singleDb = new SqlSugarScope(
|
||||||
new ConnectionConfig()
|
new ConnectionConfig()
|
||||||
{
|
{
|
||||||
ConfigId = 1,
|
ConfigId = 1,
|
||||||
|
@ -205,7 +205,7 @@ namespace OrmTest
|
|||||||
Console.WriteLine("#### Singleton Pattern end ####");
|
Console.WriteLine("#### Singleton Pattern end ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
static SqlSugarClient singleDb = new SqlSugarClient(
|
static SqlSugarScope singleDb = new SqlSugarScope(
|
||||||
new ConnectionConfig()
|
new ConnectionConfig()
|
||||||
{
|
{
|
||||||
ConfigId = 1,
|
ConfigId = 1,
|
||||||
|
@ -212,7 +212,7 @@ namespace OrmTest
|
|||||||
Console.WriteLine("#### Singleton Pattern end ####");
|
Console.WriteLine("#### Singleton Pattern end ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
static SqlSugarClient singleDb = new SqlSugarClient(
|
static SqlSugarScope singleDb = new SqlSugarScope(
|
||||||
new ConnectionConfig()
|
new ConnectionConfig()
|
||||||
{
|
{
|
||||||
ConfigId = 1,
|
ConfigId = 1,
|
||||||
|
@ -205,7 +205,7 @@ namespace OrmTest
|
|||||||
Console.WriteLine("#### Singleton Pattern end ####");
|
Console.WriteLine("#### Singleton Pattern end ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
static SqlSugarClient singleDb = new SqlSugarClient(
|
static SqlSugarScope singleDb = new SqlSugarScope(
|
||||||
new ConnectionConfig()
|
new ConnectionConfig()
|
||||||
{
|
{
|
||||||
ConfigId = 1,
|
ConfigId = 1,
|
||||||
|
@ -205,7 +205,7 @@ namespace OrmTest
|
|||||||
Console.WriteLine("#### Singleton Pattern end ####");
|
Console.WriteLine("#### Singleton Pattern end ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
static SqlSugarClient singleDb = new SqlSugarClient(
|
static SqlSugarScope singleDb = new SqlSugarScope(
|
||||||
new ConnectionConfig()
|
new ConnectionConfig()
|
||||||
{
|
{
|
||||||
ConfigId = 1,
|
ConfigId = 1,
|
||||||
|
@ -205,7 +205,7 @@ namespace OrmTest
|
|||||||
Console.WriteLine("#### Singleton Pattern end ####");
|
Console.WriteLine("#### Singleton Pattern end ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
static SqlSugarClient singleDb = new SqlSugarClient(
|
static SqlSugarScope singleDb = new SqlSugarScope(
|
||||||
new ConnectionConfig()
|
new ConnectionConfig()
|
||||||
{
|
{
|
||||||
ConfigId = 1,
|
ConfigId = 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user