• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisionb84793e6503bca9fa490ba760168020aad228a6c (tree)
l'heure2022-05-31 13:20:59
Auteuryoshy <yoshy.org.bitbucket@gz.j...>
Commiteryoshy

Message de Log

[DEL] DB具象クライアントへの依存をフレームワークからアプリ側に移動

Change Summary

Modification

--- a/CleanAuLait48.Db.csproj
+++ b/CleanAuLait48.Db.csproj
@@ -57,9 +57,7 @@
5757 <Compile Include="OuterEdge\Repository\Db\Tx\IDbConnectionWrapper.cs" />
5858 <Compile Include="OuterEdge\Repository\Db\Tx\IDbTransactionWrapper.cs" />
5959 <Compile Include="OuterEdge\Repository\Db\Tx\ITransactionManager.cs" />
60- <Compile Include="OuterEdge\Repository\Db\Tx\MysqlConnectionFactory.cs" />
61- <Compile Include="OuterEdge\Repository\Db\Tx\NpgsqlConnectionFactory.cs" />
62- <Compile Include="OuterEdge\Repository\Db\Tx\SQLiteConnectionFactory.cs" />
60+ <Compile Include="OuterEdge\Repository\Db\Tx\SimpleConnectionFactory.cs" />
6361 <Compile Include="OuterEdge\Repository\Db\Tx\TransactionManager.cs" />
6462 <Compile Include="Properties\AssemblyInfo.cs" />
6563 </ItemGroup>
@@ -70,18 +68,9 @@
7068 </ProjectReference>
7169 </ItemGroup>
7270 <ItemGroup>
73- <PackageReference Include="MySql.Data">
74- <Version>8.0.29</Version>
75- </PackageReference>
7671 <PackageReference Include="NLog">
7772 <Version>5.0.0</Version>
7873 </PackageReference>
79- <PackageReference Include="Npgsql">
80- <Version>6.0.4</Version>
81- </PackageReference>
82- <PackageReference Include="System.Data.SQLite">
83- <Version>1.0.115.5</Version>
84- </PackageReference>
8574 </ItemGroup>
8675 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8776 </Project>
\ No newline at end of file
--- a/OuterEdge/Repository/Db/Tx/MysqlConnectionFactory.cs
+++ /dev/null
@@ -1,11 +0,0 @@
1-using MySql.Data.MySqlClient;
2-
3-namespace CleanAuLait48.OuterEdge.Repository.Db.Tx
4-{
5- public class MysqlConnectionFactory : AbstractConnectionFactory
6- {
7- public MysqlConnectionFactory(string connStr) : base(MySqlClientFactory.Instance, connStr)
8- {
9- }
10- }
11-}
--- a/OuterEdge/Repository/Db/Tx/NpgsqlConnectionFactory.cs
+++ /dev/null
@@ -1,11 +0,0 @@
1-using Npgsql;
2-
3-namespace CleanAuLait48.OuterEdge.Repository.Db.Tx
4-{
5- public class NpgsqlConnectionFactory : AbstractConnectionFactory
6- {
7- public NpgsqlConnectionFactory(string connStr) : base(NpgsqlFactory.Instance, connStr)
8- {
9- }
10- }
11-}
--- a/OuterEdge/Repository/Db/Tx/SQLiteConnectionFactory.cs
+++ /dev/null
@@ -1,11 +0,0 @@
1-using System.Data.SQLite;
2-
3-namespace CleanAuLait48.OuterEdge.Repository.Db.Tx
4-{
5- public class SQLiteConnectionFactory : AbstractConnectionFactory
6- {
7- public SQLiteConnectionFactory(string connStr) : base(SQLiteFactory.Instance, connStr)
8- {
9- }
10- }
11-}
--- /dev/null
+++ b/OuterEdge/Repository/Db/Tx/SimpleConnectionFactory.cs
@@ -0,0 +1,11 @@
1+using System.Data.Common;
2+
3+namespace CleanAuLait48.OuterEdge.Repository.Db.Tx
4+{
5+ public class SimpleConnectionFactory : AbstractConnectionFactory
6+ {
7+ public SimpleConnectionFactory(DbProviderFactory factory, string connStr) : base(factory, connStr)
8+ {
9+ }
10+ }
11+}