Skip to content

Commit

Permalink
サードパーティ製のデータプロバイダのドロップ(Drop the data provider of third-party)
Browse files Browse the repository at this point in the history
  • Loading branch information
daisukenishino committed May 12, 2014
1 parent eff72bb commit c7304d6
Show file tree
Hide file tree
Showing 27 changed files with 959 additions and 4,740 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Public", "Public\Public.csp
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Framework", "Framework\Framework.csproj", "{33133F7E-FCF4-4438-8241-FE5CDF6E52FD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamDB2", "Public\Db\DamDB2\DamDB2.csproj", "{F7B93ED0-8046-408E-A2BB-BAE8AF040E4A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamPstGrS", "Public\Db\DamPstGrS\DamPstGrS.csproj", "{1A3B3376-716C-4AB2-9FB5-427227D8037F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamMySQL", "Public\Db\DamMySQL\DamMySQL.csproj", "{18345E81-5ECB-4B2F-8304-0E94F8763216}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamOraOdp", "Public\Db\DamOraOdp\DamOraOdp.csproj", "{FE4533B3-53F0-4BE2-8390-9486FFF380A3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -39,22 +31,6 @@ Global
{33133F7E-FCF4-4438-8241-FE5CDF6E52FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{33133F7E-FCF4-4438-8241-FE5CDF6E52FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{33133F7E-FCF4-4438-8241-FE5CDF6E52FD}.Release|Any CPU.Build.0 = Release|Any CPU
{F7B93ED0-8046-408E-A2BB-BAE8AF040E4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F7B93ED0-8046-408E-A2BB-BAE8AF040E4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F7B93ED0-8046-408E-A2BB-BAE8AF040E4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F7B93ED0-8046-408E-A2BB-BAE8AF040E4A}.Release|Any CPU.Build.0 = Release|Any CPU
{1A3B3376-716C-4AB2-9FB5-427227D8037F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1A3B3376-716C-4AB2-9FB5-427227D8037F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1A3B3376-716C-4AB2-9FB5-427227D8037F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1A3B3376-716C-4AB2-9FB5-427227D8037F}.Release|Any CPU.Build.0 = Release|Any CPU
{18345E81-5ECB-4B2F-8304-0E94F8763216}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{18345E81-5ECB-4B2F-8304-0E94F8763216}.Debug|Any CPU.Build.0 = Debug|Any CPU
{18345E81-5ECB-4B2F-8304-0E94F8763216}.Release|Any CPU.ActiveCfg = Release|Any CPU
{18345E81-5ECB-4B2F-8304-0E94F8763216}.Release|Any CPU.Build.0 = Release|Any CPU
{FE4533B3-53F0-4BE2-8390-9486FFF380A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FE4533B3-53F0-4BE2-8390-9486FFF380A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FE4533B3-53F0-4BE2-8390-9486FFF380A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FE4533B3-53F0-4BE2-8390-9486FFF380A3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,22 +112,6 @@
<Project>{33133F7E-FCF4-4438-8241-FE5CDF6E52FD}</Project>
<Name>Framework</Name>
</ProjectReference>
<ProjectReference Include="..\Public\Db\DamDB2\DamDB2.csproj">
<Project>{F7B93ED0-8046-408E-A2BB-BAE8AF040E4A}</Project>
<Name>DamDB2</Name>
</ProjectReference>
<ProjectReference Include="..\Public\Db\DamMySQL\DamMySQL.csproj">
<Project>{18345E81-5ECB-4B2F-8304-0E94F8763216}</Project>
<Name>DamMySQL</Name>
</ProjectReference>
<ProjectReference Include="..\Public\Db\DamOraOdp\DamOraOdp.csproj">
<Project>{FE4533B3-53F0-4BE2-8390-9486FFF380A3}</Project>
<Name>DamOraOdp</Name>
</ProjectReference>
<ProjectReference Include="..\Public\Db\DamPstGrS\DamPstGrS.csproj">
<Project>{1A3B3376-716C-4AB2-9FB5-427227D8037F}</Project>
<Name>DamPstGrS</Name>
</ProjectReference>
<ProjectReference Include="..\Public\Public.csproj">
<Project>{81CC573A-0DF9-49E5-AF10-A50F9B194DA5}</Project>
<Name>Public</Name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,54 +152,60 @@ protected override void UOC_ConnectionOpen(

#region データ プロバイダ選択

if (parameterValue.ActionType.Split('%')[0] == "SQL")
{
// SQL Server / SQL Client用のDamを生成
dam = new DamSqlSvr();
// SQL Server / SQL Client用のDamを生成
dam = new DamSqlSvr();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_SQL");
}
else if (parameterValue.ActionType.Split('%')[0] == "OLE")
{
// OLEDB.NET用のDamを生成
dam = new DamOLEDB();
// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_SQL");

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_OLE");
}
else if (parameterValue.ActionType.Split('%')[0] == "ODB")
{
// ODBC.NET用のDamを生成
dam = new DamODBC();
//if (parameterValue.ActionType.Split('%')[0] == "SQL")
//{
// // SQL Server / SQL Client用のDamを生成
// dam = new DamSqlSvr();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_ODBC");
}
else if (parameterValue.ActionType.Split('%')[0] == "ORA")
{
// Oracle / Oracle Client用のDamを生成
dam = new DamOraClient();
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_SQL");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "OLE")
//{
// // OLEDB.NET用のDamを生成
// dam = new DamOLEDB();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_ORA");
}
else if (parameterValue.ActionType.Split('%')[0] == "ODP")
{
// Oracle / ODP.NET用のDamを生成
dam = new DamOraOdp();
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_OLE");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "ODB")
//{
// // ODBC.NET用のDamを生成
// dam = new DamODBC();

// 接続文字列をロード(ODP2:Instant Client)
connstring = GetConfigParameter.GetConnectionString("ConnectionString_ODP2");
}
else if (parameterValue.ActionType.Split('%')[0] == "DB2")
{
// DB2.NET用のDamを生成
dam = new DamDB2();
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_ODBC");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "ORA")
//{
// // Oracle / Oracle Client用のDamを生成
// dam = new DamOraClient();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_DB2");
}
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_ORA");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "ODP")
//{
// // Oracle / ODP.NET用のDamを生成
// dam = new DamOraOdp();

// // 接続文字列をロード(ODP2:Instant Client)
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_ODP2");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "DB2")
//{
// // DB2.NET用のDamを生成
// dam = new DamDB2();

// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_DB2");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "HIR")
//{
// // HiRDBデータプロバイダ用のDamを生成
Expand All @@ -208,26 +214,26 @@ protected override void UOC_ConnectionOpen(
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_HIR");
//}
else if (parameterValue.ActionType.Split('%')[0] == "MCN")
{
// MySQL Cnn/NET用のDamを生成
dam = new DamMySQL();
//else if (parameterValue.ActionType.Split('%')[0] == "MCN")
//{
// // MySQL Cnn/NET用のDamを生成
// dam = new DamMySQL();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_MCN");
}
else if (parameterValue.ActionType.Split('%')[0] == "NPS")
{
// PostgreSQL / Npgsql用のDamを生成
dam = new DamPstGrS();
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_MCN");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "NPS")
//{
// // PostgreSQL / Npgsql用のDamを生成
// dam = new DamPstGrS();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_NPS");
}
else
{
// ここは通らない
}
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_NPS");
//}
//else
//{
// // ここは通らない
//}

#endregion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,54 +196,60 @@ protected override void UOC_ConnectionOpen(

#region データ プロバイダ選択

if (parameterValue.ActionType.Split('%')[0] == "SQL")
{
// SQL Server / SQL Client用のDamを生成
dam = new DamSqlSvr();
// SQL Server / SQL Client用のDamを生成
dam = new DamSqlSvr();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_SQL");
}
else if (parameterValue.ActionType.Split('%')[0] == "OLE")
{
// OLEDB.NET用のDamを生成
dam = new DamOLEDB();
// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_SQL");

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_OLE");
}
else if (parameterValue.ActionType.Split('%')[0] == "ODB")
{
// ODBC.NET用のDamを生成
dam = new DamODBC();
//if (parameterValue.ActionType.Split('%')[0] == "SQL")
//{
// // SQL Server / SQL Client用のDamを生成
// dam = new DamSqlSvr();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_ODBC");
}
else if (parameterValue.ActionType.Split('%')[0] == "ORA")
{
// Oracle / Oracle Client用のDamを生成
dam = new DamOraClient();
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_SQL");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "OLE")
//{
// // OLEDB.NET用のDamを生成
// dam = new DamOLEDB();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_ORA");
}
else if (parameterValue.ActionType.Split('%')[0] == "ODP")
{
// Oracle / ODP.NET用のDamを生成
dam = new DamOraOdp();
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_OLE");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "ODB")
//{
// // ODBC.NET用のDamを生成
// dam = new DamODBC();

// 接続文字列をロード(ODP2:Instant Client)
connstring = GetConfigParameter.GetConnectionString("ConnectionString_ODP2");
}
else if (parameterValue.ActionType.Split('%')[0] == "DB2")
{
// DB2.NET用のDamを生成
dam = new DamDB2();
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_ODBC");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "ORA")
//{
// // Oracle / Oracle Client用のDamを生成
// dam = new DamOraClient();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_DB2");
}
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_ORA");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "ODP")
//{
// // Oracle / ODP.NET用のDamを生成
// dam = new DamOraOdp();

// // 接続文字列をロード(ODP2:Instant Client)
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_ODP2");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "DB2")
//{
// // DB2.NET用のDamを生成
// dam = new DamDB2();

// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_DB2");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "HIR")
//{
// // HiRDBデータプロバイダ用のDamを生成
Expand All @@ -252,26 +258,26 @@ protected override void UOC_ConnectionOpen(
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_HIR");
//}
else if (parameterValue.ActionType.Split('%')[0] == "MCN")
{
// MySQL Cnn/NET用のDamを生成
dam = new DamMySQL();
//else if (parameterValue.ActionType.Split('%')[0] == "MCN")
//{
// // MySQL Cnn/NET用のDamを生成
// dam = new DamMySQL();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_MCN");
}
else if (parameterValue.ActionType.Split('%')[0] == "NPS")
{
// PostgreSQL / Npgsql用のDamを生成
dam = new DamPstGrS();
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_MCN");
//}
//else if (parameterValue.ActionType.Split('%')[0] == "NPS")
//{
// // PostgreSQL / Npgsql用のDamを生成
// dam = new DamPstGrS();

// 接続文字列をロード
connstring = GetConfigParameter.GetConnectionString("ConnectionString_NPS");
}
else
{
// ここは通らない
}
// // 接続文字列をロード
// connstring = GetConfigParameter.GetConnectionString("ConnectionString_NPS");
//}
//else
//{
// // ここは通らない
//}

#endregion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,6 @@
<Reference Include="Business">
<HintPath>..\..\Build\Business.dll</HintPath>
</Reference>
<Reference Include="DamDB2">
<HintPath>..\..\Build\DamDB2.dll</HintPath>
</Reference>
<Reference Include="DamMySQL">
<HintPath>..\..\Build\DamMySQL.dll</HintPath>
</Reference>
<Reference Include="DamOraOdp">
<HintPath>..\..\Build\DamOraOdp.dll</HintPath>
</Reference>
<Reference Include="DamPstGrS">
<HintPath>..\..\Build\DamPstGrS.dll</HintPath>
</Reference>
<Reference Include="Framework">
<HintPath>..\..\Build\Framework.dll</HintPath>
</Reference>
Expand Down
Loading

0 comments on commit c7304d6

Please sign in to comment.