feat: 支持 Oracle 数据库
This commit is contained in:
parent
f750a4e60f
commit
8349517e97
|
@ -5,7 +5,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Bootstrap.Security.DataAccess" Version="3.1.1-beta-01" />
|
<PackageReference Include="Bootstrap.Security.DataAccess" Version="3.1.1-beta-02" />
|
||||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.1.1-beta-01" />
|
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.1.1-beta-01" />
|
||||||
<PackageReference Include="Longbow" Version="3.1.0" />
|
<PackageReference Include="Longbow" Version="3.1.0" />
|
||||||
<PackageReference Include="Longbow.Cache" Version="3.1.1-beta-02" />
|
<PackageReference Include="Longbow.Cache" Version="3.1.1-beta-02" />
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
<PackageReference Include="Longbow.WeChatAuth" Version="3.1.0" />
|
<PackageReference Include="Longbow.WeChatAuth" Version="3.1.0" />
|
||||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" />
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" />
|
||||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.0" />
|
<PackageReference Include="System.Data.SqlClient" Version="4.8.0" />
|
||||||
<PackageReference Include="PetaPoco.Extensions" Version="3.0.1" />
|
<PackageReference Include="PetaPoco.Extensions" Version="3.1.0-beta-01" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -14,6 +14,7 @@ namespace Bootstrap.DataAccess
|
||||||
{
|
{
|
||||||
var ti = base.GetTableInfo(pocoType);
|
var ti = base.GetTableInfo(pocoType);
|
||||||
ti.AutoIncrement = true;
|
ti.AutoIncrement = true;
|
||||||
|
ti.SequenceName = $"SEQ_{ti.TableName.ToUpperInvariant()}_ID";
|
||||||
return ti;
|
return ti;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Bootstrap.Security.DataAccess" Version="3.1.1-beta-01" />
|
<PackageReference Include="Bootstrap.Security.DataAccess" Version="3.1.1-beta-02" />
|
||||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.1.1-beta-01" />
|
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.1.1-beta-01" />
|
||||||
<PackageReference Include="Longbow" Version="3.1.0" />
|
<PackageReference Include="Longbow" Version="3.1.0" />
|
||||||
<PackageReference Include="Longbow.Cache" Version="3.1.1-beta-02" />
|
<PackageReference Include="Longbow.Cache" Version="3.1.1-beta-02" />
|
||||||
|
|
Loading…
Reference in New Issue