mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Update Demo
This commit is contained in:
parent
e285f1d14d
commit
37767e5b4a
@ -6,7 +6,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="sqlSugarCore" Version="4.5.9.9" />
|
<PackageReference Include="sqlSugarCore" Version="4.6.4.7" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -8,7 +8,8 @@ namespace NugetTest
|
|||||||
{
|
{
|
||||||
var db = new SqlSugarClient(new ConnectionConfig() {
|
var db = new SqlSugarClient(new ConnectionConfig() {
|
||||||
ConnectionString=Config.ConnectionString,
|
ConnectionString=Config.ConnectionString,
|
||||||
IsAutoCloseConnection=true
|
IsAutoCloseConnection=true,
|
||||||
|
DbType=DbType.Oracle
|
||||||
});
|
});
|
||||||
var list = db.Ado.GetInt("select 1");
|
var list = db.Ado.GetInt("select 1");
|
||||||
Console.WriteLine("Hello World!");
|
Console.WriteLine("Hello World!");
|
||||||
|
Loading…
Reference in New Issue
Block a user