Browse Source

Update demo

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
bb706ab820
  1. 4
      Src/Asp.Net/SqlServerTest/Demo/Demo7_Ado.cs

4
Src/Asp.Net/SqlServerTest/Demo/Demo7_Ado.cs

@ -11,6 +11,8 @@ namespace OrmTest
{
public static void Init()
{
Console.WriteLine("");
Console.WriteLine("#### Ado Start ####");
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig()
{
@ -49,7 +51,7 @@ namespace OrmTest
var intValue=db.Ado.SqlQuerySingle<int>("select 1");
db.Ado.ExecuteCommand("delete [order] where id>1000");
//db.Ado.xxx
Console.WriteLine("#### Ado End ####");
}
}
}

Loading…
Cancel
Save