mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Update Nuget
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -9,6 +10,15 @@ namespace NugetTest
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var db = new SqlSugarClient(new ConnectionConfig()
|
||||
{
|
||||
ConnectionString = "server=.;uid=sa;pwd=@jhl85661501;database=SqlSugar4XTest",
|
||||
IsAutoCloseConnection = true,
|
||||
DbType = DbType.SqlServer
|
||||
});
|
||||
InstanceFactory.RemoveCache();
|
||||
var list = db.Ado.GetInt("select 1");
|
||||
Console.WriteLine("Hello World!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user