Update Demo

This commit is contained in:
sunkaixuan 2018-03-20 17:34:58 +08:00
parent e285f1d14d
commit 37767e5b4a
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="sqlSugarCore" Version="4.5.9.9" />
<PackageReference Include="sqlSugarCore" Version="4.6.4.7" />
</ItemGroup>
</Project>

View File

@ -8,7 +8,8 @@ namespace NugetTest
{
var db = new SqlSugarClient(new ConnectionConfig() {
ConnectionString=Config.ConnectionString,
IsAutoCloseConnection=true
IsAutoCloseConnection=true,
DbType=DbType.Oracle
});
var list = db.Ado.GetInt("select 1");
Console.WriteLine("Hello World!");