mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update demo
This commit is contained in:
parent
63c06b0487
commit
bb706ab820
@ -11,6 +11,8 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
public static void Init()
|
public static void Init()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("");
|
||||||
|
Console.WriteLine("#### Ado Start ####");
|
||||||
|
|
||||||
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig()
|
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig()
|
||||||
{
|
{
|
||||||
@ -49,7 +51,7 @@ namespace OrmTest
|
|||||||
var intValue=db.Ado.SqlQuerySingle<int>("select 1");
|
var intValue=db.Ado.SqlQuerySingle<int>("select 1");
|
||||||
db.Ado.ExecuteCommand("delete [order] where id>1000");
|
db.Ado.ExecuteCommand("delete [order] where id>1000");
|
||||||
//db.Ado.xxx
|
//db.Ado.xxx
|
||||||
|
Console.WriteLine("#### Ado End ####");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user