Update Nuget

This commit is contained in:
610262374@qq.com
2018-12-17 19:13:46 +08:00
parent b5693a7058
commit dd7bd5f9a7
3 changed files with 21 additions and 1 deletions

View File

@@ -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!");
}
}
}