Index: branches/ddl/DataConert/DataConert/App.config
===================================================================
--- branches/ddl/DataConert/DataConert/App.config	(nonexistent)
+++ branches/ddl/DataConert/DataConert/App.config	(revision 84)
@@ -0,0 +1,33 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+  <configSections>
+    <section name="oracle.manageddataaccess.client"
+      type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
+  </configSections>
+  <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
+    </startup>
+  <system.data>
+    <DbProviderFactories>
+      <remove invariant="Oracle.ManagedDataAccess.Client"/>
+      <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver"
+        type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
+    </DbProviderFactories>
+  </system.data>
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly>
+        <publisherPolicy apply="no"/>
+        <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral"/>
+        <bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.121.2.0"/>
+      </dependentAssembly>
+    </assemblyBinding>
+  </runtime>
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources>
+        <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) "/>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+</configuration>
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert/Common/CommonDefine.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Common/CommonDefine.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Common/CommonDefine.cs	(revision 84)
@@ -0,0 +1,1684 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Diagnostics;
+using System.Windows.Forms;
+using System.Drawing;
+using System.IO;
+using System.Text.RegularExpressions;
+using System.Data;
+using System.Security.Cryptography;
+using System.Globalization;
+
+namespace ProcessManagement.Common
+{
+    /// <summary>
+    /// 全体共通定義
+    /// </summary>
+    public static class CommonDefine
+    {
+        #region テスト起動フラグ定義
+        // false時システム更新・起動チェックが起動されない
+        /// <summary>
+        /// テスト実行フラグ
+        /// </summary>
+        public static bool m_ProductionExecution = true;
+        #endregion
+
+        #region システム更新対象名称
+        /// <summary>
+        /// 監視対象プロセス名
+        /// </summary>
+        public const string s_TargetProcess = "現場監督秘書";
+        #endregion
+
+        #region システム更新処理使用定義
+        /// <summary>
+        /// パスを定数で定義する
+        /// </summary>
+        public const string s_UPDATECOPY_NAME = "UpDateCopy.exe";
+// ▼自動更新VPS対応▼
+        // FTPユーザ名
+        public const string s_FTP_USER_NAME = "pmaint";
+        // FTPパスワード
+        public const string s_FTP_PASSWORD = "hyou5210";
+        // FTPつなぎ先パス
+        public const string s_FTP_SERVER_PATH = "ftp://203.137.92.122:990/HYOU/";
+        // 更新モジュールフォルダ,ファイル名
+        public const string s_UPDATE_MODULE = "UpDateCopy";
+        // UVERSIONキー名
+        public const string s_UVERSION_KEY = "uversion";
+        // MVERSIONキー名
+        public const string s_MVERSION_KEY = "mversion";
+        // VERSIONセクション名
+        public const string s_VERSION_SECTION = "genbaKantokuHisyo";
+        // 起動パラメータ
+        public const string s_KIDOU_PARAM = "/NOCHECK";
+// ▲自動更新VPS対応▲
+        #endregion
+
+        #region システム定義ファイルパス
+        /// <summary>
+        /// 工事管理システム定義ファイル名
+        /// </summary>
+        public static readonly string s_DefinitionFileName = @".\ProcessManagement.xml";
+        #endregion
+
+        #region 住所検索ファイルパス
+        /// <summary>
+        /// 住所ファイル
+        /// </summary>
+        public static string s_AddressFilePath = System.Environment.CurrentDirectory + @".\KEN_ALL.CSV";
+        public static string s_AddressWorkInput = @"D:\Temp\_KEN_ALL.CSV";
+        public static string s_AddressWorkOutput = @"D:\Temp\KEN_ALL.CSV";
+        //public static string s_AddressFilePath = "C:\\temp\\KEN_ALL.CSV";
+        #endregion
+
+        #region システムセキュリティ定義
+        /// <summary>
+        /// システム管理者コード
+        /// </summary>
+        public static int AdminCode = 88889988;
+        /// <summary>
+        /// システム管理者名称
+        /// </summary>
+        public static string AdminUser = "Admin";
+        /// <summary>
+        /// システム管理者パスワード
+        /// </summary>
+        public static string AdminPass = "Admin";
+        /// <summary>
+        /// システム管理者旧セキュリティコード
+        /// </summary>
+        public static int AdminSecurityManagement = -1;
+
+        #region 旧機密管理
+        /// <summary>
+        /// 旧機密管理番号
+        /// </summary>
+        public enum SysManaDivNo
+        {
+            /// <summary>
+            /// 最高責任者
+            /// </summary>
+            PresidentAuthority = 0,
+            /// <summary>
+            /// 統括責任者
+            /// </summary>
+            SupervisorAuthority,
+            /// <summary>
+            /// 所　属　長
+            /// </summary>
+            SuperiorAuthority,
+            /// <summary>
+            /// 一般使用者
+            /// </summary>
+            UserAuthority,
+        }
+        /// <summary>
+        /// 旧機密管理区分
+        /// </summary>
+        public static List<KeyValuePair<int, string>> SystemManageDiv = new List<KeyValuePair<int, string>>{
+                                                                                new KeyValuePair<int,string>(1,"最高責任者"),
+                                                                                new KeyValuePair<int,string>(2,"統括責任者"),
+                                                                                new KeyValuePair<int,string>(3,"所　属　長"),
+                                                                                new KeyValuePair<int,string>(4,"一般使用者")};
+        #endregion
+
+        /// <summary>
+        /// 機密管理番号
+        /// </summary>
+        public enum SecurityRankPos
+        {
+            /// <summary>
+            /// 特別権限
+            /// </summary>
+            SpecialAuthority = 0,
+            /// <summary>
+            /// 統括者権限
+            /// </summary>
+            FreeAuthority,
+            /// <summary>
+            /// 所属長権限
+            /// </summary>
+            LimitedAuthority,
+            /// <summary>
+            /// 一般者権限
+            /// </summary>
+            NormalAuthority,
+        }
+        /// <summary>
+        /// 機密管理区分
+        /// </summary>
+        public static List<KeyValuePair<int, string>> SecurityRankList = new List<KeyValuePair<int, string>>{
+                                                                                new KeyValuePair<int,string>(1,"特別権限"),
+                                                                                new KeyValuePair<int,string>(2,"統括者権限"),
+                                                                                new KeyValuePair<int,string>(3,"所属長権限"),
+                                                                                new KeyValuePair<int,string>(4,"一般者権限")};
+        #region 旧機密区分名称
+        //public static List<KeyValuePair<int, string>> SecurityManagementDivision = new List<KeyValuePair<int, string>>{
+        //                                                                    new KeyValuePair<int,string>(1,"最高機密管理者"),
+        //                                                                    new KeyValuePair<int,string>(2,"統括機密管理者"),
+        //                                                                    new KeyValuePair<int,string>(3,"機密管理者"),
+        //                                                                    new KeyValuePair<int,string>(4,"一般使用者")};
+        #endregion
+
+        /// <summary>
+        /// 機密区分範囲
+        /// </summary>
+        public enum SecurityRangePos
+        {
+            /// <summary>
+            /// 全部署参照
+            /// </summary>
+            AllPath = 0,
+            /// <summary>
+            /// 複数部署参照
+            /// </summary>
+            Multiple,
+            /// <summary>
+            /// 自部署のみ
+            /// </summary>
+            Only,
+            /// <summary>
+            /// 自担当者のみ
+            /// </summary>
+            None,
+        }
+        public static List<KeyValuePair<int, string>> SecurityRangeList = new List<KeyValuePair<int, string>>{
+                                                                                new KeyValuePair<int,string>(1,"全部署対象"),
+                                                                                new KeyValuePair<int,string>(2,"複数部署対象"),
+                                                                                new KeyValuePair<int,string>(3,"自部署のみ対象"),
+                                                                                new KeyValuePair<int,string>(4,"担当分のみ対象")};
+        #endregion
+
+        #region エクセル使用時パス
+        /// <summary>
+        /// EXCELテンプレートファイル名
+        /// </summary>
+        public static string s_ExcelOriginalFileName = @"\ProcessManage.xlsx";
+        /// <summary>
+        /// エクセルフォルダ名
+        /// </summary>
+        public static string s_ExecCurrentDirName = @"C:\Users\Default\Desktop\";
+        public static string s_SaveExecl = @"SaveExcel";
+        public static string s_ExecExcelDirName = @"見積もりエクセルデータ";
+        #endregion
+
+        #region ワード使用時パス
+        /// <summary>
+        /// ワードフォルダ名
+        /// </summary>
+        public static string s_SaveWord = @"SaveWord";
+        public static string s_ExecWordDirName = @"ワードデータ";
+        #endregion
+
+        #region 保存ファイルタイプ
+        /// <summary>
+        /// 保存ファイルタイプ
+        /// </summary>
+        public enum SaveFileType
+        {
+            /// <summary>
+            /// EXCELファイル
+            /// </summary>
+            ExcelFile = 0,
+            /// <summary>
+            /// WORDファイル
+            /// </summary>
+            WordFile,
+        }
+        #endregion
+
+        #region エラー・正常時の背景色定義
+        /// <summary>
+        /// フィールドカラー
+        /// </summary>
+        /// <summary>
+        /// エラー時色
+        /// </summary>
+        public static Color s_clrError = Color.Red;
+        /// <summary>
+        /// 正常時色
+        /// </summary>
+        public static Color s_clrNormal = Color.White;
+        #endregion
+
+        #region 曜日文字
+        /// <summary>
+        /// 曜日文字
+        /// </summary>
+        public static string[] DayOfTheWeekString = new string[] { "日", "月", "火", "水", "木", "金", "土" };
+        #endregion
+
+        #region 掲示板：関連定義
+        #region 掲示板グリッド返信文字
+        /// <summary>
+        /// 掲示板グリッド返信文字
+        /// </summary>
+        public static string[] s_PageType1GridResString = new string[] { "返信あり", "Re:" };
+
+        /// <summary>
+        /// 掲示板 システムメッセージ名称・コード
+        /// </summary>
+        public static int s_MsgBoardSystemCode = 99999998;
+        public static string s_MsgBoardSystemNameFormat = "{0}からの連絡";
+
+        /// <summary>
+        /// メッセージ全員対象
+        /// </summary>
+        public static string s_AllMembersString = "全　　員";
+        public static int s_AllMembersCode = 99999999;
+
+        /// <summary>
+        /// 社長室コード（部署コード）
+        /// </summary>
+        public static int s_PresidentsOffice = 7;
+
+        /// <summary>
+        /// 総務部コード（部署コード）
+        /// </summary>
+        public static int s_GeneralAffairsDevision = 4;
+        #endregion
+
+        #region メッセージリンク区分
+        /// <summary>
+        /// メッセージリンク区分
+        /// </summary>
+        public enum LinkType
+        {
+            /// <summary>
+            /// リンク無
+            /// </summary>
+            Nothing = 0,
+            /// <summary>
+            /// 工事情報
+            /// </summary>
+            ConstructionInfo,
+        }
+        #endregion
+
+        #region メッセージフラグ区分
+        /// <summary>
+        /// メッセージフラグ区分
+        /// </summary>
+        public enum MessageFlg
+        {
+            /// <summary>
+            /// 通常メッセージ
+            /// </summary>
+            Normal = 0,
+            /// <summary>
+            /// 秘書からの連絡メッセージ
+            /// </summary>
+            Secretary,
+        }
+        #endregion
+        #endregion
+
+        #region 行動予定 会社行事名称・コード
+        /// <summary>
+        /// 行動予定 会社行事名称・コード
+        /// </summary>
+        public static int s_CompanyActionCode = 99999999;
+        public static string s_CompanyActionName = "　会　社　行　事　";
+        #endregion
+
+        #region 行動予定 部署行事名称・コード
+        /// <summary>
+        /// 行動予定 部署行事名称・コード
+        /// </summary>
+        public static int s_DivisionActionCode = 99999998;
+        public static string s_DivisionActionName = "検査・安全パトロール";
+        #endregion
+
+        #region 印刷処理：戻り値定義
+        /// <summary>
+        /// 返答値番号
+        /// </summary>
+        public enum RetunAnswer
+        {
+            Answer0 = 0,
+            Answer1,
+            Answer2,
+            Answer3,
+            Answer4,
+            Answer5,
+            Answer6,
+            Answer7,
+            Answer8,
+            Answer9,
+            AnswerA,
+            AnswerB,
+            AnswerC,
+            AnswerE,
+            AnswerF,
+        }
+        #endregion
+
+        #region 担当者マスタ：社員区分
+        /// <summary>
+        /// 社員区分
+        /// </summary>
+        public enum EmployeeClassFlg
+        {
+            /// <summary>
+            /// 不定
+            /// </summary>
+            None = 0,
+            /// <summary>
+            /// 正社員
+            /// </summary>
+            Regular,
+            /// <summary>
+            /// 外注者
+            /// </summary>
+            OutSource,
+        }
+        #endregion
+
+        #region 法人格マスタ：法人格名称位置定義
+        /// <summary>
+        /// 法人格名称位置
+        /// </summary>
+        public enum StatusNamePoint
+        {
+            None = 0,
+            Forword,
+            Back,
+        }
+        #endregion
+
+        #region 区分マスタ：データ分け区分
+        /// <summary>
+        /// 区分マスタ区分
+        /// </summary>
+        public enum DivisionMasterCodeDefine
+        {
+            /// <summary>
+            /// 発注者区分登録
+            /// </summary>
+            OrderDivision = 1,
+            /// <summary>
+            /// 工事種別登録
+            /// </summary>
+            ConstructionClass = 2,
+            /// <summary>
+            /// 工事経費名称登録
+            /// </summary>
+            ConstructionExpenses = 3,
+        }
+        /// <summary>
+        /// 区分マスタ区分キー
+        /// </summary>
+        public static Dictionary<int, string> DivisionMasterCode = new Dictionary<int, string>(){
+                                                                                {1, "発注者区分登録"},
+                                                                                {2, "工事種別登録"},
+                                                                                {3, "工事経費名称登録"},
+                                                                                };
+        #endregion
+
+        #region 期限マスタ：日付チェックタイミング
+        /// <summary>
+        /// 期限マスタ：日付チェックタイミング
+        /// </summary>
+        public enum TermDateCheckTiming
+        {
+            /// <summary>
+            /// 0:前日以前
+            /// </summary>
+            CheckSchdule0 = 0,
+            /// <summary>
+            /// 1:当日
+            /// </summary>
+            CheckSchdule1,
+            /// <summary>
+            /// 2:後日以降
+            /// </summary>
+            CheckSchdule2,
+            /// <summary>
+            /// 3:後日以降継続
+            /// </summary>
+            CheckSchdule3,
+        }
+        #endregion
+
+        #region 期限マスタ：背景・文字色指定定義
+        /// <summary>
+        /// 色の使用場所指定
+        /// </summary>
+        public enum PalceOfColor
+        {
+            BackColor = 0,      // 背景色
+            ForeColor,          // 文字色
+            OtherColor,         // その他色
+        }
+        #endregion
+
+        #region 工事種別マスタ：公共工事種別
+        /// <summary>
+        /// 工事種別マスタ：公共工事種別
+        /// </summary>
+        public enum ConstructionType
+        {
+            /// <summary>
+            /// 0:その他
+            /// </summary>
+            Other = 0,
+            /// <summary>
+            /// 1:公共
+            /// </summary>
+            Community,
+            /// <summary>
+            /// 2:民間
+            /// </summary>
+            Popular,
+        }
+        #endregion
+
+        #region 承認処理：承認状態
+        /// <summary>
+        /// 承認状態
+        /// </summary>
+        public enum ApprovalStatus
+        {
+            /// <summary>
+            /// 0:申請中
+            /// </summary>
+            Petition = 0,
+            /// <summary>
+            /// 1:保　留
+            /// </summary>
+            Pending,
+            /// <summary>
+            /// 2:承　認
+            /// </summary>
+            Approval,
+            /// <summary>
+            /// 3:不承認
+            /// </summary>
+            NotApproval,
+            /// <summary>
+            /// 4:未　定
+            /// </summary>
+            Undecided,
+            /// <summary>
+            /// 5:未申請
+            /// </summary>
+            Unclaimed,
+        }
+        /// <summary>
+        /// 申請状態色
+        /// </summary>
+        public static Color[] ApprovalBackStatusColor = new Color[] { Color.Blue, Color.Yellow, Color.MediumSpringGreen, Color.Red, Color.LightSkyBlue, Color.LightBlue };
+        public static Color[] ApprovalForeStatusColor = new Color[] { Color.White, Color.Black, Color.Black, Color.Black, Color.Black, Color.Black };
+
+        /// <summary>
+        /// 承認状態文字
+        /// </summary>
+        public static readonly string[] ApprovalStatusString = new string[] { "申請中", "保　留", "承　認", "不承認", "未　定", "未申請" };
+        /// <summary>
+        /// 申請ボタン表示文字
+        /// </summary>
+        public static readonly string[] PetitionButtonString = new string[] { "未申請", "申請済" };
+        /// <summary>
+        /// 承認ボタン表示文字
+        /// </summary>
+        public static readonly string[] ApprovalButtonString = new string[] { "未承認", "承認済", "不承認" };
+        #endregion
+
+        #region 承認処理：デフォルト承認受付番号
+        /// <summary>
+        /// 承認処理：デフォルト承認受付番号
+        /// </summary>
+        public static int s_Default_OrderNo = 1;
+        #endregion
+
+        #region 起動時チェック：関連定義
+        /// <summary>
+        /// 起動時日付チェックを必要とする処理のキー
+        /// </summary>
+        public static Dictionary<int, string> ExePrimaryCode = new Dictionary<int, string>() { { 1, "初回起動日付" },
+                                                                                                { 2, "システムバージョン" },
+                                                                                            };
+        #endregion
+
+        #region 管理マスタ：工事番号基準値
+        /// <summary>
+        /// 工事番号基準値　0：営業期数 1：工事年度
+        /// </summary>
+        public enum SystemConstructionNoBase
+        {
+            /// <summary>
+            /// 0：営業期数
+            /// </summary>
+            BusinessPeriod = 0,
+            /// <summary>
+            /// 1：工事年度
+            /// </summary>
+            ConstructionYear,
+        }
+        #endregion
+
+        #region 工事基本情報：施工案件状態定義
+        #region 施工案件状態キー定義配列
+        /// <summary>
+        /// 施工案件状態キー定義配列
+        /// </summary>
+        public enum StatNumArray
+        {
+            /// <summary>
+            /// 依頼受け中
+            /// </summary>
+            Status0 = 0,
+            /// <summary>
+            /// 見積提出
+            /// </summary>
+            Status1,
+            /// <summary>
+            /// 一般補修工事
+            /// </summary>
+            Status2,
+            /// <summary>
+            /// 仮 受 注
+            /// </summary>
+            Status3,
+            /// <summary>
+            /// 受　　注
+            /// </summary>
+            Status4,
+            /// <summary>
+            /// 部署引継
+            /// </summary>
+            Status5,
+            /// <summary>
+            /// 施工準備
+            /// </summary>
+            Status6,
+            /// <summary>
+            /// 施工開始
+            /// </summary>
+            Status7,
+            /// <summary>
+            /// 施工完了
+            /// </summary>
+            Status8,
+            /// <summary>
+            /// 請求準備
+            /// </summary>
+            Status9,
+            /// <summary>
+            /// 請求完了
+            /// </summary>
+            Status10,
+            /// <summary>
+            /// 非 受 注
+            /// </summary>
+            Status11,
+            /// <summary>
+            /// 総務入金確認
+            /// </summary>
+            Status12,
+            /// <summary>
+            /// 担当者入金確認完了
+            /// </summary>
+            Status13,
+            /// <summary>
+            /// リザーブ
+            /// </summary>
+            Status14,
+            /// <summary>
+            /// リザーブ
+            /// </summary>
+            Status15,
+            /// <summary>
+            /// 空家補修工事
+            /// </summary>
+            Status16,
+            /// <summary>
+            /// Hit'sV工事
+            /// </summary>
+            Status17,
+        };
+        #endregion
+
+        #region 施工案件状態Dictionary
+        /// <summary>
+        /// 施工案件状態Dictionary
+        /// </summary>
+        #region 旧施工案件状態
+        //public static Dictionary<int, string> ConstructionProjectsStatus_OLD = new Dictionary<int, string>()
+        //                                                                    {
+        //                                                                        {0, "依頼受"},
+        //                                                                        {1, "見積提出"},
+        //                                                                        {2, "受注"},
+        //                                                                        {3, "非受注"},
+        //                                                                        {4, "施工開始"},
+        //                                                                        {5, "施工完了"},
+        //                                                                        {6, "入札物件"},
+        //                                                                        {7, "営繕部継続工事"},
+        //                                                                    };
+        //public static Dictionary<int, string> ConstructionProjectsStatus = new Dictionary<int, string>() 入札物件追加
+        //                                                                    {
+        //                                                                        {0, "依頼受"},
+        //                                                                        {1, "入札物件"},
+        //                                                                        {2, "見積提出"},
+        //                                                                        {3, "受注"},
+        //                                                                        {4, "営繕部継続工事"},
+        //                                                                        {5, "施工開始"},
+        //                                                                        {6, "施工完了"},
+        //                                                                        {7, "非受注"},
+        //                                                                    };
+        //public static Dictionary<int, string> ConstructionProjectsStatus = new Dictionary<int, string>() 12/02 入札物件見積種別へ移動
+        //                                                                    {
+        //                                                                        {0, "依頼受"},
+        //                                                                        {1, "入札物件"},
+        //                                                                        {2, "見積提出"},
+        //                                                                        {3, "受注"},
+        //                                                                        {4, "受注-部署引継中"},
+        //                                                                        {5, "施工開始"},
+        //                                                                        {6, "施工完了"},
+        //                                                                        {7, "非受注"},
+        //                                                                        {8, "営繕部継続工事"},
+        //                                                                    };
+        //public static Dictionary<int, string> ConstructionProjectsStatus = new Dictionary<int, string>()  12/11 施工準備・請求準備追加
+        //                                                                    {
+        //                                                                        {0, "依頼受け中"},          // 1
+        //                                                                        {1, "見積提出"},            // 2     
+        //                                                                        {2, "受注-部署引継中"},     // 3
+        //                                                                        {3, "受　　注"},            // 4
+        //                                                                        {4, "施工開始"},            // 6
+        //                                                                        {5, "施工完了"},            // 7
+        //                                                                        {6, "営繕部継続工事"},      // 8
+        //                                                                        {7, "非 受 注"},            // 5
+        //                                                                        {8, "請求完了"},            // 9
+        //                                                                    };
+        //public static Dictionary<int, string> ConstructionProjectsStatus = new Dictionary<int, string>(){ 12/16 仮受注追加
+        //                                                                        {0, "依頼受け中"},          // 0
+        //                                                                        {1, "見積提出"},            // 1    
+        //                                                                        {2, "営繕部継続工事"},      // 8
+        //                                                                        {3, "受　　注"},            // 2
+        //                                                                        {4, "部署引継"},            // 4
+        //                                                                        {5, "施工準備"},            // 5
+        //                                                                        {6, "施工開始"},            // 6
+        //                                                                        {7, "施工完了"},            // 7
+        //                                                                        {8, "請求準備"},            // 9
+        //                                                                        {9, "請求完了"},            // 10
+        //                                                                        {10, "非 受 注"},           // 3
+        //                                                                        };
+        //public static readonly Dictionary<int, string> ProjectsStatus = new Dictionary<int, string>(){
+        //                                                                        {0, "依頼受け中"},          // 工事基本情報ラジオボタン：0
+        //                                                                        {1, "見積提出"},            // 工事基本情報ラジオボタン：1    
+        //                                                                        {2, "営繕部継続工事"},      // 工事基本情報ラジオボタン：8
+        //                                                                        {3, "仮 受 注"},            // 工事基本情報ラジオボタン：11
+        //                                                                        {4, "受　　注"},            // 工事基本情報ラジオボタン：2
+        //                                                                        {5, "部署引継"},            // 工事基本情報ラジオボタン：4
+        //                                                                        {6, "施工準備"},            // 工事基本情報ラジオボタン：5
+        //                                                                        {7, "施工開始"},            // 工事基本情報ラジオボタン：6
+        //                                                                        {8, "施工完了"},            // 工事基本情報ラジオボタン：7
+        //                                                                        {9, "請求準備"},            // 工事基本情報ラジオボタン：9
+        //                                                                        {10, "請求完了"},           // 工事基本情報ラジオボタン：10
+        //                                                                        {11, "非 受 注"},           // 工事基本情報ラジオボタン：3
+        //                                                                        {12, "総務入金確認"},       // 工事基本情報ラジオボタン：12
+        //                                                                        {13, "担当者入金確認完了"}, // 工事基本情報ラジオボタン：13
+        //                                                                        };
+        #endregion
+        public static readonly Dictionary<int, string> ProjectsStatus = new Dictionary<int, string>(){
+                                                                                {0, "依頼受け中"},          // 工事基本情報ラジオボタン：0
+                                                                                {1, "見積提出"},            // 工事基本情報ラジオボタン：1    
+                                                                                {2, "一般補修工事"},        // 工事基本情報ラジオボタン：8
+                                                                                {3, "仮 受 注"},            // 工事基本情報ラジオボタン：11
+                                                                                {4, "受　　注"},            // 工事基本情報ラジオボタン：2
+                                                                                {5, "部署引継"},            // 工事基本情報ラジオボタン：4
+                                                                                {6, "施工準備"},            // 工事基本情報ラジオボタン：5
+                                                                                {7, "施工開始"},            // 工事基本情報ラジオボタン：6
+                                                                                {8, "施工完了"},            // 工事基本情報ラジオボタン：7
+                                                                                {9, "請求準備"},            // 工事基本情報ラジオボタン：9
+                                                                                {10, "請求完了"},           // 工事基本情報ラジオボタン：10
+                                                                                {11, "非 受 注"},           // 工事基本情報ラジオボタン：3
+                                                                                {12, "総務入金確認"},       // 工事基本情報ラジオボタン：12
+                                                                                {13, "担当者入金確認完了"}, // 工事基本情報ラジオボタン：13
+                                                                                //{14, ""},                       // 工事基本情報ラジオボタン：14
+                                                                                //{15, ""},                       // 工事基本情報ラジオボタン：15
+                                                                                {16, "空家補修工事"},       // 工事基本情報ラジオボタン：16
+                                                                                {17, "Hit'sV工事"},         // 工事基本情報ラジオボタン：17
+                                                                                };
+        #endregion
+        #endregion
+
+        #region 工事基本情報：日付項目テーブル
+        #region 旧データ
+        //public static Dictionary<int, string> BaseInfoDateNameNo = new Dictionary<int, string>(){         2016/01/05 14：開始予定日追加->5:へ移動
+        //                                                                            {1,"RequestedDate"},
+        //                                                                            {2,"EstimatesSubmitDeadline"},
+        //                                                                            {3,"EstimatesSubmittedDate"},
+        //                                                                            {4,"OrderDate"},
+        //                                                                            {5,"OrderCompletionDate"},
+        //                                                                            {6,"ConstructionStartingDate"},
+        //                                                                            {7,"ConstructionCompletionDate"},
+        //                                                                            {8,"TransferConstructionDate"},
+        //                                                                            {9,"EstimatesExpirationDate"},
+        //                                                                            {10,"ConstructionPeriodStart"},
+        //                                                                            {11,"ConstructionPeriodEnd"},
+        //                                                                            {12,"BillingStartDate"},
+        //                                                                            {13,"BillingDate"},
+        //                                                                            {14, "OrderStartingDate"},
+        //                                                                        };
+        //public static Dictionary<string, int> BaseInfoDateNoName = new Dictionary<string, int>(){
+        //                                                                            {"RequestedDate", 1},
+        //                                                                            {"EstimatesSubmitDeadline", 2},
+        //                                                                            {"EstimatesSubmittedDate", 3},
+        //                                                                            {"OrderDate", 4},
+        //                                                                            {"OrderCompletionDate", 5},
+        //                                                                            {"ConstructionStartingDate", 6},
+        //                                                                            {"ConstructionCompletionDate", 7},
+        //                                                                            {"TransferConstructionDate", 8},
+        //                                                                            {"EstimatesExpirationDate", 9},
+        //                                                                            {"ConstructionPeriodStart",10},
+        //                                                                            {"ConstructionPeriodEnd", 11},
+        //                                                                            {"BillingStartDate",12},
+        //                                                                            {"BillingDate",	13},
+        //                                                                            {"OrderStartingDate", 14},
+        //                                                                        };
+        ///// <summary>
+        ///// 工事基本情報日付項目名称テーブル
+        ///// </summary>
+        //public static Dictionary<string, string> BaseInfoDateName = new Dictionary<string, string>(){
+        //                                                                            {"RequestedDate","依頼受け日"},
+        //                                                                            {"EstimatesSubmitDeadline","見積提出期限"},
+        //                                                                            {"EstimatesSubmittedDate","見積提出日"},
+        //                                                                            {"OrderDate","受注日"},
+        //                                                                            {"OrderCompletionDate","完了予定日"},
+        //                                                                            {"ConstructionStartingDate","施工開始日"},
+        //                                                                            {"ConstructionCompletionDate","施工完了日"},
+        //                                                                            {"TransferConstructionDate","工事移管日"},
+        //                                                                            {"EstimatesExpirationDate","見積有効期限"},
+        //                                                                            {"ConstructionPeriodStart","契約工期開始"},
+        //                                                                            {"ConstructionPeriodEnd","契約工期完了"},
+        //                                                                            {"BillingStartDate","請求準備開始日"},
+        //                                                                            {"BillingDate",	"請求日"},
+        //                                                                            {"OrderStartingDate","開始予定日"},
+        //                                                                        };
+        #endregion
+        /// <summary>
+        /// 工事基本情報日付項目テーブル
+        /// </summary>
+        public static Dictionary<int, string> BaseInfoDateNameNo = new Dictionary<int, string>(){
+                                                                                    {1,"RequestedDate"},
+                                                                                    {2,"EstimatesSubmitDeadline"},
+                                                                                    {3,"EstimatesSubmittedDate"},
+                                                                                    {4,"OrderDate"},
+                                                                                    {5, "OrderStartingDate"},
+                                                                                    {6,"OrderCompletionDate"},
+                                                                                    {7,"ConstructionStartingDate"},
+                                                                                    {8,"ConstructionCompletionDate"},
+                                                                                    {9,"TransferConstructionDate"},
+                                                                                    {10,"EstimatesExpirationDate"},
+                                                                                    {11,"ConstructionPeriodStart"},
+                                                                                    {12,"ConstructionPeriodEnd"},
+                                                                                    {13,"BillingStartDate"},
+                                                                                    {14,"BillingDate"},
+                                                                                    {15,"ConstrPreparationDate"},   // 2016/10/07 追加
+                                                                                };
+        /// <summary>
+        /// 工事基本情報日付項目名称テーブル
+        /// </summary>
+        public static Dictionary<string, string> BaseInfoDateName = new Dictionary<string, string>(){
+                                                                                    {"RequestedDate","依頼受け日"},
+                                                                                    {"EstimatesSubmitDeadline","見積提出期限"},
+                                                                                    {"EstimatesSubmittedDate","見積提出日"},
+                                                                                    {"OrderDate","受注日"},
+                                                                                    {"OrderStartingDate","開始予定日"},
+                                                                                    {"OrderCompletionDate","完了予定日"},
+                                                                                    {"ConstrPreparationDate","施工開始準備日"},
+                                                                                    {"ConstructionStartingDate","施工開始日"},
+                                                                                    {"ConstructionCompletionDate","施工完了日"},
+                                                                                    {"TransferConstructionDate","工事移管日"},
+                                                                                    {"EstimatesExpirationDate","見積有効期限"},
+                                                                                    {"ConstructionPeriodStart","契約工期開始"},
+                                                                                    {"ConstructionPeriodEnd","契約工期完了"},
+                                                                                    {"BillingStartDate","請求準備開始日"},
+                                                                                    {"BillingDate",	"請求日"},
+                                                                                };
+        /// <summary>
+        /// 工事基本情報データチェック対象日付テーブル
+        /// </summary>
+        public enum ConstructionBaseInfo_DateNo
+        {
+            /// <summary>
+            /// 1:依頼受け日
+            /// </summary>
+            RequestedDate = 1,
+            /// <summary>
+            ///  2:見積提出期限
+            /// </summary>
+            EstimatesSubmitDeadline,
+            /// <summary>
+            ///  3:見積提出日
+            /// </summary>
+            EstimatesSubmittedDate,
+            /// <summary>
+            ///  4:受注日
+            /// </summary>
+            OrderDate,
+            /// <summary>
+            ///  5:開始予定日
+            /// </summary>
+            OrderStartingDate,
+            /// <summary>
+            ///  6:完了予定日
+            /// </summary>
+            OrderCompletionDate,
+            /// <summary>
+            ///  7:施工開始日
+            /// </summary>
+            ConstructionStartingDate,
+            /// <summary>
+            ///  8:施工完了日
+            /// </summary>
+            ConstructionCompletionDate,
+            /// <summary>
+            ///  9:工事移管日
+            /// </summary>
+            TransferConstructionDate,
+            /// <summary>
+            /// 10:見積有効期限
+            /// </summary>
+            EstimatesExpirationDate,
+            /// <summary>
+            /// 11:契約工期開始
+            /// </summary>
+            ConstructionPeriodStart,
+            /// <summary>
+            /// 12:契約工期完了
+            /// </summary>
+            ConstructionPeriodEnd,
+            /// <summary>
+            /// 13:請求準備開始日
+            /// </summary>
+            BillingStartDate,
+            /// <summary>
+            /// 14:請求日
+            /// </summary>
+            BillingDate,
+            /// <summary>
+            /// 15:施工開始準備日
+            /// </summary>
+            ConstrPreparationDate,
+        }
+        #endregion
+
+        #region 工事基本情報：消費税フラグ
+        /// <summary>
+        /// 消費税フラグ　0:含まない 1:含む
+        /// </summary>
+        public enum BaseInfoConsumptionTaxFlg
+        {
+            /// <summary>
+            /// 0:含まない
+            /// </summary>
+            NotInclue = 0,
+            /// <summary>
+            /// 1:含む
+            /// </summary>
+            Include,
+        }
+        #endregion
+
+        #region 工事基本情報：営業経費発生フラグ
+        /// <summary>
+        /// 営業経費発生フラグ　0:発生しない 1:発生する 
+        /// </summary>
+        public enum BaseInfoSalesCostFlg
+        {
+            /// <summary>
+            /// 0:発生しない
+            /// </summary>
+            NotOn = 0,
+            /// <summary>
+            /// 1:発生する 
+            /// </summary>
+            On,
+        }
+        #endregion
+
+        #region 工事基本情報：見積種別
+        /// <summary>
+        /// 見積種別　0：通常見積 1:入札物件 2:予算取り見積
+        /// </summary>
+        public enum BaseInfoEstimateType
+        {
+            /// <summary>
+            /// 0：通常見積
+            /// </summary>
+            Normal = 0,
+            /// <summary>
+            /// 1:入札物件
+            /// </summary>
+            Didding,
+            /// <summary>
+            /// 2:予算取り見積
+            /// </summary>
+            GetBudget,
+        }
+        #endregion
+
+        #region 工事基本情報：請求回数フラグ
+        /// <summary>
+        /// 請求回数フラグ　0:分割請求 1:一括請求
+        /// </summary>
+        public enum BaseInfoBillingSplitFlg
+        {
+            /// <summary>
+            /// 0:一括請求
+            /// </summary>
+            AllOnBilling = 0,
+            /// <summary>
+            /// 1:分割請求
+            /// </summary>
+            SplitBilling,
+        }
+        #endregion
+
+        #region 工事基本情報：見積有効期限（月）
+        /// <summary>
+        /// 見積有効期限（月）
+        /// </summary>
+        public static int s_EstimatesExpirationDeadline = 3;
+        #endregion
+
+        #region 見積書入力：固定項目キー
+        /// <summary>
+        /// 見積書入力：固定項目キー
+        /// </summary>
+        public enum EstimateTotalSeqNo
+        {
+            /// <summary>
+            /// 合計：'A'
+            /// </summary>
+            ToTal1 = 0,
+            /// <summary>
+            /// 端数処理：'B'
+            /// </summary>
+            ToTal2,
+            /// <summary>
+            /// 改め合計：'C'
+            /// </summary>
+            ToTal3,
+            /// <summary>
+            /// 消費税相当額：'D'
+            /// </summary>
+            ToTal4,
+            /// <summary>
+            /// 総計：'E'
+            /// </summary>
+            ToTal5,
+        }
+        #endregion
+
+        #region 見積書入力：固定項目キー文字列
+        /// <summary>
+        /// 見積書入力：固定項目キー文字列
+        /// </summary>
+        /// <param name="estimatetotalseqNo"></param>
+        /// <returns></returns>
+        public static string GetEstimateTotalSeqNo(this EstimateTotalSeqNo estimatetotalseqNo)
+        {
+            string[] names = { "A", "B", "C", "D", "E" };
+            return names[(int)estimatetotalseqNo];
+        }
+        #endregion
+
+        #region 見積書入力：タブカテゴリ定義値
+        /// <summary>
+        /// 見積入力：大項目・中項目・小項目
+        /// </summary>
+        public enum TabCotegory
+        {
+            Total = 0,
+            Component,
+            Item,
+            Spec,
+        }
+        #endregion
+
+        #region 見積書入力：経費フラグ
+        /// <summary>
+        /// 見積書入力：Other:経費外 Expenses:経費対象
+        /// </summary>
+        public enum MyExpenses
+        {
+            /// <summary>
+            /// 0:経費外
+            /// </summary>
+            Other = 0,
+            /// <summary>
+            /// 1:自社経費
+            /// </summary>
+            Expenses,
+        }
+        #endregion
+
+        #region 見積書入力：入力フラグ
+        /// <summary>
+        /// 見積書入力：Protect:入力不可 Input:入力可
+        /// </summary>
+        public enum DirectInput
+        {
+            /// <summary>
+            /// 0:入力不可
+            /// </summary>
+            Protect = 0,
+            /// <summary>
+            /// 1:入力可
+            /// </summary>
+            Input,
+        }
+        #endregion
+
+        #region 見積書入力：下位項目フラグ
+        /// <summary>
+        /// 見積書入力：0:下位項目なし 1:下位項目有
+        /// </summary>
+        public enum SubItems
+        {
+            /// <summary>
+            /// 0:下位項目なし
+            /// </summary>
+            NoItem = 0,
+            /// <summary>
+            /// 1:下位項目有
+            /// </summary>
+            ExistItem,
+        }
+        #endregion
+
+        #region 協力業者サブフォーム等：自社施工・自社経費使用定義
+        /// <summary>
+        /// 自社系定義番号
+        /// </summary>
+        public enum AmountMoneyNo
+        {
+            /// <summary>
+            /// 未割当
+            /// </summary>
+            NonAssign = 0,
+            /// <summary>
+            /// 自社施工
+            /// </summary>
+            MyCosts,
+            /// <summary>
+            /// 自社経費
+            /// </summary>
+            MyExpense,
+            /// <summary>
+            /// 業者未定
+            /// </summary>
+            UnDecided,
+        }
+        /// <summary>
+        /// 自社系定義リスト
+        /// </summary>
+        public static List<KeyValuePair<int, string>> s_AmountMoney = new List<KeyValuePair<int, string>>(){
+                                                                            new KeyValuePair<int,string>(0,"未　割　当"),
+                                                                            new KeyValuePair<int,string>(-1,"自社施工費"),
+                                                                            new KeyValuePair<int,string>(-2,"自 社 経 費"),
+                                                                            new KeyValuePair<int,string>(-3,"業 者 未 定")};
+        #endregion
+
+        #region 注文書入力：注文書種別
+        /// <summary>
+        /// 注文書種別タイプ
+        /// </summary>
+        public enum OrderSheetType
+        {
+            /// <summary>
+            /// 簡易版
+            /// </summary>
+            SimpleType = 0,
+            /// <summary>
+            /// 正規版
+            /// </summary>
+            RegularType,
+        }
+        #endregion
+
+        #region 注文書入力：発注条件固定文字
+        /// <summary>
+        /// 発注条件固定文字
+        /// </summary>
+        public static string[] Group4GridStaticString = new string[]{"貴社の責による工期の増減は認められません。",
+                                                                    "駐車場は貴社にて確保願います。",
+                                                                    "乗り合うなどの車両台数も極力減らすこと。",
+                                                                    "安全衛生書類を工事着手までに提出すること。",
+                                                                    "公共工事標準仕様書（最新版）に則り施工のこと。"};
+        #endregion
+
+        #region 注文書入力：印刷対象金額
+        /// <summary>
+        /// 印刷対象金額
+        /// </summary>
+        public static int s_PrintOutPrice = 300000;
+        #endregion
+
+        #region 交通費及び購入品等入力：データ種別
+        /// <summary>
+        /// 交通費及び購入品等入力：データ種別
+        /// </summary>
+        public enum CostDataNo
+        {
+            /// <summary>
+            /// 交通費
+            /// </summary>
+            Transport = 1,
+            /// <summary>
+            /// 購入品費
+            /// </summary>
+            Purchase,
+            /// <summary>
+            /// 車両リース代
+            /// </summary>
+            Lease,
+            /// <summary>
+            /// 駐車場・資材置き場代
+            /// </summary>
+            StoragePlace,
+            /// <summary>
+            /// 宿泊費
+            /// </summary>
+            Lodging,
+        }
+
+        /// <summary>
+        /// データ種別
+        /// </summary>
+        public static readonly string[] CostDataNoString = new string[] { "", "交　通　費", "購入品費", "車両リース代", "駐車場・資材置き場代", "宿泊費" };
+        #endregion
+
+        #region 汎用データ：コードデータ種別
+        /// <summary>
+        /// 汎用データ：コードデータ種別
+        /// </summary>
+        public enum CodeDataType
+        {
+            /// <summary>
+            /// 固定コード
+            /// </summary>
+            FixCode = 0,
+            /// <summary>
+            /// 協力会社コード
+            /// </summary>
+            Subconstractor,
+            /// <summary>
+            /// 担当者コード
+            /// </summary>
+            Person,
+        }
+        #endregion
+
+        #region 工数単位日数
+        /// <summary>
+        /// 工数単位日数
+        /// </summary>
+        public static double s_ManHourUnitDays = 3.0;
+        /// <summary>
+        /// 月工数単位日数
+        /// </summary>
+        public static double s_ManHourUnitMonth = 30.0;
+        #endregion
+
+        #region １カ月の稼働日
+        /// <summary>
+        /// １カ月の稼働日
+        /// </summary>
+        public static int s_WorkingDaysOfMonth = 25;
+        #endregion
+
+        #region 出勤補正値係数
+        /// <summary>
+        /// 出勤補正値係数
+        /// </summary>
+        public static double s_SalaryCorrection = 1.1;
+        #endregion
+
+        #region 工事予算書：日付選択
+        /// <summary>
+        /// 工事予算書：日付選択
+        /// </summary>
+        public enum SelectConstructioDate
+        {
+            /// <summary>
+            /// 契約日付
+            /// </summary>
+            Agreement = 0,
+            /// <summary>
+            /// 見積日付
+            /// </summary>
+            Estimates,
+            /// <summary>
+            /// 入力日付
+            /// </summary>
+            InputDate,
+        }
+        #endregion
+
+        #region 工事予算書：給与振分区分
+        /// <summary>
+        /// 給与振分区分
+        /// </summary>
+        public enum SalaryDevision
+        {
+            /// <summary>
+            /// 全日振分
+            /// </summary>
+            All = 0,
+            /// <summary>
+            /// 振分無
+            /// </summary>
+            Noting,
+            /// <summary>
+            /// 日数入力
+            /// </summary>
+            DaysInput,
+        }
+        #endregion
+
+        #region 工事予算書：工事担当者給与月表示フォーマット（工事内容）
+        /// <summary>
+        /// 工事担当者給与月表示フォーマット（工事内容）
+        /// </summary>
+        public static string s_SalaryCostMonthlyFormat = "{0}ヶ月×￥{1}円";
+        #endregion
+
+        #region 工事予算書：工事担当者給与日表示フォーマット（工事内容）
+        /// <summary>
+        /// 工事担当者給与日表示フォーマット（工事内容）
+        /// </summary>
+        public static string s_SalaryCostDaylyFormat = "{0}日×￥{1}円";
+        #endregion
+
+        #region 日報入力：データ区分
+        /// <summary>
+        /// 日報入力：データ区分
+        /// </summary>
+        public enum DailyInputFlg
+        {
+            /// <summary>
+            /// 公共
+            /// </summary>
+            Communal = 0,
+            /// <summary>
+            /// 民間
+            /// </summary>
+            Popular,
+            /// <summary>
+            /// 巡回
+            /// </summary>
+            Route,
+        }
+        #endregion
+
+        #region プロセス起動カウント
+        /// <summary>
+        /// プロセス起動カウント
+        /// </summary>
+        public static int s_NumberOfProcess = 8;
+        #endregion
+
+        #region セル計算結果表示フォーマット
+        /// <summary>
+        /// セル計算結果表示フォーマット
+        /// </summary>
+        public static string s_CalculateCellFormat = "平均:{0}　データ個数:{1}　合計:{2}";
+        #endregion
+
+        #region 修正モード名称
+        /// <summary>
+        /// 修正モード名称
+        /// </summary>
+        public static string EditModeStringNew = "新　規";
+        public static string EditModeStringEdit = "修　正";
+        public static string EditModeStringRef = "参　照";
+        #endregion
+
+        #region 1ページ初期行数
+        /// <summary>
+        /// 1ページ初期行数
+        /// </summary>
+        public static int s_MaxInitLineCount = 40;
+        public static int s_MaxInitLineCountMastamente = 60;
+        #endregion
+
+        #region 未定時文字
+        /// <summary>
+        /// 未定時文字
+        /// </summary>
+        public static string s_UndecidedString = "未定";
+        #endregion
+
+        #region 指導員月金額
+        /// <summary>
+        /// 指導員月金額
+        /// </summary>
+        public static int InstructorMonthryCost = 100000;
+        #endregion
+
+        #region 副担当月金額
+        /// <summary>
+        /// 副担当月金額
+        /// </summary>
+        public static int AssistantMonthryCost = 100000;
+        #endregion
+
+        #region 協力会社マスタ：協力業者支払区分
+        /// <summary>
+        /// 協力業者支払区分
+        /// </summary>
+        public enum SubContractorPaymentKind
+        {
+            /// <summary>
+            /// 0:通常払い
+            /// </summary>
+            Normal = 0,
+            /// <summary>
+            /// 1:手間払い
+            /// </summary>
+            Labor,
+        }
+        /// <summary>
+        /// 協力業者支払区分
+        /// </summary>
+        public static List<KeyValuePair<int, string>> s_SubContractorKind = new List<KeyValuePair<int, string>>(){
+                                                                            new KeyValuePair<int,string>(0,"通　常　業　者"),
+                                                                            new KeyValuePair<int,string>(1,"手　間　業　者")};
+        #endregion
+
+        #region 工事詳細台帳：集計フラグ
+        /// <summary>
+        /// 工事詳細台帳：集計フラグ
+        /// </summary>
+        public enum LedgerIntegration
+        {
+            /// <summary>
+            /// 通常（無）
+            /// </summary>
+            Normal = 0,
+            /// <summary>
+            /// 積算見積書データより集計
+            /// </summary>
+            Integration,
+        }
+        #endregion
+
+        #region 15期以前の経費
+        public static List<KeyValuePair<string, double>> BeforeExpenses = new List<KeyValuePair<string, double>>{
+                                                                                new KeyValuePair<string, double>("会社経費", 8.0),
+                                                                                new KeyValuePair<string, double>("営業経費", 5.0),
+                                                                                new KeyValuePair<string, double>("各部署経費", 7.0)};
+
+        ///// <summary>
+        ///// 各所属部経費（7％）
+        ///// </summary>
+        //public static const double PartExpenses = 7.0;
+        ///// <summary>
+        ///// 事務所経費（8％）
+        ///// </summary>
+        //public static const double OfficeExpenes = 8.0;
+        ///// <summary>
+        ///// 営業経費（5％）
+        ///// </summary>
+        //public static const double SaleseExpenes = 5.0;
+        #endregion
+
+        #region 担当者選択区分
+        /// <summary>
+        /// 担当者選択区分
+        /// </summary>
+        public enum PersonSelectFlg
+        {
+            /// <summary>
+            /// 無
+            /// </summary>
+            None = 0,
+            /// <summary>
+            /// 工事担当者
+            /// </summary>
+            Creator,
+            /// <summary>
+            /// 副担当者
+            /// </summary>
+            Assistant,
+            /// <summary>
+            /// 指導員
+            /// </summary>
+            Instructor,
+        }
+        #endregion
+
+        #region 工事リンク情報：リンク種別
+        /// <summary>
+        /// 工事リンク情報：リンク種別
+        /// </summary>
+        public enum LinkDataType
+        {
+            /// <summary>
+            /// 0:増減工事
+            /// </summary>
+            FluctuationType = 0,
+            /// <summary>
+            /// 1:結合工事
+            /// </summary>
+            JoinType,
+        }
+        #endregion
+
+        #region 工事基本情報：紐付データフラグ
+        /// <summary>
+        /// 工事基本情報：紐付データフラグ
+        /// </summary>
+        public enum BaseInfoTyingFlg
+        {
+            /// <summary>
+            /// 0:独立データ
+            /// </summary>
+            Standard = 0,
+            /// <summary>
+            /// 1:増減親データ
+            /// </summary>
+            Parent,
+            /// <summary>
+            /// 2:増減子データ
+            /// </summary>
+            Tying,
+        }
+        #endregion
+
+        #region 工事基本情報：結合工事フラグ
+        /// <summary>
+        /// 工事基本情報：結合工事フラグ
+        /// </summary>
+        public enum BaseInfoJoinFlg
+        {
+            /// <summary>
+            /// 0:結合無通常データ
+            /// </summary>
+            Standard = 0,
+            /// <summary>
+            /// 1:結合親データ
+            /// </summary>
+            JoinParent,
+            /// <summary>
+            /// 2:結合子データ
+            /// </summary>
+            JoinChildren,
+        }
+        #endregion
+
+        #region 工事詳細台帳：台帳入力完了フラグ
+        /// <summary>
+        /// 工事詳細台帳：台帳入力完了フラグ
+        /// </summary>
+        public enum ComplateTitleNo
+        {
+            /// <summary>
+            /// 台　帳　入　力　中
+            /// </summary>
+            Operateing = 0,
+            /// <summary>
+            /// 完　了　済　台　帳
+            /// </summary>
+            Complated,
+        }
+        #endregion
+
+        #region 工事詳細台帳明細：担当中フラグ
+        /// <summary>
+        /// 担当中フラグ
+        /// </summary>
+        public enum SalaryOperateKind
+        {
+            /// <summary>
+            /// 担当終了
+            /// </summary>
+            Complate = 0,
+            /// <summary>
+            /// 担当中
+            /// </summary>
+            Oparateing,
+        }
+        #endregion
+
+        #region 工事詳細台帳明細：増減工事フラグ
+        /// <summary>
+        /// 工事詳細台帳：増減工事フラグ
+        /// </summary>
+        public enum FluctuatesFlg
+        {
+            /// <summary>
+            /// 0:通常データ
+            /// </summary>
+            Normal = 0,
+            /// <summary>
+            /// 1:増減データ
+            /// </summary>
+            Fluctuates,
+        }
+        #endregion
+
+        #region 工事詳細台帳明細：注文書発行フラグ
+        /// <summary>
+        /// 工事詳細台帳明細：注文書データ作成フラグ
+        /// </summary>
+        public enum PurchaseOrderFlg
+        {
+            /// <summary>
+            /// 未作成
+            /// </summary>
+            NoCreate = 0,
+            /// <summary>
+            /// 作成済
+            /// </summary>
+            Making = 1,
+            /// <summary>
+            /// 作成しない
+            /// </summary>
+            NotMakingData = 9,
+        }
+        #endregion
+
+        #region 担当者マスタ：工事詳細台帳計算対象フラグ
+        /// <summary>
+        /// 担当者マスタ：工事詳細台帳計算対象フラグ
+        /// </summary>
+        public enum PersonLedgerDivNo
+        {
+            /// <summary>
+            /// 対象外
+            /// </summary>
+            CalcOuter = 0,
+            /// <summary>
+            /// 対象
+            /// </summary>
+            CalcTarget,
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ：所属フラグ
+        /// <summary>
+        /// 担当者対象部署マスタ：所属フラグ
+        /// </summary>
+        public enum AffiliationFlg
+        {
+            /// <summary>
+            /// 他部署
+            /// </summary>
+            Ohter = 0,
+            /// <summary>
+            /// 所属部署
+            /// </summary>
+            Affiliation,
+        }
+        #endregion
+
+        #region 起動対象マスタ：データ編集フラグ
+        /// <summary>
+        /// 起動対象マスタ：データ編集フラグ
+        /// </summary>
+        public enum ProcessDataEdit
+        {
+            /// <summary>
+            /// 参照
+            /// </summary>
+            Reference = 0,
+            /// <summary>
+            /// 対象
+            /// </summary>
+            Edit,
+        }
+        #endregion
+
+        #region 保護区分マスタ：総務業務フラグ
+        /// <summary>
+        /// 保護区分マスタ：総務業務フラグ
+        /// </summary>
+        public enum GeneralAffairs
+        {
+            /// <summary>
+            /// 総務以外
+            /// </summary>
+            OtherDep = 0,
+            /// <summary>
+            /// 総務業務対象
+            /// </summary>
+            GeneralDep,
+        }
+        #endregion
+
+        #region 保護区分マスタ：総務業務名称
+        /// <summary>
+        /// 保護区分マスタ：総務業務名称
+        /// </summary>
+        public static List<KeyValuePair<int, string>> GeneralAffairsList = new List<KeyValuePair<int, string>>{
+                                                                                new KeyValuePair<int,string>(0,"総務業務不可"),
+                                                                                new KeyValuePair<int,string>(1,"総務業務可能")};
+        #endregion
+
+        #region 承認対象区分
+        /// <summary>
+        /// 承認対象区分
+        /// </summary>
+        public enum ApprovalDivision
+        {
+            /// <summary>
+            /// 工事対象承認
+            /// </summary>
+            ConstrApproval = 1,
+            /// <summary>
+            /// 担当者対象承認
+            /// </summary>
+            PerosonApproval,
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/Common/CommonMotions.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Common/CommonMotions.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Common/CommonMotions.cs	(revision 84)
@@ -0,0 +1,1953 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Diagnostics;
+using System.Windows.Forms;
+using System.Drawing;
+using System.IO;
+using System.Text.RegularExpressions;
+using System.Data;
+using System.Security.Cryptography;
+using System.Globalization;
+using System.Runtime.InteropServices;
+using System.Collections;
+
+using Microsoft.VisualBasic; //for StrConv
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.OracleDB.IOAccess;
+
+namespace ProcessManagement.Common
+{
+    /// <summary>
+    /// 工事管理システム共通クラス
+    /// </summary>
+    public static class CommonMotions
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 変数
+        /// <summary>
+        /// 定義ファイル読込クラス定義
+        /// </summary>
+        //private static DefinitionFileRead m_dfr_model = null;
+
+        /// <summary>
+        /// 管理マスタデータ保持領域
+        /// </summary>
+        private static SystemMaster m_systemMaster = new SystemMaster();
+
+        /// <summary>
+        /// ログインユーザー担当者データ
+        /// </summary>
+        private static PersonInChargeMaster m_LoginUserData = new PersonInChargeMaster();
+
+        /// <summary>
+        /// ログインユーザー参照部署データ
+        /// </summary>
+        private static List<PersonDepartmentMaster> m_LoginUserDepartment = new List<PersonDepartmentMaster>();
+
+        /// <summary>
+        /// ログインユーザーセキュリティ区分
+        /// </summary>
+        private static SecurityMaster m_LoginUserSecurity = new SecurityMaster();
+
+        /// <summary>
+        /// ログインユーザー処理起動区分
+        /// </summary>
+        private static List<ProcessExcute> m_LoginUserProcExe = new List<ProcessExcute>();
+
+        /// <summary>
+        /// システム初回起動チェック処理クラス
+        /// </summary>
+        //private static ClsSystemOnceExecute m_CheckProc = null;
+        
+        /// <summary>
+        /// 製品ファイルバージョン格納エリア
+        /// </summary>
+        private static FileVersionInfo m_ProductVersionInfo = FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location);
+
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// 何もしない
+        /// </summary>
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 本稼働フラグ
+        /// </summary>
+        public static bool ProductionExecution
+        {
+            get { return CommonDefine.m_ProductionExecution; }
+        }
+        /// <summary>
+        /// 定義ファイル読込クラス
+        /// </summary>
+        //public static DefinitionFileRead DFRModel
+        //{
+        //    get { return m_dfr_model; }
+        //}
+
+        /// <summary>
+        /// 管理マスタデータ
+        /// </summary>
+        public static SystemMaster SystemMasterData
+        {
+            get { return m_systemMaster; }
+            set { m_systemMaster = value; }
+        }
+
+        /// <summary>
+        /// ログインユーザー担当者データ
+        /// </summary>
+        public static PersonInChargeMaster LoginUserData
+        {
+            get { return m_LoginUserData; }
+            set { m_LoginUserData = value; }
+        }
+
+        /// <summary>
+        /// ログインユーザー参照部署データ
+        /// </summary>
+        public static List<PersonDepartmentMaster> LoginUserDepartment
+        {
+            get { return m_LoginUserDepartment; }
+            set { m_LoginUserDepartment = value; }
+        }
+
+        /// <summary>
+        /// ログインユーザーセキュリティ区分
+        /// </summary>
+        public static SecurityMaster LoginUserSecurity
+        {
+            get { return m_LoginUserSecurity; }
+            set { m_LoginUserSecurity = value; }
+        }
+
+        /// <summary>
+        /// ログインユーザー処理起動区分
+        /// </summary>
+        public static List<ProcessExcute> LoginUserProcExe
+        {
+            get { return m_LoginUserProcExe; }
+            set { m_LoginUserProcExe = value; }
+        }
+
+        /// <summary>
+        /// 製品ファイルバージョン格納エリア
+        /// </summary>
+        public static FileVersionInfo ProductVersionInfo
+        {
+            get { return m_ProductVersionInfo; }
+        }
+
+        /// <summary>
+        /// システム起動チェック処理クラス
+        /// </summary>
+        //public static ClsSystemOnceExecute CheckProc
+        //{
+        //    get { return m_CheckProc; }
+        //}
+
+        #endregion
+
+        #region 初期化
+        /// <summary>
+        /// 初期化
+        /// </summary>
+        //public static void Initialize()
+        //{
+        //    try
+        //    {
+        //        // 定義ファイル読込
+        //        DefinitionFileInit();
+
+        //        // 他共通クラス初期化
+        //        DBCommon.Instance.Initialize();
+
+        //        // 管理マスタ取得
+        //        SetSystemMaster();
+
+        //        // 起動チェッククラス初期化
+        //        m_CheckProc = new ClsSystemOnceExecute();
+        //    }
+        //    catch (Exception ex)
+        //    {
+        //        logger.ErrorFormat("初期化エラー:{0}：{1}", GetMethodName(), ex.Message);
+        //    }
+        //}
+        #endregion
+
+        #region 定義ファイル読込
+        ///// <summary>
+        ///// 定義ファイル読込
+        ///// </summary>
+        //private static void DefinitionFileInit()
+        //{
+        //    try
+        //    {
+        //        //定義ファイル読込
+        //        System.IO.FileStream fs = new System.IO.FileStream(CommonDefine.s_DefinitionFileName, System.IO.FileMode.Open);
+        //        System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(DefinitionFileRead));
+        //        m_dfr_model = (DefinitionFileRead)serializer.Deserialize(fs);
+        //    }
+        //    catch (Exception ex)
+        //    {
+        //        logger.ErrorFormat("定義ファイル読込エラー:{0}：{1}", GetMethodName(), ex.Message);
+        //    }
+        //}
+
+        #endregion
+
+        #region 管理マスタ取得
+        /// <summary>
+        /// 管理マスタ取得
+        /// </summary>
+        public static bool SetSystemMaster()
+        {
+            // 管理マスタクラス
+            IOMSystem ocDB = new IOMSystem();
+            try
+            {
+                // 管理マスタ取得
+                // １レコードだけなので取り出す
+                string strSQL = " Where SystemCode = 1";
+                if (!ocDB.SelectAction(strSQL, ref m_systemMaster)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                ocDB.close(); ocDB = null;
+            }
+        }
+        #endregion
+
+        #region メソッド名を取得する
+        /// <summary>
+        /// メソッド名を取得する
+        /// </summary>
+        /// <param name="StackCnt"></param>
+        /// <returns></returns>
+        public static string GetMethodName(int stackCnt = 1)
+        {
+            try
+            {
+                StringBuilder sb = new StringBuilder();
+
+                // 一つ前のスタック情報
+                StackFrame stackFrame = new StackFrame(stackCnt);
+
+                // 呼び出し元メソッドの情報出力
+                System.Reflection.MethodBase method = stackFrame.GetMethod();
+
+                // Method取得失敗は戻る
+                if (method == null) return string.Empty;
+
+                // 正しく取得できているかの判定
+                if (method.DeclaringType != null && !string.IsNullOrEmpty(method.DeclaringType.Name))
+                {
+                    // 型名
+                    sb.AppendFormat("[TYPE]{0}", method.DeclaringType.Name);
+                }
+
+                if (!string.IsNullOrEmpty(method.Name))
+                {
+                    // 編集済みの場合は区切りを入れる
+                    if (0 < sb.Length) sb.Append('/');
+
+                    // メソッド名
+                    sb.AppendFormat("[METHOD]{0}", method.Name);
+                }
+                return sb.ToString();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat(ex.Message);
+            }
+            return string.Empty;
+        }
+        #endregion
+        
+        #region 日付より年を取得する
+        /// <summary>
+        /// 日付より年を取得する
+        /// </summary>
+        /// <returns></returns>
+        public static int DateToPeriodYear(DateTime TargetDate)
+        {
+            try
+            {
+                // 今の年を取得する
+                int iYear = DateTime.Now.Year;
+                // 今年の期首日を取得する
+                DateTime BeginninDate = DateTime.Parse(iYear.ToString() + "/" + CommonMotions.SystemMasterData.BusinessBeginningDate);
+                // 日付を今年の期首日と比較して小さい場合は今の年より-1して期首年を求める
+                if (TargetDate.Date < BeginninDate.Date)
+                    --iYear;
+
+                return iYear;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 期数から期の年を取得する
+        /// <summary>
+        /// 期数から期の年を取得する
+        /// </summary>
+        /// <param name="PeriodCount"></param>
+        /// <returns></returns>
+        public static int PeriodCountToYear(int PeriodCount)
+        {
+            try
+            {
+                // 今の年を取得する
+                int iYear = DateTime.Now.Year;
+                // 今年の期首日を取得する
+                DateTime BeginninDate = DateTime.Parse(iYear.ToString() + "/" + CommonMotions.SystemMasterData.BusinessBeginningDate);
+                // 今日を今年の期首日と比較して小さい場合は今の年より-1して期首年を求める
+                if (DateTime.Now.Date < BeginninDate.Date)
+                    --iYear;
+                
+                // 管理マスタの期数と比較して年を計算する
+                if (PeriodCount < CommonMotions.SystemMasterData.BusinessPeriod)
+                {
+                    iYear -= (CommonMotions.SystemMasterData.BusinessPeriod - PeriodCount);
+                }
+                else if (PeriodCount > CommonMotions.SystemMasterData.BusinessPeriod)
+                {
+                    iYear += (PeriodCount - CommonMotions.SystemMasterData.BusinessPeriod);
+                }
+
+                return iYear;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 期の最大・最少を取得する
+        /// <summary>
+        /// 期の最大・最少を取得する
+        /// </summary>
+        /// <param name="StartDate"></param>
+        /// <returns></returns>
+        public static void GetPeriodYear(ref int min, ref int max)
+        {
+            IOConstructionBaseInfo cbiDB = new IOConstructionBaseInfo();
+            try
+            {
+                string strSQL = "SELECT MIN(CONSTRUCTIONPERIOD), MAX(CONSTRUCTIONPERIOD) FROM CONSTRUCTIONBASEINFO";
+                ArrayList arList = new ArrayList();
+                if (!cbiDB.ExecuteReader(strSQL, ref arList)) return;
+                object[] wrkobj = (object[])arList[0];
+                min = cnvInt(wrkobj[0]);
+                max = cnvInt(wrkobj[1]);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                cbiDB.close(); cbiDB = null;
+            }
+        }
+        #endregion
+
+        #region データ変換メソッド
+        #region 西暦を和暦に変換する
+        /// <summary>
+        /// 西暦を和暦に変換する
+        /// </summary>
+        /// <returns></returns>
+        public static string cnvJapaneseCalendar(DateTime Terget)
+        {
+            try
+            {
+                CultureInfo culture = new CultureInfo("ja-JP", true);
+                culture.DateTimeFormat.Calendar = new JapaneseCalendar();
+
+                return Terget.ToString("ggyy年M月d日", culture);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region 今の年号を取得する
+        /// <summary>
+        /// 今の年号を取得する
+        /// </summary>
+        /// <returns></returns>
+        public static string GetNameOfAnEra(DateTime TargetDate)
+        {
+            try
+            {
+                string strRet = string.Empty;
+
+                CultureInfo culture = new CultureInfo("ja-JP", true);
+                culture.DateTimeFormat.Calendar = new JapaneseCalendar();
+
+                string result = TargetDate.ToString("ggyy年M月d日", culture);
+
+                int strLength = 0;
+                foreach (char c in result)
+                {
+                    if (char.IsNumber(c)) break;
+
+                    strLength++;
+                }
+
+                strRet = result.Substring(0, strLength);
+
+                return strRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region Int値より文字列に変化して指定位置に指定文字を入れる。(工事番号編集)
+        /// <summary>
+        /// Int値より文字列に変化して指定位置に指定文字を入れる。
+        /// </summary>
+        /// <param name="strCode"></param>
+        /// <returns></returns>
+        public static string cnvStringCodeFromInt(int IntCode, string strCode, int iPoint)
+        {
+            try
+            {
+                // 文字列変換
+                string strWork = IntCode.ToString();
+                // 指定位置が文字列長を超えている場合はエラー
+                if (strWork.Length <= iPoint) return string.Empty;
+                // 文字挿入
+                strWork = strWork.Substring(0, iPoint) + strCode + strWork.Substring(iPoint);
+                return strWork;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region 文字列より指定文字を除去してInt値に変換する
+        /// <summary>
+        /// 文字列より指定文字を除去してInt値に変換する
+        /// </summary>
+        /// <param name="strCode"></param>
+        /// <returns></returns>
+        public static int cnvIntFromStringCode(string strCode, string strRemove)
+        {
+            try
+            {
+                // 文字列除去後変換
+                return cnvInt(strCode.Replace(strRemove, ""));
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 日付返還変換
+        /// <summary>
+        /// 日付返還変換
+        /// </summary>
+        /// <param name="sendData"></param>
+        /// <returns></returns>
+        public static DateTime cnvDate(object sendData)
+        {
+            DateTime dtDateWork = DateTime.MinValue;
+            try
+            {
+                // 空判定
+                if (sendData == null) return dtDateWork;
+                if (sendData.ToString().Length == 0) return dtDateWork;
+
+                // 変換
+                bool bRet = DateTime.TryParse(sendData.ToString(), out dtDateWork);
+
+                return dtDateWork;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return dtDateWork;
+            }
+        }
+        #endregion
+
+        #region 文字列より数値変換（long）
+        /// <summary>
+        /// 文字列より数値変換（long）
+        /// </summary>
+        /// <param name="sendData"></param>
+        /// <returns></returns>
+        public static long cnvLong(object sendData)
+        {
+            try
+            {
+                long retData = 0;
+
+                // 空判定
+                if (sendData == null) return retData;
+                if (sendData.ToString().Trim().Length == 0) return retData;
+
+                // 変換
+                long.TryParse(sendData.ToString().Replace(",", "").Replace("\\", "").Trim(), out retData);
+
+                return retData;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 文字列より数値変換（int）
+        /// <summary>
+        /// 文字列より数値変換（int）
+        /// </summary>
+        /// <param name="sendData"></param>
+        /// <returns></returns>
+        public static int cnvInt(object sendData)
+        {
+            try
+            {
+                int retData = 0;
+
+                // 空判定
+                if (sendData == null) return retData;
+                if (sendData.ToString().Trim().Length == 0) return retData;
+
+                // 変換
+                int.TryParse(sendData.ToString().Replace(",", "").Replace("\\", "").Trim(), out retData);
+
+                return retData;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 文字列より数値変換（string）
+        /// <summary>
+        /// 文字列より数値変換（string）
+        /// </summary>
+        /// <param name="sendData"></param>
+        /// <returns></returns>
+        public static string cnvString(object sendData)
+        {
+            try
+            {
+                string retData = string.Empty;
+
+                // 空判定
+                if (sendData == null) return retData;
+                if (sendData.ToString().Trim().Length == 0) return retData;
+
+
+                // 変換
+                retData = sendData.ToString(); 
+
+                return retData;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return "";
+            }
+        }
+        #endregion
+
+        #region 文字列より数値変換（double）
+        /// <summary>
+        /// 文字列より数値変換（double）
+        /// </summary>
+        /// <param name="sendData"></param>
+        /// <returns></returns>
+        public static double cnvDouble(object sendData)
+        {
+            try
+            {
+                double retData = 0;
+
+                // 空判定
+                if (sendData == null) return retData;
+                if (sendData.ToString().Trim().Length == 0) return retData;
+
+
+                // 変換
+                double.TryParse(sendData.ToString().Replace(",", "").Replace("\\", "").Trim(), out retData);
+
+                return retData;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 文字列より数値変換（float）
+        /// <summary>
+        /// 文字列より数値変換（float）
+        /// </summary>
+        /// <param name="sendData"></param>
+        /// <returns></returns>
+        public static float cnvFloat(object sendData)
+        {
+            try
+            {
+                float retData = 0;
+
+                // 空判定
+                if (sendData == null) return retData;
+                if (sendData.ToString().Trim().Length == 0) return retData;
+
+
+                // 変換
+                float.TryParse(sendData.ToString().Replace(",", "").Replace("\\", "").Trim(), out retData);
+
+                return retData;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 文字列より数値変換（decimal）
+        /// <summary>
+        /// 文字列より数値変換（decimal）
+        /// </summary>
+        /// <param name="sendData"></param>
+        /// <returns></returns>
+        public static decimal cnvDecimal(object sendData)
+        {
+            try
+            {
+                decimal retData = 0;
+
+                // 空判定
+                if (sendData == null) return retData;
+                if (sendData.ToString().Trim().Length == 0) return retData;
+
+
+                // 変換
+                decimal.TryParse(sendData.ToString().Replace(",", "").Replace("\\", "").Trim(), out retData);
+
+                return retData;
+            }
+            catch (System.Exception ex)
+            {
+                Console.WriteLine("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 四捨五入
+        /// <summary>
+        /// 四捨五入
+        /// </summary>
+        /// <param name="InputData"></param>
+        /// <returns></returns>
+        public static int cnvRound(double InputData)
+        {
+            int retRoundData = 0;
+            try
+            {
+                retRoundData = (int)Math.Round(InputData, MidpointRounding.AwayFromZero);
+
+                return retRoundData;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return retRoundData;
+            }
+        }
+        #endregion
+
+        #region 切り上げ
+        /// <summary>
+        /// 切り上げ
+        /// </summary>
+        /// <param name="InputData"></param>
+        /// <returns></returns>
+        public static int cnvRoundUp(double InputData)
+        {
+            int retRoundData = 0;
+            try
+            {
+                retRoundData = (int)Math.Ceiling(InputData);
+
+                return retRoundData;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return retRoundData;
+            }
+        }
+        #endregion
+
+        #region 切り捨て
+        /// <summary>
+        /// 切り捨て
+        /// </summary>
+        /// <param name="InputData"></param>
+        /// <returns></returns>
+        public static int cnvTruncate(double InputData)
+        {
+            int retRoundData = 0;
+            try
+            {
+                retRoundData = (int)Math.Truncate(InputData);
+
+                return retRoundData;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return retRoundData;
+            }
+        }
+        #endregion
+
+        #region 四捨五入（四捨五入位置指定）
+        /// <summary>
+        /// 四捨五入（四捨五入位置指定）
+        /// </summary>
+        /// <param name="value"></param>
+        /// <param name="pos"></param>
+        /// <returns></returns>
+        public static int IntRound(double value, int pos)
+        {
+            // 何乗かを求める
+            int posion = (int)Math.Pow(10, (pos + 1));
+
+            int upperval = (int)(value / posion);
+            upperval *= posion;
+            int lowerval = (int)(value % posion);
+            int chkval = (int)(lowerval / Math.Pow(10, pos));
+            if (chkval > 4) upperval += (1 * posion);
+
+            return upperval;
+        }
+        #endregion
+
+        #region 切り捨て（切り捨て位置指定）
+        /// <summary>
+        /// 切り捨て（切り捨て位置指定）
+        /// </summary>
+        /// <param name="value"></param>
+        /// <param name="pos"></param>
+        /// <returns></returns>
+        public static int IntRoundDown(double value, int pos)
+        {
+            // 何乗かを求める
+            int posion = (int)Math.Pow(10, (pos + 1));
+
+            int upperval = (int)(value / posion);
+            upperval *= posion;
+
+            return upperval;
+        }
+        #endregion
+
+        #region 切り上げ（切り上げ位置指定）
+        /// <summary>
+        /// 切り上げ（切り上げ位置指定）
+        /// </summary>
+        /// <param name="value"></param>
+        /// <param name="pos"></param>
+        /// <returns></returns>
+        public static int IntRoundUp(double value, int pos)
+        {
+            // 何乗かを求める
+            int posion = (int)Math.Pow(10, (pos + 1));
+
+            int upperval = (int)(value / posion);
+            upperval *= posion;
+            int lowerval = (int)(value % posion);
+            int chkval = (int)(lowerval / Math.Pow(10, pos));
+            if (chkval > 0) upperval += (1 * posion);
+
+            return upperval;
+        }
+        #endregion
+
+        #region 0～26までの数字をA～Zに変換する
+        /// <summary>
+        /// 0～26までの数字をA～Zに変換する
+        /// </summary>
+        /// <param name="num"></param>
+        /// <returns></returns>
+        public static string cnvNumberToAlphaCharacter(int num)
+        {
+            try
+            {
+                // ----- 16進数文字列 -> 数値
+                int CnvCode = Convert.ToInt32("0041", 16);      // 'A'
+                int LastCode = Convert.ToInt32("005A", 16);     // 'Z'
+
+                // 'Z'を超えたら余剰を使って変換する
+                int work = (CnvCode + num);
+                if (work <= LastCode)
+                {
+                    // 変換値を加算する
+                    CnvCode += num;
+                }
+                else
+                {
+                    CnvCode += (work % LastCode);
+                }
+                // 'Z'を超えたら採番しない
+                //if (CnvCode > LastCode) return string.Empty;
+
+                // 数値(文字コード) -> 文字
+                char c = Convert.ToChar(CnvCode);
+                // 英字「文字列」
+                string newChar = c.ToString();
+
+                return newChar;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return "";
+            }
+        }
+        #endregion
+
+        #region 日付が最小値ならば"未定"文字を返す
+        /// <summary>
+        /// 日付が最小値ならば"未定"文字を返す
+        /// </summary>
+        /// <param name="srcDate"></param>
+        /// <returns></returns>
+        public static string cnvDateToUndecidedString(DateTime srcDate)
+        {
+            try
+            {
+                string work = "";
+                if (srcDate.Equals(DateTime.MinValue))
+                    work = CommonDefine.s_UndecidedString;
+                else
+                    work = srcDate.ToShortDateString();
+
+                return work;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return "";
+            }
+        }
+        #endregion
+
+        #region 文字列から日付を返す（文字列が"未定"文字ならば日付最小値を返す）
+        /// <summary>
+        /// 文字列から日付を返す
+        /// 文字列が"未定"文字ならば日付最小値を返す
+        /// </summary>
+        /// <param name="srcDate"></param>
+        /// <returns></returns>
+        public static DateTime cnvUndecidedStringToDate(object srcDate)
+        {
+            DateTime work = DateTime.MinValue;
+            try
+            {
+                if (!srcDate.Equals(CommonDefine.s_UndecidedString))
+                    work = cnvDate(srcDate);
+
+                return work;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return work;
+            }
+        }
+        #endregion
+
+        #region 文字列から数値（文字列が"未定"文字ならば0を返す）
+        /// <summary>
+        /// 文字列から数値
+        /// 文字列が"未定"文字ならば0を返す
+        /// </summary>
+        /// <param name="srcDate"></param>
+        /// <returns></returns>
+        public static double cnvUndecidedStringToDouble(object srcDate)
+        {
+            double work = 0;
+            try
+            {
+                if (!srcDate.Equals(CommonDefine.s_UndecidedString))
+                    work = cnvDouble(srcDate);
+
+                return work;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return work;
+            }
+        }
+        #endregion
+
+        #region 色指定文字列より色を返す
+        /// <summary>
+        /// 色指定文字列より色を返す
+        /// </summary>
+        /// <param name="strColor"></param>
+        /// <returns></returns>
+        public static Color cnvStringToColor(string strColor)
+        {
+            Color ColorRet = Color.White;
+            try
+            {
+                // 色文字列チェック
+                if (!CommonMotions.chkObjectIsNull(strColor) && strColor.Length != 0)
+                {
+                    ColorRet = ColorTranslator.FromHtml(strColor);
+                }
+                return ColorRet;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return ColorRet;
+            }
+        }
+        #endregion
+
+        #region 色指定文字列より色を返す・設定無しは指定場所のデフォルトを返す
+        /// <summary>
+        /// 色指定文字列より色を返す・設定無しは指定場所のデフォルトを返す
+        /// </summary>
+        /// <param name="strColor"></param>
+        /// <param name="point"></param>
+        /// <returns></returns>
+        public static Color getBackForeColor(string strColor, CommonDefine.PalceOfColor point)
+        {
+            Color ColorRet = Color.White;
+            try
+            {
+                // デフォルトセット
+                if (point == CommonDefine.PalceOfColor.BackColor)
+                {   // 背景
+                    ColorRet = Color.White;
+                }
+                else if (point == CommonDefine.PalceOfColor.ForeColor)
+                {   // 文字色
+                    ColorRet = Color.Black;
+                }
+                else
+                {
+                    ColorRet = Color.Transparent;
+                }
+
+                if (!chkObjectIsNull(strColor) && strColor.Length != 0)
+                {
+                }
+                else
+                {
+                    strColor = String.Format("0x{0:X2}{1:X2}{2:X2}", ColorRet.R, ColorRet.G, ColorRet.B);
+                }
+
+                ColorRet = cnvStringToColor(strColor);
+
+                return ColorRet;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return ColorRet;
+            }
+        }
+        #endregion
+
+        #region 補色を取得する
+        /// <summary>
+        /// 補色を取得する
+        /// </summary>
+        /// <param name="color"></param>
+        /// <returns></returns>
+        public static Color GetComplementaryColor(Color color)
+        {
+            try
+            {
+                byte r = (byte)~color.R;
+                byte g = (byte)~color.G;
+                byte b = (byte)~color.B;
+
+                return Color.FromArgb(r, g, b);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return color;
+            }
+        }
+        #endregion
+
+        #region 指定桁数の数値最大値を返す
+        /// <summary>
+        /// 指定桁数の数値最大値を返す
+        /// </summary>
+        /// <param name="NumLen"></param>
+        /// <returns></returns>
+        public static int CreateMaxNumeric(int NumLen)
+        {
+            try 
+            {
+                string strNum = string.Empty;
+                for (int i = 0; i < NumLen; i++)
+                {
+                    strNum += "9";
+                }
+
+                return cnvInt(strNum);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region オブジェクト配列の指定位置よりInt値を取得する
+        /// <summary>
+        /// オブジェクト配列の指定位置よりInt値を取得する
+        /// </summary>
+        /// <param name="objArrary"></param>
+        /// <param name="DataCnt"></param>
+        /// <returns></returns>
+        public static int ObjectToInt(object[] objArrary, int DataCnt)
+        {
+            int iRet = 0;
+            try
+            {
+                iRet = CommonMotions.cnvInt(objArrary[DataCnt]);
+
+                return iRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return iRet;
+            }
+        }
+        #endregion
+
+        #region オブジェクト配列の指定位置よりString値を取得する
+        /// <summary>
+        /// オブジェクト配列の指定位置よりString値を取得する
+        /// </summary>
+        /// <param name="objArrary"></param>
+        /// <param name="DataCnt"></param>
+        /// <returns></returns>
+        public static string ObjectToString(object[] objArrary, int DataCnt)
+        {
+            string strRet = string.Empty;
+            try
+            {
+                strRet = CommonMotions.cnvString(objArrary[DataCnt]);
+
+                return strRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return strRet;
+            }
+        }
+        #endregion
+
+        #region オブジェクト配列の指定位置よりDateTime値を取得する
+        /// <summary>
+        /// オブジェクト配列の指定位置よりDateTime値を取得する
+        /// </summary>
+        /// <param name="objArrary"></param>
+        /// <param name="DataCnt"></param>
+        /// <returns></returns>
+        public static DateTime ObjectToDateTime(object[] objArrary, int DataCnt)
+        {
+            DateTime dtRet = DateTime.Now;
+            try
+            {
+                dtRet = CommonMotions.cnvDate(objArrary[DataCnt]);
+
+                return dtRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return dtRet;
+            }
+        }
+        #endregion
+
+        #region オブジェクト配列の指定位置よりdouble値を取得する
+        /// <summary>
+        /// オブジェクト配列の指定位置よりdouble値を取得する
+        /// </summary>
+        /// <param name="objArrary"></param>
+        /// <param name="DataCnt"></param>
+        /// <returns></returns>
+        public static double ObjectToDouble(object[] objArrary, int DataCnt)
+        {
+            double dRet = 0;
+            try
+            {
+                dRet = CommonMotions.cnvDouble(objArrary[DataCnt]);
+
+                return dRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return dRet;
+            }
+        }
+        #endregion
+
+        #endregion
+
+        #region データチェックメソッド
+        #region ディレクトリの存在チェック
+        /// <summary>
+        /// ディレクトリの存在チェック
+        /// </summary>
+        /// <param name="DirectryName">フォルダパス</param>
+        /// <returns></returns>
+        public static bool ChkDirPath(string DirectryName, bool CreateFlg = false)
+        {
+            try
+            {
+                // フォルダ (ディレクトリ) が存在しているかどうか確認する
+                if (!Directory.Exists(@DirectryName))
+                {
+                    // 作成フラグOffならばエラー
+                    if (!CreateFlg) return false;
+
+                    // ディレクトリを作成する
+                    Directory.CreateDirectory(@DirectryName);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat(ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region オブジェクトのNullチェック
+        /// <summary>
+        /// オブジェクトのNullチェック
+        /// </summary>
+        /// <param name="sendData">オブジェクト</param>
+        /// <returns></returns>
+        public static bool chkObjectIsNull(Object sendData)
+        {
+            try
+            {
+                if (sendData == null) return true;
+
+                return false;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 数値チェック
+        /// <summary>
+        /// 数値チェック
+        /// </summary>
+        /// <param name="data">Long文字列</param>
+        /// <param name="indispensable">入力必須チェック</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkNumeric(object CheckData, bool indispensable = false)
+        {
+            try
+            {
+                if (chkObjectIsNull(CheckData)) return false;
+
+                string RecvData = cnvString(CheckData);
+                double revData = 0;
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    if (RecvData.Replace(",", "").Replace("\\", "").Trim().Length == 0) return false;
+                }
+                // Nullが入っていなくてレングスが0は数値として扱う
+                if (RecvData.Replace(",", "").Replace("\\", "").Trim().Length == 0) return true;
+
+                return double.TryParse(RecvData.Replace(",", "").Replace("\\", "").Trim(), out revData);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 数値チェック（long）
+        /// <summary>
+        /// 数値チェック（long）
+        /// </summary>
+        /// <param name="data">Long文字列</param>
+        /// <param name="indispensable">入力必須チェック</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkNumeric(object sendData, ref long retData, bool indispensable = false)
+        {
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    if (cnvString(sendData).Replace(",", "").Replace("\\", "").Trim().Length == 0) return false;
+                }
+
+                return long.TryParse(cnvString(sendData).Replace(",", "").Replace("\\", "").Trim(), out retData);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 数値チェック（int）
+        /// <summary>
+        /// 数値チェック（int）
+        /// </summary>
+        /// <param name="data">Long文字列</param>
+        /// <param name="indispensable">入力必須チェック</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkNumeric(object sendData, ref int retData, bool indispensable = false)
+        {
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    if (cnvString(sendData).Replace(",", "").Replace("\\", "").Trim().Length == 0) return false;
+                }
+
+                return int.TryParse(cnvString(sendData).Replace(",", "").Replace("\\", "").Trim(), out retData);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 数値チェック（double）
+        /// <summary>
+        /// 数値チェック（double）
+        /// </summary>
+        /// <param name="data">Long文字列</param>
+        /// <param name="indispensable">入力必須チェック</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkNumeric(object sendData, ref double retData, bool indispensable = false)
+        {
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    if (cnvString(sendData).Replace(",", "").Replace("\\", "").Trim().Length == 0) return false;
+                }
+
+                return double.TryParse(cnvString(sendData).Replace(",", "").Replace("\\", "").Trim(), out retData);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 文字列長さチェック（UTF-8）
+        /// <summary>
+        /// 文字列長さチェック（UTF-8）
+        /// </summary>
+        /// <param name="strData">対象文字列</param>
+        /// <param name="lngMaxLen">最大長</param>
+        /// <param name="indispensable">入力必須チェック</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkStringLength(string strData, int lngMaxLen, bool indispensable = false)
+        {
+            bool bRet = true;
+            //int lngLen = 0;
+            try
+            {
+
+                //Encoding sjis = Encoding.GetEncoding("shift-jis");
+                Encoding utf8 = Encoding.GetEncoding("utf-8");
+
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    if (strData.Length == 0) bRet = false;
+                }
+                // S-Jisチェック
+                //lngLen = sjis.GetByteCount(strData);
+                // UTF-8チェック
+                //lngLen = utf8.GetByteCount(strData);
+                //if (lngLen > lngMaxLen) bRet = false;
+                // C#内はUTFなので文字長だけをチェックする
+                if (strData.Length > lngMaxLen) bRet = false;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", GetMethodName(), ex.Message);
+                bRet = false;
+            }
+
+            return bRet;
+        }
+        #endregion
+
+        #region 郵便番号チェック
+        /// <summary>
+        /// 郵便番号チェック
+        /// </summary>
+        /// <param name="strData">郵便番号文字列</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkZipcode(string strdata)
+        {
+            bool bRet = false;
+
+            Regex regex = new Regex("^[0-9]{3}[-][0-9]{4}$");
+            if (regex.IsMatch(strdata))
+            {
+                bRet = true;
+            }
+            return bRet;
+        }
+        #endregion
+
+        #region 電話番号/ＦＡＸ番号チェック
+        /// <summary>
+        /// 電話番号/ＦＡＸ番号チェック
+        /// </summary>
+        /// <param name="data">電話番号文字列</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkPhoneNumber(string strdata)
+        {
+            bool bRet = false;
+
+            Regex regex = new Regex("^[0-9]{2,5}-[0-9]{1,4}-[0-9]{3,4}$");
+            if (regex.IsMatch(strdata))
+            {
+                bRet = true;
+            }
+            return bRet;
+        }
+        #endregion
+
+        #region メールアドレスチェック
+        /// <summary>
+        /// メールアドレスチェック
+        /// </summary>
+        /// <param name="data">電話番号文字列</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkMailAddress(string strdata)
+        {
+            bool bRet = false;
+
+            Regex regex = new Regex(@"\A\P{Cc}+@\P{Cc}+\z");
+            if (regex.IsMatch(strdata))
+            {
+                bRet = true;
+            }
+            return bRet;
+        }
+        #endregion
+
+        #region 日付チェック
+        /// <summary>
+        /// 日付チェック
+        /// </summary>
+        /// <param name="data">日付文字列</param>
+        /// <returns>true:正常 false:異常</returns>
+        public static bool chkDate(string strdata)
+        {
+            bool bRet = true;
+            try
+            {
+                DateTime dtwork = DateTime.MinValue;
+
+                return DateTime.TryParse(strdata, out dtwork);
+            }
+            catch (System.Exception ex)
+            {
+                logger.DebugFormat("chkDate Error message:{0}", ex.Message);
+                bRet = false;
+            }
+            return bRet;
+        }
+        #endregion
+
+        #region 対象が空かどうかをチェックする
+        /// <summary>
+        /// 対象が空かどうかをチェックする
+        /// </summary>
+        /// <param name="objCell"></param>
+        /// <param name="iColumn"></param>
+        /// <returns>true:空　flase:有効</returns>
+        public static bool chkCellBlank(object objCell)
+        {
+            try
+            {
+                if (chkObjectIsNull(objCell)) return true;
+                if (objCell.ToString().Length == 0) return true;
+            
+                return false;
+            }
+            catch (System.Exception ex)
+            {
+                logger.DebugFormat("chkDate Error message:{0}", ex.Message);
+                return true;
+            }
+        }
+        #endregion
+
+        #region 画面フィールド入力必須チェック
+        /// <summary>
+        /// 画面フィールド入力必須チェック
+        /// </summary>
+        /// <param name="dispControl">コントロールオブジェクト</param>
+        /// <returns>false:エラー true:エラーなし</returns>
+        public static bool DispFieldIndispensable(Control dispControl)
+        {
+            bool bAns = true;
+            try
+            {
+                // 必須入力チェック
+                if (chkObjectIsNull(dispControl))
+                {
+                    bAns = false;
+                }
+                else
+                {
+                    if (dispControl.Text.ToString().Length == 0)
+                    {
+                        bAns = false;
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+                bAns = false;
+            }
+            finally
+            {
+                // 背景色変更
+                chgBackColor(dispControl, bAns);
+            }
+            return bAns;
+        }
+        #endregion
+
+        #region 画面フィールド入力文字数チェック
+        /// <summary>
+        /// 画面フィールド入力文字数チェック
+        /// </summary>
+        /// <param name="dispControl">コントロールオブジェクト</param>
+        /// <param name="sLength">文字列長</param>
+        /// <param name="indispensable">true:必須入力チェック</param>
+        /// <returns>false:エラー true:エラーなし</returns>
+        public static bool DispFieldLengthCheck(Control dispControl, int sLength, bool indispensable = false)
+        {
+            bool bAns = true;
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    bAns = DispFieldIndispensable(dispControl);
+                }
+
+                if (dispControl.Text.ToString().Length != 0)
+                {
+                    // レングスチェック
+                    bAns = chkStringLength(dispControl.Text.ToString(), sLength);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+                bAns = false;
+            }
+            finally
+            {
+                // 背景色変更
+                chgBackColor(dispControl, bAns);
+            }
+            return bAns;
+        }
+        #endregion
+
+        #region 画面フィールド入力日付チェック
+        /// <summary>
+        /// 画面フィールド入力日付チェック
+        /// </summary>
+        /// <param name="dispControl">コントロールオブジェクト</param>
+        /// <param name="indispensable">true:必須入力チェック</param>
+        /// <returns>false:エラー true:エラーなし</returns>
+        public static bool DispFieldDateCheck(Control dispControl, bool indispensable = false)
+        {
+            bool bAns = true;
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    bAns = DispFieldIndispensable(dispControl);
+                }
+
+                if (dispControl.Text.ToString().Length != 0)
+                {
+                    // 未定はエラーにしない
+                    if (!indispensable && dispControl.Text.Equals(CommonDefine.s_UndecidedString)) { }
+                    else
+                        // 日付チェック
+                        bAns = chkDate(dispControl.Text.ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+                bAns = false;
+            }
+            finally
+            {
+                // 背景色変更
+                chgBackColor(dispControl, bAns);
+            }
+            return bAns;
+        }
+        #endregion
+
+        #region 画面フィールド入力郵便番号チェック
+        /// <summary>
+        /// 画面フィールド入力郵便番号チェック
+        /// </summary>
+        /// <param name="dispControl">コントロールオブジェクト</param>
+        /// <param name="indispensable">true:必須入力チェック</param>
+        /// <returns>false:エラー true:エラーなし</returns>
+        public static bool DispFieldZipCodeCheck(Control dispControl, bool indispensable = false)
+        {
+            bool bAns = true;
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    bAns = DispFieldIndispensable(dispControl);
+                }
+
+                if (dispControl.Text.ToString().Length != 0)
+                {
+                    // 郵便番号チェック
+                    bAns = chkZipcode(dispControl.Text.ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+                bAns = false;
+            }
+            finally
+            {
+                // 背景色変更
+                chgBackColor(dispControl, bAns);
+            }
+            return bAns;
+        }
+        #endregion
+
+        #region 画面フィールド入力Intチェック
+        /// <summary>
+        /// 画面フィールド入力Intチェック
+        /// </summary>
+        /// <param name="dispControl">コントロールオブジェクト</param>
+        /// <param name="indispensable">true:必須入力チェック</param>
+        /// <returns>false:エラー true:エラーなし</returns>
+        public static bool DispFieldIntCheck(Control dispControl, bool indispensable = false)
+        {
+            bool bAns = true;
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    bAns = DispFieldIndispensable(dispControl);
+                }
+
+                if (dispControl.Text.ToString().Length != 0)
+                {
+                    int work = 0;
+                    // 数値チェック
+                    //bAns = chkNumeric(dispControl.Text.ToString(), ref work);
+                    bAns = int.TryParse(dispControl.Text.ToString(), out work);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+                bAns = false;
+            }
+            finally
+            {
+                // 背景色変更
+                chgBackColor(dispControl, bAns);
+            }
+            return bAns;
+        }
+        #endregion
+
+        #region 画面フィールド入力Doubleチェック
+        /// <summary>
+        /// 画面フィールド入力Doubleチェック
+        /// </summary>
+        /// <param name="dispControl">コントロールオブジェクト</param>
+        /// <param name="indispensable">true:必須入力チェック</param>
+        /// <returns>false:エラー true:エラーなし</returns>
+        public static bool DispFieldDoubleCheck(Control dispControl, bool indispensable = false)
+        {
+            bool bAns = true;
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    bAns = DispFieldIndispensable(dispControl);
+                }
+
+                if (dispControl.Text.ToString().Length != 0)
+                {
+                    double work = 0;
+                    // 数値チェック
+                    bAns = chkNumeric(dispControl.Text.ToString(), ref work);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+                bAns = false;
+            }
+            finally
+            {
+                // 背景色変更
+                chgBackColor(dispControl, bAns);
+            }
+            return bAns;
+        }
+        #endregion
+
+        #region 画面フィールド入力電話番号チェック
+        /// <summary>
+        /// 画面フィールド入力電話番号チェック
+        /// </summary>
+        /// <param name="dispControl">コントロールオブジェクト</param>
+        /// <param name="indispensable">true:必須入力チェック</param>
+        /// <returns>false:エラー true:エラーなし</returns>
+        public static bool DispFieldPhoneNumberCheck(Control dispControl, bool indispensable = false)
+        {
+            bool bAns = true;
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    bAns = DispFieldIndispensable(dispControl);
+                }
+
+                if (dispControl.Text.ToString().Length != 0)
+                {
+                    // 電話番号チェック
+                    bAns = chkPhoneNumber(dispControl.Text.ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+                bAns = false;
+            }
+            finally
+            {
+                // 背景色変更
+                chgBackColor(dispControl, bAns);
+            }
+            return bAns;
+        }
+        #endregion
+
+        #region 画面フィールド入力メールアドレスチェック
+        /// <summary>
+        /// 画面フィールド入力メールアドレスチェック
+        /// </summary>
+        /// <param name="dispControl">コントロールオブジェクト</param>
+        /// <param name="indispensable">true:必須入力チェック</param>
+        /// <returns>false:エラー true:エラーなし</returns>
+        public static bool DispFieldMailAddressCheck(Control dispControl, bool indispensable = false)
+        {
+            bool bAns = true;
+            try
+            {
+                // 必須入力チェック
+                if (indispensable)
+                {
+                    bAns = DispFieldIndispensable(dispControl);
+                }
+
+                if (dispControl.Text.ToString().Length != 0)
+                {
+                    // メールアドレスチェック
+                    bAns = chkMailAddress(dispControl.Text.ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+                bAns = false;
+            }
+            finally
+            {
+                // 背景色変更
+                chgBackColor(dispControl, bAns);
+            }
+            return bAns;
+        }
+        #endregion
+
+        #region 指定した日が第何週かを求める
+        /// <summary>
+        /// 指定した日が第何週かを求める
+        /// </summary>
+        /// <param name="date"></param>
+        /// <returns></returns>
+        public static int NthWeek(DateTime date)
+        {
+            int w = (int)(new DateTime(date.Year, date.Month, 1).DayOfWeek);
+            return (date.Day + w - 1) / 7 + 1;
+
+        }
+        #endregion
+        #endregion
+
+        #region フィールドバックカラー変更処理
+        /// <summary>
+        /// フィールドバックカラー変更処理（あまりカッコ良くない^^;）
+        /// </summary>
+        /// <param name="objCtrl"></param>
+        /// <param name="chgColor"></param>
+        public static void chgBackColor(object objCtrl, bool bPara)
+        {
+            if (objCtrl.GetType().Equals(typeof(TextBox)))
+            {
+                TextBox wrk = (TextBox)objCtrl;
+                if (bPara)
+                {
+                    wrk.BackColor = CommonDefine.s_clrNormal;
+                }
+                else
+                {
+                    wrk.BackColor = CommonDefine.s_clrError;
+                    wrk.Focus();
+                }
+            }
+            else if (objCtrl.GetType().Equals(typeof(DataGridViewTextBoxCell)))
+            {
+                DataGridViewTextBoxCell wrk = (DataGridViewTextBoxCell)objCtrl;
+                if (bPara)
+                {
+                    wrk.Style.BackColor = CommonDefine.s_clrNormal;
+                }
+                else
+                {
+                    wrk.Style.BackColor = CommonDefine.s_clrError;
+                    wrk.Selected = true;
+                }
+            }
+            else if (objCtrl.GetType().Equals(typeof(ComboBox)))
+            {
+                ComboBox wrk = (ComboBox)objCtrl;
+                if (bPara)
+                {
+                    wrk.BackColor = CommonDefine.s_clrNormal;
+                }
+                else
+                {
+                    wrk.BackColor = CommonDefine.s_clrError;
+                    wrk.Focus();
+                }
+            }
+            else if (objCtrl.GetType().Equals(typeof(ListBox)))
+            {
+                ListBox wrk = (ListBox)objCtrl;
+                if (bPara)
+                {
+                    wrk.BackColor = CommonDefine.s_clrNormal;
+                }
+                else
+                {
+                    wrk.BackColor = CommonDefine.s_clrError;
+                    wrk.Focus();
+                }
+            }
+            else if (objCtrl.GetType().Equals(typeof(Label)))
+            {
+                Label wrk = (Label)objCtrl;
+                if (bPara)
+                {
+                    wrk.BackColor = CommonDefine.s_clrNormal;
+                }
+                else
+                {
+                    wrk.BackColor = CommonDefine.s_clrError;
+                }
+            }
+            else if (objCtrl.GetType().Equals(typeof(NumericUpDown)))
+            {
+                NumericUpDown wrk = (NumericUpDown)objCtrl;
+                if (bPara)
+                {
+                    wrk.BackColor = CommonDefine.s_clrNormal;
+                }
+                else
+                {
+                    wrk.BackColor = CommonDefine.s_clrError;
+                }
+            }
+        }
+
+        #endregion
+
+        #region Excel向け操作メソッド
+        #region オブジェクト開放
+        /// <summary>
+        /// Ｃｏｍ解放
+        /// </summary>
+        /// <param name="o"></param>
+        public static void ReleaseCom(ref Object objCom)
+        {
+            try
+            {
+                int i = 1;
+                if (objCom != null && System.Runtime.InteropServices.Marshal.IsComObject(objCom))
+                {
+                    //参照カウントが0より大きい間・・・
+                    do
+                    {
+                        //ランタイム呼び出し可能ラッパーの参照カウントをデクリメント
+                        i = System.Runtime.InteropServices.Marshal.ReleaseComObject(objCom);
+                    } while (i > 0);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", GetMethodName(), GetMethodName(2), ex.Message);
+            }
+            finally
+            {
+                objCom = null;
+            }
+        }
+
+        #endregion
+        #endregion
+
+        #region デバッグ用メソッド
+        /// <summary>
+        /// デバッグ用メソッド
+        /// </summary>
+        /// <param name="DebugPrint">表示文字列</param>
+        public static void DebugWriteLine_TimeNow(string DebugPrint)
+        {
+            string wrkPrint = DateTime.Now.ToLongTimeString() +
+                                ((double)DateTime.Now.Millisecond / 1000.0000).ToString("#.0000");
+
+            Debug.WriteLine(DebugPrint + "：" + wrkPrint);
+        }
+
+        public static void DebugWriteLine_DateTimeNow(string DebugPrint)
+        {
+            string wrkPrint = DateTime.Now.ToLongDateString() + " " +
+                                DateTime.Now.ToLongTimeString() + "." +
+                                DateTime.Now.Millisecond.ToString();
+
+            Debug.WriteLine(DebugPrint + "：" + wrkPrint);
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/Common/CommonMySQLDef.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Common/CommonMySQLDef.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Common/CommonMySQLDef.cs	(revision 84)
@@ -0,0 +1,16 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.Common
+{
+    public static class CommonMySQLDef
+    {
+        public static string DBServer = "localhost";
+        public static string DBUser = "pmana";
+        public static string Password = "manager";
+        public static string Database = "processmanagement";
+    }
+}
Index: branches/ddl/DataConert/DataConert/Common/CommonOracleDef.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Common/CommonOracleDef.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Common/CommonOracleDef.cs	(revision 84)
@@ -0,0 +1,16 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.Common
+{
+    public static class CommonOracleDef
+    {
+        public static string DBUser = "pmana";
+        public static string Password = "manager";
+        public static string DBDataSource = "XE";
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/Common/CommonVersion.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Common/CommonVersion.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Common/CommonVersion.cs	(revision 84)
@@ -0,0 +1,24 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.Common
+{
+    /// <summary>
+    /// システムバージョン定義クラス
+    /// </summary>
+    public static class CommonVersion
+    {
+        /// <summary>
+        /// 本体バージョン
+        /// </summary>
+        public static int s_SystemVersion = 18;
+
+        /// <summary>
+        /// コピー・環境バージョン
+        /// </summary>
+        public static int s_UpDateCopyVersion = 1;
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataConert.csproj
===================================================================
--- branches/ddl/DataConert/DataConert/DataConert.csproj	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataConert.csproj	(revision 84)
@@ -0,0 +1,485 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{C3CE8E54-B235-412A-8AFE-9974E0B5D303}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>DataConert</RootNamespace>
+    <AssemblyName>DataConert</AssemblyName>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <PublishUrl>publish\</PublishUrl>
+    <Install>true</Install>
+    <InstallFrom>Disk</InstallFrom>
+    <UpdateEnabled>false</UpdateEnabled>
+    <UpdateMode>Foreground</UpdateMode>
+    <UpdateInterval>7</UpdateInterval>
+    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+    <UpdatePeriodically>false</UpdatePeriodically>
+    <UpdateRequired>false</UpdateRequired>
+    <MapFileExtensions>true</MapFileExtensions>
+    <ApplicationRevision>0</ApplicationRevision>
+    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+    <IsWebBootstrapper>false</IsWebBootstrapper>
+    <UseApplicationTrust>false</UseApplicationTrust>
+    <BootstrapperEnabled>true</BootstrapperEnabled>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\x86\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
+    <OutputPath>bin\x86\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <Optimize>true</Optimize>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="log4net">
+      <HintPath>..\..\..\..\ProcessManagement\ProcessManagement\lib\log4net.dll</HintPath>
+    </Reference>
+    <Reference Include="MySql.Data">
+      <HintPath>..\..\..\..\..\..\..\HYO工務店\システム化\7.bit資料\RedMine\src\ProcessManagement\ProcessManagement\lib\MySql.Data.dll</HintPath>
+    </Reference>
+    <Reference Include="Oracle.DataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\app\Oracle\product\12.1.0\client_1\odp.net\bin\4\Oracle.DataAccess.dll</HintPath>
+    </Reference>
+    <Reference Include="Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=MSIL">
+      <HintPath>..\packages\Oracle.ManagedDataAccess.12.1.24160719\lib\net40\Oracle.ManagedDataAccess.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Deployment" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="DataConvertAuxiliary.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Common\CommonDefine.cs" />
+    <Compile Include="Common\CommonMotions.cs" />
+    <Compile Include="Common\CommonMySQLDef.cs" />
+    <Compile Include="Common\CommonOracleDef.cs" />
+    <Compile Include="Common\CommonVersion.cs" />
+    <Compile Include="DataModel\ActionScheduleData.cs" />
+    <Compile Include="DataModel\AmountAllocation.cs" />
+    <Compile Include="DataModel\ApprovalMaster.cs" />
+    <Compile Include="DataModel\AttendanceDailyData.cs" />
+    <Compile Include="DataModel\AttendanceData.cs" />
+    <Compile Include="DataModel\BankBusinessDayMaster.cs" />
+    <Compile Include="DataModel\BillingData.cs" />
+    <Compile Include="DataModel\BillingDataDetail.cs" />
+    <Compile Include="DataModel\BillingPaymentSummary.cs" />
+    <Compile Include="DataModel\BusinessTypeMaster.cs" />
+    <Compile Include="DataModel\CalennderPage.cs" />
+    <Compile Include="DataModel\CategoryNameMaster.cs" />
+    <Compile Include="DataModel\CategoryType.cs" />
+    <Compile Include="DataModel\CommonCostLarge.cs" />
+    <Compile Include="DataModel\CommonCostLinkMS.cs" />
+    <Compile Include="DataModel\CommonCostMiddle.cs" />
+    <Compile Include="DataModel\CommonCostMiddleSearchWord.cs" />
+    <Compile Include="DataModel\ComponentLinkMaster.cs" />
+    <Compile Include="DataModel\ComponentMaster.cs" />
+    <Compile Include="DataModel\ComponentToTypeMaster.cs" />
+    <Compile Include="DataModel\ConstructionBaseInfo.cs" />
+    <Compile Include="DataModel\ConstructionBaseInfoDetail.cs" />
+    <Compile Include="DataModel\ConstructionBudget.cs" />
+    <Compile Include="DataModel\ConstructionBudgetDetail.cs" />
+    <Compile Include="DataModel\ConstructionFieldNameDetail.cs" />
+    <Compile Include="DataModel\ConstructionFieldNameHeader.cs" />
+    <Compile Include="DataModel\ConstructionItemMaster.cs" />
+    <Compile Include="DataModel\ConstructionItemOLDMaster.cs" />
+    <Compile Include="DataModel\ConstructionLedger.cs" />
+    <Compile Include="DataModel\ConstructionLedgerDetail.cs" />
+    <Compile Include="DataModel\ConstructionLedgerExcute.cs" />
+    <Compile Include="DataModel\ConstructionLink.cs" />
+    <Compile Include="DataModel\ConstructionListDat.cs" />
+    <Compile Include="DataModel\ConstructionMaterialInfo.cs" />
+    <Compile Include="DataModel\ConstructionProgressDate.cs" />
+    <Compile Include="DataModel\ConstructionSpecMaster.cs" />
+    <Compile Include="DataModel\ConstructionSpecUnitPrice.cs" />
+    <Compile Include="DataModel\ConstructionTypeMaster.cs" />
+    <Compile Include="DataModel\ConstructionWorkMaster.cs" />
+    <Compile Include="DataModel\CostDataOfPerson.cs" />
+    <Compile Include="DataModel\CostomerRegist.cs" />
+    <Compile Include="DataModel\DailyData.cs" />
+    <Compile Include="DataModel\DailyDataConstruction.cs" />
+    <Compile Include="DataModel\DailyDataDetail.cs" />
+    <Compile Include="DataModel\DailyDataField.cs" />
+    <Compile Include="DataModel\DailyDataMaterials.cs" />
+    <Compile Include="DataModel\DailyDataSubcontractors.cs" />
+    <Compile Include="DataModel\DailyDataVehicles.cs" />
+    <Compile Include="DataModel\DeadLineMaster.cs" />
+    <Compile Include="DataModel\DepartmentExpenses.cs" />
+    <Compile Include="DataModel\DepartmentMaster.cs" />
+    <Compile Include="DataModel\DepositApprovalInfo.cs" />
+    <Compile Include="DataModel\DepositData.cs" />
+    <Compile Include="DataModel\DepositDataDetail.cs" />
+    <Compile Include="DataModel\DivisionMaster.cs" />
+    <Compile Include="DataModel\EstimateBudget.cs" />
+    <Compile Include="DataModel\EstimateBudgetDetail.cs" />
+    <Compile Include="DataModel\EstimateData.cs" />
+    <Compile Include="DataModel\EstimateDataBody.cs" />
+    <Compile Include="DataModel\EstimateDataDetail.cs" />
+    <Compile Include="DataModel\ExpensesMaster.cs" />
+    <Compile Include="DataModel\HolidayCalenderMaster.cs" />
+    <Compile Include="DataModel\InputSearchLogData.cs" />
+    <Compile Include="DataModel\InvoiceData.cs" />
+    <Compile Include="DataModel\MaterialInfo.cs" />
+    <Compile Include="DataModel\MaterialItemMaster.cs" />
+    <Compile Include="DataModel\MaterialKindMaster.cs" />
+    <Compile Include="DataModel\MaterialRecordInfo.cs" />
+    <Compile Include="DataModel\MessageBoardData.cs" />
+    <Compile Include="DataModel\MessageBoardTerget.cs" />
+    <Compile Include="DataModel\MessageBrowsingHistory.cs" />
+    <Compile Include="DataModel\OfficeShapeDefine.cs" />
+    <Compile Include="DataModel\OrderersMaster.cs" />
+    <Compile Include="DataModel\OrdersPriceData.cs" />
+    <Compile Include="DataModel\PaymentApprovalInfo.cs" />
+    <Compile Include="DataModel\PaymentDataDetail.cs" />
+    <Compile Include="DataModel\PersonApproval.cs" />
+    <Compile Include="DataModel\PersonApprovalCommnet .cs" />
+    <Compile Include="DataModel\PersonDepartmentMaster.cs" />
+    <Compile Include="DataModel\PersonInChargeMaster.cs" />
+    <Compile Include="DataModel\PersonSalaryMaster.cs" />
+    <Compile Include="DataModel\PointingOutComment.cs" />
+    <Compile Include="DataModel\ProceedingsData.cs" />
+    <Compile Include="DataModel\ProceedingsDataAttend.cs" />
+    <Compile Include="DataModel\ProceedingsDataDetail.cs" />
+    <Compile Include="DataModel\ProcessApproval.cs" />
+    <Compile Include="DataModel\ProcessApprovalCommnet.cs" />
+    <Compile Include="DataModel\ProcessApprovalDetail.cs" />
+    <Compile Include="DataModel\ProcessExcuter.cs" />
+    <Compile Include="DataModel\PurchaseOrder.cs" />
+    <Compile Include="DataModel\PurchaseOrderDetail.cs" />
+    <Compile Include="DataModel\RequestData.cs" />
+    <Compile Include="DataModel\RequestDataDetail.cs" />
+    <Compile Include="DataModel\RequestGridKeys.cs" />
+    <Compile Include="DataModel\RequestHead.cs" />
+    <Compile Include="DataModel\SalesGraphData.cs" />
+    <Compile Include="DataModel\SecurityMaster.cs" />
+    <Compile Include="DataModel\SubConstrJobItemRegist.cs" />
+    <Compile Include="DataModel\SubConstrJobLinkRegist.cs" />
+    <Compile Include="DataModel\SubConstrRegist.cs" />
+    <Compile Include="DataModel\SubContractorItemMaster.cs" />
+    <Compile Include="DataModel\SubContractorJobCategory.cs" />
+    <Compile Include="DataModel\SubContractorJobILink.cs" />
+    <Compile Include="DataModel\SubContractorJobItem.cs" />
+    <Compile Include="DataModel\SubContractorMaster.cs" />
+    <Compile Include="DataModel\SuppliersMaster.cs" />
+    <Compile Include="DataModel\SystemExecute.cs" />
+    <Compile Include="DataModel\SystemMaster.cs" />
+    <Compile Include="DataModel\TermMaster.cs" />
+    <Compile Include="DataModel\TermMasterList.cs" />
+    <Compile Include="DataModel\TranceportDailyData.cs" />
+    <Compile Include="DataModel\TypeExpensesMaster.cs" />
+    <Compile Include="DataModel\UnitMaster.cs" />
+    <Compile Include="DataModel\VehicleMaster.cs" />
+    <Compile Include="DataModel\VehicleRecordData.cs" />
+    <Compile Include="DataModel\VehicleScheduleData.cs" />
+    <Compile Include="MySQLDB\Core\ABaseDBProcessForMySQL.cs" />
+    <Compile Include="MySQLDB\Core\DBCommonForMySQL.cs" />
+    <Compile Include="MySQLDB\Core\IBaseDBForMySQL.cs" />
+    <Compile Include="MySQLDB\IOAccess\DBCommonMotions.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOActionScheduleData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOAttendanceDailyData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOAttendanceData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOBankBusinessDayMaster.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOBillingData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOBillingDataDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOBillingPaymentSummary.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionBaseInfo.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionBaseInfoDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionBudget.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionBudgetDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionLedger.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionLedgerDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionLedgerExcute.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionLink.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionMaterialInfo.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOConstructionProgressDate.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOCostDataOfPerson.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOCostomerRegist.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODailyData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODailyDataConstruction.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODailyDataDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODailyDataField.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODailyDataMaterials.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODailyDataSubcontractors.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODailyDataVehicles.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODeadLineMaster.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODepositApprovalInfo.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODepositData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IODepositDataDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOEstimateBudget.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOEstimateBudgetDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOEstimateData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOEstimateDataBody.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOEstimateDataDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOInputSearchLogData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOInvoiceData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMApproval.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMaterialInfo.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMaterialItem.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMaterialRecordInfo.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMaterialTypes.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMBusinessType.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMCategoryName.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMCommonCostLarge.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMCommonCostLinkMS.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMCommonCostMiddle.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMCommonCostMiddleSearchWord.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMComponent.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMComponentLink.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMComponentToTypeMaster.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMConstructionItem.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMConstructionSpec.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMConstructionSpecUnitPrice.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMConstructionTypeMaster.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMConstructionWork.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMDepartment.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMDepartmentExpenses.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMDivision.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMessageBoardData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMessageBoardDataTerget.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMessageBrowsingHistory.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMExpenses.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMHolidayCalender.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMOrderers.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMPersonDepartment.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMPersonInCharge.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMPersonSalary.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMProcessExcute.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMSecurity.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMSubContractor.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMSubContractorItem.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMSubContractorJobCategory.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMSubContractorJobItem.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMSubContractorJobLink.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMSuppliers.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMSystem.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMTerm.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMTypeExpenses.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMUnit.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMVehicle.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOMVehicleRecordData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOOrdersPriceData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOPaymentApprovalInfo.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOPaymentDataDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOPersonApproval.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOPersonApprovalCommnet.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOPointingOutComment.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOProceedingsData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOProceedingsDataAttend.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOProceedingsDataDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOProcessApproval.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOProcessApprovalCommnet.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOProcessApprovalDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOPurchaseOrder.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOPurchaseOrderDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IORequestData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IORequestDataDetail.cs" />
+    <Compile Include="MySQLDB\IOAccess\IORequestHead.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOSalesGraphData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOSubConstrJobItemRegist.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOSubConstrJobLinkRegist.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOSubConstrRegist.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOSystemExecute.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOTranceportDailyData.cs" />
+    <Compile Include="MySQLDB\IOAccess\IOVehicleScheduleData.cs" />
+    <Compile Include="MySQLDB\MySql\MySqlProcess.cs" />
+    <Compile Include="OracleDB\Core\ABaseDBProcessForOracle.cs" />
+    <Compile Include="OracleDB\Core\DBCommonForOracle.cs" />
+    <Compile Include="OracleDB\Core\IBaseDBForOracle.cs" />
+    <Compile Include="OracleDB\IOAccess\DBCommonMotions.cs" />
+    <Compile Include="OracleDB\IOAccess\IOActionScheduleData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOAttendanceDailyData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOAttendanceData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionBaseInfo.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionBaseInfoDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionBudget.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionBudgetDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionLedger.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionLedgerDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionLedgerExcute.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionLink.cs" />
+    <Compile Include="OracleDB\IOAccess\IOConstructionProgressDate.cs" />
+    <Compile Include="OracleDB\IOAccess\IOCostDataOfPerson.cs" />
+    <Compile Include="OracleDB\IOAccess\IOCostomerRegist.cs" />
+    <Compile Include="OracleDB\IOAccess\IODailyData.cs" />
+    <Compile Include="OracleDB\IOAccess\IODailyDataConstruction.cs" />
+    <Compile Include="OracleDB\IOAccess\IODailyDataDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IODailyDataField.cs" />
+    <Compile Include="OracleDB\IOAccess\IODailyDataMaterials.cs" />
+    <Compile Include="OracleDB\IOAccess\IODailyDataSubcontractors.cs" />
+    <Compile Include="OracleDB\IOAccess\IODailyDataVehicles.cs" />
+    <Compile Include="OracleDB\IOAccess\IOEstimateBudget.cs" />
+    <Compile Include="OracleDB\IOAccess\IOEstimateBudgetDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IOEstimateData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOEstimateDataBody.cs" />
+    <Compile Include="OracleDB\IOAccess\IOEstimateDataDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IOInputSearchLogData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMApproval.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMBusinessType.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMCategoryName.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMCommonCostLarge.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMCommonCostLinkMS.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMCommonCostMiddle.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMCommonCostMiddleSearchWord.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMComponent.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMComponentLink.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMComponentToTypeMaster.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMConstructionItem.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMConstructionItemOLD.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMConstructionSpec.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMConstructionSpecUnitPrice.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMConstructionTypeMaster.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMConstructionWork.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMDepartment.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMDepartmentExpenses.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMDivision.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMessageBoardData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMessageBoardDataTerget.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMessageBrowsingHistory.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMHolidayCalender.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMOrderers.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMPersonDepartment.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMPersonInCharge.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMPersonSalary.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMProcessExcute.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMSecurity.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMSubContractor.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMSubContractorItem.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMSubContractorJobCategory.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMSubContractorJobItem.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMSubContractorJobLink.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMSuppliers.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMSystem.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMTerm.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMTypeExpenses.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMUnit.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMVehicle.cs" />
+    <Compile Include="OracleDB\IOAccess\IOMVehicleRecordData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOOrdersPriceData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOPersonApproval.cs" />
+    <Compile Include="OracleDB\IOAccess\IOPersonApprovalCommnet.cs" />
+    <Compile Include="OracleDB\IOAccess\IOPointingOutComment.cs" />
+    <Compile Include="OracleDB\IOAccess\IOProceedingsData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOProceedingsDataAttend.cs" />
+    <Compile Include="OracleDB\IOAccess\IOProceedingsDataDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IOProcessApproval.cs" />
+    <Compile Include="OracleDB\IOAccess\IOProcessApprovalCommnet.cs" />
+    <Compile Include="OracleDB\IOAccess\IOProcessApprovalDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IOPurchaseOrder.cs" />
+    <Compile Include="OracleDB\IOAccess\IOPurchaseOrderDetail.cs" />
+    <Compile Include="OracleDB\IOAccess\IOSalesGraphData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOSubConstrJobItemRegist.cs" />
+    <Compile Include="OracleDB\IOAccess\IOSubConstrJobLinkRegist.cs" />
+    <Compile Include="OracleDB\IOAccess\IOSubConstrRegist.cs" />
+    <Compile Include="OracleDB\IOAccess\IOSystemExecute.cs" />
+    <Compile Include="OracleDB\IOAccess\IOTranceportDailyData.cs" />
+    <Compile Include="OracleDB\IOAccess\IOVehicleScheduleData.cs" />
+    <Compile Include="OracleDB\Oracle\OracleProcess.cs" />
+    <Compile Include="FrmDataConvert.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="FrmDataConvert.Designer.cs">
+      <DependentUpon>FrmDataConvert.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="FrmDataConvert.resx">
+      <DependentUpon>FrmDataConvert.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <None Include="log4net.config">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Include="packages.config" />
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <BootstrapperPackage Include=".NETFramework,Version=v4.5">
+      <Visible>False</Visible>
+      <ProductName>Microsoft .NET Framework 4.5 %28x86 および x64%29</ProductName>
+      <Install>true</Install>
+    </BootstrapperPackage>
+    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+      <Visible>False</Visible>
+      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+      <Install>false</Install>
+    </BootstrapperPackage>
+    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+      <Visible>False</Visible>
+      <ProductName>.NET Framework 3.5 SP1</ProductName>
+      <Install>false</Install>
+    </BootstrapperPackage>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert/DataConert.csproj.user
===================================================================
--- branches/ddl/DataConert/DataConert/DataConert.csproj.user	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataConert.csproj.user	(revision 84)
@@ -0,0 +1,14 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <ProjectView>ProjectFiles</ProjectView>
+    <PublishUrlHistory>publish\</PublishUrlHistory>
+    <InstallUrlHistory />
+    <SupportUrlHistory />
+    <UpdateUrlHistory />
+    <BootstrapperUrlHistory />
+    <ErrorReportUrlHistory />
+    <FallbackCulture>ja-JP</FallbackCulture>
+    <VerifyUploadedFiles>false</VerifyUploadedFiles>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert/DataConvertAuxiliary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataConvertAuxiliary.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataConvertAuxiliary.cs	(revision 84)
@@ -0,0 +1,9383 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Collections;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+using log4net;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.OracleDB.IOAccess;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.MySQLDB.IOAccess;
+
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace DataConert
+{
+    partial class FrmDataConvert
+    {
+        #region スレッド使用定義
+        //コントロールの値を変更するためのデリゲート
+        private delegate void SetProgressValueDelegate(string strMsg);
+        //バックグラウンド処理が終わった時にコントロールの値を変更するためのデリゲート
+        private delegate void ThreadCompletedDelegate();
+        //処理がキャンセルされた時にコントロールの値を変更するためのデリゲート
+        private delegate void ThreadCanceledDelegate();
+
+        //別処理をするためのスレッド
+        private System.Threading.Thread workerThread;
+
+        //デリゲートの作成
+        SetProgressValueDelegate m_progressDlg = null;
+        ThreadCompletedDelegate m_completeDlg = null;
+        ThreadCanceledDelegate m_canceledDlg = null;
+        #endregion
+
+        private DateTime m_dtStart = DateTime.Now;
+        #region 変換メイン
+        /// <summary>
+        /// 変換メイン
+        /// </summary>
+        private void MainProc()
+        {
+            try
+            {
+                btnStart.Visible = false;
+                btnEnd.Visible = false;
+
+                //印刷を別スレッドで実行する
+                workerThread = new System.Threading.Thread(new System.Threading.ThreadStart(ConvertProcess));
+                workerThread.IsBackground = true;
+                workerThread.Start();
+
+                listBox1.Items.Clear();
+                m_dtStart = DateTime.Now;
+                string strStartMsg = string.Format(" ---------- 処理開始 ---------- {0}", m_dtStart.ToLongTimeString());
+                listBox1.Items.Add(strStartMsg);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 変換処理
+        /// <summary>
+        /// 変換処理
+        /// </summary>
+        private void ConvertProcess()
+        {
+            try
+            {
+                //デリゲートの作成
+                m_progressDlg = new SetProgressValueDelegate(SetProgressValue);
+                m_completeDlg = new ThreadCompletedDelegate(ThreadCompleted);
+                m_canceledDlg = new ThreadCanceledDelegate(ThreadCanceled);
+
+                string strMsg = string.Empty;
+                bool bRet= true;
+                int ino = 0;
+
+                #region ----- 変換処理
+                // 1:担当者行動予定データ(Actionscheduledata)
+                bRet = CnvActionscheduledata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 2:承認経路マスタ(Approvalmaster)
+                bRet = CnvApprovalmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 3:出勤日報データ(Attendancedailydata)
+                bRet = CnvAttendancedailydata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 4:出勤管理データ(Attendancedata)
+                bRet = CnvAttendancedata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 5:工事詳細台帳データ【退避用】(bk_constructionledger)
+                bRet = CnvBk_constructionledger(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 6:工事詳細台帳明細データ【退避用】(Bk_constructionledgerdetail)
+                bRet = CnvBk_constructionledgerdetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 7:工事詳細台帳実行データ【退避用】(Bk_constructionledgerexcute)
+                bRet = CnvBk_constructionledgerexcute(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 8:積算見積データ【退避用】(Bk_estimatedata)
+                bRet = CnvBk_estimatedata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 9:積算見積ページデータ【退避用】(Bk_estimatedatabody)
+                bRet = CnvBk_estimatedatabody(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 10:積算見積データ明細【退避用】(Bk_estimatedatadetail)
+                bRet = CnvBk_estimatedatadetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 11:法人格マスタ(Businesstypemaster)
+                bRet = CnvBusinesstypemaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 12:共通費大項目マスタ(Commoncostlarge)
+                bRet = CnvCommoncostlarge(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 13:共通費工種関連マスタ(Commoncostlinkms)
+                bRet = CnvCommoncostlinkms(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 14:共通費中項目マスタ(Commoncostmiddle)
+                bRet = CnvCommoncostmiddle(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 15:共通費中項目キーマスタ(Commoncostmiddlesearchword)
+                bRet = CnvCommoncostmiddlesearchword(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 16:構成工種関連マスタ(Componentlinkmaster)
+                bRet = CnvComponentlinkmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 17:構成マスタ(Componentmaster)
+                bRet = CnvComponentmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 18:工事基本情報(Constructionbaseinfo)
+                bRet = CnvConstructionbaseinfo(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 19:工事基本情報明細(Constructionbaseinfodetail)
+                bRet = CnvConstructionbaseinfodetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 20:工事施工予算データ(Constructionbudget)
+                bRet = CnvConstructionbudget(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 21:工事施工予算データ明細(Constructionbudgetdetail)
+                bRet = CnvConstructionbudgetdetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 22:工種マスタ(Constructionitemmaster)
+                bRet = CnvConstructionitemmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 23:工事詳細台帳データ(Constructionledger)
+                bRet = CnvConstructionledger(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 24:工事詳細台帳明細データ(Constructionledgerdetail)
+                bRet = CnvConstructionledgerdetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 25:工事詳細台帳実行データ(Constructionledgerexcute)
+                bRet = CnvConstructionledgerexcute(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 26:工事リンク情報(Constructionlink)
+                bRet = CnvConstructionlink(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 27:案件進捗日付データ(Constructionprogressdate)
+                bRet = CnvConstructionprogressdate(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 28:作業マスタ(Constructionspecmaster)
+                bRet = CnvConstructionspecmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 29:作業単価マスタ(Constructionspecunitprice)
+                bRet = CnvConstructionspecunitprice(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 30:工事種別マスタ(Constructiontypemaster)
+                bRet = CnvConstructiontypemaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 31:担当者毎経費データ(Costdataofperson)
+                bRet = CnvCostdataofperson(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 32:発注者登録申請データ(Costomerregist)
+                bRet = CnvCostomerregist(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 33:日報データ(Dailydataconstruction)
+                bRet = CnvDailydataconstruction(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 34:日報データ (明細)(Dailydatadetail)
+                bRet = CnvDailydatadetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 35:日報データ (現場巡回)(Dailydatafield)
+                bRet = CnvDailydatafield(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 36:日報データ (資材)(Dailydatamaterials)
+                bRet = CnvDailydatamaterials(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 37:日報データ (協力業者指示)(Dailydatasubcontractors)
+                bRet = CnvDailydatasubcontractors(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 38:日報データ (車両)(Dailydatavehicles)
+                bRet = CnvDailydatavehicles(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 39:部署経費率マスタ(Departmentexpensesmaster)
+                bRet = CnvDepartmentexpensesmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 40:部署マスタ(Departmentmaster)
+                bRet = CnvDepartmentmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 41:区分マスタ(Divisionmaster)
+                bRet = CnvDivisionmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 42:積算予算書データ(Estimatebudget)
+                bRet = CnvEstimatebudget(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 43:積算予算内訳データ明細(Estimatebudgetdetail)
+                bRet = CnvEstimatebudgetdetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 44:積算見積データ(Estimatedata)
+                bRet = CnvEstimatedata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 45:積算見積ページデータ(Estimatedatabody)
+                bRet = CnvEstimatedatabody(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 46:積算見積データ明細(Estimatedatadetail)
+                bRet = CnvEstimatedatadetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 47:会社休日マスタ(Holidaycalendermaster)
+                bRet = CnvHolidaycalendermaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 48:入力時検索履歴(Inputsearchlogdata)
+                bRet = CnvInputsearchlogdata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 49:掲示板メッセージ(Messageboarddata)
+                bRet = CnvMessageboarddata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 50:掲示板対象者テーブル(Messageboardterget)
+                bRet = CnvMessageboardterget(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 51:掲示板メッセージ閲覧履歴(Messagebrowsinghistory)
+                bRet = CnvMessagebrowsinghistory(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 52:発注者マスタ(Orderersmaster)
+                bRet = CnvOrderersmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 53:受注金額データ(Orderspricedata)
+                bRet = CnvOrderspricedata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 54:担当者承認データ(Personapproval)
+                bRet = CnvPersonapproval(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 55:担当者承認コメントデータ(Personapprovalcomment)
+                bRet = CnvPersonapprovalcomment(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 56:担当者対象部署マスタ(Persondepartmentmaster)
+                bRet = CnvPersondepartmentmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 57:担当者マスタ(Personinchargemaster)
+                bRet = CnvPersoninchargemaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 58:担当者給与マスタ(Personsalarymaster)
+                bRet = CnvPersonsalarymaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 59:発注者打ち合わせ議事録データ(Proceedingsdata)
+                bRet = CnvProceedingsdata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 60:発注者打ち合わせ議事録データ（出席(Proceedingsdataattend)者）
+                bRet = CnvProceedingsdataattend(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 61:発注者打ち合わせ議事録データ（明細(Proceedingsdatadetail)）
+                bRet = CnvProceedingsdatadetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 62:承認データ(Processapproval)
+                bRet = CnvProcessapproval(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 63:承認コメントデータ(Processapprovalcomment)
+                bRet = CnvProcessapprovalcomment(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 64:承認明細データ(Processapprovaldetail)
+                bRet = CnvProcessapprovaldetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 65:起動対象マスタ(Processexcutemaster)
+                bRet = CnvProcessexcutemaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 66:注文書データ(Purchaseorder)
+                bRet = CnvPurchaseorder(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 67:注文書明細データ(Purchaseorderdetail)
+                bRet = CnvPurchaseorderdetail(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 68:売上グラフデータ(Salesgraphdata)
+                bRet = CnvSalesgraphdata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 69:保護区分マスタ(Securitymaster)
+                bRet = CnvSecuritymaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 70:協力業者施工工種登録申請データ(Subconstrjobitemregist)
+                bRet = CnvSubconstrjobitemregist(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 71:協力業者職種リンク登録申請データ(Subconstrjoblinkregist)
+                bRet = CnvSubconstrjoblinkregist(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 72:協力業者登録申請データ(Subconstrregist)
+                bRet = CnvSubconstrregist(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 73:協力会社工種マスタ(Subcontractoritemmaster)
+                bRet = CnvSubcontractoritemmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 74:協力会社職種マスタ(Subcontractorjobcategory)
+                bRet = CnvSubcontractorjobcategory(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 75:協力会社施工工種データ(Subcontractorjobitem)
+                bRet = CnvSubcontractorjobitem(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 76:協力会社職種リンクマスタ(Subcontractorjoblink)
+                bRet = CnvSubcontractorjoblink(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 77:協力会社マスタ(Subcontractormaster)
+                bRet = CnvSubcontractormaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 78:仕入先マスタ(Suppliersmaster)
+                bRet = CnvSuppliersmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 79:システム起動確認データ(Systemexecute)
+                bRet = CnvSystemexecute(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 80:管理マスタ(Systemmaster)
+                bRet = CnvSystemmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 81:期限マスタ(Termmaster)
+                bRet = CnvTermmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 82:出勤交通費データ(Tranceportdailydata)
+                bRet = CnvTranceportdailydata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 83:工事種別経費率マスタ(Typeexpensesmaster)
+                bRet = CnvTypeexpensesmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 84:単位マスタ(Unitmaster)
+                bRet = CnvUnitmaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 85:車両マスタ(Vehiclemaster)
+                bRet = CnvVehiclemaster(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 86:車両記録データ(Vehiclerecorddata)
+                bRet = CnvVehiclerecorddata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+
+                // 87:車両予約データ(Vehiclescheduledata)
+                bRet = CnvVehiclescheduledata(ino++, ref strMsg);
+                this.Invoke(m_progressDlg, new object[] { strMsg });
+                if (!bRet) return;
+                #endregion
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                // 完了したときにコントロールの値を変更する
+                this.Invoke(m_completeDlg);
+
+                //デリゲートの廃棄
+                m_progressDlg = null;
+                m_completeDlg = null;
+                m_canceledDlg = null;
+
+                // ガーベージコレクト
+                GC.Collect();
+            }
+        }
+        #endregion
+
+        #region プログレスの代わりにメッセージを出す
+        /// <summary>
+        /// プログレスの代わりにメッセージを出す
+        /// </summary>
+        /// <param name="strMsg"></param>
+        private void SetProgressValue(string strMsg)
+        {
+            listBox1.Items.Add(strMsg);
+            listBox1.SelectedIndex = (listBox1.Items.Count - 1);
+        }
+        #endregion
+
+        #region 処理が完了した時にコントロールの値を変更する
+        /// <summary>
+        /// 処理が完了した時にコントロールの値を変更する
+        /// </summary>
+        private void ThreadCompleted()
+        {
+            try
+            {
+                DateTime dtFinish = DateTime.Now;
+                string strFinishMsg = string.Format(" ---------- 処理終了 ---------- {0}:経過時間{1}", dtFinish.ToLongTimeString(), dtFinish.Subtract(m_dtStart).ToString());
+                listBox1.Items.Add(strFinishMsg);
+                listBox1.SelectedIndex = (listBox1.Items.Count - 1);
+
+                btnStart.Visible = true;
+                btnEnd.Visible = true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 処理がキャンセルされた時にコントロールの値を変更する
+        /// <summary>
+        /// 処理がキャンセルされた時にコントロールの値を変更する
+        /// </summary>
+        private void ThreadCanceled()
+        {
+            try
+            {
+
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region プライマリキー取得
+        /// <summary>
+        /// プライマリキー取得
+        /// </summary>
+        /// <param name="tblname"></param>
+        /// <param name="keyname"></param>
+        private void GetPrimaryKey(string tblname, ref List<string> keyname)
+        {
+            OracleProcess OraProc = new OracleProcess(DBCommonForOracle.Instance.DBConnectString);
+            try
+            {
+                string strSQL = "SELECT COLUMN_NAME FROM USER_CONS_COLUMNS";
+                strSQL += string.Format(" WHERE TABLE_NAME = '{0}'", tblname);
+                strSQL += " AND CONSTRAINT_NAME IN (SELECT CONSTRAINT_NAME FROM USER_CONSTRAINTS";
+                strSQL += string.Format(" WHERE TABLE_NAME = '{0}'", tblname);
+                strSQL += " AND CONSTRAINT_TYPE = 'P')";
+                ArrayList arList = new ArrayList();
+                if (!OraProc.ExecuteReader(strSQL, ref arList)) return;
+
+                foreach (object[] objRec in arList)
+                {
+                    keyname.Add(CommonMotions.cnvString(objRec[0]));
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                OraProc.close(); OraProc = null;
+            }
+        }
+        #endregion
+
+        #region テーブル取得順序作成
+        /// <summary>
+        /// テーブル取得順序作成
+        /// </summary>
+        /// <param name="tblname"></param>
+        /// <returns></returns>
+        private string CreateOrder(string tblname)
+        {
+            string strRet = string.Empty;
+            try
+            {
+                List<string> keyname = new List<string>();
+
+                // プライマリキー取得
+                GetPrimaryKey(tblname, ref keyname);
+
+                strRet = " ORDER BY";
+                bool bFirst = true;
+                foreach (string curname in keyname)
+                {
+                    if (bFirst) strRet += string.Format(" {0} ASC", curname);
+                    else strRet += string.Format(", {0} ASC", curname);
+                    bFirst = false;
+                }
+                if (strRet.Equals(" ORDER BY")) strRet = string.Empty;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            return strRet;
+        }
+        #endregion
+
+        #region 表示メッセージ長さ調整
+        /// <summary>
+        /// 表示メッセージ長さ調整
+        /// </summary>
+        /// <param name="strMsg"></param>
+        private void EditDspLength(ref string strMsg)
+        {
+            try
+            {
+                string work = strMsg;
+                strMsg = string.Format("{0, -90}", work);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        // ----- テーブル毎変換処理
+        #region 担当者行動予定データ(Actionscheduledata)
+        /// <summary>
+        /// 担当者行動予定データ(Actionscheduledata)
+        /// </summary>
+        /// <returns></returns>
+        private bool CnvActionscheduledata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOActionScheduleData InDB = new ProcessManagement.OracleDB.IOAccess.IOActionScheduleData();
+            ProcessManagement.MySQLDB.IOAccess.IOActionScheduleData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOActionScheduleData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ActionScheduleData> getList = new List<ActionScheduleData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOActionScheduleData.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+                        
+                        ActionScheduleData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.TargetDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.PersonCode.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.ActionSchedule);
+                        strSQL += string.Format(", {0}", CurRec.TargetYear.ToString());
+                        strSQL += string.Format(", {0}", CurRec.TargetMonth.ToString());
+                        strSQL += string.Format(", {0}", CurRec.TargetDay.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 承認経路マスタ(Approvalmaster)
+        /// <summary>
+        /// 承認経路マスタ(Approvalmaster)
+        /// </summary>
+        private bool CnvApprovalmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMApproval InDB = new ProcessManagement.OracleDB.IOAccess.IOMApproval();
+            ProcessManagement.MySQLDB.IOAccess.IOMApproval OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMApproval();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+                
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ApprovalMaster> getList = new List<ApprovalMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMApproval.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ApprovalMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ApprovalCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DepartmentCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalPerson.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalAuthority.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 出勤日報データ(Attendancedailydata)
+        /// <summary>
+        /// 出勤日報データ(Attendancedailydata)
+        /// </summary>
+        /// <returns></returns>
+        private bool CnvAttendancedailydata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOAttendanceDailyData InDB = new ProcessManagement.OracleDB.IOAccess.IOAttendanceDailyData();
+            ProcessManagement.MySQLDB.IOAccess.IOAttendanceDailyData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOAttendanceDailyData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<AttendanceDailyData> getList = new List<AttendanceDailyData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOAttendanceDailyData.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        AttendanceDailyData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.AttendanceDate.ToShortDateString()); // 日報作成日
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                           // 明細行番号
+                        strSQL += string.Format(",'{0}'", CurRec.ActionResult);                   // 行動実績
+                        strSQL += string.Format(", {0}", CurRec.OvertimeHours);                   // 残業時間
+                        strSQL += string.Format(",'{0}'", CurRec.WorkingComment);                 // コメント
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 出勤管理データ(Attendancedata)
+        /// <summary>
+        /// 出勤管理データ(Attendancedata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvAttendancedata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOAttendanceData InDB = new ProcessManagement.OracleDB.IOAccess.IOAttendanceData();
+            ProcessManagement.MySQLDB.IOAccess.IOAttendanceData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOAttendanceData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<AttendanceData> getList = new List<AttendanceData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOAttendanceData.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        AttendanceData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.AttendanceMonth.ToShortDateString());// 日報作成日
+                        strSQL += string.Format(", {0}", CurRec.LastDays);                        // 当月最終日
+                        strSQL += string.Format(", {0}", CurRec.AttendDayCount);                  // 出勤日数
+                        strSQL += string.Format(", {0}", CurRec.TotalOverTimes);                  // 残業時間数
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.OrderDate.ToShortDateString());      // 申請日
+                        strSQL += string.Format(", {0}", CurRec.OrderNo);                         // 申請受付番号
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ【退避用】(bk_constructionledger)
+        /// <summary>
+        /// 工事詳細台帳データ【退避用】(bk_constructionledger)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        private bool CnvBk_constructionledger(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionLedger InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionLedger();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = "SELECT";
+                strSQL += " ConstructionCode";      // 工事番号
+                strSQL += " ,ConstructionPeriod";   // 事業期
+                strSQL += " ,CreatorCode";          // 作成者コード
+                strSQL += " ,CreatorName";    	    // 作成者名
+                strSQL += " ,CreateDate";	        // 作成日
+                strSQL += " ,ConstructionTimes";    // 工期（単位・月）
+                strSQL += " ,TO_CHAR(ConstructionStart, 'YYYY/MM/DD')"; // 契約工期開始
+                strSQL += " ,TO_CHAR(ConstructionEnd, 'YYYY/MM/DD')";   // 契約工期完了
+                strSQL += " ,OrdersDecisionPrice";  // 税抜受注決定金額
+                strSQL += " ,CompanyExpenses";      // 会社経費合計
+                strSQL += " ,DepartmentExpenses";   // 部署経費合計
+                strSQL += " ,SalesExpenses";        // 営業経費合計
+                strSQL += " ,TotalPayment";         // 総支払額
+                strSQL += " ,GrossProfit";          // 粗利
+                strSQL += " ,Allowance";            // 給与
+                strSQL += " ,NetProfit";            // 純利益
+                strSQL += " ,ComplateFlg";          // 入力完了フラグ
+                strSQL += " ,IntegrationFlg";       // 受注金額積算フラグ
+                strSQL += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += string.Format(" FROM {0}", s_OracleTables[ino].Key);
+                strSQL += string.Format(CreateOrder(s_OracleTables[ino].Key));
+                strSQL += CreateOrder(s_OracleTables[ino].Key);
+                ArrayList getList = new ArrayList();
+                if (!InDB.ExecuteReader(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                ConstructionLedger work = new ConstructionLedger();
+
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        object[] CurRec = (object[])getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        work.ConstructionCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ConstructionCode);
+                        strSQL += string.Format("  {0}", work.ConstructionCode);                // 工事番号
+
+                        work.ConstructionPeriod = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ConstructionPeriod);
+                        strSQL += string.Format(", {0}", work.ConstructionPeriod);              // 事業期
+
+                        work.CreatorCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.CreatorCode);
+                        strSQL += string.Format(", {0}", work.CreatorCode);                     // 作成者コード
+
+                        work.CreatorName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.CreatorName);
+                        strSQL += string.Format(",'{0}'", work.CreatorName);                    // 作成者名
+
+                        work.CreateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.CreateDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.CreateDate.ToShortDateString());           // 作成日
+
+                        work.ConstructionTimes = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ConstructionTimes);
+                        strSQL += string.Format(", {0}", work.ConstructionTimes);               // 工期（単位・月）
+
+                        work.ConstructionStart = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ConstructionStart);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.ConstructionStart.ToShortDateString());    // 契約工期開始
+
+                        work.ConstructionEnd = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ConstructionEnd);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                        work.OrdersDecisionPrice = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.OrdersDecisionPrice);
+                        strSQL += string.Format(",{0}", work.OrdersDecisionPrice);              // 税抜受注決定金額
+
+                        work.CompanyExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.CompanyExpenses);
+                        strSQL += string.Format(",{0}", work.CompanyExpenses);                  // 会社経費合計
+
+                        work.DepartmentExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.DepartmentExpenses);
+                        strSQL += string.Format(",{0}", work.DepartmentExpenses);               // 部署経費合計
+
+                        work.SalesExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.SalesExpenses);
+                        strSQL += string.Format(",{0}", work.SalesExpenses);                    // 営業経費合計
+
+                        work.TotalPayment = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.TotalPayment);
+                        strSQL += string.Format(",{0}", work.TotalPayment);                     // 総支払額
+
+                        work.GrossProfit = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.GrossProfit);
+                        strSQL += string.Format(",{0}", work.GrossProfit);                      // 粗利
+
+                        work.Allowance = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.Allowance);
+                        strSQL += string.Format(",{0}", work.Allowance);                        // 給与
+
+                        work.NetProfit = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.NetProfit);
+                        strSQL += string.Format(",{0}", work.NetProfit);                        // 純利益
+
+                        work.ComplateFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ComplateFlg);
+                        strSQL += string.Format(",{0}", work.ComplateFlg);                      // 入力完了フラグ
+
+                        work.IntegrationFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.IntegrationFlg);
+                        strSQL += string.Format(",{0}", work.IntegrationFlg);                   // 受注金額積算フラグ
+
+                        work.EntryDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
+
+                        work.UpdateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.UpdateDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳明細データ【退避用】(Bk_constructionledgerdetail)
+        /// <summary>
+        /// 工事詳細台帳明細データ【退避用】(Bk_constructionledgerdetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvBk_constructionledgerdetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = "SELECT";
+                strSQL += "  ConstructionCode";	        // 工事コード
+                strSQL += ", GroupCount";               // グループ番号
+                strSQL += ", LineCount";                // 行番号
+                strSQL += ", ComponentCode";            // 構成キー
+                strSQL += ", ItemCode";		            // 工種キー
+                strSQL += ", FirstString";              // 項目名称
+                strSQL += ", SecondString";             // 工事内容
+                strSQL += ", CompanyType";              // 協力会社コードタイプ
+                strSQL += ", CompanyCode";              // 協力会社コード
+                strSQL += ", CompanyName";              // 協力会社名称
+                strSQL += ", EstimatePrice";            // 予算（見積）金額
+                strSQL += ", ExecutionAmount";          // 実行金額
+                strSQL += ", AmountConfigRate";         // 金額構成率
+                strSQL += ", PaymentBurden";            // 支払補填額
+                strSQL += ", FixDataFlg";               // 固定データフラグ
+                strSQL += ", IndependentFlg";           // 独立データフラグ
+                strSQL += ", FluctuationFlg";           // 増減データフラグ
+                strSQL += ", SalaryFlg";                // 給与振分区分
+                strSQL += ", SalaryDays";               // 給与振分日数
+                strSQL += ", OperatingFlg";             // 担当中フラグ
+                strSQL += ", SourceCode";               // 元工事番号
+                strSQL += ", JoinTitleFlg";             // 工事名称タイトル
+                strSQL += ", SalaryOnRegist";           // 登録時月額給与
+                strSQL += ", PurchaseOrderFlg";         // 注文書発行フラグ
+                strSQL += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += string.Format(" FROM {0}", s_OracleTables[ino].Key);
+                strSQL += string.Format(CreateOrder(s_OracleTables[ino].Key));
+                strSQL += CreateOrder(s_OracleTables[ino].Key);
+                ArrayList getList = new ArrayList();
+                if (!InDB.ExecuteReader(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                ConstructionLedgerDetail work = new ConstructionLedgerDetail();
+
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        object[] CurRec = (object[])getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        work.ConstructionCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.ConstructionCode);
+                        strSQL += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                        work.GroupCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.GroupCount);
+                        strSQL += string.Format(", {0}", work.GroupCount);              // グループ番号
+
+                        work.LineCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.LineCount);
+                        strSQL += string.Format(", {0}", work.LineCount);               // 行番号
+
+                        work.ComponentCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.ComponentCode);
+                        strSQL += string.Format(", {0}", work.ComponentCode);           // 構成キー
+
+                        work.ItemCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.ItemCode);
+                        strSQL += string.Format(", {0}", work.ItemCode);		        // 工種キー
+
+                        work.FirstString = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.FirstString);
+                        strSQL += string.Format(",'{0}'", work.FirstString);            // 項目名称
+
+                        work.SecondString = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.SecondString);
+                        strSQL += string.Format(",'{0}'", work.SecondString);           // 工事内容
+
+                        work.CompanyType = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.CompanyType);
+                        strSQL += string.Format(", {0}", work.CompanyType);             // 協力会社コードタイプ
+
+                        work.CompanyCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.CompanyCode);
+                        strSQL += string.Format(", {0}", work.CompanyCode);             // 協力会社コード
+
+                        work.CompanyName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.CompanyName);
+                        strSQL += string.Format(",'{0}'", work.CompanyName);            // 協力会社名称
+
+                        work.EstimatePrice = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.EstimatePrice);
+                        strSQL += string.Format(", {0}", work.EstimatePrice);           // 予算（見積）金額
+
+                        work.ExecutionAmount = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.ExecutionAmount);
+                        strSQL += string.Format(", {0}", work.ExecutionAmount);         // 実行金額
+
+                        work.AmountConfigRate = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.AmountConfigRate);
+                        strSQL += string.Format(", {0}", work.AmountConfigRate);        // 金額構成率
+
+                        work.PaymentBurden = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.PaymentBurden);
+                        strSQL += string.Format(", {0}", work.PaymentBurden);           // 支払補填額
+
+                        work.FixDataFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.FixDataFlg);
+                        strSQL += string.Format(", {0}", work.FixDataFlg);              // 固定データフラグ
+
+                        work.IndependentFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.IndependentFlg);
+                        strSQL += string.Format(", {0}", work.IndependentFlg);          // 独立データフラグ
+
+                        work.FluctuationFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.FluctuationFlg);
+                        strSQL += string.Format(", {0}", work.FluctuationFlg);          // 増減データフラグ
+
+                        work.SalaryFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.SalaryFlg);
+                        strSQL += string.Format(", {0}", work.SalaryFlg);               // 給与振分区分
+
+                        work.SalaryDays = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.SalaryDays);
+                        strSQL += string.Format(", {0}", work.SalaryDays);              // 給与振分日数
+
+                        work.OperatingFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.OperatingFlg);
+                        strSQL += string.Format(", {0}", work.OperatingFlg);            // 担当中フラグ
+
+                        work.SourceCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.SourceCode);
+                        strSQL += string.Format(", {0}", work.SourceCode);              // 元工事番号
+
+                        work.JoinTitleFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.JoinTitleFlg);
+                        strSQL += string.Format(", {0}", work.JoinTitleFlg);            // 工事名称タイトル
+
+                        work.SalaryOnRegist = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.SalaryOnRegist);
+                        strSQL += string.Format(", {0}", work.SalaryOnRegist);          // 登録時月額給与
+
+                        work.PurchaseOrderFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.PurchaseOrderFlg);
+                        strSQL += string.Format(", {0}", work.PurchaseOrderFlg);        // 注文書発行フラグ
+
+                        work.EntryDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
+
+                        work.UpdateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail.TableColumn.UpdateDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ【退避用】(Bk_constructionledgerexcute)
+        /// <summary>
+        /// 工事詳細台帳実行データ【退避用】(Bk_constructionledgerexcute)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvBk_constructionledgerexcute(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerExcute OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerExcute();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = "SELECT";
+                strSQL += "  ConstructionCode";	        // 工事コード
+                strSQL += ", GroupCount";               // グループ番号
+                strSQL += ", LineCount";                // 行番号
+                strSQL += ", ColumnCount";              // 列番号
+                strSQL += ", PaymentAmount";            // 支払金額
+                strSQL += ", TO_CHAR(TargetMonth, 'YYYY/MM/DD HH24:MI:ss')";    // 対象年月
+                strSQL += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += string.Format(" FROM {0}", s_OracleTables[ino].Key);
+                strSQL += string.Format(CreateOrder(s_OracleTables[ino].Key));
+                strSQL += CreateOrder(s_OracleTables[ino].Key);
+                ArrayList getList = new ArrayList();
+                if (!InDB.ExecuteReader(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                ConstructionLedgerExcute work = new ConstructionLedgerExcute();
+
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerExcute.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        object[] CurRec = (object[])getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        work.ConstructionCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute.TableColumn.ConstructionCode);
+                        strSQL += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                        work.GroupCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute.TableColumn.GroupCount);
+                        strSQL += string.Format(", {0}", work.GroupCount);              // グループ番号
+
+                        work.LineCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute.TableColumn.LineCount);
+                        strSQL += string.Format(", {0}", work.LineCount);               // 行番号
+
+                        work.ColumnCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute.TableColumn.ColumnCount);
+                        strSQL += string.Format(", {0}", work.ColumnCount);             // 列番号
+
+                        work.PaymentAmount = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute.TableColumn.PaymentAmount);
+                        strSQL += string.Format(", {0}", work.PaymentAmount);           // 支払金額
+
+                        work.TargetMonth = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute.TableColumn.TargetMonth);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.TargetMonth.ToShortDateString());  // 対象年月
+
+                        work.EntryDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute.TableColumn.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
+
+                        work.UpdateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute.TableColumn.UpdateDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積データ【退避用】(Bk_estimatedata)
+        /// <summary>
+        /// 積算見積データ【退避用】(Bk_estimatedata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvBk_estimatedata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOEstimateData InDB = new ProcessManagement.OracleDB.IOAccess.IOEstimateData();
+            ProcessManagement.MySQLDB.IOAccess.IOEstimateData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOEstimateData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = "SELECT";
+                strSQL += "  ConstructionCode";     // 工事番号
+                strSQL += ", LineCount";            // 行番号
+                strSQL += ", ComponentCode";        // 構成キー
+                strSQL += ", FixedItemCode";		// 固定項目キー
+                strSQL += ", ItemName";      		// 作業名称
+                strSQL += ", SpecName";      		// 品質・形状・寸法
+                strSQL += ", PriceValue";           // 金額
+                strSQL += ", Note";			        // 備考
+                strSQL += ", MyExpensesFlg";
+                strSQL += ", InputFlg";
+                strSQL += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(SaveDate, 'YYYY/MM/DD HH24:MI:ss')";   // 退避日付
+                strSQL += string.Format(" FROM {0}", s_OracleTables[ino].Key);
+                strSQL += string.Format(CreateOrder(s_OracleTables[ino].Key));
+                strSQL += CreateOrder(s_OracleTables[ino].Key);
+                ArrayList getList = new ArrayList();
+                if (!InDB.ExecuteReader(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                EstimateData work = new EstimateData();
+                DateTime SaveDate = DateTime.Now;
+                int TblColCnt = Enum.GetNames(typeof(ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn)).Length;
+
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    strSQL += "SaveDate,";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOEstimateData.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        object[] CurRec = (object[])getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        SaveDate = CommonMotions.ObjectToDateTime(CurRec, TblColCnt);
+                        strSQL += string.Format("  STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", SaveDate);  // 退避日付
+
+                        work.ConstructionCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.ConstructionCode);
+                        strSQL += string.Format(", {0}", work.ConstructionCode);        // 工事番号
+
+                        work.LineCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.LineCount);
+                        strSQL += string.Format(", {0}", work.LineCount);               // 行番号
+
+                        work.ComponentCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.ComponentCode);
+                        strSQL += string.Format(", {0}", work.ComponentCode);           // 構成キー
+
+                        work.FixedItemCode = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.FixedItemCode);
+                        strSQL += string.Format(",'{0}'", work.FixedItemCode);		    // 固定項目キー
+
+                        work.ItemName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.ItemName);
+                        strSQL += string.Format(",'{0}'", work.ItemName.Replace(",", "，"));     // 作業名称
+
+                        work.SpecName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.WorkName);
+                        strSQL += string.Format(",'{0}'", work.SpecName.Replace(",", "，"));     // 品質・形状・寸法
+
+                        work.PriceValue = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.PriceValue);
+                        strSQL += string.Format(", {0}", work.PriceValue);                      // 金額
+
+                        work.Note = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.Note);
+                        strSQL += string.Format(",'{0}'", work.Note.Replace(",", "，"));		// 備考
+
+                        work.MyExpensesFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.MyExpensesFlg);
+                        strSQL += string.Format(", {0}", work.MyExpensesFlg);           // 自社経費フラグ
+
+                        work.InputFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.InputFlg);
+                        strSQL += string.Format(", {0}", work.InputFlg);                // 入力フラグ
+
+                        work.EntryDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
+
+                        work.UpdateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateData.TableColumn.UpdateDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積ページデータ【退避用】(Bk_estimatedatabody)
+        /// <summary>
+        /// 積算見積ページデータ【退避用】(Bk_estimatedatabody)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvBk_estimatedatabody(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody InDB = new ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody();
+            ProcessManagement.MySQLDB.IOAccess.IOEstimateDataBody OutDB = new ProcessManagement.MySQLDB.IOAccess.IOEstimateDataBody();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = "SELECT";
+                strSQL += "  ConstructionCode";         // 工事番号
+                strSQL += ", PageCount";		        // ページ番号
+                strSQL += ", Category";		            // 頁区分
+                strSQL += ", UnionComponentCode";		// 所属構成キー
+                strSQL += ", ComponentCode";		    // 構成キー
+                strSQL += ", ItemCode";		            // 工種キー
+                strSQL += ", SelectComponent";		    // 選択構成キー
+                strSQL += ", PageTitle";		        // ページ表示名
+                strSQL += ", DetailLineCount";          // 明細行番号
+                strSQL += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(SaveDate, 'YYYY/MM/DD HH24:MI:ss')";   // 退避日付
+                strSQL += string.Format(" FROM {0}", s_OracleTables[ino].Key);
+                strSQL += string.Format(CreateOrder(s_OracleTables[ino].Key));
+                strSQL += CreateOrder(s_OracleTables[ino].Key);
+                ArrayList getList = new ArrayList();
+                if (!InDB.ExecuteReader(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                EstimateDataBody work = new EstimateDataBody();
+                DateTime SaveDate = DateTime.Now;
+                int TblColCnt = Enum.GetNames(typeof(ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn)).Length;
+
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    strSQL += "SaveDate,";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOEstimateDataBody.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += " ,";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        object[] CurRec = (object[])getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        SaveDate = CommonMotions.ObjectToDateTime(CurRec, TblColCnt);
+                        strSQL += string.Format("  STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", SaveDate);  // 退避日付
+
+                        work.ConstructionCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.ConstructionCode);
+                        strSQL += string.Format(", {0}", work.ConstructionCode);        // 工事番号
+
+                        work.PageCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.PageCount);
+                        strSQL += string.Format(", {0}", work.PageCount);		    // ページ番号
+
+                        work.Category = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.Category);
+                        strSQL += string.Format(", {0}", work.Category);		    // ページ区分
+
+                        work.UnionComponentCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.UnionComponentCode);
+                        strSQL += string.Format(", {0}", work.UnionComponentCode);	// 所属構成キー
+
+                        work.ComponentCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.ComponentCode);
+                        strSQL += string.Format(", {0}", work.ComponentCode);	    // 構成キー
+
+                        work.ItemCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.ItemCode);
+                        strSQL += string.Format(", {0}", work.ItemCode);		    // 工種キー
+
+                        work.SelectComponent = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.SelectComponent);
+                        strSQL += string.Format(", {0}", work.SelectComponent);	    // 選択構成キー
+
+                        work.PageTitle = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.PageTitle);
+                        strSQL += string.Format(",'{0}'", work.PageTitle);	        // ページ表示名
+
+                        work.DetailLineCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.DetailLineCount);
+                        strSQL += string.Format(", {0}", work.DetailLineCount);     // 明細行番号
+
+                        work.EntryDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
+
+                        work.UpdateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody.TableColumn.UpdateDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積データ明細【退避用】(Bk_estimatedatadetail)
+        /// <summary>
+        /// 積算見積データ明細【退避用】(Bk_estimatedatadetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvBk_estimatedatadetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOEstimateDataDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOEstimateDataDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = "SELECT";
+                strSQL += "  ConstructionCode";         // 工事番号
+                strSQL += ", PageCount";		        // ページ番号
+                strSQL += ", LineCount";		        // 行番号
+                strSQL += ", DataType";                 // データイプ
+                strSQL += ", ComponentCode";		    // 構成キー（行）
+                strSQL += ", ItemCode";		            // 工種キー
+                strSQL += ", SpecCode";		            // 規格・寸法キー
+                strSQL += ", ItemName";		            // 作業名称
+                strSQL += ", SpecName";		            // 作業／品質・形状・寸法
+                strSQL += ", UnitCount";		        // 数量
+                strSQL += ", UnitName";		            // 単位
+                strSQL += ", UnitPrice";		        // 単価
+                strSQL += ", LineTotal";		        // 金額
+                strSQL += ", Note";			            // 備考
+                strSQL += ", CompanyCode";              // 協力会社コード
+                strSQL += ", MyExpensesFlg";
+                strSQL += ", InputFlg";
+                strSQL += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strSQL += ", TO_CHAR(SaveDate, 'YYYY/MM/DD HH24:MI:ss')";   // 退避日付
+                strSQL += string.Format(" FROM {0}", s_OracleTables[ino].Key);
+                strSQL += string.Format(CreateOrder(s_OracleTables[ino].Key));
+                strSQL += CreateOrder(s_OracleTables[ino].Key);
+                ArrayList getList = new ArrayList();
+                if (!InDB.ExecuteReader(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                EstimateDataDetail work = new EstimateDataDetail();
+                DateTime SaveDate = DateTime.Now;
+                int TblColCnt = Enum.GetNames(typeof(ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn)).Length;
+
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    strSQL += "SaveDate,";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOEstimateDataDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += " ,";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        object[] CurRec = (object[])getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        SaveDate = CommonMotions.ObjectToDateTime(CurRec, TblColCnt);
+                        strSQL += string.Format("  STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", SaveDate);  // 退避日付
+
+                        work.ConstructionCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.ConstructionCode);
+                        strSQL += string.Format(", {0}", work.ConstructionCode);        // 工事番号
+
+                        work.PageCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.PageCount);
+                        strSQL += string.Format(", {0}", work.PageCount);		    // ページ番号
+
+                        work.LineCount = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.LineCount);
+                        strSQL += string.Format(", {0}", work.LineCount);		    // 行番号
+
+                        work.DataType = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.DataType);
+                        strSQL += string.Format(", {0}", work.DataType);		    // データタイプ
+
+                        work.ComponentCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.ComponentCode);
+                        strSQL += string.Format(", {0}", work.ComponentCode);	    // 構成キー
+
+                        work.ItemCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.ItemCode);
+                        strSQL += string.Format(", {0}", work.ItemCode);		    // 工種キー
+
+                        work.SpecCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.SpecCode);
+                        strSQL += string.Format(", {0}", work.SpecCode);		    // 規格・寸法キー
+
+                        work.ItemName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.ItemName);
+                        strSQL += string.Format(",'{0}'", work.ItemName.Replace(",", "，").Replace("'", "’"));		    // 作業名称
+
+                        work.SpecName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.SpecName);
+                        strSQL += string.Format(",'{0}'", work.SpecName.Replace(",", "，").Replace("'", "’"));		    // 作業／品質・形状・寸法
+
+                        work.UnitCount = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.UnitCount);
+                        strSQL += string.Format(", {0}", work.UnitCount);		    // 数量
+
+                        work.UnitName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.UnitName);
+                        strSQL += string.Format(",'{0}'", work.UnitName);		    // 単位
+
+                        work.UnitPrice = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.UnitPrice);
+                        strSQL += string.Format(", {0}", work.UnitPrice);		    // 単価
+
+                        work.LineTotal = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.LineTotal);
+                        strSQL += string.Format(", {0}", work.LineTotal);		    // 金額
+
+                        work.Note = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.Note);
+                        strSQL += string.Format(",'{0}'", work.Note.Replace(",", "，").Replace("'", "’"));			    // 備考
+
+                        work.CompanyCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.CompanyCode);
+                        strSQL += string.Format(", {0}", work.CompanyCode);		    // 協力会社コード
+
+                        work.MyExpensesFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.MyExpensesFlg);
+                        strSQL += string.Format(", {0}", work.MyExpensesFlg);       // 自社経費フラグ
+
+                        work.InputFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.InputFlg);
+                        strSQL += string.Format(", {0}", work.InputFlg);            // 入力フラグ
+
+                        work.EntryDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
+
+                        work.UpdateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail.TableColumn.UpdateDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += " ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 法人格マスタ(Businesstypemaster)
+        /// <summary>
+        /// 法人格マスタ(Businesstypemaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvBusinesstypemaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMBusinessType InDB = new ProcessManagement.OracleDB.IOAccess.IOMBusinessType();
+            ProcessManagement.MySQLDB.IOAccess.IOMBusinessType OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMBusinessType();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<BusinessTypeMaster> getList = new List<BusinessTypeMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMBusinessType.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        BusinessTypeMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.BusinessTypeCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.BusinessTypeName);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 共通費大項目マスタ(Commoncostlarge)
+        /// <summary>
+        /// 共通費大項目マスタ(Commoncostlarge)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvCommoncostlarge(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMCommonCostLarge InDB = new ProcessManagement.OracleDB.IOAccess.IOMCommonCostLarge();
+            ProcessManagement.MySQLDB.IOAccess.IOMCommonCostLarge OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMCommonCostLarge();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<CommonCostLarge> getList = new List<CommonCostLarge>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMCommonCostLarge.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        CommonCostLarge CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.LargeCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.LargeName);
+                        strSQL += string.Format(", '{0}'", CurRec.CommentText);
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 共通費工種関連マスタ(Commoncostlinkms)
+        /// <summary>
+        /// 共通費工種関連マスタ(Commoncostlinkms)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvCommoncostlinkms(int ino, ref string strMsg) 
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMCommonCostLinkMS InDB = new ProcessManagement.OracleDB.IOAccess.IOMCommonCostLinkMS();
+            ProcessManagement.MySQLDB.IOAccess.IOMCommonCostLinkMS OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMCommonCostLinkMS();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<CommonCostLinkMS> getList = new List<CommonCostLinkMS>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMCommonCostLinkMS.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        CommonCostLinkMS CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.LargeCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.MiddleCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ItemCode.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 共通費中項目マスタ(Commoncostmiddle)
+        /// <summary>
+        /// 共通費中項目マスタ(Commoncostmiddle)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvCommoncostmiddle(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMCommonCostMiddle InDB = new ProcessManagement.OracleDB.IOAccess.IOMCommonCostMiddle();
+            ProcessManagement.MySQLDB.IOAccess.IOMCommonCostMiddle OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMCommonCostMiddle();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<CommonCostMiddle> getList = new List<CommonCostMiddle>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMCommonCostMiddle.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        CommonCostMiddle CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.LargeCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.MiddleCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.MiddleName);
+                        strSQL += string.Format(", '{0}'", CurRec.CommentText);
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 共通費中項目キーマスタ(Commoncostmiddlesearchword)
+        /// <summary>
+        /// 共通費中項目キーマスタ(Commoncostmiddlesearchword)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvCommoncostmiddlesearchword(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMCommonCostMiddleSearchWord InDB = new ProcessManagement.OracleDB.IOAccess.IOMCommonCostMiddleSearchWord();
+            ProcessManagement.MySQLDB.IOAccess.IOMCommonCostMiddleSearchWord OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMCommonCostMiddleSearchWord();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<CommonCostMiddleSearchWord> getList = new List<CommonCostMiddleSearchWord>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMCommonCostMiddleSearchWord.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        CommonCostMiddleSearchWord CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.LargeCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.MiddleCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.SearchWord);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 構成工種関連マスタ(Componentlinkmaster)
+        /// <summary>
+        /// 構成工種関連マスタ(Componentlinkmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvComponentlinkmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMComponentLink InDB = new ProcessManagement.OracleDB.IOAccess.IOMComponentLink();
+            ProcessManagement.MySQLDB.IOAccess.IOMComponentLink OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMComponentLink();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ComponentLinkMaster> getList = new List<ComponentLinkMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMComponentLink.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ComponentLinkMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ComponentCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ItemCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 構成マスタ(Componentmaster)
+        /// <summary>
+        /// 構成マスタ(Componentmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvComponentmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMComponent InDB = new ProcessManagement.OracleDB.IOAccess.IOMComponent();
+            ProcessManagement.MySQLDB.IOAccess.IOMComponent OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMComponent();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ComponentMaster> getList = new List<ComponentMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMComponent.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ComponentMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ComponentCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.ComponentName);
+                        strSQL += string.Format(", {0}", CurRec.SubitemsFlg.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DirectInputFlg.ToString());
+                        strSQL += string.Format(", {0}", CurRec.MyExpensesFlg.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事基本情報(Constructionbaseinfo)
+        /// <summary>
+        /// 工事基本情報(Constructionbaseinfo)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionbaseinfo(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionBaseInfo InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionBaseInfo();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionBaseInfo OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionBaseInfo();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionBaseInfo> getList = new List<ConstructionBaseInfo>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionBaseInfo.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionBaseInfo CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);
+                        strSQL += string.Format(", {0}", CurRec.TyingFlg);
+                        strSQL += string.Format(", {0}", CurRec.JoinFlg);
+                        strSQL += string.Format(", {0}", CurRec.ConstructionYear);
+                        strSQL += string.Format(", {0}", CurRec.ConstructionPeriod);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.RequestedDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.EstimatesSubmitDeadline.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.EstimatesSubmittedDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ProvisionalOrderDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.OrderDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.OrderStartingDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.OrderCompletionDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.PreparationStartDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ConstructionStartingDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ConstructionCompletionDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.NonOrderDate.ToShortDateString());
+
+                        strSQL += string.Format(", {0}", CurRec.OrdersDecisionPrice);
+                        strSQL += string.Format(", {0}", CurRec.OrdersDecisionPriceInTax);
+
+                        strSQL += string.Format(", {0}", CurRec.SalesPersonCode);
+                        strSQL += string.Format(", {0}", CurRec.ConstructionPersonCode);
+                        strSQL += string.Format(", {0}", CurRec.ConstrSubPersonCode);
+                        strSQL += string.Format(", {0}", CurRec.ConstructionInstructor);
+
+                        strSQL += string.Format(", {0}", CurRec.TransferConstruction);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.TransferConstructionDate.ToShortDateString());
+
+                        strSQL += string.Format(", {0}", CurRec.OrderersDivision);
+                        strSQL += string.Format(", {0}", CurRec.OrderersCode);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.EstimatesExpirationDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ConstructionPeriodStart.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ConstructionPeriodEnd.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ConstructionPeriodStart2.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ConstructionPeriodEnd2.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.StartDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.EndDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.PurchaseOrderMailingDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.PurchaseOrderReturnDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.PurchaseOrderReturnCheckDate.ToShortDateString());
+
+                        strSQL += string.Format(", {0}", CurRec.ConsumptionTaxFlg);
+                        strSQL += string.Format(", {0}", CurRec.PrimeContractorFlg);
+                        strSQL += string.Format(", {0}", CurRec.SalesCostFlg);
+                        strSQL += string.Format(", {0}", CurRec.ConstructionStatusFlg);
+
+                        strSQL += string.Format(", {0}", CurRec.ConstructionType);
+                        strSQL += string.Format(", {0}", CurRec.EstimateType);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.BillingStartDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.BillingDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.BillingSplitFlg);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.BillingSendDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.LedgerComplateDate.ToShortDateString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事基本情報明細(Constructionbaseinfodetail)
+        /// <summary>
+        /// 工事基本情報明細(Constructionbaseinfodetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionbaseinfodetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionBaseInfoDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionBaseInfoDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionBaseInfoDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionBaseInfoDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionBaseInfoDetail> getList = new List<ConstructionBaseInfoDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionBaseInfoDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionBaseInfoDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);
+                        strSQL += string.Format(", {0}", CurRec.DetailNo);
+                        strSQL += string.Format(",'{0}'", CurRec.DetailString);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事施工予算データ(Constructionbudget)
+        /// <summary>
+        /// 工事施工予算データ(Constructionbudget)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionbudget(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionBudget InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionBudget();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionBudget OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionBudget();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionBudget> getList = new List<ConstructionBudget>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionBudget.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionBudget CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);                // 工事番号
+
+                        strSQL += string.Format(", {0}", CurRec.CreatorCode);                     // 作成者コード
+                        strSQL += string.Format(",'{0}'", CurRec.CreatorName);                    // 作成者名
+                        strSQL += string.Format(", {0}", CurRec.CreatorCosts);                    // 作成者給与
+
+                        strSQL += string.Format(", {0}", CurRec.AssistantCode);                   // 副担当者コード
+                        strSQL += string.Format(",'{0}'", CurRec.AssistantName);                  // 副担当者名
+                        strSQL += string.Format(", {0}", CurRec.AssistantCosts);                  // 副担当者給与
+
+                        strSQL += string.Format(", {0}", CurRec.InstructorCode);                  // 工事指導員コード
+                        strSQL += string.Format(",'{0}'", CurRec.InstructorName);                 // 工事指導員名
+                        strSQL += string.Format(", {0}", CurRec.InstructorCosts);                 // 工事指導員給与
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                CurRec.CreateDate.ToShortDateString());           // 作成日
+                        strSQL += string.Format(", {0}", CurRec.ConstructionTimes);               // 工期（単位・月）
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                CurRec.ConstructionStart.ToShortDateString());    // 契約工期開始
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                CurRec.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                        strSQL += string.Format(", {0}", CurRec.InstructorTimes);                 // 指導員稼働月数
+                        strSQL += string.Format(", {0}", CurRec.SalaryFlg);                       // 給与振分区分
+                        strSQL += string.Format(", {0}", CurRec.SalaryDays);                      // 振分日数
+                        strSQL += string.Format(", {0}", CurRec.A_SalaryFlg);                     // 副担当者給与振分区分
+                        strSQL += string.Format(", {0}", CurRec.A_SalaryDays);                    // 副担当者振分日数
+                        strSQL += string.Format(", {0}", CurRec.I_SalaryFlg);                     // 指導員給与振分区分
+                        strSQL += string.Format(", {0}", CurRec.I_SalaryDays);                    // 指導員振分日数
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事施工予算データ明細(Constructionbudgetdetail)
+        /// <summary>
+        ///工事施工予算データ明細(Constructionbudgetdetail) 
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionbudgetdetail(int ino, ref string strMsg) 
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionBudgetDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionBudgetDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionBudgetDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionBudgetDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionBudgetDetail> getList = new List<ConstructionBudgetDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionBudgetDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionBudgetDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);                // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.GroupCount);              // グループ番号
+                        strSQL += string.Format(", {0}", CurRec.LineCount);               // 行番号
+                        strSQL += string.Format(", {0}", CurRec.ComponentCode);           // 構成キー
+                        strSQL += string.Format(", {0}", CurRec.ItemCode);		        // 工種キー
+                        strSQL += string.Format(",'{0}'", CurRec.FirstString);            // 項目名称
+                        strSQL += string.Format(",'{0}'", CurRec.SecondString);           // 工事内容
+                        strSQL += string.Format(", {0}", CurRec.CompanyType);             // 協力会社コードタイプ
+                        strSQL += string.Format(", {0}", CurRec.CompanyCode);             // 協力会社コード
+                        strSQL += string.Format(",'{0}'", CurRec.CompanyName);            // 協力会社名称
+                        strSQL += string.Format(", {0}", CurRec.EstimatePrice);           // 見積時金額
+                        strSQL += string.Format(", {0}", CurRec.NegotiationPrice);        // 交渉時金額
+                        strSQL += string.Format(", {0}", CurRec.OrderDesiredAmount);      // 発注希望金額
+                        strSQL += string.Format(", {0}", CurRec.ExecutionAmount);         // 実行金額
+                        strSQL += string.Format(", {0}", CurRec.AmountConfigRate);        // 金額構成率
+                        strSQL += string.Format(", {0}", CurRec.NegotiateFlg);            // 協力業者交渉フラグ
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工種マスタ(Constructionitemmaster)
+        /// <summary>
+        /// 工種マスタ(Constructionitemmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionitemmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMConstructionItem InDB = new ProcessManagement.OracleDB.IOAccess.IOMConstructionItem();
+            ProcessManagement.MySQLDB.IOAccess.IOMConstructionItem OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMConstructionItem();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionItemMaster> getList = new List<ConstructionItemMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMConstructionItem.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionItemMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ItemCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.ItemName);
+                        strSQL += string.Format(", {0}", CurRec.SubitemsFlg.ToString());
+                        strSQL += string.Format(", {0}", CurRec.MyExpensesFlg.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ(Constructionledger)
+        /// <summary>
+        /// 工事詳細台帳データ(Constructionledger)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionledger(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionLedger InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionLedger();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionLedger> getList = new List<ConstructionLedger>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionLedger CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);                // 工事番号
+
+                        strSQL += string.Format(", {0}", CurRec.ConstructionPeriod);              // 事業期
+                        strSQL += string.Format(", {0}", CurRec.CreatorCode);                     // 作成者コード
+                        strSQL += string.Format(",'{0}'", CurRec.CreatorName);                    // 作成者名
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                CurRec.CreateDate.ToShortDateString());           // 作成日
+                        strSQL += string.Format(", {0}", CurRec.ConstructionTimes);               // 工期（単位・月）
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                CurRec.ConstructionStart.ToShortDateString());    // 契約工期開始
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                CurRec.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                        strSQL += string.Format(",{0}", CurRec.OrdersDecisionPrice);              // 税抜受注決定金額
+                        strSQL += string.Format(",{0}", CurRec.CompanyExpenses);                  // 会社経費合計
+                        strSQL += string.Format(",{0}", CurRec.DepartmentExpenses);               // 部署経費合計
+                        strSQL += string.Format(",{0}", CurRec.SalesExpenses);                    // 営業経費合計
+                        strSQL += string.Format(",{0}", CurRec.TotalPayment);                     // 総支払額
+                        strSQL += string.Format(",{0}", CurRec.GrossProfit);                      // 粗利
+                        strSQL += string.Format(",{0}", CurRec.Allowance);                        // 給与
+                        strSQL += string.Format(",{0}", CurRec.NetProfit);                        // 純利益
+                        strSQL += string.Format(",{0}", CurRec.ComplateFlg);                      // 入力完了フラグ
+                        strSQL += string.Format(",{0}", CurRec.IntegrationFlg);                   // 受注金額積算フラグ
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳明細データ(Constructionledgerdetail)
+        /// <summary>
+        /// 工事詳細台帳明細データ(Constructionledgerdetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionledgerdetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionLedgerDetail> getList = new List<ConstructionLedgerDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionLedgerDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);        // 工事番号
+
+                        strSQL += string.Format(", {0}", CurRec.GroupCount);              // グループ番号
+                        strSQL += string.Format(", {0}", CurRec.LineCount);               // 行番号
+                        strSQL += string.Format(", {0}", CurRec.ComponentCode);           // 構成キー
+                        strSQL += string.Format(", {0}", CurRec.ItemCode);		        // 工種キー
+                        strSQL += string.Format(",'{0}'", CurRec.FirstString);            // 項目名称
+                        strSQL += string.Format(",'{0}'", CurRec.SecondString);           // 工事内容
+                        strSQL += string.Format(", {0}", CurRec.CompanyType);             // 協力会社コードタイプ
+                        strSQL += string.Format(", {0}", CurRec.CompanyCode);             // 協力会社コード
+                        strSQL += string.Format(",'{0}'", CurRec.CompanyName);            // 協力会社名称
+                        strSQL += string.Format(", {0}", CurRec.EstimatePrice);           // 予算（見積）金額
+                        strSQL += string.Format(", {0}", CurRec.ExecutionAmount);         // 実行金額
+                        strSQL += string.Format(", {0}", CurRec.AmountConfigRate);        // 金額構成率
+                        strSQL += string.Format(", {0}", CurRec.PaymentBurden);           // 支払補填額
+
+                        strSQL += string.Format(", {0}", CurRec.FixDataFlg);              // 固定データフラグ
+                        strSQL += string.Format(", {0}", CurRec.IndependentFlg);          // 独立データフラグ
+                        strSQL += string.Format(", {0}", CurRec.FluctuationFlg);          // 増減データフラグ
+
+                        strSQL += string.Format(", {0}", CurRec.SalaryFlg);               // 給与振分区分
+                        strSQL += string.Format(", {0}", CurRec.SalaryDays);              // 給与振分日数
+                        strSQL += string.Format(", {0}", CurRec.OperatingFlg);            // 担当中フラグ
+                        strSQL += string.Format(", {0}", CurRec.SourceCode);              // 元工事番号
+                        strSQL += string.Format(", {0}", CurRec.JoinTitleFlg);            // 工事名称タイトル
+                        strSQL += string.Format(", {0}", CurRec.SalaryOnRegist);          // 登録時月額給与
+                        strSQL += string.Format(", {0}", CurRec.PurchaseOrderFlg);        // 注文書発行フラグ
+
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ(Constructionledgerexcute)
+        /// <summary>
+        /// 工事詳細台帳実行データ(Constructionledgerexcute)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionledgerexcute(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionLedgerExcute();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerExcute OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerExcute();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionLedgerExcute> getList = new List<ConstructionLedgerExcute>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionLedgerExcute.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionLedgerExcute CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);        // 工事番号
+
+                        strSQL += string.Format(", {0}", CurRec.GroupCount);              // グループ番号
+                        strSQL += string.Format(", {0}", CurRec.LineCount);               // 行番号
+                        strSQL += string.Format(", {0}", CurRec.ColumnCount);             // 列番号
+
+                        strSQL += string.Format(", {0}", CurRec.PaymentAmount);           // 支払金額
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.TargetMonth.ToShortDateString());  // 対象年月
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事リンク情報(Constructionlink)
+        /// <summary>
+        /// 工事リンク情報(Constructionlink)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionlink(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionLink InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionLink();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionLink OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionLink();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionLink> getList = new List<ConstructionLink>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionLink.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionLink CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);        // 工事番号
+
+                        strSQL += string.Format(", {0}", CurRec.FluctuationCode);
+                        strSQL += string.Format(", {0}", CurRec.LinkType);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 案件進捗日付データ(Constructionprogressdate)
+        /// <summary>
+        /// 案件進捗日付データ(Constructionprogressdate)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionprogressdate(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOConstructionProgressDate InDB = new ProcessManagement.OracleDB.IOAccess.IOConstructionProgressDate();
+            ProcessManagement.MySQLDB.IOAccess.IOConstructionProgressDate OutDB = new ProcessManagement.MySQLDB.IOAccess.IOConstructionProgressDate();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionProgressDate> getList = new List<ConstructionProgressDate>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOConstructionProgressDate.ColumnName)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionProgressDate CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ConstructionStatusFlg.ToString());
+                        strSQL += string.Format(", {0}", CurRec.PreviousStatusFlg.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.ChangeDate.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ChangePersonCode.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 作業マスタ(Constructionspecmaster)
+        /// <summary>
+        /// 作業マスタ(Constructionspecmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionspecmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMConstructionSpec InDB = new ProcessManagement.OracleDB.IOAccess.IOMConstructionSpec();
+            ProcessManagement.MySQLDB.IOAccess.IOMConstructionSpec OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMConstructionSpec();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionSpecMaster> getList = new List<ConstructionSpecMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMConstructionSpec.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionSpecMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.ItemCode);
+                        strSQL += string.Format(",{0}", CurRec.SpecCode);
+                        strSQL += string.Format(",{0}", CurRec.DisplayOrder);
+
+                        strSQL += string.Format(",'{0}'", CurRec.ItemName);
+                        strSQL += string.Format(",'{0}'", CurRec.SpecName);
+                        strSQL += string.Format(",'{0}'", CurRec.UnitName);
+                        strSQL += string.Format(",{0}", CurRec.UnitPrice);
+                        strSQL += string.Format(",{0}", CurRec.DeleteFlg);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 作業単価マスタ(Constructionspecunitprice)
+        /// <summary>
+        /// 作業単価マスタ(Constructionspecunitprice)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructionspecunitprice(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMConstructionSpecUnitPrice InDB = new ProcessManagement.OracleDB.IOAccess.IOMConstructionSpecUnitPrice();
+            ProcessManagement.MySQLDB.IOAccess.IOMConstructionSpecUnitPrice OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMConstructionSpecUnitPrice();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionSpecUnitPrice> getList = new List<ConstructionSpecUnitPrice>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMConstructionSpecUnitPrice.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionSpecUnitPrice CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.ComponentCode);
+                        strSQL += string.Format(",{0}", CurRec.ItemCode);
+                        strSQL += string.Format(",{0}", CurRec.SpecCode);
+                        strSQL += string.Format(",{0}", CurRec.TypeCode);
+                        strSQL += string.Format(",{0}", CurRec.UnitPrice);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事種別マスタ(Constructiontypemaster)
+        /// <summary>
+        /// 工事種別マスタ(Constructiontypemaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvConstructiontypemaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMConstructionType InDB = new ProcessManagement.OracleDB.IOAccess.IOMConstructionType();
+            ProcessManagement.MySQLDB.IOAccess.IOMConstructionType OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMConstructionType();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ConstructionTypeMaster> getList = new List<ConstructionTypeMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMConstructionType.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ConstructionTypeMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.TypeCode);
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder);
+                        strSQL += string.Format(",'{0}'", CurRec.NameString);
+                        strSQL += string.Format(", {0}", CurRec.PublicFlg);
+                        strSQL += string.Format(", {0}", CurRec.SecRank);
+                        strSQL += string.Format(", {0}", CurRec.ExpensesLink);
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 担当者毎経費データ(Costdataofperson)
+        /// <summary>
+        /// 担当者毎経費データ(Costdataofperson)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvCostdataofperson(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOCostDataOfPerson InDB = new ProcessManagement.OracleDB.IOAccess.IOCostDataOfPerson();
+            ProcessManagement.MySQLDB.IOAccess.IOCostDataOfPerson OutDB = new ProcessManagement.MySQLDB.IOAccess.IOCostDataOfPerson();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<CostDataOfPerson> getList = new List<CostDataOfPerson>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOCostDataOfPerson.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        CostDataOfPerson CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.ActionDate.ToShortDateString());     // 対象日付
+                        strSQL += string.Format(", {0}", CurRec.DataType);                        // データ区分
+                        strSQL += string.Format(", {0}", CurRec.DataAddCount);                    // データ追加番号
+                        strSQL += string.Format(",'{0}'", CurRec.TargetMonth);                    // 対象年月
+                        strSQL += string.Format(", {0}", CurRec.ConstructionCode);                // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.SuppliersCode);                   // 支払先コード
+                        strSQL += string.Format(",'{0}'", CurRec.SuppliersName);                  // 支払先名称
+                        strSQL += string.Format(",'{0}'", CurRec.PaymentContent);                 // 支払内容
+                        strSQL += string.Format(", {0}", CurRec.PaymentType);                     // 支払方法フラグ
+                        strSQL += string.Format(", {0}", CurRec.EntryPrice);	                    // 金額（税抜）
+                        strSQL += string.Format(", {0}", CurRec.EntryPriceInTax);	                // 金額（税込）
+                        strSQL += string.Format(",'{0}'", CurRec.SlipNumber);                     // 伝票番号
+
+                        strSQL += string.Format(", {0}", CurRec.ComplateFlg);                     // 引込済みフラグ
+                        strSQL += string.Format(", {0}", CurRec.ApprovalFlg);                     // 承認フラグ
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ(Costomerregist)
+        /// <summary>
+        /// 発注者登録申請データ(Costomerregist)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvCostomerregist(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOCostomerRegist InDB = new ProcessManagement.OracleDB.IOAccess.IOCostomerRegist();
+            ProcessManagement.MySQLDB.IOAccess.IOCostomerRegist OutDB = new ProcessManagement.MySQLDB.IOAccess.IOCostomerRegist();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<CostomerRegist> getList = new List<CostomerRegist>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOCostomerRegist.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        CostomerRegist CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.CreateDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);
+                        strSQL += string.Format(", {0}", CurRec.DataMode);
+                        strSQL += string.Format(", {0}", CurRec.SourceCotegory);
+                        strSQL += string.Format(", {0}", CurRec.SourceCode);
+                        strSQL += string.Format(", {0}", CurRec.PetitionPeriod);
+                        strSQL += string.Format(", {0}", CurRec.OrderFlg);
+                        strSQL += string.Format(", '{0}'", CurRec.CorporateStatusName);
+                        strSQL += string.Format(", {0}", CurRec.CorporateStatusPoint);
+                        strSQL += string.Format(", '{0}'", CurRec.OrderersName1);
+                        strSQL += string.Format(", '{0}'", CurRec.OrderersName2);
+                        strSQL += string.Format(", '{0}'", CurRec.DepartmentName);
+                        strSQL += string.Format(", '{0}'", CurRec.ChargePersonName);
+                        strSQL += string.Format(", '{0}'", CurRec.ZipCode);
+                        strSQL += string.Format(", '{0}'", CurRec.Address1);
+                        strSQL += string.Format(", '{0}'", CurRec.Address2);
+                        strSQL += string.Format(", '{0}'", CurRec.Address3);
+                        strSQL += string.Format(", '{0}'", CurRec.PhoneNumber);
+                        strSQL += string.Format(", '{0}'", CurRec.FaxNumber);
+                        strSQL += string.Format(", '{0}'", CurRec.MailAddress);
+                        strSQL += string.Format(", '{0}'", CurRec.Note);
+                        strSQL += string.Format(", {0}", CurRec.OrderCotegory);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.OrderDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.OrderNo);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 日報データ(Dailydataconstruction)
+        /// <summary>
+        /// 日報データ(Dailydataconstruction)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDailydataconstruction(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IODailyDataConstruction InDB = new ProcessManagement.OracleDB.IOAccess.IODailyDataConstruction();
+            ProcessManagement.MySQLDB.IOAccess.IODailyDataConstruction OutDB = new ProcessManagement.MySQLDB.IOAccess.IODailyDataConstruction();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DailyDataConstruction> getList = new List<DailyDataConstruction>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IODailyDataConstruction.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DailyDataConstruction CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.DailyDataDate.ToShortDateString());  // 日報作成日
+                        strSQL += string.Format(", {0}", CurRec.ConstructionCode);                // 工事番号
+                        strSQL += string.Format(",'{0}'", CurRec.Weather);                        // 天気
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 日報データ (明細)(Dailydatadetail)
+        /// <summary>
+        /// 日報データ (明細)(Dailydatadetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDailydatadetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IODailyDataDetail InDB = new ProcessManagement.OracleDB.IOAccess.IODailyDataDetail();
+            ProcessManagement.MySQLDB.IOAccess.IODailyDataDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IODailyDataDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DailyDataDetail> getList = new List<DailyDataDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IODailyDataDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DailyDataDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.DailyDataDate.ToShortDateString());  // 日報作成日
+                        strSQL += string.Format(", {0}", CurRec.ConstructionCode);                // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                           // 明細行番号
+                        strSQL += string.Format(", {0}", CurRec.JobCategoryCode);                 // 職種キー
+                        strSQL += string.Format(", {0}", CurRec.CompanyCode);                     // 協力会社コード
+                        strSQL += string.Format(", {0}", CurRec.TodayHeadCount);                  // 当日人員数
+                        strSQL += string.Format(", {0}", CurRec.TotalHeadCount);                  // 累計人員数
+                        strSQL += string.Format(",'{0}'", CurRec.TodayWork);                      // 当日作業内容
+                        strSQL += string.Format(",'{0}'", CurRec.NextdayWork);                    // 翌日作業内容
+                        strSQL += string.Format(", {0}", CurRec.NextdayHeadCount);                // 翌日人員数
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 日報データ (現場巡回)(Dailydatafield)
+        /// <summary>
+        /// 日報データ (現場巡回)(Dailydatafield)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDailydatafield(int ino, ref string strMsg) 
+        {
+            ProcessManagement.OracleDB.IOAccess.IODailyDataField InDB = new ProcessManagement.OracleDB.IOAccess.IODailyDataField();
+            ProcessManagement.MySQLDB.IOAccess.IODailyDataField OutDB = new ProcessManagement.MySQLDB.IOAccess.IODailyDataField();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DailyDataField> getList = new List<DailyDataField>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IODailyDataField.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DailyDataField CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.DailyDataDate.ToShortDateString());  // 日報作成日
+                        strSQL += string.Format(", {0}", CurRec.ConstructionCode);                // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                           // 明細行番号
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                                    , CurRec.PatrolTime.ToString());              // 巡回時間
+                        strSQL += string.Format(",'{0}'", CurRec.ContentsText);                   // 内容
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 日報データ (資材)(Dailydatamaterials)
+        /// <summary>
+        /// 日報データ (資材)(Dailydatamaterials)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDailydatamaterials(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IODailyDataMaterials InDB = new ProcessManagement.OracleDB.IOAccess.IODailyDataMaterials();
+            ProcessManagement.MySQLDB.IOAccess.IODailyDataMaterials OutDB = new ProcessManagement.MySQLDB.IOAccess.IODailyDataMaterials();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DailyDataMaterials> getList = new List<DailyDataMaterials>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IODailyDataMaterials.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DailyDataMaterials CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.DailyDataDate.ToShortDateString());  // 日報作成日
+                        strSQL += string.Format(", {0}", CurRec.ConstructionCode);                // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                           // 明細行番号
+                        strSQL += string.Format(",'{0}'", CurRec.Materials);                      // 資材名
+                        strSQL += string.Format(",'{0}'", CurRec.Quantity);                       // 数量
+                        strSQL += string.Format(",'{0}'", CurRec.Production);                     // 制作会社
+                        strSQL += string.Format(",'{0}'", CurRec.Delivery);                       // 納入業者
+                        strSQL += string.Format(",'{0}'", CurRec.QualityControl);                 // 品質管理事項
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 日報データ (協力業者指示)(Dailydatasubcontractors)
+        /// <summary>
+        /// 日報データ (協力業者指示)(Dailydatasubcontractors)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDailydatasubcontractors(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IODailyDataSubcontractors InDB = new ProcessManagement.OracleDB.IOAccess.IODailyDataSubcontractors();
+            ProcessManagement.MySQLDB.IOAccess.IODailyDataSubcontractors OutDB = new ProcessManagement.MySQLDB.IOAccess.IODailyDataSubcontractors();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DailyDataSubcontractors> getList = new List<DailyDataSubcontractors>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IODailyDataSubcontractors.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DailyDataSubcontractors CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.DailyDataDate.ToShortDateString());  // 日報作成日
+                        strSQL += string.Format(", {0}", CurRec.ConstructionCode);                // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                           // 明細行番号
+
+                        strSQL += string.Format(",'{0}'", CurRec.Attendee);                       // 出席者
+                        strSQL += string.Format(",'{0}'", CurRec.ContentsText);                       // 内容
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 日報データ (車両)(Dailydatavehicles)
+        /// <summary>
+        /// 日報データ (車両)(Dailydatavehicles)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDailydatavehicles(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IODailyDataVehicles InDB = new ProcessManagement.OracleDB.IOAccess.IODailyDataVehicles();
+            ProcessManagement.MySQLDB.IOAccess.IODailyDataVehicles OutDB = new ProcessManagement.MySQLDB.IOAccess.IODailyDataVehicles();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DailyDataVehicles> getList = new List<DailyDataVehicles>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IODailyDataVehicles.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DailyDataVehicles CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.DailyDataDate.ToShortDateString());  // 日報作成日
+                        strSQL += string.Format(", {0}", CurRec.ConstructionCode);                // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                           // 明細行番号
+                        strSQL += string.Format(",'{0}'", CurRec.Model);                          // 機種
+                        strSQL += string.Format(",'{0}'", CurRec.Performance);                    // 性能
+                        strSQL += string.Format(",'{0}'", CurRec.Owner);                          // 所有会社
+                        strSQL += string.Format(",'{0}'", CurRec.Driver);                         // 当日運転者
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                                    , CurRec.StartWorkingTime.ToString());        // 作業時間開始
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                                    , CurRec.EndWorkingTime.ToString());          // 作業時間終了
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 部署経費率マスタ(Departmentexpensesmaster)
+        /// <summary>
+        /// 部署経費率マスタ(Departmentexpensesmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDepartmentexpensesmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMDepartmentExpenses InDB = new ProcessManagement.OracleDB.IOAccess.IOMDepartmentExpenses();
+            ProcessManagement.MySQLDB.IOAccess.IOMDepartmentExpenses OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMDepartmentExpenses();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DepartmentExpenses> getList = new List<DepartmentExpenses>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMDepartmentExpenses.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DepartmentExpenses CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.DepartmentCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ExpensesPeriod.ToString());
+                        strSQL += string.Format(", {0}", CurRec.NameCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ExpensesRatio.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 部署マスタ(Departmentmaster)
+        /// <summary>
+        /// 部署マスタ(Departmentmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDepartmentmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMDepartment InDB = new ProcessManagement.OracleDB.IOAccess.IOMDepartment();
+            ProcessManagement.MySQLDB.IOAccess.IOMDepartment OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMDepartment();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DepartmentMaster> getList = new List<DepartmentMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMDepartment.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DepartmentMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.DepartmentCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.DepartmentString.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ActionScheduleFlg.ToString());
+                        strSQL += string.Format(", {0}", CurRec.StaffAssignFlg.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 区分マスタ(Divisionmaster)
+        /// <summary>
+        /// 区分マスタ(Divisionmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvDivisionmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMDivision InDB = new ProcessManagement.OracleDB.IOAccess.IOMDivision();
+            ProcessManagement.MySQLDB.IOAccess.IOMDivision OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMDivision();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<DivisionMaster> getList = new List<DivisionMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMDivision.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        DivisionMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.DivisionCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.NameCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.NameString.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 積算予算書データ(Estimatebudget)
+        /// <summary>
+        /// 積算予算書データ(Estimatebudget)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvEstimatebudget(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOEstimateBudget InDB = new ProcessManagement.OracleDB.IOAccess.IOEstimateBudget();
+            ProcessManagement.MySQLDB.IOAccess.IOEstimateBudget OutDB = new ProcessManagement.MySQLDB.IOAccess.IOEstimateBudget();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<EstimateBudget> getList = new List<EstimateBudget>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOEstimateBudget.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        EstimateBudget CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);                    // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.ConstructionTime);	                // 工期
+                        strSQL += string.Format(", {0}", CurRec.IntegratedCode);                      // 積算者
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')",
+                                                        CurRec.DataCreateDate.ToShortDateString());   // データ引込日
+                        strSQL += string.Format(", {0}", CurRec.RetValue1);                           // 予定価格
+                        strSQL += string.Format(", {0}", CurRec.RetValue2);                           // 直接工事費
+                        strSQL += string.Format(", {0}", CurRec.RetValue3);                           // 積み上げ共通仮設費
+                        strSQL += string.Format(", {0}", CurRec.RetValue4);                           // 積み上げ現場管理費
+                        strSQL += string.Format(", {0}", CurRec.RetPercent);                          // 一般管理費率
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 積算予算内訳データ明細(Estimatebudgetdetail)
+        /// <summary>
+        /// 積算予算内訳データ明細(Estimatebudgetdetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvEstimatebudgetdetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOEstimateBudgetDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOEstimateBudgetDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOEstimateBudgetDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOEstimateBudgetDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<EstimateBudgetDetail> getList = new List<EstimateBudgetDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOEstimateBudgetDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        EstimateBudgetDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);        // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.GroupCount);              // グループ番号
+                        strSQL += string.Format(", {0}", CurRec.LineCount);               // 行番号
+                        strSQL += string.Format(", {0}", CurRec.ComponentCode);           // 構成キー
+                        strSQL += string.Format(", {0}", CurRec.ItemCode);		        // 工種キー
+                        strSQL += string.Format(", {0}", CurRec.CompanyCode);             // 協力会社コード
+                        strSQL += string.Format(",'{0}'", CurRec.FirstString);            // 構成名称
+                        strSQL += string.Format(",'{0}'", CurRec.SecondString);           // 工種名称・協力会社名
+                        strSQL += string.Format(", {0}", CurRec.EstimatePrice);           // 見積時金額
+                        strSQL += string.Format(", {0}", CurRec.NegotiationPrice);        // 交渉時金額
+                        strSQL += string.Format(",'{0}'", CurRec.Notes);                  // 注意事項
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積データ(Estimatedata)
+        /// <summary>
+        /// 積算見積データ(Estimatedata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvEstimatedata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOEstimateData InDB = new ProcessManagement.OracleDB.IOAccess.IOEstimateData();
+            ProcessManagement.MySQLDB.IOAccess.IOEstimateData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOEstimateData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<EstimateData> getList = new List<EstimateData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOEstimateData.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        EstimateData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);        // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.LineCount);               // 行番号
+                        strSQL += string.Format(", {0}", CurRec.ComponentCode);           // 構成キー
+                        strSQL += string.Format(",'{0}'", CurRec.FixedItemCode);		    // 固定項目キー
+                        strSQL += string.Format(",'{0}'", CurRec.ItemName.Replace(",", "，"));     // 作業名称
+                        strSQL += string.Format(",'{0}'", CurRec.SpecName.Replace(",", "，"));     // 品質・形状・寸法
+                        strSQL += string.Format(", {0}", CurRec.PriceValue);                      // 金額
+                        strSQL += string.Format(",'{0}'", CurRec.Note.Replace(",", "，"));		// 備考
+                        strSQL += string.Format(", {0}", CurRec.MyExpensesFlg);           // 自社経費フラグ
+                        strSQL += string.Format(", {0}", CurRec.InputFlg);                // 入力フラグ
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積ページデータ(Estimatedatabody)
+        /// <summary>
+        /// 積算見積ページデータ(Estimatedatabody)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvEstimatedatabody(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody InDB = new ProcessManagement.OracleDB.IOAccess.IOEstimateDataBody();
+            ProcessManagement.MySQLDB.IOAccess.IOEstimateDataBody OutDB = new ProcessManagement.MySQLDB.IOAccess.IOEstimateDataBody();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<EstimateDataBody> getList = new List<EstimateDataBody>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOEstimateDataBody.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        EstimateDataBody CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);    // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.PageCount);		    // ページ番号
+                        strSQL += string.Format(", {0}", CurRec.Category);		    // ページ区分
+                        strSQL += string.Format(", {0}", CurRec.UnionComponentCode);	// 所属構成キー
+                        strSQL += string.Format(", {0}", CurRec.ComponentCode);	    // 構成キー
+                        strSQL += string.Format(", {0}", CurRec.ItemCode);		    // 工種キー
+                        strSQL += string.Format(", {0}", CurRec.SelectComponent);	    // 選択構成キー
+                        strSQL += string.Format(",'{0}'", CurRec.PageTitle);	        // ページ表示名
+                        strSQL += string.Format(", {0}", CurRec.DetailLineCount);     // 明細行番号
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積データ明細(Estimatedatadetail)
+        /// <summary>
+        /// 積算見積データ明細(Estimatedatadetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvEstimatedatadetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOEstimateDataDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOEstimateDataDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOEstimateDataDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<EstimateDataDetail> getList = new List<EstimateDataDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOEstimateDataDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        EstimateDataDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);    // 工事番号
+                        strSQL += string.Format(", {0}", CurRec.PageCount);		    // ページ番号
+                        strSQL += string.Format(", {0}", CurRec.LineCount);		    // 行番号
+                        strSQL += string.Format(", {0}", CurRec.DataType);		    // データタイプ
+                        strSQL += string.Format(", {0}", CurRec.ComponentCode);	    // 構成キー
+                        strSQL += string.Format(", {0}", CurRec.ItemCode);		    // 工種キー
+                        strSQL += string.Format(", {0}", CurRec.SpecCode);		    // 規格・寸法キー
+                        strSQL += string.Format(",'{0}'", CurRec.ItemName.Replace(",", "，").Replace("'", "’"));		    // 作業名称
+                        strSQL += string.Format(",'{0}'", CurRec.SpecName.Replace(",", "，").Replace("'", "’"));		    // 作業／品質・形状・寸法
+                        strSQL += string.Format(", {0}", CurRec.UnitCount);		    // 数量
+                        strSQL += string.Format(",'{0}'", CurRec.UnitName);		    // 単位
+                        strSQL += string.Format(", {0}", CurRec.UnitPrice);		    // 単価
+                        strSQL += string.Format(", {0}", CurRec.LineTotal);		    // 金額
+                        strSQL += string.Format(",'{0}'", CurRec.Note.Replace(",", "，").Replace("'", "’"));			    // 備考
+                        strSQL += string.Format(", {0}", CurRec.CompanyCode);		    // 協力会社コード
+                        strSQL += string.Format(", {0}", CurRec.MyExpensesFlg);       // 自社経費フラグ
+                        strSQL += string.Format(", {0}", CurRec.InputFlg);            // 入力フラグ
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 会社休日マスタ(Holidaycalendermaster)
+        /// <summary>
+        /// 会社休日マスタ(Holidaycalendermaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvHolidaycalendermaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMHolidayCalender InDB = new ProcessManagement.OracleDB.IOAccess.IOMHolidayCalender();
+            ProcessManagement.MySQLDB.IOAccess.IOMHolidayCalender OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMHolidayCalender();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<HolidayCalenderMaster> getList = new List<HolidayCalenderMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMHolidayCalender.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        HolidayCalenderMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.Holiday.ToShortDateString());
+                        strSQL += string.Format(" ,{0}", CurRec.BusinessYear.ToString());
+                        strSQL += string.Format(" ,{0}", CurRec.TargetMonth.ToString());
+                        strSQL += string.Format(" ,{0}", CurRec.TargetDay.ToString());
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 入力時検索履歴(Inputsearchlogdata)
+        /// <summary>
+        /// 入力時検索履歴(Inputsearchlogdata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvInputsearchlogdata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOInputSearchLogData InDB = new ProcessManagement.OracleDB.IOAccess.IOInputSearchLogData();
+            ProcessManagement.MySQLDB.IOAccess.IOInputSearchLogData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOInputSearchLogData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<InputSearchLogData> getList = new List<InputSearchLogData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOInputSearchLogData.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        InputSearchLogData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);
+                        strSQL += string.Format(", {0}", CurRec.UsedProcessNo);
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder);
+                        strSQL += string.Format(", {0}", CurRec.DataType);
+                        strSQL += string.Format(", {0}", CurRec.InputCode);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 掲示板メッセージ(Messageboarddata)
+        /// <summary>
+        /// 掲示板メッセージ(Messageboarddata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvMessageboarddata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMessageBoardData InDB = new ProcessManagement.OracleDB.IOAccess.IOMessageBoardData();
+            ProcessManagement.MySQLDB.IOAccess.IOMessageBoardData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMessageBoardData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<MessageBoardData> getList = new List<MessageBoardData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMessageBoardData.ColumnCnt)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        MessageBoardData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0} ", CurRec.RecordNumber.ToString());
+                        strSQL += string.Format(", {0} ", CurRec.BranchNumber.ToString());
+                        strSQL += string.Format(", {0} ", CurRec.FromCode);
+                        strSQL += string.Format(",'{0}'", CurRec.FromName);
+                        strSQL += string.Format(",'{0}'", CurRec.MessageTitle);
+                        strSQL += string.Format(",'{0}'", CurRec.MessageContent);
+                        strSQL += string.Format(", {0} ", CurRec.LinkType);
+                        strSQL += string.Format(",'{0}'", CurRec.LinkMessage);
+                        strSQL += string.Format(",'{0}'", CurRec.LinkCode);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.WritingDate.ToString());
+                        strSQL += string.Format(", {0} ", CurRec.PersonCode.ToString());
+                        strSQL += string.Format(", {0} ", CurRec.ShareFlag.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.MessageColor);
+                        strSQL += string.Format(",'{0}'", CurRec.BackColor);
+                        strSQL += string.Format(", {0} ", CurRec.MessageFlag.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 掲示板対象者テーブル(Messageboardterget)
+        /// <summary>
+        /// 掲示板対象者テーブル(Messageboardterget)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvMessageboardterget(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMessageBoardTerget InDB = new ProcessManagement.OracleDB.IOAccess.IOMessageBoardTerget();
+            ProcessManagement.MySQLDB.IOAccess.IOMessageBoardTerget OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMessageBoardTerget();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<MessageBoardTerget> getList = new List<MessageBoardTerget>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMessageBoardTerget.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        MessageBoardTerget CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0} ", CommonMotions.cnvInt(CurRec.RecordNumber.ToString()));
+                        strSQL += string.Format(", {0} ", CommonMotions.cnvInt(CurRec.BranchNumber.ToString()));
+                        strSQL += string.Format(", {0} ", CurRec.SeqNum);
+                        strSQL += string.Format(", {0} ", CurRec.ToCode);
+                        strSQL += string.Format(",'{0}'", CurRec.ToName.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 掲示板メッセージ閲覧履歴(Messagebrowsinghistory)
+        /// <summary>
+        /// 掲示板メッセージ閲覧履歴(Messagebrowsinghistory)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvMessagebrowsinghistory(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMessageBrowsingHistory InDB = new ProcessManagement.OracleDB.IOAccess.IOMessageBrowsingHistory();
+            ProcessManagement.MySQLDB.IOAccess.IOMessageBrowsingHistory OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMessageBrowsingHistory();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<MessageBrowsingHistory> getList = new List<MessageBrowsingHistory>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMessageBrowsingHistory.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        MessageBrowsingHistory CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0} ", CommonMotions.cnvInt(CurRec.RecordNumber.ToString()));
+                        strSQL += string.Format(", {0} ", CommonMotions.cnvInt(CurRec.BranchNumber.ToString()));
+                        strSQL += string.Format(", {0} ", CurRec.SeqNum);
+                        strSQL += string.Format(", {0} ", CurRec.BrowsingCode);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.BrowsingDate.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ(Orderersmaster)
+        /// <summary>
+        /// 発注者マスタ(Orderersmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvOrderersmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMOrderers InDB = new ProcessManagement.OracleDB.IOAccess.IOMOrderers();
+            ProcessManagement.MySQLDB.IOAccess.IOMOrderers OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMOrderers();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<OrderersMaster> getList = new List<OrderersMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMOrderers.OrderersColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        OrderersMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.OrderCategory);
+                        strSQL += string.Format(", {0}", CurRec.OrderersCode);
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder);
+                        strSQL += string.Format(", {0}", CurRec.OrderFlg);
+                        strSQL += string.Format(",'{0}'", CurRec.CorporateStatusName);
+                        strSQL += string.Format(", {0}", CurRec.CorporateStatusPoint);
+                        strSQL += string.Format(",'{0}'", CurRec.OrderersName1);
+                        strSQL += string.Format(",'{0}'", CurRec.OrderersName2);
+                        strSQL += string.Format(",'{0}'", CurRec.DepartmentName);
+                        strSQL += string.Format(",'{0}'", CurRec.ChargePersonName);
+                        strSQL += string.Format(",'{0}'", CurRec.ZipCode);
+                        strSQL += string.Format(",'{0}'", CurRec.Address1);
+                        strSQL += string.Format(",'{0}'", CurRec.Address2);
+                        strSQL += string.Format(",'{0}'", CurRec.Address3);
+                        strSQL += string.Format(",'{0}'", CurRec.PhoneNumber);
+                        strSQL += string.Format(",'{0}'", CurRec.FaxNumber);
+                        strSQL += string.Format(",'{0}'", CurRec.Note);
+                        strSQL += string.Format(",'{0}'", CurRec.MailAddress);
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 受注金額データ(Orderspricedata)
+        /// <summary>
+        /// 受注金額データ(Orderspricedata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvOrderspricedata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOOrdersPriceData InDB = new ProcessManagement.OracleDB.IOAccess.IOOrdersPriceData();
+            ProcessManagement.MySQLDB.IOAccess.IOOrdersPriceData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOOrdersPriceData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<OrdersPriceData> getList = new List<OrdersPriceData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOOrdersPriceData.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        OrdersPriceData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);                    // 工事コード
+                        strSQL += string.Format(", {0}", CurRec.ChangeNo);	                        // 変更番号
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ChangeDate.ToShortDateString());	    // 変更日
+                        strSQL += string.Format(", {0}", CurRec.ChangePersonCode);                    // 変更者コード
+                        strSQL += string.Format(",'{0}'", CurRec.ChangePersonName);                   // 変更者名
+                        strSQL += string.Format(", {0}", CurRec.BeforeValue);                         // 変更前税抜受注金額
+                        strSQL += string.Format(", {0}", CurRec.BeforeValueInTax);                    // 　〃　税込受注金額
+                        strSQL += string.Format(", {0}", CurRec.AfterValue);                          // 変更後税抜受注金額
+                        strSQL += string.Format(", {0}", CurRec.AfterValueInTax);                     // 　〃　税込受注金額
+                        strSQL += string.Format(",'{0}'", CurRec.ChangeComment);                      // 変更理由
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 担当者承認データ(Personapproval)
+        /// <summary>
+        /// 担当者承認データ(Personapproval)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvPersonapproval(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOPersonApproval InDB = new ProcessManagement.OracleDB.IOAccess.IOPersonApproval();
+            ProcessManagement.MySQLDB.IOAccess.IOPersonApproval OutDB = new ProcessManagement.MySQLDB.IOAccess.IOPersonApproval();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<PersonApproval> getList = new List<PersonApproval>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOPersonApproval.ColumnName)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        PersonApproval CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalCode.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.OrderDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.OrderNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.PersonCodeApproval.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.PetitionApprovalDate.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.ApprovalLimitDates.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalStatus.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 担当者承認コメントデータ(Personapprovalcomment)
+        /// <summary>
+        /// 担当者承認コメントデータ(Personapprovalcomment)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvPersonapprovalcomment(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOPersonApprovalComment InDB = new ProcessManagement.OracleDB.IOAccess.IOPersonApprovalComment();
+            ProcessManagement.MySQLDB.IOAccess.IOPersonApprovalComment OutDB = new ProcessManagement.MySQLDB.IOAccess.IOPersonApprovalComment();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<PersonApprovalComment> getList = new List<PersonApprovalComment>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOPersonApprovalComment.ColumnName)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        PersonApprovalComment CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalCode.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.OrderDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.OrderNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.CommentNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ParentNo.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.ApproValComment.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ(Persondepartmentmaster)
+        /// <summary>
+        /// 担当者対象部署マスタ(Persondepartmentmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvPersondepartmentmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMPersonDepartment InDB = new ProcessManagement.OracleDB.IOAccess.IOMPersonDepartment();
+            ProcessManagement.MySQLDB.IOAccess.IOMPersonDepartment OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMPersonDepartment();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<PersonDepartmentMaster> getList = new List<PersonDepartmentMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMPersonDepartment.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        PersonDepartmentMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);
+                        strSQL += string.Format(", {0}", CurRec.DepartmentCode);
+
+                        strSQL += string.Format(", {0}", CurRec.AffiliationFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ(Personinchargemaster)
+        /// <summary>
+        /// 担当者マスタ(Personinchargemaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvPersoninchargemaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMPersonInCharge InDB = new ProcessManagement.OracleDB.IOAccess.IOMPersonInCharge();
+            ProcessManagement.MySQLDB.IOAccess.IOMPersonInCharge OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMPersonInCharge();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<PersonInChargeMaster> getList = new List<PersonInChargeMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMPersonInCharge.ColumnCnt)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        PersonInChargeMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder);
+                        strSQL += string.Format(", '{0}'", CurRec.PersonName);
+                        strSQL += string.Format(", STR_TO_DATE('{0}' ,'%Y/%m/%d')", CurRec.StartDate.ToShortDateString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}' ,'%Y/%m/%d')", CurRec.EndDate.ToShortDateString());
+                        strSQL += string.Format(", '{0}'", CurRec.PassWord);
+                        strSQL += string.Format(", {0}", CurRec.SecurityManagement);
+                        strSQL += string.Format(", {0}", CurRec.SecCode);
+                        strSQL += string.Format(", '{0}'", CurRec.MsgBackColor);
+                        strSQL += string.Format(", '{0}'", CurRec.DisplayString);
+                        strSQL += string.Format(", {0}", CurRec.DepartmentCode);
+                        strSQL += string.Format(", {0}", CurRec.MonthlySalary);
+                        strSQL += string.Format(", {0}", CurRec.YearSalary);
+                        strSQL += string.Format(", '{0}'", CurRec.Qualification);
+                        strSQL += string.Format(", '{0}'", CurRec.SealPrintName);
+                        strSQL += string.Format(", {0}", CurRec.EmployeeClassFlg);
+                        strSQL += string.Format(", {0}", CurRec.LedgerFlg);
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ(Personsalarymaster)
+        /// <summary>
+        /// 担当者給与マスタ(Personsalarymaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvPersonsalarymaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMPersonSalary InDB = new ProcessManagement.OracleDB.IOAccess.IOMPersonSalary();
+            ProcessManagement.MySQLDB.IOAccess.IOMPersonSalary OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMPersonSalary();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<PersonSalaryMaster> getList = new List<PersonSalaryMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMPersonSalary.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        PersonSalaryMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);
+                        strSQL += string.Format(", STR_TO_DATE('{0}' ,'%Y/%m/%d')", CurRec.StartDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.MonthlySalary);
+                        strSQL += string.Format(", {0}", CurRec.YearSalary);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 発注者打ち合わせ議事録データ(Proceedingsdata)
+        /// <summary>
+        /// 発注者打ち合わせ議事録データ(Proceedingsdata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvProceedingsdata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOProceedingsData InDB = new ProcessManagement.OracleDB.IOAccess.IOProceedingsData();
+            ProcessManagement.MySQLDB.IOAccess.IOProceedingsData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOProceedingsData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ProceedingsData> getList = new List<ProceedingsData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOProceedingsData.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ProceedingsData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("{0}", CurRec.ConstructionCode);                      // 工事番号
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+                        strSQL += string.Format(", {0}", CurRec.StartMeetingTime);                    // 会議時間開始
+                        strSQL += string.Format(", {0}", CurRec.EndMeetingTime);                      // 会議時間終了
+                        strSQL += string.Format(", {0}", CurRec.CreatorCode);                         // 作成者コード
+                        strSQL += string.Format(", {0}", CurRec.PalceFlag);                           // 現地フラグ
+                        strSQL += string.Format(",'{0}'", CurRec.MeetingPalce);                       // 打合せ場所１
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 発注者打ち合わせ議事録データ（出席者）(Proceedingsdataattend)
+        /// <summary>
+        /// 発注者打ち合わせ議事録データ（出席者）(Proceedingsdataattend)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvProceedingsdataattend(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOProceedingsDataAttend InDB = new ProcessManagement.OracleDB.IOAccess.IOProceedingsDataAttend();
+            ProcessManagement.MySQLDB.IOAccess.IOProceedingsDataAttend OutDB = new ProcessManagement.MySQLDB.IOAccess.IOProceedingsDataAttend();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ProceedingsDataAttend> getList = new List<ProceedingsDataAttend>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOProceedingsDataAttend.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ProceedingsDataAttend CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.ConstructionCode);                     // 工事番号
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+                        strSQL += string.Format(", {0}", CurRec.StartMeetingTime);                    // 会議時間開始
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                               // データ行番号
+                        strSQL += string.Format(",'{0}'", CurRec.Department);                         // 出席者所属
+                        strSQL += string.Format(",'{0}'", CurRec.AttendName);                         // 出席者氏名
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 発注者打ち合わせ議事録データ（明細）(Proceedingsdatadetail)
+        /// <summary>
+        /// 発注者打ち合わせ議事録データ（明細）(Proceedingsdatadetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvProceedingsdatadetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOProceedingsDataDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOProceedingsDataDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOProceedingsDataDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOProceedingsDataDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ProceedingsDataDetail> getList = new List<ProceedingsDataDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOProceedingsDataDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ProceedingsDataDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.ConstructionCode);                     // 工事番号
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+                        strSQL += string.Format(", {0}", CurRec.StartMeetingTime);                    // 会議時間開始
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                               // データ行番号
+                        strSQL += string.Format(",'{0}'", CurRec.TitleNo);                            // 議題番号
+                        strSQL += string.Format(",'{0}'", CurRec.Title);                              // 議題
+                        strSQL += string.Format(",'{0}'", CurRec.ContentsText);                       // 内容
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 承認データ(Processapproval)
+        /// <summary>
+        /// 承認データ(Processapproval)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvProcessapproval(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOProcessApproval InDB = new ProcessManagement.OracleDB.IOAccess.IOProcessApproval();
+            ProcessManagement.MySQLDB.IOAccess.IOProcessApproval OutDB = new ProcessManagement.MySQLDB.IOAccess.IOProcessApproval();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ProcessApproval> getList = new List<ProcessApproval>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOProcessApproval.ColumnName)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ProcessApproval CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.OrderNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.PersonCode.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.PetitionApprovalDate.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.ApprovalLimitDates.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalStatus.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.InputComment.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ(Processapprovalcomment)
+        /// <summary>
+        /// 承認コメントデータ(Processapprovalcomment)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvProcessapprovalcomment(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOProcessApprovalComment InDB = new ProcessManagement.OracleDB.IOAccess.IOProcessApprovalComment();
+            ProcessManagement.MySQLDB.IOAccess.IOProcessApprovalComment OutDB = new ProcessManagement.MySQLDB.IOAccess.IOProcessApprovalComment();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ProcessApprovalComment> getList = new List<ProcessApprovalComment>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOProcessApprovalComment.ColumnName)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ProcessApprovalComment CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.OrderNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.CommentNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ParentNo.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.ApproValComment.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 承認明細データ(Processapprovaldetail)
+        /// <summary>
+        /// 承認明細データ(Processapprovaldetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvProcessapprovaldetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOProcessApprovalDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOProcessApprovalDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOProcessApprovalDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOProcessApprovalDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ProcessApprovalDetail> getList = new List<ProcessApprovalDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOProcessApprovalDetail.ColumnName)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ProcessApprovalDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ApprovalCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.OrderNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.SerialNo.ToString());
+                        strSQL += string.Format(", {0}", CurRec.LinkCode.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ(Processexcutemaster)
+        /// <summary>
+        /// 起動対象マスタ(Processexcutemaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvProcessexcutemaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMProcessExcute InDB = new ProcessManagement.OracleDB.IOAccess.IOMProcessExcute();
+            ProcessManagement.MySQLDB.IOAccess.IOMProcessExcute OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMProcessExcute();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<ProcessExcute> getList = new List<ProcessExcute>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMProcessExcute.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        ProcessExcute CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += CurRec.SecCode.ToString();
+                        strSQL += ", " + CurRec.ExecCode.ToString();
+                        strSQL += ", " + CurRec.EditFlg.ToString();
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 注文書データ(Purchaseorder)
+        /// <summary>
+        /// 注文書データ(Purchaseorder)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvPurchaseorder(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOPurchaseOrder InDB = new ProcessManagement.OracleDB.IOAccess.IOPurchaseOrder();
+            ProcessManagement.MySQLDB.IOAccess.IOPurchaseOrder OutDB = new ProcessManagement.MySQLDB.IOAccess.IOPurchaseOrder();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<PurchaseOrder> getList = new List<PurchaseOrder>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOPurchaseOrder.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        PurchaseOrder CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.ConstructionCode);                     // 工事番号
+                        strSQL += string.Format(",{0}", CurRec.SeqNo);                                // 注文書枝番
+
+                        strSQL += string.Format(",{0}", CurRec.CompanyCode);                          // 協力会社コード
+                        strSQL += string.Format(",STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        CurRec.CreateDate.ToShortDateString());       // 作成日付
+                        strSQL += string.Format(",{0}", CurRec.OrderPrice);                           // 発注金額
+                        strSQL += string.Format(",STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        CurRec.LastRowStringDate.ToShortDateString());// 最終行表示日付
+
+                        strSQL += string.Format(",{0}", CurRec.OrderSheetType);                       // 簡易・本式フラグ
+                        strSQL += string.Format(",{0}", CurRec.PaymentTerms);                         // 支払い条件
+                        strSQL += string.Format(",{0}", CurRec.CashRatio);                            // 現金割合（％）
+                        strSQL += string.Format(",{0}", CurRec.BillPeriod);                           // 手形期間
+
+                        strSQL += string.Format(",{0}", CurRec.PrePayments);                          // 前金払
+                        strSQL += string.Format(",{0}", CurRec.PrePaymentsDays);                      // 前金払日数
+                        strSQL += string.Format(",{0}", CurRec.PrePaymentsPrice);                     // 前金払金額
+                        strSQL += string.Format(",{0}", CurRec.PartialPayment);                       // 部分払
+                        strSQL += string.Format(",{0}", CurRec.PartialPaymentMounth);                 // 部分払締切月
+                        strSQL += string.Format(",{0}", CurRec.PartialPaymentDay1);                   // 部分払締切日
+                        strSQL += string.Format(",{0}", CurRec.PartialPaymentDay2);                   // 部分払支払日
+                        strSQL += string.Format(",{0}", CurRec.PartialPaymentPrice);                  // 部分払金額
+                        strSQL += string.Format(",{0}", CurRec.CompletionPayment);                    // 引渡し時の支払
+                        strSQL += string.Format(",{0}", CurRec.CompletionPaymentDays);                // 引渡し時の支払日数
+                        strSQL += string.Format(",{0}", CurRec.CompletionPaymentPrice);               // 引渡し時の支払金額
+                        strSQL += string.Format(",{0}", CurRec.LeadEngineerCode);                     // 主任技術者コード
+                        strSQL += string.Format(",'{0}'", CurRec.LeadEngineerName);                   // 主任技術者名
+                        strSQL += string.Format(",{0}", CurRec.SafetyOfficerCode);                    // 安全管理者コード
+                        strSQL += string.Format(",'{0}'", CurRec.SafetyOfficerName);                  // 安全管理者名
+                        strSQL += string.Format(",{0}", CurRec.WorkersCount);                         // 作業員数
+                        strSQL += string.Format(",STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        CurRec.PrintoutDate.ToShortDateString());     // 印刷年月日
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ(Purchaseorderdetail)
+        /// <summary>
+        /// 注文書明細データ(Purchaseorderdetail)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvPurchaseorderdetail(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOPurchaseOrderDetail InDB = new ProcessManagement.OracleDB.IOAccess.IOPurchaseOrderDetail();
+            ProcessManagement.MySQLDB.IOAccess.IOPurchaseOrderDetail OutDB = new ProcessManagement.MySQLDB.IOAccess.IOPurchaseOrderDetail();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<PurchaseOrderDetail> getList = new List<PurchaseOrderDetail>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOPurchaseOrderDetail.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        PurchaseOrderDetail CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.ConstructionCode);        // 工事番号
+
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);                   // 注文書枝番
+                        strSQL += string.Format(", {0}", CurRec.GroupCount);              // グループ番号
+                        strSQL += string.Format(", {0}", CurRec.LineCount);               // 行番号
+                        strSQL += string.Format(", {0}", CurRec.ComponentCode);           // 構成キー
+                        strSQL += string.Format(", {0}", CurRec.ItemCode);		        // 工種キー
+                        strSQL += string.Format(",'{0}'", CurRec.FirstString);            // 工種・品名
+                        strSQL += string.Format(",'{0}'", CurRec.SecondString);           // 内容内訳
+                        strSQL += string.Format(", {0}", CurRec.UnitCount);		        // 数量
+                        strSQL += string.Format(",'{0}'", CurRec.UnitName);		        // 単位
+                        strSQL += string.Format(", {0}", CurRec.UnitPrice);		        // 単価
+                        strSQL += string.Format(", {0}", CurRec.OrdersLinePrice);         // 金額
+                        strSQL += string.Format(", {0}", CurRec.SourceCode);              // 予算作成時工事番号
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 売上グラフデータ(Salesgraphdata)
+        /// <summary>
+        /// 売上グラフデータ(Salesgraphdata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSalesgraphdata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOSalesGraphData InDB = new ProcessManagement.OracleDB.IOAccess.IOSalesGraphData();
+            ProcessManagement.MySQLDB.IOAccess.IOSalesGraphData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOSalesGraphData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SalesGraphData> getList = new List<SalesGraphData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOSalesGraphData.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SalesGraphData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.GraphDataCode.ToString());
+                        strSQL += string.Format(",{0}", CurRec.ConstructionPeriod.ToString());
+                        strSQL += string.Format(",DATE_FORMAT('{0}','%Y/%m/%d')", CurRec.SalesDataDays.ToShortDateString());
+                        strSQL += string.Format(",{0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.DataName);
+                        strSQL += string.Format(",{0}", CurRec.SalesAmount.ToString());
+                        strSQL += string.Format(",{0}", CurRec.AdministrativeExpense.ToString());
+                        strSQL += string.Format(",{0}", CurRec.GrossProfit.ToString());
+                        strSQL += string.Format(",{0}", CurRec.NetIncome.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ(Securitymaster)
+        /// <summary>
+        /// 保護区分マスタ(Securitymaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSecuritymaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMSecurity InDB = new ProcessManagement.OracleDB.IOAccess.IOMSecurity();
+            ProcessManagement.MySQLDB.IOAccess.IOMSecurity OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMSecurity();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SecurityMaster> getList = new List<SecurityMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMSecurity.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SecurityMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += CurRec.SecCode.ToString();
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder);
+                        strSQL += string.Format(",'{0}'", CurRec.SecName);
+                        strSQL += string.Format(", {0}", CurRec.SecRank);
+                        strSQL += string.Format(", {0}", CurRec.SecRange);
+                        strSQL += string.Format(", {0}", CurRec.GeneralAffairs);
+                        strSQL += string.Format(",'{0}'", CurRec.SelectBackColor);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ(Subconstrjobitemregist)
+        /// <summary>
+        /// 協力業者施工工種登録申請データ(Subconstrjobitemregist)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSubconstrjobitemregist(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOSubConstrJobItemRegist InDB = new ProcessManagement.OracleDB.IOAccess.IOSubConstrJobItemRegist();
+            ProcessManagement.MySQLDB.IOAccess.IOSubConstrJobItemRegist OutDB = new ProcessManagement.MySQLDB.IOAccess.IOSubConstrJobItemRegist();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SubConstrJobItemRegist> getList = new List<SubConstrJobItemRegist>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOSubConstrJobItemRegist.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SubConstrJobItemRegist CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')" + CurRec.CreateDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ItemCode.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ(Subconstrjoblinkregist)
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ(Subconstrjoblinkregist)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSubconstrjoblinkregist(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOSubConstrJobLinkRegist InDB = new ProcessManagement.OracleDB.IOAccess.IOSubConstrJobLinkRegist();
+            ProcessManagement.MySQLDB.IOAccess.IOSubConstrJobLinkRegist OutDB = new ProcessManagement.MySQLDB.IOAccess.IOSubConstrJobLinkRegist();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SubConstrJobLinkRegist> getList = new List<SubConstrJobLinkRegist>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOSubConstrJobLinkRegist.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SubConstrJobLinkRegist CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')" + CurRec.CreateDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", {0}", CurRec.JobCategoryCode.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ(Subconstrregist)
+        /// <summary>
+        /// 協力業者登録申請データ(Subconstrregist)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSubconstrregist(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOSubConstrRegist InDB = new ProcessManagement.OracleDB.IOAccess.IOSubConstrRegist();
+            ProcessManagement.MySQLDB.IOAccess.IOSubConstrRegist OutDB = new ProcessManagement.MySQLDB.IOAccess.IOSubConstrRegist();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SubConstrRegist> getList = new List<SubConstrRegist>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOSubConstrRegist.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SubConstrRegist CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.CreateDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo);
+                        strSQL += string.Format(", {0}", CurRec.DataMode);
+                        strSQL += string.Format(", {0}", CurRec.SourceCode);
+                        strSQL += string.Format(", {0}", CurRec.PetitionPeriod);
+
+                        strSQL += string.Format(", '{0}'", CurRec.CorporateStatusName);
+                        strSQL += string.Format(", {0}", CurRec.CorporateStatusPoint);
+                        strSQL += string.Format(", '{0}'", CurRec.CompanyName);
+                        strSQL += string.Format(", '{0}'", CurRec.CEOPositionName);
+                        strSQL += string.Format(", '{0}'", CurRec.CEOName);
+                        strSQL += string.Format(", '{0}'", CurRec.ContactPersonName);
+                        strSQL += string.Format(", '{0}'", CurRec.ZipCode);
+                        strSQL += string.Format(", '{0}'", CurRec.Address1);
+                        strSQL += string.Format(", '{0}'", CurRec.Address2);
+                        strSQL += string.Format(", '{0}'", CurRec.Address3);
+                        strSQL += string.Format(", '{0}'", CurRec.CellPhoneNumber);
+                        strSQL += string.Format(", '{0}'", CurRec.MailAddress);
+                        strSQL += string.Format(", '{0}'", CurRec.PhoneNumber);
+                        strSQL += string.Format(", '{0}'", CurRec.FaxNumber);
+                        strSQL += string.Format(", '{0}'", CurRec.JapaneseSyllabary);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.StartDate.ToShortDateString());
+                        strSQL += string.Format(", '{0}'", CurRec.Note);
+                        strSQL += string.Format(",  {0} ", CurRec.labourKind.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.OrderDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.OrderNo);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 協力会社工種マスタ(Subcontractoritemmaster)
+        /// <summary>
+        /// 協力会社工種マスタ(Subcontractoritemmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSubcontractoritemmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMSubContractorItem InDB = new ProcessManagement.OracleDB.IOAccess.IOMSubContractorItem();
+            ProcessManagement.MySQLDB.IOAccess.IOMSubContractorItem OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMSubContractorItem();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SubContractorItemMaster> getList = new List<SubContractorItemMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMSubContractorItem.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SubContractorItemMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.ItemCode.ToString());
+                        strSQL += string.Format(" ,{0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(" ,'{0}'", CurRec.ItemName);
+                        strSQL += string.Format(" ,{0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種マスタ(Subcontractorjobcategory)
+        /// <summary>
+        /// 協力会社職種マスタ(Subcontractorjobcategory)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSubcontractorjobcategory(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMSubContractorJobCategory InDB = new ProcessManagement.OracleDB.IOAccess.IOMSubContractorJobCategory();
+            ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobCategory OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobCategory();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SubContractorJobCategory> getList = new List<SubContractorJobCategory>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobCategory.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SubContractorJobCategory CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.JobCategoryCode.ToString());
+                        strSQL += string.Format(" ,{0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(" ,'{0}'", CurRec.JobCategoryName);
+                        strSQL += string.Format(" ,{0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 協力会社施工工種データ(Subcontractorjobitem)
+        /// <summary>
+        /// 協力会社施工工種データ(Subcontractorjobitem)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSubcontractorjobitem(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMSubContractorJobItem InDB = new ProcessManagement.OracleDB.IOAccess.IOMSubContractorJobItem();
+            ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobItem OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobItem();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SubContractorJobItem> getList = new List<SubContractorJobItem>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobItem.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SubContractorJobItem CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.CompanyCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ItemCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種リンクマスタ(Subcontractorjoblink)
+        /// <summary>
+        /// 協力会社職種リンクマスタ(Subcontractorjoblink)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSubcontractorjoblink(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMSubContractorJobLink InDB = new ProcessManagement.OracleDB.IOAccess.IOMSubContractorJobLink();
+            ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobLink OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobLink();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SubContractorJobLink> getList = new List<SubContractorJobLink>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMSubContractorJobLink.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SubContractorJobLink CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.CompanyCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.JobCategoryCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ(Subcontractormaster)
+        /// <summary>
+        /// 協力会社マスタ(Subcontractormaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSubcontractormaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMSubContractor InDB = new ProcessManagement.OracleDB.IOAccess.IOMSubContractor();
+            ProcessManagement.MySQLDB.IOAccess.IOMSubContractor OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMSubContractor();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SubContractorMaster> getList = new List<SubContractorMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMSubContractor.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SubContractorMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.CompanyCode);
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder);
+                        strSQL += string.Format(",'{0}'", CurRec.CorporateStatusName);
+                        strSQL += string.Format(", {0}", CurRec.CorporateStatusPoint);
+                        strSQL += string.Format(",'{0}'", CurRec.CompanyName);
+                        strSQL += string.Format(",'{0}'", CurRec.CEOPositionName);
+                        strSQL += string.Format(",'{0}'", CurRec.CEOName);
+                        strSQL += string.Format(",'{0}'", CurRec.ContactPersonName);
+                        strSQL += string.Format(",'{0}'", CurRec.ZipCode);
+                        strSQL += string.Format(",'{0}'", CurRec.Address1);
+                        strSQL += string.Format(",'{0}'", CurRec.Address2);
+                        strSQL += string.Format(",'{0}'", CurRec.Address3);
+                        strSQL += string.Format(",'{0}'", CurRec.CellPhoneNumber);
+                        strSQL += string.Format(",'{0}'", CurRec.MailAddress);
+                        strSQL += string.Format(",'{0}'", CurRec.PhoneNumber);
+                        strSQL += string.Format(",'{0}'", CurRec.FaxNumber);
+                        strSQL += string.Format(",'{0}'", CurRec.JapaneseSyllabary);
+                        strSQL += string.Format(",STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.StartDate.ToShortDateString());
+                        strSQL += string.Format(",'{0}'", CurRec.Note);
+                        strSQL += string.Format(", {0} ", CurRec.labourKind.ToString());
+                        strSQL += string.Format(", {0} ", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 仕入先マスタ(Suppliersmaster)
+        /// <summary>
+        /// 仕入先マスタ(Suppliersmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSuppliersmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMSuppliers InDB = new ProcessManagement.OracleDB.IOAccess.IOMSuppliers();
+            ProcessManagement.MySQLDB.IOAccess.IOMSuppliers OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMSuppliers();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SuppliersMaster> getList = new List<SuppliersMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMSuppliers.SuppliersColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SuppliersMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += CurRec.SuppliersCode;
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder);
+                        strSQL += ", '" + CurRec.SuppliersName1 + "'";
+                        strSQL += ", '" + CurRec.SuppliersName2 + "'";
+                        strSQL += ", '" + CurRec.ZipCode + "'";
+                        strSQL += ", '" + CurRec.Address1 + "'";
+                        strSQL += ", '" + CurRec.Address2 + "'";
+                        strSQL += ", '" + CurRec.Address3 + "'";
+                        strSQL += ", '" + CurRec.PhoneNumber + "'";
+                        strSQL += ", '" + CurRec.FaxNumber + "'";
+                        strSQL += ", '" + CurRec.Note + "'";
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ(Systemexecute)
+        /// <summary>
+        /// システム起動確認データ(Systemexecute)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSystemexecute(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOSystemExecute InDB = new ProcessManagement.OracleDB.IOAccess.IOSystemExecute();
+            ProcessManagement.MySQLDB.IOAccess.IOSystemExecute OutDB = new ProcessManagement.MySQLDB.IOAccess.IOSystemExecute();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SystemExecute> getList = new List<SystemExecute>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOSystemExecute.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SystemExecute CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("{0}", CurRec.PrimaryCode);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.TargetDate.ToShortDateString());
+                        strSQL += string.Format(",{0}", CurRec.SystemVersion);
+                        strSQL += string.Format(",{0}", CurRec.UpDateCopyVersion);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 管理マスタ(Systemmaster)
+        /// <summary>
+        /// 管理マスタ(Systemmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvSystemmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMSystem InDB = new ProcessManagement.OracleDB.IOAccess.IOMSystem();
+            ProcessManagement.MySQLDB.IOAccess.IOMSystem OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMSystem();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<SystemMaster> getList = new List<SystemMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMSystem.SystemColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        SystemMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += CurRec.SystemCode.ToString();
+                        strSQL += ",'" + CurRec.CompanyName1 + "'";
+                        strSQL += ",'" + CurRec.CompanyName2 + "'";
+                        strSQL += ",'" + CurRec.CEOName + "'";
+                        strSQL += ",'" + CurRec.CEOPositionName + "'";
+                        strSQL += ",'" + CurRec.ZipCode + "'";
+                        strSQL += ",'" + CurRec.Address1 + "'";
+                        strSQL += ",'" + CurRec.Address2 + "'";
+                        strSQL += ",'" + CurRec.Address3 + "'";
+                        strSQL += ",'" + CurRec.PhoneNumber + "'";
+                        strSQL += ",'" + CurRec.FaxNumber + "'";
+                        strSQL += ", " + CurRec.ConstructionExpenses.ToString();
+                        strSQL += ", " + CurRec.OfficeExpenses.ToString();
+                        strSQL += ", " + CurRec.OperatingExpenses.ToString();
+                        strSQL += ", " + CurRec.ConsumptionTax.ToString();
+                        strSQL += ", " + CurRec.CooperationRate.ToString();
+                        strSQL += ",'" + CurRec.ExcelSavePath + "'";
+
+                        strSQL += ", " + CurRec.BusinessPeriod.ToString();
+                        strSQL += ", " + CurRec.ConstructionYear.ToString();
+                        strSQL += ",'" + CurRec.BusinessBeginningDate + "'";
+                        strSQL += ",'" + CurRec.ConstructionBeginningDate + "'";
+                        strSQL += ", " + CurRec.ConstructionNoBase.ToString();
+
+                        strSQL += ",'" + CurRec.SloganString1 + "'";
+                        strSQL += ",'" + CurRec.SloganString2 + "'";
+                        strSQL += ",'" + CurRec.SloganString3 + "'";
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 期限マスタ(Termmaster)
+        /// <summary>
+        /// 期限マスタ(Termmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvTermmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMTerm InDB = new ProcessManagement.OracleDB.IOAccess.IOMTerm();
+            ProcessManagement.MySQLDB.IOAccess.IOMTerm OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMTerm();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<TermMaster> getList = new List<TermMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMTerm.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        TermMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" {0}", CurRec.ConstructionStatusFlg.ToString());
+                        strSQL += string.Format(",{0}", CurRec.FieldNo.ToString());
+                        strSQL += string.Format(",{0}", CurRec.SeqNo.ToString());
+                        strSQL += string.Format(",{0}", CurRec.DisplayOrder);
+                        strSQL += string.Format(",{0}", CurRec.CheckSchdule.ToString());
+                        strSQL += string.Format(",{0}", CurRec.TermDays.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.SendTitle);
+                        strSQL += string.Format(",'{0}'", CurRec.SendMessage);
+                        strSQL += string.Format(",'{0}'", CurRec.BackColor);
+                        strSQL += string.Format(",'{0}'", CurRec.ForeColor);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 出勤交通費データ(Tranceportdailydata)
+        /// <summary>
+        /// 出勤交通費データ(Tranceportdailydata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvTranceportdailydata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOTranceportDailyData InDB = new ProcessManagement.OracleDB.IOAccess.IOTranceportDailyData();
+            ProcessManagement.MySQLDB.IOAccess.IOTranceportDailyData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOTranceportDailyData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<TranceportDailyData> getList = new List<TranceportDailyData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOTranceportDailyData.TableColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        TranceportDailyData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.PersonCode);                      // 担当者コード
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                    , CurRec.AttendanceDate.ToShortDateString()); // 日報作成日
+
+                        strSQL += string.Format(", {0}", CurRec.StartDistance);                   // 当日出発キロ数
+                        strSQL += string.Format(", {0}", CurRec.ComplateDistance);                // 当日終了キロ数
+                        strSQL += string.Format(", {0}", CurRec.TotalDistance);                   // 当日合計キロ数
+                        strSQL += string.Format(", {0}", CurRec.OfficeGoFlg);                     // 事務所出勤フラグ
+                        strSQL += string.Format(", {0}", CurRec.OfficeOutFlg);                    // 事務所帰宅フラグ
+                        strSQL += string.Format(", {0}", CurRec.TrancePayGoFlg);                  // 有料通勤出勤フラグ
+                        strSQL += string.Format(", {0}", CurRec.TrancePayOutFlg);                 // 有料通勤帰宅フラグ
+                        strSQL += string.Format(", {0}", CurRec.WareHouseFlg);                    // 資材置場フラグ
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 工事種別経費率マスタ(Typeexpensesmaster)
+        /// <summary>
+        /// 工事種別経費率マスタ(Typeexpensesmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvTypeexpensesmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMTypeExpenses InDB = new ProcessManagement.OracleDB.IOAccess.IOMTypeExpenses();
+            ProcessManagement.MySQLDB.IOAccess.IOMTypeExpenses OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMTypeExpenses();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<TypeExpensesMaster> getList = new List<TypeExpensesMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMTypeExpenses.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        TypeExpensesMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.TypeCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ExpensesPeriod.ToString());
+                        strSQL += string.Format(", {0}", CurRec.NameCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.ExpensesRaito.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DeleteFlg.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 単位マスタ(Unitmaster)
+        /// <summary>
+        /// 単位マスタ(Unitmaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvUnitmaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMUnit InDB = new ProcessManagement.OracleDB.IOAccess.IOMUnit();
+            ProcessManagement.MySQLDB.IOAccess.IOMUnit OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMUnit();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<UnitMaster> getList = new List<UnitMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMUnit.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        UnitMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.UnitKey.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(", '{0}'", CurRec.UnitName);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 車両マスタ(Vehiclemaster)
+        /// <summary>
+        /// 車両マスタ(Vehiclemaster)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvVehiclemaster(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMVehicle InDB = new ProcessManagement.OracleDB.IOAccess.IOMVehicle();
+            ProcessManagement.MySQLDB.IOAccess.IOMVehicle OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMVehicle();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<VehicleMaster> getList = new List<VehicleMaster>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMVehicle.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        VehicleMaster CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.VehicleCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DisplayOrder.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.VehicleName);
+                        strSQL += string.Format(",'{0}'", CurRec.RegistrationNumber.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.IdentificationNumber.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.ModelCode);
+                        strSQL += string.Format(", {0}", CurRec.DepartmentCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.VehicleScheduleFlg.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%dD')", CurRec.PurchaseDate.ToShortDateString());
+                        strSQL += string.Format(",'{0}'", CurRec.PurchaseName);
+                        strSQL += string.Format(",'{0}'", CurRec.PurchaseContactPersons);
+                        strSQL += string.Format(",'{0}'", CurRec.PurchasePhone);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.LeaseDate.ToShortDateString());
+                        strSQL += string.Format(",'{0}'", CurRec.LeaseDestination);
+                        strSQL += string.Format(",'{0}'", CurRec.LeaseContactPersons);
+                        strSQL += string.Format(",'{0}'", CurRec.LeasePhone);
+                        strSQL += string.Format(",'{0}'", CurRec.InsuranceCompany);
+                        strSQL += string.Format(",'{0}'", CurRec.InsuranceContactPersons);
+                        strSQL += string.Format(",'{0}'", CurRec.InsurancePhone);
+                        strSQL += string.Format(",'{0}'", CurRec.Note);
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 車両記録データ(Vehiclerecorddata)
+        /// <summary>
+        /// 車両記録データ(Vehiclerecorddata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvVehiclerecorddata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOMVehicleRecordData InDB = new ProcessManagement.OracleDB.IOAccess.IOMVehicleRecordData();
+            ProcessManagement.MySQLDB.IOAccess.IOMVehicleRecordData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOMVehicleRecordData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<VehicleRecordData> getList = new List<VehicleRecordData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOMVehicleRecordData.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        VehicleRecordData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format("  {0}", CurRec.VehicleCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.DivisionCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.SeqNo.ToString());
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.RecordDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.Mileage.ToString());
+                        strSQL += string.Format(",'{0}'", CurRec.Content);
+                        strSQL += string.Format(", {0}", CurRec.PaymentCost.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+
+        #region 車両予約データ(Vehiclescheduledata)
+        /// <summary>
+        /// 車両予約データ(Vehiclescheduledata)
+        /// </summary>
+        /// <param name="strMsg"></param>
+        /// <returns></returns>
+        private bool CnvVehiclescheduledata(int ino, ref string strMsg)
+        {
+            ProcessManagement.OracleDB.IOAccess.IOVehicleScheduleData InDB = new ProcessManagement.OracleDB.IOAccess.IOVehicleScheduleData();
+            ProcessManagement.MySQLDB.IOAccess.IOVehicleScheduleData OutDB = new ProcessManagement.MySQLDB.IOAccess.IOVehicleScheduleData();
+            strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
+            try
+            {
+                EditDspLength(ref strMsg);
+
+                string strSQL = CreateOrder(s_OracleTables[ino].Key);
+                List<VehicleScheduleData> getList = new List<VehicleScheduleData>();
+                if (!InDB.SelectAction(strSQL, ref getList)) return false;
+
+                OutDB.connect(); OutDB.beginTran();
+                strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
+                OutDB.ExecuteNonQuery(strSQL, false);
+
+                int DataCnt = 0;
+                bool bColFirst = true;
+                bool bDataFirst = true;
+                while (DataCnt < getList.Count)
+                {
+                    bColFirst = true;
+                    strSQL = string.Format("INSERT INTO {0}", s_OracleTables[ino].Key);
+                    strSQL += " (";
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.MySQLDB.IOAccess.IOVehicleScheduleData.NameColumn)))
+                    {
+                        if (!bColFirst) strSQL += ", ";
+                        strSQL += gender.ToString();
+                        bColFirst = false;
+                    }
+                    strSQL += ") VALUES";
+
+                    bDataFirst = true;
+                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    {
+                        if (DataCnt >= getList.Count) break;
+
+                        VehicleScheduleData CurRec = getList[DataCnt];
+
+                        if (bDataFirst) strSQL += " (";
+                        else strSQL += ", (";
+
+                        strSQL += string.Format(" STR_TO_DATE('{0}','%Y/%m/%d')", CurRec.TargetDate.ToShortDateString());
+                        strSQL += string.Format(", {0}", CurRec.VehicleCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.MorningAfternoon.ToString());
+                        strSQL += string.Format(", {0}", CurRec.PersonCode.ToString());
+                        strSQL += string.Format(", {0}", CurRec.TargetYear.ToString());
+                        strSQL += string.Format(", {0}", CurRec.TargetMonth.ToString());
+                        strSQL += string.Format(", {0}", CurRec.TargetDay.ToString());
+
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.EntryDate);
+                        strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", CurRec.UpdateDate);
+
+                        strSQL += ")";
+
+                        bDataFirst = false;
+                    }
+
+                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    {
+                        OutDB.rollback();
+                        strMsg += "　ＤＢ処理異常";
+                        return false;
+                    }
+                }
+                strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                OutDB.rollback();
+
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                strMsg += string.Format("　システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                InDB.close(); InDB = null;
+                OutDB.commit();
+                OutDB.close(); OutDB = null;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ActionScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ActionScheduleData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ActionScheduleData.cs	(revision 84)
@@ -0,0 +1,94 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 担当者行動予定データ
+    /// </summary>
+    public class ActionScheduleData
+    {
+        #region メンバ変数
+        private DateTime    m_TargetDate = DateTime.MinValue;    // 対象日
+        private int         m_PersonCode = 0;	                // 担当者コード
+        private string      m_ActionSchedule = string.Empty;	// 行動予定
+        private int         m_TargetYear;                       // 該当年
+        private int         m_TargetMonth = 0;                  // 該当月
+        private int         m_TargetDay = 0;                    // 該当日
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 対象日
+        /// </summary>
+        public DateTime TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 行動予定
+        /// </summary>
+        public string ActionSchedule
+        {
+            get { return m_ActionSchedule; }
+            set { m_ActionSchedule = value; }
+        }
+        /// <summary>
+        /// 該当年
+        /// </summary>
+        public int TargetYear
+        {
+            get { return m_TargetYear; }
+            set { m_TargetYear = value; }
+        }
+        /// <summary>
+        /// 該当月
+        /// </summary>
+        public int TargetMonth
+        {
+            get { return m_TargetMonth; }
+            set { m_TargetMonth = value; }
+        }
+        /// <summary>
+        /// 該当日
+        /// </summary>
+        public int TargetDay
+        {
+            get { return m_TargetDay; }
+            set { m_TargetDay = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/AmountAllocation.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/AmountAllocation.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/AmountAllocation.cs	(revision 84)
@@ -0,0 +1,58 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 金額割付データ
+    /// </summary>
+    public class AmountAllocation
+    {
+        #region メンバ変数
+        private int m_DispNo = 0;                   // 番号
+        private int m_Code = 0;                     // コード
+        private string m_Name = string.Empty;       // 名前
+        private double m_Amount = 0;                // 金額
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 番号
+        /// </summary>
+        public int DispNo
+        {
+            get { return m_DispNo; }
+            set { m_DispNo = value; }
+        }
+        /// <summary>
+        /// コード
+        /// </summary>
+        public int Code
+        {
+            get { return m_Code; }
+            set { m_Code = value; }
+        }
+        /// <summary>
+        /// 名前
+        /// </summary>
+        public string Name
+        {
+            get { return m_Name; }
+            set { m_Name = value; }
+        }
+        /// <summary>
+        /// 金額
+        /// </summary>
+        public double Amount
+        {
+            get { return m_Amount; }
+            set { m_Amount = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ApprovalMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ApprovalMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ApprovalMaster.cs	(revision 84)
@@ -0,0 +1,118 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 承認経路マスタ
+    /// </summary>
+    public class ApprovalMaster
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        private int         m_ApprovalCode = 0;
+        /// <summary>
+        /// 部署コード
+        /// </summary>
+        private int         m_DepartmentCode = 0;
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        private int         m_SeqNo = 0;
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        private int         m_DisplayOrder = 0;
+        /// <summary>
+        /// 承認者コード
+        /// </summary>
+        private int         m_ApprovalPerson = 0;
+        /// <summary>
+        /// 承認権限区分
+        /// </summary>
+        private int         m_ApprovalAuthority = 0;
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        public int ApprovalCode
+        {
+            get { return m_ApprovalCode; }
+            set { m_ApprovalCode = value; }
+        }
+        /// <summary>
+        /// 部署コード
+        /// </summary>
+        public int DepartmentCode
+        {
+            get { return m_DepartmentCode; }
+            set { m_DepartmentCode = value; }
+        }
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 承認者コード
+        /// </summary>
+        public int ApprovalPerson
+        {
+            get { return m_ApprovalPerson; }
+            set { m_ApprovalPerson = value; }
+        }
+        /// <summary>
+        /// 承認権限区分
+        /// </summary>
+        public int ApprovalAuthority
+        {
+            get { return m_ApprovalAuthority; }
+            set { m_ApprovalAuthority = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/AttendanceDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/AttendanceDailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/AttendanceDailyData.cs	(revision 84)
@@ -0,0 +1,115 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 出勤日報データ定義クラス
+    /// </summary>
+    public class AttendanceDailyData
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int         m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime    m_AttendanceDate = DateTime.Now;
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        private int         m_SeqNo = 0;
+        /// <summary>
+        /// 行動実績
+        /// </summary>
+        private string      m_ActionResult = string.Empty;
+        /// <summary>
+        /// 残業時間
+        /// </summary>
+        private double      m_OvertimeHours = 0;
+        /// <summary>
+        /// コメント
+        /// </summary>
+        private string      m_WorkingComment = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime AttendanceDate
+        {
+            get { return m_AttendanceDate; }
+            set { m_AttendanceDate = value; }
+        }
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public string ActionResult
+        {
+            get { return m_ActionResult; }
+            set { m_ActionResult = value; }
+        }
+        /// <summary>
+        /// 残業時間
+        /// </summary>
+        public double OvertimeHours
+        {
+            get { return m_OvertimeHours; }
+            set { m_OvertimeHours = value; }
+        }
+        /// <summary>
+        /// 作業コメント
+        /// </summary>
+        public string WorkingComment
+        {
+            get { return m_WorkingComment; }
+            set { m_WorkingComment = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/AttendanceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/AttendanceData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/AttendanceData.cs	(revision 84)
@@ -0,0 +1,127 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 出勤管理データ定義クラス
+    /// </summary>
+    public class AttendanceData
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int         m_PersonCode = 0;
+        /// <summary>
+        /// 出勤管理年月
+        /// </summary>
+        private DateTime    m_AttendanceMonth = DateTime.Now;
+        /// <summary>
+        /// 当月最終日
+        /// </summary>
+        private int         m_LastDays = 0;
+        /// <summary>
+        /// 出勤日数
+        /// </summary>
+        private int         m_AttendDayCount = 0;
+        /// <summary>
+        /// 残業時間数
+        /// </summary>
+        private double      m_TotalOverTimes = 0;
+        /// <summary>
+        ///  申請日
+        /// </summary>
+        private DateTime    m_OrderDate = DateTime.MinValue;
+        /// <summary>
+        /// 申請受付番号
+        /// </summary>
+        private int         m_OrderNo = 0;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 出勤管理年月
+        /// </summary>
+        public DateTime AttendanceMonth
+        {
+            get { return m_AttendanceMonth; }
+            set { m_AttendanceMonth = value; }
+        }
+        /// <summary>
+        /// 当月最終日
+        /// </summary>
+        public int LastDays
+        {
+            get { return m_LastDays; }
+            set { m_LastDays = value; }
+        }
+        /// <summary>
+        /// 出勤日数
+        /// </summary>
+        public int AttendDayCount
+        {
+            get { return m_AttendDayCount; }
+            set { m_AttendDayCount = value; }
+        }
+        /// <summary>
+        /// 残業時間数
+        /// </summary>
+        public double TotalOverTimes
+        {
+            get { return m_TotalOverTimes; }
+            set { m_TotalOverTimes = value; }
+        }
+        /// <summary>
+        ///  申請日
+        /// </summary>
+        public DateTime OrderDate
+        {
+            get { return m_OrderDate; }
+            set { m_OrderDate = value; }
+        }
+        /// <summary>
+        /// 申請受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/BankBusinessDayMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BankBusinessDayMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/BankBusinessDayMaster.cs	(revision 84)
@@ -0,0 +1,77 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class BankBusinessDayMaster
+    {
+        #region メンバ変数
+        private int m_YearMonth = 0;       // 年月
+        private int m_BankBusinessDay = 0;         // 銀行営業日
+        private string m_Note = "";         // 備考
+        private int m_DeleteFlg = 0;        // 削除フラグ
+        private DateTime m_EntryDate = DateTime.Now;    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 
+        /// </summary>
+        public int YearMonth
+        {
+            get { return m_YearMonth; }
+            set { m_YearMonth = value; }
+        }
+        /// <summary>
+        /// 
+        /// </summary>
+        public int BankBusinessDay
+        {
+            get { return m_BankBusinessDay; }
+            set { m_BankBusinessDay = value; }
+        }
+        /// <summary>
+        /// 
+        /// </summary>
+        public string Note
+        {
+            get { return m_Note; }
+            set { m_Note = value; }
+        }
+
+        /// <summary>
+        /// 
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/BillingData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BillingData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/BillingData.cs	(revision 84)
@@ -0,0 +1,77 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class BillingData
+    {
+        #region メンバ変数
+        private int m_CompanyCode = 0;                 // 協力会社コード
+        private int m_TargetDate = 0;                   // 対象年月
+        private int m_SeqNo = 0;                        // 連番
+        private long m_BillPrice = 0;                  // 請求金額
+        private DateTime m_EntryDate = DateTime.Now;    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public int TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 請求金額
+        /// </summary>
+        public long BillPrice
+        {
+            get { return m_BillPrice; }
+            set { m_BillPrice = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/BillingDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BillingDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/BillingDataDetail.cs	(revision 84)
@@ -0,0 +1,148 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class BillingDataDetail
+    {
+        #region メンバ変数
+        private int m_CompanyCode = 0;                 // 協力会社コード
+        private int m_TargetDate = 0;                   // 対象年月
+        private int m_SeqNo = 0;                        // 連番
+        private int m_LineCount = 0;          // 行番号    
+        private long m_ConstructionCode = 0;   // 工事番号
+        private string m_FieldName = "";          // 現場名
+        private long m_BillPrice = 0;                  // 請求金額
+        private long m_HighwPrice = 0;         // 高速代     
+        private long m_HardwPrice = 0;         // 金物代     
+        private long m_IndsWasteTax = 0;       // 産廃税       
+        private string m_Note = "";             // 備考
+        private DateTime m_EntryDate = DateTime.Now;    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public int TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public long ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 現場名
+        /// </summary>
+        public string FieldName
+        {
+            get { return m_FieldName; }
+            set { m_FieldName = value; }
+        }
+        
+        /// <summary>
+        /// 請求金額
+        /// </summary>
+        public long BillPrice
+        {
+            get { return m_BillPrice; }
+            set { m_BillPrice = value; }
+        }
+
+        /// <summary>
+        /// 高速代
+        /// </summary>
+        public long HighwPrice
+        {
+            get { return m_HighwPrice; }
+            set { m_HighwPrice = value; }
+        }
+
+        /// <summary>
+        /// 金物代
+        /// </summary>
+        public long HardwPrice
+        {
+            get { return m_HardwPrice; }
+            set { m_HardwPrice = value; }
+        }
+
+        /// <summary>
+        /// 産廃税
+        /// </summary>
+        public long IndsWasteTax
+        {
+            get { return m_IndsWasteTax; }
+            set { m_IndsWasteTax = value; }
+        }
+
+        /// <summary>
+        /// 備考
+        /// </summary>
+        public string Note  
+        {
+            get { return m_Note; }
+            set { m_Note = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/BillingPaymentSummary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BillingPaymentSummary.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/BillingPaymentSummary.cs	(revision 84)
@@ -0,0 +1,163 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class BillingPaymentSummary
+    {
+        #region メンバ変数
+        private int m_CompanyCode = 0;        // 協力会社コード
+        private int m_TargetDate = 0;         // 対象年月     
+        private int m_ChargePaymentKind = 0;        // 請求支払区分
+        private DateTime m_Payday = DateTime.Now;   // 支払日
+        private long m_BillPriceStotal = 0;      // 請求金額小計
+        private double m_ConsumptionTaxRate = 0;   // 消費税率
+        private long m_ConsumptionTaxPrice = 0;  // 消費税額
+        private long m_HighwPriceStotal = 0;     // 高速代小計
+        private long m_HardwPriceStotal = 0;     // 金物代小計
+        private long m_IndsWasteTaxStotal = 0;   // 産廃税小計
+        private double m_CnstrPriceRate = 0;       // 協力金比率
+        private long m_CnstrPriceStotal = 0;     // 協力金小計
+        private long m_BillingPriceTotal = 0;    // 請求金額合計
+        private DateTime m_EntryDate = DateTime.Now;    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public int TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+
+        /// <summary>
+        /// 請求支払区分
+        /// </summary>
+        public int ChargePaymentKind
+        {
+            get { return m_ChargePaymentKind; }
+            set { m_ChargePaymentKind = value; }
+        }
+
+        /// <summary>
+        /// 支払日
+        /// </summary>
+        public DateTime Payday
+        {
+            get { return m_Payday; }
+            set { m_Payday = value; }
+        }
+
+
+        /// <summary>
+        /// 請求金額小計
+        /// </summary>
+        public long BillPriceStotal
+        {
+            get { return m_BillPriceStotal; }
+            set { m_BillPriceStotal = value; }
+        }
+        /// <summary>
+        /// 消費税率
+        /// </summary>
+        public double ConsumptionTaxRate
+        {
+            get { return m_ConsumptionTaxRate; }
+            set { m_ConsumptionTaxRate = value; }
+        }
+        /// <summary>
+        /// 消費税額
+        /// </summary>
+        public long ConsumptionTaxPrice
+        {
+            get { return m_ConsumptionTaxPrice; }
+            set { m_ConsumptionTaxPrice = value; }
+        }
+        /// <summary>
+        /// 高速代小計
+        /// </summary>
+        public long HighwPriceStotal
+        {
+            get { return m_HighwPriceStotal; }
+            set { m_HighwPriceStotal = value; }
+        }
+        /// <summary>
+        /// 金物代小計
+        /// </summary>
+        public long HardwPriceStotal
+        {
+            get { return m_HardwPriceStotal; }
+            set { m_HardwPriceStotal = value; }
+        }
+        /// <summary>
+        /// 産廃税小計
+        /// </summary>
+        public long IndsWasteTaxStotal
+        {
+            get { return m_IndsWasteTaxStotal; }
+            set { m_IndsWasteTaxStotal = value; }
+        }
+        /// <summary>
+        /// 協力金比率
+        /// </summary>
+        public double CnstrPriceRate
+        {
+            get { return m_CnstrPriceRate; }
+            set { m_CnstrPriceRate = value; }
+        }
+        /// <summary>
+        /// 協力金小計
+        /// </summary>
+        public long CnstrPriceStotal
+        {
+            get { return m_CnstrPriceStotal; }
+            set { m_CnstrPriceStotal = value; }
+        }
+        /// <summary>
+        /// 請求金額合計
+        /// </summary>
+        public long BillingPriceTotal
+        {
+            get { return m_BillingPriceTotal; }
+            set { m_BillingPriceTotal = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/BusinessTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BusinessTypeMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/BusinessTypeMaster.cs	(revision 84)
@@ -0,0 +1,67 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 法人格マスタ
+    /// </summary>
+    public class BusinessTypeMaster
+    {
+        #region メンバ変数
+        private int         m_BusinessTypeCode = 0;	            // キー項目
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_BusinessTypeName = string.Empty;	// 名称
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// キー項目
+        /// </summary>
+        public int BusinessTypeCode
+        {
+            get { return m_BusinessTypeCode; }
+            set { m_BusinessTypeCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string BusinessTypeName
+        {
+            get { return m_BusinessTypeName; }
+            set { m_BusinessTypeName = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CalennderPage.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CalennderPage.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CalennderPage.cs	(revision 84)
@@ -0,0 +1,91 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace ProcessManagement.DataModel
+{
+    #region 月単位データクラス
+    /// <summary>
+    /// 月単位データクラス
+    /// </summary>
+    public class MonthryData
+    {
+        /// <summary>
+        /// 週タイトル
+        /// </summary>
+        private Label[] m_lblWeekTitle = new Label[7];
+        /// <summary>
+        /// 日データ
+        /// </summary>
+        private Label[] m_lblDayData = new Label[42];
+
+        /// <summary>
+        /// 週タイトル
+        /// </summary>
+        public Label[] lblWeekTitle
+        {
+            get { return m_lblWeekTitle; }
+            set { m_lblWeekTitle = value; }
+        }
+        /// <summary>
+        /// 日データ
+        /// </summary>
+        public Label[] lblDayData
+        {
+            get { return m_lblDayData; }
+            set { m_lblDayData = value; }
+        }
+    }
+    #endregion
+
+    /// <summary>
+    /// カレンダーマスタ表示ページ定義
+    /// </summary>
+    public class CalennderPage
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 月タイトル
+        /// </summary>
+        private Label[] m_lblMonthTitle = new Label[12];
+        /// <summary>
+        /// 月毎データ
+        /// </summary>
+        private MonthryData[] m_MonthryData = new MonthryData[12];
+        /// <summary>
+        /// 月毎枠
+        /// </summary>
+        private TableLayoutPanel[] m_MonthTableLayout = new TableLayoutPanel[12];
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 月タイトルインターフェース
+        /// </summary>
+        public Label[] lblMonthTitle
+        {
+            get { return m_lblMonthTitle; }
+            set { m_lblMonthTitle = value; }
+        }
+        /// <summary>
+        /// 月毎データ
+        /// </summary>
+        public MonthryData[] MonthryData
+        {
+            get { return m_MonthryData; }
+            set { m_MonthryData = value; }
+        }
+        /// <summary>
+        /// 月毎枠
+        /// </summary>
+        public TableLayoutPanel[] MonthTableLayout
+        {
+            get { return m_MonthTableLayout; }
+            set { m_MonthTableLayout = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CategoryNameMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CategoryNameMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CategoryNameMaster.cs	(revision 84)
@@ -0,0 +1,85 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// カテゴリマスタ
+    /// </summary>
+    public class CategoryNameMaster
+    {
+        #region メンバ変数
+        private int         m_NameCode = 0;	                    // 名称コード
+        private int         m_CategoryCode = 0;	                // ガテゴリコード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_CategoryName = string.Empty;	    // 表示名称
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 名称項目
+        /// </summary>
+        public int NameCode
+        {
+            get { return m_NameCode; }
+            set { m_NameCode = value; }
+        }
+        /// <summary>
+        /// カテゴリコード
+        /// </summary>
+        public int CategoryCode
+        {
+            get { return m_CategoryCode; }
+            set { m_CategoryCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 表示名称
+        /// </summary>
+        public string CategoryName
+        {
+            get { return m_CategoryName; }
+            set { m_CategoryName = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CategoryType.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CategoryType.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CategoryType.cs	(revision 84)
@@ -0,0 +1,39 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// カテゴリマスタタイプ定義クラス
+    /// </summary>
+    public class CategoryType
+    {
+        #region 変数
+        /// <summary>
+        /// ID
+        /// </summary>
+        private int m_categoryid = 0;
+        /// <summary>
+        /// カテゴリ名称
+        /// </summary>
+        private string m_categoryname = string.Empty;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// ID
+        /// </summary>
+        public int CategoryID
+        {
+            get { return m_categoryid; }
+        }
+        public string CategoryName
+        {
+            get { return m_categoryname; }
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CommonCostLarge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CommonCostLarge.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CommonCostLarge.cs	(revision 84)
@@ -0,0 +1,85 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 共通費大項目マスタ
+    /// </summary>
+    public class CommonCostLarge
+    {
+        #region メンバ変数
+        private int         m_LargeCode = 0;                    // 大項目キー
+        private int         m_DisplayOrder = 0;                 // 表示順
+        private string      m_LargeName = string.Empty;         // 大項目名称
+        private string      m_CommentText = string.Empty;       // 説明書き
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 大項目キー
+        /// </summary>
+        public int LargeCode
+        {
+            get { return m_LargeCode; }
+            set { m_LargeCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 大項目名称
+        /// </summary>
+        public string LargeName
+        {
+            get { return m_LargeName; }
+            set { m_LargeName = value; }
+        }
+        /// <summary>
+        /// 説明書き
+        /// </summary>
+        public string CommentText
+        {
+            get { return m_CommentText; }
+            set { m_CommentText = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CommonCostLinkMS.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CommonCostLinkMS.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CommonCostLinkMS.cs	(revision 84)
@@ -0,0 +1,67 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 大項目・中項目リンクマスタ
+    /// </summary>
+    public class CommonCostLinkMS
+    {
+        #region メンバ変数
+        private int         m_LargeCode = 0;                    // 大項目キー
+        private int         m_MiddleCode = 0;                   // 中項目キー
+        private int         m_ItemCode = 0;                     // 工種キー
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 大項目キー
+        /// </summary>
+        public int LargeCode
+        {
+            get { return m_LargeCode; }
+            set { m_LargeCode = value; }
+        }
+        /// <summary>
+        /// 中項目キー
+        /// </summary>
+        public int MiddleCode
+        {
+            get { return m_MiddleCode; }
+            set { m_MiddleCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddle.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddle.cs	(revision 84)
@@ -0,0 +1,94 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 共通費中項目マスタ
+    /// </summary>
+    public class CommonCostMiddle
+    {
+        #region メンバ変数
+        private int         m_LargeCode = 0;                    // 大項目キー
+        private int         m_MiddleCode = 0;                   // 中項目キー
+        private int         m_DisplayOrder = 0;                 // 表示順
+        private string      m_MiddlwName = string.Empty;         // 中項目名称
+        private string      m_CommentText = string.Empty;       // 説明書き
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 大項目キー
+        /// </summary>
+        public int LargeCode
+        {
+            get { return m_LargeCode; }
+            set { m_LargeCode = value; }
+        }
+        /// <summary>
+        /// 中項目キー
+        /// </summary>
+        public int MiddleCode
+        {
+            get { return m_MiddleCode; }
+            set { m_MiddleCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 中項目名称
+        /// </summary>
+        public string MiddleName
+        {
+            get { return m_MiddlwName; }
+            set { m_MiddlwName = value; }
+        }
+        /// <summary>
+        /// 説明書き
+        /// </summary>
+        public string CommentText
+        {
+            get { return m_CommentText; }
+            set { m_CommentText = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddleSearchWord.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddleSearchWord.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddleSearchWord.cs	(revision 84)
@@ -0,0 +1,76 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 共通費中項目キーマスタ
+    /// </summary>
+    public class CommonCostMiddleSearchWord
+    {
+        #region メンバ変数
+        private int         m_LargeCode = 0;                    // 大項目キー
+        private int         m_MiddleCode = 0;                   // 中項目キー
+        private int         m_SeqNo = 0;                        // 順序
+        private string      m_SearchWord = string.Empty;        // 検索項目
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 大項目キー
+        /// </summary>
+        public int LargeCode
+        {
+            get { return m_LargeCode; }
+            set { m_LargeCode = value; }
+        }
+        /// <summary>
+        /// 中項目キー
+        /// </summary>
+        public int MiddleCode
+        {
+            get { return m_MiddleCode; }
+            set { m_MiddleCode = value; }
+        }
+        /// <summary>
+        /// 順序
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 検索項目
+        /// </summary>
+        public string SearchWord
+        {
+            get { return m_SearchWord; }
+            set { m_SearchWord = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ComponentLinkMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ComponentLinkMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ComponentLinkMaster.cs	(revision 84)
@@ -0,0 +1,67 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 大項目・中項目リンクマスタ
+    /// </summary>
+    public class ComponentLinkMaster
+    {
+        #region メンバ変数
+        private int         m_ComponentCode = 0;	            // 構成キー
+        private int         m_ItemCode = 0;	                    // 工種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ComponentMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ComponentMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ComponentMaster.cs	(revision 84)
@@ -0,0 +1,103 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 構成マスタ（大項目）
+    /// </summary>
+    public class ComponentMaster
+    {
+        #region メンバ変数
+        private int         m_ComponentCode = 0;	            // 構成キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_ComponentName = string.Empty;	    // 名称
+        private int         m_SubitemsFlg = 0;	                // 下位項目フラグ
+        private int         m_DirectInputFlg = 0;	            // 直接入力フラグ
+        private int         m_MyExpensesFlg = 0;	            // 自社経費フラグ
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string ComponentName
+        {
+            get { return m_ComponentName; }
+            set { m_ComponentName = value; }
+        }
+        /// <summary>
+        /// 下位項目フラグ
+        /// </summary>
+        public int SubitemsFlg
+        {
+            get { return m_SubitemsFlg; }
+            set { m_SubitemsFlg = value; }
+        }
+        /// <summary>
+        /// 直接入力フラグ
+        /// </summary>
+        public int DirectInputFlg
+        {
+            get { return m_DirectInputFlg; }
+            set { m_DirectInputFlg = value; }
+        }
+        /// <summary>
+        /// 自社経費フラグ
+        /// </summary>
+        public int MyExpensesFlg
+        {
+            get { return m_MyExpensesFlg; }
+            set { m_MyExpensesFlg = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ComponentToTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ComponentToTypeMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ComponentToTypeMaster.cs	(revision 84)
@@ -0,0 +1,58 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 大項目・工事種別リンクマスタ
+    /// </summary>
+    public class ComponentToTypeMaster
+    {
+        #region メンバ変数
+        private int         m_ComponentCode = 0;	            // 構成キー
+        private int         m_TypeCode = 0;	                    // 工事種別コード
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工事種別コード
+        /// </summary>
+        public int TypeCode
+        {
+            get { return m_TypeCode; }
+            set { m_TypeCode = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfo.cs	(revision 84)
@@ -0,0 +1,470 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事基本情報データモデル
+    /// </summary>
+    public class ConstructionBaseInfo
+    {
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	                            // 工事コード
+        private int         m_TyingFlg = 0;                                     // 紐付データフラグ
+        private int         m_JoinFlg = 0;                                      // 結合契約工事フラグ
+        private int         m_ConstructionYear = 0;	                            // 工事年度
+        private int         m_ConstructionPeriod = 0;	                        // 工事期
+        private DateTime    m_RequestedDate = DateTime.MinValue;                // 依頼受け日
+        private DateTime    m_EstimatesSubmitDeadline = DateTime.MinValue;      // 見積提出期限
+        private DateTime    m_EstimatesSubmittedDate = DateTime.MinValue;       // 見積提出日
+        private DateTime    m_ProvisionalOrderDate = DateTime.MinValue;         // 仮受注日
+        private DateTime    m_OrderDate = DateTime.MinValue;	                // 受注日
+        private DateTime    m_OrderStartingDate = DateTime.MinValue;	        // 開始予定日
+        private DateTime    m_OrderCompletionDate = DateTime.MinValue;	        // 完了予定日
+        private DateTime    m_PreparationStartDate = DateTime.MinValue;         // 施工準備開始日
+        private DateTime    m_ConstructionStartingDate = DateTime.MinValue;	    // 施工開始日
+        private DateTime    m_ConstructionCompletionDate = DateTime.MinValue;   // 施工完了日
+        private DateTime    m_NonOrderDate = DateTime.MinValue;                 // 非受注日
+        private double      m_OrdersDecisionPrice = 0;	                        // 税抜受注決定金額
+        private double      m_OrdersDecisionPriceInTax = 0;	                    // 税込受注決定金額
+        private int         m_SalesPersonCode = 0;	                            // 営業担当者コード
+        private int         m_ConstructionPersonCode = 0;	                    // 工事担当者コード
+        private int         m_ConstrSubPersonCode = 0;	                        // 工事副担当者コード
+        private int         m_ConstructionInstructor = 0;                       // 工事指導員コード
+        private int         m_TransferConstruction = 0;                         // 移管先コード
+        private DateTime    m_TransferConstructionDate = DateTime.MinValue;     // 工事移管日
+        private int         m_OrderersDivision = 0;                             // 発注者区分
+        private int         m_OrderersCode = 0;                                 // 発注者コード
+        private DateTime    m_EstimatesExpirationDate = DateTime.MinValue;      // 見積有効期限
+        private DateTime    m_ConstructionPeriodStart = DateTime.MinValue;      // 契約工期開始
+        private DateTime    m_ConstructionPeriodEnd = DateTime.MinValue;        // 契約工期完了
+        private DateTime    m_ConstructionPeriodStart2 = DateTime.MinValue;     // 契約工期開始（延長時）
+        private DateTime    m_ConstructionPeriodEnd2 = DateTime.MinValue;       // 契約工期完了（延長時）
+        private DateTime    m_StartDate = DateTime.MinValue;	                // 工事開始日
+        private DateTime    m_EndDate = DateTime.MinValue;	                    // 工事終了日
+        private DateTime    m_PurchaseOrderMailingDate = DateTime.MinValue;     // 注文書郵送日
+        private DateTime    m_PurchaseOrderReturnDate = DateTime.MinValue;      // 注文書返送日
+        private DateTime    m_PurchaseOrderReturnCheckDate = DateTime.MinValue; // 注文書返送確認日
+        private int         m_ConsumptionTaxFlg = 1;                            // 消費税フラグ
+        private int         m_PrimeContractorFlg = 1;	                        // 元請フラグ
+        private int         m_SalesCostFlg = 1;	                                // 営業経費発生フラグ
+        private int         m_ConstructionStatusFlg = -1;	                    // 工事状態フラグ
+        private int         m_ConstructionType = 0;                             // 工事種別区分名称コード
+        private int         m_EstimateType = 1;                                 // 見積種別
+        private DateTime    m_BillingStartDate = DateTime.MinValue;	            // 請求準備開始日
+        private DateTime    m_BillingDate = DateTime.MinValue;	                // 請求日
+        private int         m_BillingSplitFlg = 1;                              // 請求回数フラグ
+        private DateTime    m_BillingSendDate = DateTime.MinValue;              // 請求書郵送/手渡し日
+        private DateTime    m_LedgerComplateDate = DateTime.MinValue;           // 工事詳細台帳入力完了日付
+
+        private DateTime    m_EntryDate = DateTime.Now;                         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;                        // 更新日付
+
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード	
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 紐付データフラグ
+        /// </summary>
+        public int TyingFlg
+        {
+            get { return m_TyingFlg; }
+            set { m_TyingFlg = value; }
+        }
+        /// <summary>
+        /// 結合契約工事フラグ
+        /// </summary>
+        public int JoinFlg
+        {
+            get { return m_JoinFlg; }
+            set { m_JoinFlg = value; }
+        }
+        /// <summary>
+        /// 工事年度
+        /// </summary>
+        public int ConstructionYear
+        {
+            get { return m_ConstructionYear; }
+            set { m_ConstructionYear = value; }
+        }
+        /// <summary>
+        /// 工事期
+        /// </summary>
+        public int ConstructionPeriod
+        {
+            get { return m_ConstructionPeriod; }
+            set { m_ConstructionPeriod = value; }
+        }
+        /// <summary>
+        /// 依頼受け日
+        /// </summary>
+        public DateTime RequestedDate
+        {
+            get { return m_RequestedDate; }
+            set { m_RequestedDate = value; }
+        }
+        /// <summary>
+        /// 見積提出期限
+        /// </summary>
+        public DateTime EstimatesSubmitDeadline
+        {
+            get { return m_EstimatesSubmitDeadline; }
+            set { m_EstimatesSubmitDeadline = value; }
+        }
+        /// <summary>
+        /// 見積提出日
+        /// </summary>
+        public DateTime EstimatesSubmittedDate
+        {
+            get { return m_EstimatesSubmittedDate; }
+            set { m_EstimatesSubmittedDate = value; }
+        }
+        /// <summary>
+        /// 仮受注日
+        /// </summary>
+        public DateTime ProvisionalOrderDate
+        {
+            get { return m_ProvisionalOrderDate; }
+            set { m_ProvisionalOrderDate = value; }
+        }
+
+        /// <summary>
+        /// 受注日
+        /// </summary>
+        public DateTime OrderDate
+        {
+            get { return m_OrderDate; }
+            set { m_OrderDate = value; }
+        }
+        /// <summary>
+        /// 開始予定日
+        /// </summary>
+        public DateTime OrderStartingDate
+        {
+            get { return m_OrderStartingDate; }
+            set { m_OrderStartingDate = value; }
+        }
+        /// <summary>
+        /// 完了予定日
+        /// </summary>
+        public DateTime OrderCompletionDate
+        {
+            get { return m_OrderCompletionDate; }
+            set { m_OrderCompletionDate = value; }
+        }
+        /// <summary>
+        /// 施工準備開始日
+        /// </summary>
+        public DateTime PreparationStartDate
+        {
+            get { return m_PreparationStartDate; }
+            set { m_PreparationStartDate = value; }
+        }
+
+        /// <summary>
+        /// 施工開始日
+        /// </summary>
+        public DateTime ConstructionStartingDate
+        {
+            get { return m_ConstructionStartingDate; }
+            set { m_ConstructionStartingDate = value; }
+        }
+        /// <summary>
+        /// 施工完了日
+        /// </summary>
+        public DateTime ConstructionCompletionDate
+        {
+            get { return m_ConstructionCompletionDate; }
+            set { m_ConstructionCompletionDate = value; }
+        }
+        /// <summary>
+        /// 非受注日
+        /// </summary>
+        public DateTime NonOrderDate
+        {
+            get { return m_NonOrderDate; }
+            set { m_NonOrderDate = value; }
+        }
+
+        /// <summary>
+        /// 税抜受注決定金額
+        /// </summary>
+        public double OrdersDecisionPrice
+        {
+            get { return m_OrdersDecisionPrice; }
+            set { m_OrdersDecisionPrice = value; }
+        }
+        /// <summary>
+        /// 税抜受注決定金額
+        /// </summary>
+        public double OrdersDecisionPriceInTax
+        {
+            get { return m_OrdersDecisionPriceInTax; }
+            set { m_OrdersDecisionPriceInTax = value; }
+        }
+        /// <summary>
+        /// 営業担当者コード
+        /// </summary>
+        public int SalesPersonCode
+        {
+            get { return m_SalesPersonCode; }
+            set { m_SalesPersonCode = value; }
+        }
+        /// <summary>
+        /// 工事担当者コード
+        /// </summary>
+        public int ConstructionPersonCode
+        {
+            get { return m_ConstructionPersonCode; }
+            set { m_ConstructionPersonCode = value; }
+        }
+        /// <summary>
+        /// 工事副担当者コード
+        /// </summary>
+        public int ConstrSubPersonCode
+        {
+            get { return m_ConstrSubPersonCode; }
+            set { m_ConstrSubPersonCode = value; }
+        }
+        /// <summary>
+        /// 工事指導員
+        /// </summary>
+        public int ConstructionInstructor
+        {
+            get { return m_ConstructionInstructor; }
+            set { m_ConstructionInstructor = value; }
+        }
+        /// <summary>
+        /// 移管先コード
+        /// </summary>
+        public int TransferConstruction
+        {
+            get { return m_TransferConstruction; }
+            set { m_TransferConstruction = value; }
+        }
+        /// <summary>
+        /// 移管日
+        /// </summary>
+        public DateTime TransferConstructionDate
+        {
+            get { return m_TransferConstructionDate; }
+            set { m_TransferConstructionDate = value; }
+        }
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderersDivision
+        {
+            get { return m_OrderersDivision; }
+            set { m_OrderersDivision = value; }
+        }
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int OrderersCode
+        {
+            get { return m_OrderersCode; }
+            set { m_OrderersCode = value; }
+        }
+        /// <summary>
+        /// 見積有効期限
+        /// </summary>
+        public DateTime EstimatesExpirationDate
+        {
+            get { return m_EstimatesExpirationDate; }
+            set { m_EstimatesExpirationDate = value; }
+        }
+        /// <summary>
+        /// 契約工期開始
+        /// </summary>
+        public DateTime ConstructionPeriodStart
+        {
+            get { return m_ConstructionPeriodStart; }
+            set { m_ConstructionPeriodStart = value; }
+        }
+        /// <summary>
+        /// 契約工期完了
+        /// </summary>
+        public DateTime ConstructionPeriodEnd
+        {
+            get { return m_ConstructionPeriodEnd; }
+            set { m_ConstructionPeriodEnd = value; }
+        }
+        /// <summary>
+        /// 契約工期開始（延長時）
+        /// </summary>
+        public DateTime ConstructionPeriodStart2
+        {
+            get { return m_ConstructionPeriodStart2; }
+            set { m_ConstructionPeriodStart2 = value; }
+        }
+        /// <summary>
+        /// 契約工期完了（延長時）
+        /// </summary>
+        public DateTime ConstructionPeriodEnd2
+        {
+            get { return m_ConstructionPeriodEnd2; }
+            set { m_ConstructionPeriodEnd2 = value; }
+        }
+        /// <summary>
+        /// 工事開始日
+        /// </summary>
+        public DateTime StartDate
+        {
+            get { return m_StartDate; }
+            set { m_StartDate = value; }
+        }
+        /// <summary>
+        /// 工事終了日
+        /// </summary>
+        public DateTime EndDate
+        {
+            get { return m_EndDate; }
+            set { m_EndDate = value; }
+        }
+        /// <summary>
+        /// 注文書郵送日
+        /// </summary>
+        public DateTime PurchaseOrderMailingDate
+        {
+            get { return m_PurchaseOrderMailingDate; }
+            set { m_PurchaseOrderMailingDate = value; }
+        }
+        /// <summary>
+        /// 注文書返送日
+        /// </summary>
+        public DateTime PurchaseOrderReturnDate
+        {
+            get { return m_PurchaseOrderReturnDate; }
+            set { m_PurchaseOrderReturnDate = value; }
+        }
+        /// <summary>
+        /// 注文書返送確認日
+        /// </summary>
+        public DateTime PurchaseOrderReturnCheckDate
+        {
+            get { return m_PurchaseOrderReturnCheckDate; }
+            set { m_PurchaseOrderReturnCheckDate = value; }
+        }
+
+        /// <summary>
+        /// 消費税フラグ
+        /// </summary>
+        public int ConsumptionTaxFlg
+        {
+            get { return m_ConsumptionTaxFlg; }
+            set { m_ConsumptionTaxFlg = value; }
+        }
+        /// <summary>
+        /// 元請フラグ
+        /// </summary>
+        public int PrimeContractorFlg
+        {
+            get { return m_PrimeContractorFlg; }
+            set { m_PrimeContractorFlg = value; }
+        }
+        /// <summary>
+        /// 営業経費発生フラグ
+        /// </summary>
+        public int SalesCostFlg
+        {
+            get { return m_SalesCostFlg; }
+            set { m_SalesCostFlg = value; }
+        }
+        /// <summary>
+        /// 工事状態フラグ
+        /// </summary>
+        public int ConstructionStatusFlg
+        {
+            get { return m_ConstructionStatusFlg; }
+            set { m_ConstructionStatusFlg = value; }
+        }
+        /// <summary>
+        /// 工事種別区分名称コード
+        /// </summary>
+        public int ConstructionType
+        {
+            get { return m_ConstructionType; }
+            set { m_ConstructionType = value; }
+        }
+        /// <summary>
+        /// 見積種別
+        /// </summary>
+        public int EstimateType
+        {
+            get { return m_EstimateType; }
+            set { m_EstimateType = value; }
+        }
+        /// <summary>
+        /// 請求準備開始日
+        /// </summary>
+        public DateTime BillingStartDate
+        {
+            get { return m_BillingStartDate; }
+            set { m_BillingStartDate = value; }
+        }
+        /// <summary>
+        /// 請求日
+        /// </summary>
+        public DateTime BillingDate
+        {
+            get { return m_BillingDate; }
+            set { m_BillingDate = value; }
+        }
+        /// <summary>
+        /// 請求回数フラグ
+        /// </summary>
+        public int BillingSplitFlg
+        {
+            get { return m_BillingSplitFlg; }
+            set { m_BillingSplitFlg = value; }
+        }
+        /// <summary>
+        /// 請求書郵送/手渡し日
+        /// </summary>
+        public DateTime BillingSendDate
+        {
+            get { return m_BillingSendDate; }
+            set { m_BillingSendDate = value; }
+        }
+        /// <summary>
+        /// 工事詳細台帳入力完了日付
+        /// </summary>
+        public DateTime LedgerComplateDate
+        {
+            get { return m_LedgerComplateDate; }
+            set { m_LedgerComplateDate = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfoDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfoDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfoDetail.cs	(revision 84)
@@ -0,0 +1,168 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事基本情報明細データモデル
+    /// </summary>
+    public class ConstructionBaseInfoDetail
+    {
+        #region 工事基本情報明細：明細番号並び
+        /// <summary>
+        /// 工事基本情報明細：明細番号並び
+        /// </summary>
+        public enum DetailDataNo
+        {
+            /// <summary>
+            /// 発注者名１
+            /// </summary>
+            OrderersName = 1,
+            /// <summary>
+            /// 工事名称
+            /// </summary>
+            ConstructionName,
+            /// <summary>
+            /// 工事場所郵便番号
+            /// </summary>
+            PlaceZipCode,
+            /// <summary>
+            /// 工事場所１
+            /// </summary>
+            ConstructionPlace1,
+            /// <summary>
+            /// 工事場所２
+            /// </summary>
+            ConstructionPlace2,
+            /// <summary>
+            /// 工事場所３
+            /// </summary>
+            ConstructionPlace3,
+            /// <summary>
+            /// 工事概要１
+            /// </summary>
+            Overview1,
+            /// <summary>
+            /// 工事概要２
+            /// </summary>
+            Overview2,
+            /// <summary>
+            /// 工事概要３
+            /// </summary>
+            Overview3,
+            /// <summary>
+            /// 工事概要４
+            /// </summary>
+            Overview4,
+            /// <summary>
+            /// 工事概要５
+            /// </summary>
+            Overview5,
+            /// <summary>
+            /// 支給品１
+            /// </summary>
+            PaidGoods1,
+            /// <summary>
+            /// 支給品２
+            /// </summary>
+            PaidGoods2,
+            /// <summary>
+            /// 別途工事１
+            /// </summary>
+            SeparateProject1,
+            /// <summary>
+            /// 別途工事２
+            /// </summary>
+            SeparateProject2,
+            /// <summary>
+            /// 備考１
+            /// </summary>
+            Note1,
+            /// <summary>
+            /// 備考２
+            /// </summary>
+            Note2,
+            /// <summary>
+            /// 受注決定申送りコメント
+            /// </summary>
+            OrdersDecisionComment,
+            /// <summary>
+            /// 工事担当者コメント
+            /// </summary>
+            ContructorComment,
+            /// <summary>
+            /// 施工完了コメント
+            /// </summary>
+            CompleteComment,
+            /// <summary>
+            /// 営業コメント
+            /// </summary>
+            SalesComment,
+            /// <summary>
+            /// 一括請求コメント
+            /// </summary>
+            BillingComment,
+        }
+        #endregion
+
+        #region 定数
+        #endregion
+
+        #region メンバ変数
+
+        private int m_ConstructionCode = 0;	                // 工事コード	
+        private int m_DetailNo = 0;	                        // 明細番号
+        private string m_DetailString = "";	                // 明細内容
+        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード	
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 明細番号
+        /// </summary>
+        public int DetailNo
+        {
+            get { return m_DetailNo; }
+            set { m_DetailNo = value; }
+        }
+        /// <summary>
+        /// 明細内容
+        /// </summary>
+        public string DetailString
+        {
+            get { return m_DetailString; }
+            set { m_DetailString = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionBudget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionBudget.cs	(revision 84)
@@ -0,0 +1,242 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事予算書データ
+    /// </summary>
+    public class ConstructionBudget
+    {
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	                    // 工事コード
+
+        private int         m_CreatorCode = 0;                          // 作成者コード
+        private string      m_CreatorName = string.Empty;               // 作成者名
+        private double      m_CreatorCosts = 0;                         // 作成者給与
+
+        private int         m_AssistantCode	= 0;                        // 副担当者コード
+        private string      m_AssistantName = string.Empty;             // 副担当者名
+        private double      m_AssistantCosts = 0;                       // 副担当者給与
+
+        private int         m_InstructorCode = 0;                       // 工事指導員コード
+        private string      m_InstructorName = string.Empty;            // 工事指導員名
+        private double      m_InstructorCosts = 0;                      // 工事指導員給与
+        private DateTime    m_CreateDate = DateTime.Now;                // 作成日
+        private double      m_ConstructionTimes = 0;                    // 工期（単位・月）
+        private DateTime    m_ConstructionStart = DateTime.MinValue;    // 契約工期開始
+        private DateTime    m_ConstructionEnd = DateTime.MinValue;      // 契約工期完了
+
+        private double      m_InstructorTimes = 0;                      // 指導員稼働月数
+
+        private int         m_SalaryFlg = 0;                            // 給与振分区分
+        private int         m_SalaryDays = 0;                           // 振分日数
+
+        private int         m_A_SalaryFlg = 0;                          // 副担当者給与振分区分
+        private int         m_A_SalaryDays = 0;                         // 副担当者振分日数
+
+        private int         m_I_SalaryFlg = 0;                          // 指導員給与振分区分
+        private int         m_I_SalaryDays = 0;                         // 指導員振分日数
+
+        private DateTime    m_EntryDate = DateTime.Now;                 // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;                // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int CreatorCode
+        {
+            get { return m_CreatorCode; }
+            set { m_CreatorCode = value; }
+        }
+        /// <summary>
+        /// 作成者名
+        /// </summary>
+        public string CreatorName
+        {
+            get { return m_CreatorName; }
+            set { m_CreatorName = value; }
+        }
+        /// <summary>
+        /// 作成者給与
+        /// </summary>
+        public double CreatorCosts
+        {
+            get { return m_CreatorCosts; }
+            set { m_CreatorCosts = value; }
+        }
+        /// <summary>
+        /// 副担当者コード
+        /// </summary>
+        public int AssistantCode
+        {
+            get { return m_AssistantCode; }
+            set { m_AssistantCode = value; }
+        }
+        /// <summary>
+        /// 副担当者名
+        /// </summary>
+        public string AssistantName
+        {
+            get { return m_AssistantName; }
+            set { m_AssistantName = value; }
+        }
+        /// <summary>
+        /// 副担当者給与
+        /// </summary>
+        public double AssistantCosts
+        {
+            get { return m_AssistantCosts; }
+            set { m_AssistantCosts = value; }
+        }
+        /// <summary>
+        /// 工事指導員コード
+        /// </summary>
+        public int InstructorCode
+        {
+            get { return m_InstructorCode; }
+            set { m_InstructorCode = value; }
+        }
+        /// <summary>
+        /// 工事指導員名
+        /// </summary>
+        public string InstructorName
+        {
+            get { return m_InstructorName; }
+            set { m_InstructorName = value; }
+        }
+        /// <summary>
+        /// 工事指導員給与
+        /// </summary>
+        public double InstructorCosts
+        {
+            get { return m_InstructorCosts; }
+            set { m_InstructorCosts = value; }
+        }
+        /// <summary>
+        /// 作成日
+        /// </summary>
+        public DateTime CreateDate
+        {
+            get { return m_CreateDate; }
+            set { m_CreateDate = value; }
+        }
+        /// <summary>
+        /// 工期（単位・月）
+        /// </summary>
+        public double ConstructionTimes
+        {
+            get { return m_ConstructionTimes; }
+            set { m_ConstructionTimes = value; }
+        }
+        /// <summary>
+        /// 契約工期開始
+        /// </summary>
+        public DateTime ConstructionStart
+        {
+            get { return m_ConstructionStart; }
+            set { m_ConstructionStart = value; }
+        }
+        /// <summary>
+        /// 契約工期完了
+        /// </summary>
+        public DateTime ConstructionEnd
+        {
+            get { return m_ConstructionEnd; }
+            set { m_ConstructionEnd = value; }
+        }
+        /// <summary>
+        /// 指導員稼働月数
+        /// </summary>
+        public double InstructorTimes
+        {
+            get { return m_InstructorTimes; }
+            set { m_InstructorTimes = value; }
+        }
+
+        /// <summary>
+        /// 担当者給与振分区分
+        /// </summary>
+        public int SalaryFlg
+        {
+            get { return m_SalaryFlg; }
+            set { m_SalaryFlg = value; }
+        }
+        /// <summary>
+        /// 担当者振分日数
+        /// </summary>
+        public int SalaryDays
+        {
+            get { return m_SalaryDays; }
+            set { m_SalaryDays = value; }
+        }
+
+        /// <summary>
+        /// 副担当者給与振分区分
+        /// </summary>
+        public int A_SalaryFlg
+        {
+            get { return m_A_SalaryFlg; }
+            set { m_A_SalaryFlg = value; }
+        }
+        /// <summary>
+        /// 副担当者振分日数
+        /// </summary>
+        public int A_SalaryDays
+        {
+            get { return m_A_SalaryDays; }
+            set { m_A_SalaryDays = value; }
+        }
+
+        /// <summary>
+        /// 指導員給与振分区分
+        /// </summary>
+        public int I_SalaryFlg
+        {
+            get { return m_I_SalaryFlg; }
+            set { m_I_SalaryFlg = value; }
+        }
+        /// <summary>
+        /// 指導員振分日数
+        /// </summary>
+        public int I_SalaryDays
+        {
+            get { return m_I_SalaryDays; }
+            set { m_I_SalaryDays = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionBudgetDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionBudgetDetail.cs	(revision 84)
@@ -0,0 +1,188 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    public class ConstructionBudgetDetail
+    {
+        /// <summary>
+        /// 工事予算書明細データ
+        /// </summary>
+        #region メンバ変数
+
+        private int     m_ConstructionCode = 0;	            // 工事コード
+
+        private int     m_GroupCount = 0;                   // グループ番号
+        private int     m_LineCount = 0;                    // 行番号
+        private int     m_ComponentCode = 0;                // 構成キー
+        private int     m_ItemCode = 0;	                    // 工種キー
+        private string  m_FirstString = string.Empty;       // 項目名称
+        private string  m_SecondString = string.Empty;      // 工事内容
+        private int     m_CompanyType = 0;                  // 協力会社コードタイプ
+        private int     m_CompanyCode = 0;                  // 協力会社コード
+        private string  m_CompanyName = string.Empty;       // 協力会社名称
+        private double  m_EstimatePrice = 0;                // 見積時金額
+        private double  m_NegotiationPrice = 0;             // 交渉時金額
+        private double  m_OrderDesiredAmount = 0;           // 発注希望金額
+        private double  m_ExecutionAmount = 0;              // 実行金額
+        private double  m_AmountConfigRate = 0;             // 金額構成率
+        private int     m_NegotiateFlg = 0;                 // 協力業者交渉フラグ
+
+        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// グループ番号
+        /// </summary>
+        public int GroupCount
+        {
+            get { return m_GroupCount; }
+            set { m_GroupCount = value; }
+        }
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 構成名称
+        /// </summary>
+        public string FirstString
+        {
+            get { return m_FirstString; }
+            set { m_FirstString = value; }
+        }
+        /// <summary>
+        /// 工種名称・協力会社名
+        /// </summary>
+        public string SecondString
+        {
+            get { return m_SecondString; }
+            set { m_SecondString = value; }
+        }
+        /// <summary>
+        /// 協力会社コードタイプ
+        /// </summary>
+        public int CompanyType
+        {
+            get { return m_CompanyType; }
+            set { m_CompanyType = value; }
+        }
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 会社名称
+        /// </summary>
+        public string CompanyName
+        {
+            get { return m_CompanyName; }
+            set { m_CompanyName = value; }
+        }
+        /// <summary>
+        /// 見積時金額
+        /// </summary>
+        public double EstimatePrice
+        {
+            get { return m_EstimatePrice; }
+            set { m_EstimatePrice = value; }
+        }
+        /// <summary>
+        /// 交渉時金額
+        /// </summary>
+        public double NegotiationPrice
+        {
+            get { return m_NegotiationPrice; }
+            set { m_NegotiationPrice = value; }
+        }
+        /// <summary>
+        /// 発注希望金額
+        /// </summary>
+        public double OrderDesiredAmount
+        {
+            get { return m_OrderDesiredAmount; }
+            set { m_OrderDesiredAmount = value; }
+        }
+        /// <summary>
+        /// 実行金額
+        /// </summary>
+        public double ExecutionAmount
+        {
+            get { return m_ExecutionAmount; }
+            set { m_ExecutionAmount = value; }
+        }
+        /// <summary>
+        /// 金額構成率
+        /// </summary>
+        public double AmountConfigRate
+        {
+            get { return m_AmountConfigRate; }
+            set { m_AmountConfigRate = value; }
+        }
+        /// <summary>
+        /// 協力業者交渉フラグ
+        /// </summary>
+        public int NegotiateFlg
+        {
+            get { return m_NegotiateFlg; }
+            set { m_NegotiateFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameDetail.cs	(revision 84)
@@ -0,0 +1,108 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事現場選択の受け渡し用明細クラス
+    /// </summary>
+    public class ConstructionFieldNameDetail
+    {
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount { get; set; }
+
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode { get; set; }
+
+        /// <summary>
+        /// 現場名
+        /// </summary>
+        public string FieldName { get; set; }
+
+        /// <summary>
+        /// 請求金額(明細金額)
+        /// </summary>
+        public int BillPrice { get; set; }
+
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public bool DeleteFlag { get; set; }
+
+        /// <summary>
+        /// 読み取り専用フラグ
+        /// </summary>
+        public bool ReadOnly { get; set; }
+
+
+        /// <summary>
+        /// 新規行フラグ
+        /// </summary>
+        public bool AddNew { get; set; }
+
+        /// <summary>
+        /// デフォルトのコンストラクタ
+        /// </summary>
+        public ConstructionFieldNameDetail()
+        {
+            LineCount = 0;
+            ConstructionCode = -1;
+            FieldName = "";
+            BillPrice = 0;
+            DeleteFlag = false;
+			ReadOnly = false;
+            AddNew = false;
+        }
+
+        public ConstructionFieldNameDetail(int lineCount, int construnctionCode, string fieldName, int billPrice, bool deleteFlag, bool readOnly, bool addNew)
+        {
+            LineCount = lineCount;
+            ConstructionCode = construnctionCode;
+            FieldName = fieldName;
+            BillPrice = billPrice;
+            DeleteFlag = deleteFlag;
+            ReadOnly = readOnly;
+            AddNew = addNew;
+        }
+
+        public ConstructionFieldNameDetail(int lineCount, int construnctionCode, string fieldName, int billPrice, bool deleteFlag, bool readOnly)
+        {
+            LineCount = lineCount;
+            ConstructionCode = construnctionCode;
+            FieldName = fieldName;
+            BillPrice = billPrice;
+            DeleteFlag = deleteFlag;
+			ReadOnly = readOnly;
+            AddNew = false;
+        }
+
+        public ConstructionFieldNameDetail(int lineCount, int construnctionCode, string fieldName, int billPrice, bool deleteFlag)
+        {
+            LineCount = lineCount;
+            ConstructionCode = construnctionCode;
+            FieldName = fieldName;
+            BillPrice = billPrice;
+            DeleteFlag = deleteFlag;
+			ReadOnly = false;
+            AddNew = false;
+        }
+
+        public ConstructionFieldNameDetail(int lineCount, int construnctionCode, string fieldName, int billPrice)
+        {
+            LineCount = lineCount;
+            ConstructionCode = construnctionCode;
+            FieldName = fieldName;
+            BillPrice = billPrice;
+            DeleteFlag = false;
+			ReadOnly = false;
+            AddNew = false;
+        }
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameHeader.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameHeader.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameHeader.cs	(revision 84)
@@ -0,0 +1,62 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事現場選択の受け渡し用ヘッダクラス
+    /// </summary>
+    public class ConstructionFieldNameHeader
+    {
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode { get; set; }
+
+        /// <summary>
+        /// 協力会社名
+        /// </summary>
+        public string CompanyName { get; set; }
+
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public int TargetDate { get; set; }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo { get; set; }
+
+        /// <summary>
+        /// 請求金額(合計金額)
+        /// </summary>
+        public int BillPrice { get; set; }
+
+        /// <summary>
+        /// 工事金額明細
+        /// </summary>
+        public List<ConstructionFieldNameDetail> ConstructionFieldNameDetails;
+
+        /// <summary>
+        /// 検索先担当位置
+        /// </summary>
+        public int PersonCharge { get; set; } // 0:営業担当　1:工事担当　2:部署　3:全件
+
+        /// <summary>
+        /// デフォルトのコンストラクタ
+        /// </summary>
+        public  ConstructionFieldNameHeader()
+        {
+            CompanyCode = -1;
+            TargetDate = 0;
+            SeqNo = 0;
+            PersonCharge = 0;
+            ConstructionFieldNameDetails = new List<ConstructionFieldNameDetail>();
+        }
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionItemMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionItemMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionItemMaster.cs	(revision 84)
@@ -0,0 +1,94 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工種マスタ（中項目）
+    /// </summary>
+    public class ConstructionItemMaster
+    {
+        #region メンバ変数
+        private int         m_ItemCode = 0;	                    // 工種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_ItemName = string.Empty;	        // 名称
+        private int         m_SubitemsFlg = 0;	                // 下位項目フラグ
+        private int         m_MyExpensesFlg = 0;	            // 自社経費フラグ
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string ItemName
+        {
+            get { return m_ItemName; }
+            set { m_ItemName = value; }
+        }
+        /// <summary>
+        /// 下位項目フラグ
+        /// </summary>
+        public int SubitemsFlg
+        {
+            get { return m_SubitemsFlg; }
+            set { m_SubitemsFlg = value; }
+        }
+        /// <summary>
+        /// 自社経費フラグ
+        /// </summary>
+        public int MyExpensesFlg
+        {
+            get { return m_MyExpensesFlg; }
+            set { m_MyExpensesFlg = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionItemOLDMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionItemOLDMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionItemOLDMaster.cs	(revision 84)
@@ -0,0 +1,94 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工種マスタ（中項目）
+    /// </summary>
+    public class ConstructionItemOLDMaster
+    {
+        #region メンバ変数
+        private int         m_ComponentCode = 0;	            // 構成キー
+        private int         m_ItemCode = 0;	                    // 工種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_ItemName = string.Empty;	        // 名称
+        private int         m_SubitemFlg = 0;	                // 下位項目フラグ
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string ItemName
+        {
+            get { return m_ItemName; }
+            set { m_ItemName = value; }
+        }
+        /// <summary>
+        /// 下位項目フラグ
+        /// </summary>
+        public int SubitemsFlg
+        {
+            get { return m_SubitemFlg; }
+            set { m_SubitemFlg = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionLedger.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionLedger.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionLedger.cs	(revision 84)
@@ -0,0 +1,208 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事詳細台帳データ
+    /// </summary>
+    public class ConstructionLedger
+    {
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	                    // 工事コード
+
+        private int         m_ConstructionPeriod = 0;                   // 事業期
+        private int         m_CreatorCode = 0;                          // 作成者コード
+        private string      m_CreatorName = string.Empty;               // 作成者名
+        private DateTime    m_CreateDate = DateTime.Now;                // 作成日
+        private double      m_ConstructionTimes = 0;                    // 工期（単位・月）
+        private DateTime    m_ConstructionStart = DateTime.MinValue;    // 契約工期開始
+        private DateTime    m_ConstructionEnd = DateTime.MinValue;      // 契約工期完了
+
+        private double      m_OrdersDecisionPrice = 0;                  // 税抜受注決定金額
+        private double      m_CompanyExpenses = 0;                      // 会社経費合計
+        private double      m_DepartmentExpenses = 0;                   // 部署経費合計
+        private double      m_SalesExpenses = 0;                        // 営業経費合計
+        private double      m_TotalPayment = 0;                         // 総支払額
+        private double      m_GrossProfit = 0;                          // 粗利
+        private double      m_Allowance = 0;                            // 給与
+        private double      m_NetProfit = 0;                            // 純利益
+        private int         m_ComplateFlg = 0;                          // 入力完了フラグ
+        private int         m_IntegrationFlg = 0;                       // 受注金額積算フラグ
+
+        private DateTime m_EntryDate = DateTime.Now;                    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;                   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 事業期
+        /// </summary>
+        public int ConstructionPeriod
+        {
+            get { return m_ConstructionPeriod; }
+            set { m_ConstructionPeriod = value; }
+        }
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int CreatorCode
+        {
+            get { return m_CreatorCode; }
+            set { m_CreatorCode = value; }
+        }
+        /// <summary>
+        /// 作成者名
+        /// </summary>
+        public string CreatorName
+        {
+            get { return m_CreatorName; }
+            set { m_CreatorName = value; }
+        }
+
+        /// <summary>
+        /// 作成日
+        /// </summary>
+        public DateTime CreateDate
+        {
+            get { return m_CreateDate; }
+            set { m_CreateDate = value; }
+        }
+        /// <summary>
+        /// 工期（単位・月）
+        /// </summary>
+        public double ConstructionTimes
+        {
+            get { return m_ConstructionTimes; }
+            set { m_ConstructionTimes = value; }
+        }
+        /// <summary>
+        /// 契約工期開始
+        /// </summary>
+        public DateTime ConstructionStart
+        {
+            get { return m_ConstructionStart; }
+            set { m_ConstructionStart = value; }
+        }
+        /// <summary>
+        /// 契約工期完了
+        /// </summary>
+        public DateTime ConstructionEnd
+        {
+            get { return m_ConstructionEnd; }
+            set { m_ConstructionEnd = value; }
+        }
+        /// <summary>
+        /// 税抜受注決定金額
+        /// </summary>
+        public double OrdersDecisionPrice
+        {
+            get { return m_OrdersDecisionPrice; }
+            set { m_OrdersDecisionPrice = value; }
+        }
+        /// <summary>
+        /// 会社経費合計
+        /// </summary>
+        public double CompanyExpenses
+        {
+            get { return m_CompanyExpenses; }
+            set { m_CompanyExpenses = value; }
+        }
+        /// <summary>
+        /// 部署経費合計
+        /// </summary>
+        public double DepartmentExpenses
+        {
+            get { return m_DepartmentExpenses; }
+            set { m_DepartmentExpenses = value; }
+        }
+        /// <summary>
+        /// 営業経費合計
+        /// </summary>
+        public double SalesExpenses
+        {
+            get { return m_SalesExpenses; }
+            set { m_SalesExpenses = value; }
+        }
+        /// <summary>
+        /// 総支払額
+        /// </summary>
+        public double TotalPayment
+        {
+            get { return m_TotalPayment; }
+            set { m_TotalPayment = value; }
+        }
+        /// <summary>
+        /// 粗利
+        /// </summary>
+        public double GrossProfit
+        {
+            get { return m_GrossProfit; }
+            set { m_GrossProfit = value; }
+        }
+        /// <summary>
+        /// 給与
+        /// </summary>
+        public double Allowance
+        {
+            get { return m_Allowance; }
+            set { m_Allowance = value; }
+        }
+        /// <summary>
+        /// 純利益
+        /// </summary>
+        public double NetProfit
+        {
+            get { return m_NetProfit; }
+            set { m_NetProfit = value; }
+        }
+        /// <summary>
+        /// 入力完了フラグ
+        /// </summary>
+        public int ComplateFlg
+        {
+            get { return m_ComplateFlg; }
+            set { m_ComplateFlg = value; }
+        }
+        /// <summary>
+        /// 受注金額積算フラグ
+        /// </summary>
+        public int IntegrationFlg
+        {
+            get { return m_IntegrationFlg; }
+            set { m_IntegrationFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerDetail.cs	(revision 84)
@@ -0,0 +1,263 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    public class ConstructionLedgerDetail
+    {
+        /// <summary>
+        /// 工事詳細台帳明細データ
+        /// </summary>
+        #region メンバ変数
+
+        private int     m_ConstructionCode = 0;	            // 工事コード
+
+        private int     m_GroupCount = 0;                   // グループ番号
+        private int     m_LineCount = 0;                    // 行番号
+        private int     m_ComponentCode = 0;                // 構成キー
+        private int     m_ItemCode = 0;	                    // 工種キー
+        private string  m_FirstString = string.Empty;       // 項目名称
+        private string  m_SecondString = string.Empty;      // 工事内容
+        private int     m_CompanyType = 0;                  // 協力会社コードタイプ
+        private int     m_CompanyCode = 0;                  // 協力会社コード
+        private string  m_CompanyName = string.Empty;       // 協力会社名称
+        private double  m_EstimatePrice = 0;                // 予算（見積）金額
+        private double  m_ExecutionAmount = 0;              // 実行金額
+        private double  m_AmountConfigRate = 0;             // 金額構成率
+        private double  m_PaymentBurden = 0;                // 支払補填額
+
+        private int     m_FixDataFlg = 0;                   // 固定データフラグ
+        private int     m_IndependentFlg = 0;               // 独立データフラグ
+        private int     m_FluctuationFlg = 0;               // 増減データフラグ
+
+        private int     m_SalaryFlg	= 0;                    // 給与振分区分
+        private int     m_SalaryDays= 0;                    // 給与振分日数
+        private int     m_OperatingFlg = 0;                 // 担当中フラグ
+        private int     m_SourceCode = 0;                   // 元工事番号
+        private int     m_JoinTitleFlg = 0;                 // 工事名称タイトル
+        private double  m_SalaryOnRegist = 0;               // 登録時月額給与
+        private int     m_PurchaseOrderFlg = 0;             // 注文書発行フラグ
+
+        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// グループ番号
+        /// </summary>
+        public int GroupCount
+        {
+            get { return m_GroupCount; }
+            set { m_GroupCount = value; }
+        }
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 構成名称
+        /// </summary>
+        public string FirstString
+        {
+            get { return m_FirstString; }
+            set { m_FirstString = value; }
+        }
+        /// <summary>
+        /// 工種名称・協力会社名
+        /// </summary>
+        public string SecondString
+        {
+            get { return m_SecondString; }
+            set { m_SecondString = value; }
+        }
+        /// <summary>
+        /// 協力会社コードタイプ
+        /// </summary>
+        public int CompanyType
+        {
+            get { return m_CompanyType; }
+            set { m_CompanyType = value; }
+        }
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 会社名称
+        /// </summary>
+        public string CompanyName
+        {
+            get { return m_CompanyName; }
+            set { m_CompanyName = value; }
+        }
+        /// <summary>
+        /// 予算（見積）金額
+        /// </summary>
+        public double EstimatePrice
+        {
+            get { return m_EstimatePrice; }
+            set { m_EstimatePrice = value; }
+        }
+        /// <summary>
+        /// 実行金額
+        /// </summary>
+        public double ExecutionAmount
+        {
+            get { return m_ExecutionAmount; }
+            set { m_ExecutionAmount = value; }
+        }
+        /// <summary>
+        /// 金額構成率
+        /// </summary>
+        public double AmountConfigRate
+        {
+            get { return m_AmountConfigRate; }
+            set { m_AmountConfigRate = value; }
+        }
+        /// <summary>
+        /// 支払補填額
+        /// </summary>
+        public double PaymentBurden
+        {
+            get { return m_PaymentBurden; }
+            set { m_PaymentBurden = value; }
+        }
+
+        /// <summary>
+        /// 固定データフラグ
+        /// </summary>
+        public int FixDataFlg
+        {
+            get { return m_FixDataFlg; }
+            set { m_FixDataFlg = value; }
+        }
+        /// <summary>
+        /// 独立データフラグ
+        /// </summary>
+        public int IndependentFlg
+        {
+            get { return m_IndependentFlg; }
+            set { m_IndependentFlg = value; }
+        }
+        /// <summary>
+        /// 増減データフラグ
+        /// </summary>
+        public int FluctuationFlg
+        {
+            get { return m_FluctuationFlg; }
+            set { m_FluctuationFlg = value; }
+        }
+        /// <summary>
+        /// 給与振分区分
+        /// </summary>
+        public int SalaryFlg
+        {
+            get { return m_SalaryFlg; }
+            set { m_SalaryFlg = value; }
+        }
+        /// <summary>
+        /// 給与振分日数
+        /// </summary>
+        public int SalaryDays
+        {
+            get { return m_SalaryDays; }
+            set { m_SalaryDays = value; }
+        }
+        /// <summary>
+        /// 担当中フラグ
+        /// </summary>
+        public int OperatingFlg
+        {
+            get { return m_OperatingFlg; }
+            set { m_OperatingFlg = value; }
+        }
+        /// <summary>
+        /// 元工事番号
+        /// </summary>
+        public int SourceCode
+        {
+            get { return m_SourceCode; }
+            set { m_SourceCode = value; }
+        }
+        /// <summary>
+        /// 工事名称タイトル
+        /// </summary>
+        public int JoinTitleFlg
+        {
+            get { return m_JoinTitleFlg; }
+            set { m_JoinTitleFlg = value; }
+        }
+        /// <summary>
+        /// 登録時月額給与
+        /// </summary>
+        public double SalaryOnRegist
+        {
+            get { return m_SalaryOnRegist; }
+            set { m_SalaryOnRegist = value; }
+        }
+        /// <summary>
+        /// 注文書発行フラグ
+        /// </summary>
+        public int PurchaseOrderFlg
+        {
+            get { return m_PurchaseOrderFlg; }
+            set { m_PurchaseOrderFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerExcute.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerExcute.cs	(revision 84)
@@ -0,0 +1,99 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    public class ConstructionLedgerExcute
+    {
+        /// <summary>
+        /// 工事予算書明細データ
+        /// </summary>
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	            // 工事コード
+
+        private int         m_GroupCount = 0;                   // グループ番号
+        private int         m_LineCount = 0;                    // 行番号
+        private int         m_ColumnCount = 0;                  // 列番号
+
+        private double      m_PaymentAmount = 0;                // 支払金額
+        private DateTime    m_TargetMonth = DateTime.MinValue;  // 対象年月
+
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// グループ番号
+        /// </summary>
+        public int GroupCount
+        {
+            get { return m_GroupCount; }
+            set { m_GroupCount = value; }
+        }
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+        /// <summary>
+        /// 列番号
+        /// </summary>
+        public int ColumnCount
+        {
+            get { return m_ColumnCount; }
+            set { m_ColumnCount = value; }
+        }
+        /// <summary>
+        /// 支払金額
+        /// </summary>
+        public double PaymentAmount
+        {
+            get { return m_PaymentAmount; }
+            set { m_PaymentAmount = value; }
+        }
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public DateTime TargetMonth
+        {
+            get { return m_TargetMonth; }
+            set { m_TargetMonth = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionLink.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionLink.cs	(revision 84)
@@ -0,0 +1,72 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事増減情報データモデル
+    /// </summary>
+    public class ConstructionLink
+    {
+        #region 定数
+        #endregion
+
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	                // 親工事コード	
+        private int         m_FluctuationCode = 0;	                // 子工事コード	
+        private int         m_LinkType = 0;	                        // リンク種別
+
+        private DateTime    m_EntryDate = DateTime.Now;             // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;            // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード	
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 子工事コード	
+        /// </summary>
+        public int FluctuationCode
+        {
+            get { return m_FluctuationCode; }
+            set { m_FluctuationCode = value; }
+        }
+        /// <summary>
+        /// リンク種別
+        /// </summary>
+        public int LinkType
+        {
+            get { return m_LinkType; }
+            set { m_LinkType = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionListDat.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionListDat.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionListDat.cs	(revision 84)
@@ -0,0 +1,215 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事情報データモデル
+    /// </summary>
+    public class ConstructionListData
+    {
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	                            // 工事コード	
+        private int         m_ConstructionYear = 0;	                            // 工事年度
+        private int         m_ConstructionPeriod = 0;	                        // 工事期
+        private DateTime    m_RequestedDate = DateTime.MinValue;                // 依頼受け日
+        private DateTime    m_EstimatesSubmittedDate = DateTime.MinValue;       // 見積提出日
+        private DateTime    m_OrderDate = DateTime.MinValue;	                // 受注日
+        private DateTime    m_ConstructionCompletionDate = DateTime.MinValue;   // 施工完了日
+        private double      m_OrdersDecisionPrice = 0;	                        // 受注決定金額
+        private int         m_SalesPersonCode = 0;	                            // 営業担当者コード
+        private int         m_ConstructionPersonCode = 0;	                    // 工事担当者コード
+        private int         m_OrderersDivision = 0;                             // 発注者区分
+        private int         m_OrderersCode = 0;                                 // 発注者コード
+        private DateTime    m_EstimatesDeadlineDate = DateTime.MinValue;        // 見積期限
+        private DateTime    m_StartDate = DateTime.MinValue;	                // 工事開始日
+        private DateTime    m_EndDate = DateTime.MinValue;	                    // 工事終了日
+        private int         m_ConsumptionTaxFlg = 1;                            // 消費税フラグ
+        private int         m_PrimeContractorFlg = 1;	                        // 元請フラグ
+        private int         m_SalesCostFlg = 1;	                                // 営業経費発生フラグ
+        private int         m_ConstructionStatusFlg = -1;	                    // 工事状態フラグ
+
+        private DateTime    m_EntryDate = DateTime.Now;                         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;                        // 更新日付
+
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード	
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 工事年度
+        /// </summary>
+        public int ConstructionYear
+        {
+            get { return m_ConstructionYear; }
+            set { m_ConstructionYear = value; }
+        }
+        /// <summary>
+        /// 工事期
+        /// </summary>
+        public int ConstructionPeriod
+        {
+            get { return m_ConstructionPeriod; }
+            set { m_ConstructionPeriod = value; }
+        }
+        /// <summary>
+        /// 依頼受け日
+        /// </summary>
+        public DateTime RequestedDate
+        {
+            get { return m_RequestedDate; }
+            set { m_RequestedDate = value; }
+        }
+        /// <summary>
+        /// 見積提出日
+        /// </summary>
+        public DateTime EstimatesSubmittedDate
+        {
+            get { return m_EstimatesSubmittedDate; }
+            set { m_EstimatesSubmittedDate = value; }
+        }
+        /// <summary>
+        /// 受注日
+        /// </summary>
+        public DateTime OrderDate
+        {
+            get { return m_OrderDate; }
+            set { m_OrderDate = value; }
+        }
+        /// <summary>
+        /// 施工完了日
+        /// </summary>
+        public DateTime ConstructionCompletionDate
+        {
+            get { return m_ConstructionCompletionDate; }
+            set { m_ConstructionCompletionDate = value; }
+        }
+        /// <summary>
+        /// 受注決定金額
+        /// </summary>
+        public double OrdersDecisionPrice
+        {
+            get { return m_OrdersDecisionPrice; }
+            set { m_OrdersDecisionPrice = value; }
+        }
+        /// <summary>
+        /// 営業担当者コード
+        /// </summary>
+        public int SalesPersonCode
+        {
+            get { return m_SalesPersonCode; }
+            set { m_SalesPersonCode = value; }
+        }
+        /// <summary>
+        /// 工事担当者コード
+        /// </summary>
+        public int ConstructionPersonCode
+        {
+            get { return m_ConstructionPersonCode; }
+            set { m_ConstructionPersonCode = value; }
+        }
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderersDivision
+        {
+            get { return m_OrderersDivision; }
+            set { m_OrderersDivision = value; }
+        }
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int OrderersCode
+        {
+            get { return m_OrderersCode; }
+            set { m_OrderersCode = value; }
+        }
+        /// <summary>
+        /// 見積期限
+        /// </summary>
+        public DateTime EstimatesDeadlineDate
+        {
+            get { return m_EstimatesDeadlineDate; }
+            set { m_EstimatesDeadlineDate = value; }
+        }
+        /// <summary>
+        /// 工事開始日
+        /// </summary>
+        public DateTime StartDate
+        {
+            get { return m_StartDate; }
+            set { m_StartDate = value; }
+        }
+        /// <summary>
+        /// 工事終了日
+        /// </summary>
+        public DateTime EndDate
+        {
+            get { return m_EndDate; }
+            set { m_EndDate = value; }
+        }
+        /// <summary>
+        /// 消費税フラグ
+        /// </summary>
+        public int ConsumptionTaxFlg
+        {
+            get { return m_ConsumptionTaxFlg; }
+            set { m_ConsumptionTaxFlg = value; }
+        }
+        /// <summary>
+        /// 元請フラグ
+        /// </summary>
+        public int PrimeContractorFlg
+        {
+            get { return m_PrimeContractorFlg; }
+            set { m_PrimeContractorFlg = value; }
+        }
+        /// <summary>
+        /// 営業経費発生フラグ
+        /// </summary>
+        public int SalesCostFlg
+        {
+            get { return m_SalesCostFlg; }
+            set { m_SalesCostFlg = value; }
+        }
+        /// <summary>
+        /// 工事状態フラグ
+        /// </summary>
+        public int ConstructionStatusFlg
+        {
+            get { return m_ConstructionStatusFlg; }
+            set { m_ConstructionStatusFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionMaterialInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionMaterialInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionMaterialInfo.cs	(revision 84)
@@ -0,0 +1,87 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class ConstructionMaterialInfo
+    {
+        #region メンバ変数
+        private int m_ConstructionCode = 0;	            // 工事番号　キー項目
+        private int m_MaterialItemCode = 0;	            // 資材品目　キー項目
+        private int m_RentCount = 0;	                // 貸出数
+        private int m_RepayCount = 0;	                // 返却数
+        private int m_CompleteFlg = 0;	                // 完了フラグ
+        private DateTime m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号　キー項目
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 資材品目　キー項目
+        /// </summary>
+        public int MaterialItemCode
+        {
+            get { return m_MaterialItemCode; }
+            set { m_MaterialItemCode = value; }
+        }
+        /// <summary>
+        /// 貸出数
+        /// </summary>
+        public int RentCount
+        {
+            get { return m_RentCount; }
+            set { m_RentCount = value; }
+        }
+
+        /// <summary>
+        /// 返却数
+        /// </summary>
+        public int RepayCount
+        {
+            get { return m_RepayCount; }
+            set { m_RepayCount = value; }
+        }
+
+        /// <summary>
+        /// 完了フラグ
+        /// </summary>
+        public int CompleteFlg
+        {
+            get { return m_CompleteFlg; }
+            set { m_CompleteFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionProgressDate.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionProgressDate.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionProgressDate.cs	(revision 84)
@@ -0,0 +1,106 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 案件進捗日付データ
+    /// </summary>
+    public class ConstructionProgressDate
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 設定工事状態フラグ
+        /// </summary>
+        private int         m_ConstructionStatusFlg = 0;
+        /// <summary>
+        /// 変更前状態
+        /// </summary>
+        private int         m_PreviousStatusFlg = 0;
+        /// <summary>
+        /// 設定日付
+        /// </summary>
+        private DateTime    m_ChangeDate = DateTime.Now;
+        /// <summary>
+        /// 設定担当者
+        /// </summary>
+        private int         m_ChangePersonCode = 0;
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 設定工事状態フラグ
+        /// </summary>
+        public int ConstructionStatusFlg
+        {
+            get { return m_ConstructionStatusFlg; }
+            set { m_ConstructionStatusFlg = value; }
+        }
+        /// <summary>
+        /// 変更前状態
+        /// </summary>
+        public int PreviousStatusFlg
+        {
+            get { return m_PreviousStatusFlg; }
+            set { m_PreviousStatusFlg = value; }
+        }
+        /// <summary>
+        /// 設定日付
+        /// </summary>
+        public DateTime ChangeDate
+        {
+            get { return m_ChangeDate; }
+            set { m_ChangeDate = value; }
+        }
+        /// <summary>
+        /// 設定担当者
+        /// </summary>
+        public int ChangePersonCode
+        {
+            get { return m_ChangePersonCode; }
+            set { m_ChangePersonCode = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecMaster.cs	(revision 84)
@@ -0,0 +1,115 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 作業マスタ（小項目マスタ）
+    /// </summary>
+    public class ConstructionSpecMaster
+    {
+        #region メンバ変数
+
+        private int         m_ItemCode = 0;	                    // 工種キー
+        private int         m_SpecCode = 0;                     // 作業項目キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_ItemName = string.Empty;	        // 工事名称
+        private string      m_SpecName = string.Empty;          // 作業項目名称
+        private string      m_UnitName = string.Empty;          // 単位	
+        private double      m_UnitPrice = 0;                    // 単価
+        private int         m_DeleteFlg = 0;                    // 削除フラグ
+
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 規格・寸法キー
+        /// </summary>
+        public int SpecCode
+        {
+            get { return m_SpecCode; }
+            set { m_SpecCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 工事名称
+        /// </summary>
+        public string ItemName
+        {
+            get { return m_ItemName; }
+            set { m_ItemName = value; }
+        }
+        /// <summary>
+        /// 規格・寸法名称
+        /// </summary>
+        public string SpecName
+        {
+            get { return m_SpecName; }
+            set { m_SpecName = value; }
+        }
+        /// <summary>
+        /// 単位	
+        /// </summary>
+        public string UnitName
+        {
+            get { return m_UnitName; }
+            set { m_UnitName = value; }
+        }
+        /// <summary>
+        /// 単価
+        /// </summary>
+        public double UnitPrice
+        {
+            get { return m_UnitPrice; }
+            set { m_UnitPrice = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecUnitPrice.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecUnitPrice.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecUnitPrice.cs	(revision 84)
@@ -0,0 +1,85 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    public class ConstructionSpecUnitPrice
+    {
+        #region メンバ変数
+
+        private int         m_ComponentCode = 0;	            // 構成キー
+        private int         m_ItemCode = 0;	                    // 工種キー
+        private int         m_SpecCode = 0;                     // 規格・寸法キー
+        private int         m_TypeCode = 0;	                    // 工事種別キー
+        private double      m_UnitPrice = 0;                    // 単価
+
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 規格・寸法キー
+        /// </summary>
+        public int SpecCode
+        {
+            get { return m_SpecCode; }
+            set { m_SpecCode = value; }
+        }
+        /// <summary>
+        /// 工事種別
+        /// </summary>
+        public int TypeCode
+        {
+            get { return m_TypeCode; }
+            set { m_TypeCode = value; }
+        }
+        /// <summary>
+        /// 単価
+        /// </summary>
+        public double UnitPrice
+        {
+            get { return m_UnitPrice; }
+            set { m_UnitPrice = value; }
+        }
+        
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionTypeMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionTypeMaster.cs	(revision 84)
@@ -0,0 +1,104 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事種別マスタ
+    /// </summary>
+    public class ConstructionTypeMaster
+    {
+        #region メンバ変数
+        private int         m_TypeCode = 0;	                    // 工事種別コード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_NameString = string.Empty;	    // 表示名称
+        private int         m_SecRank = 0;                      // 保護区分ランク
+        private int         m_PublicFlg = 0;                    // 公共工事フラグ
+        private int         m_ExpensesLink = 0;                 // 経費使用区分
+
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事種別コード
+        /// </summary>
+        public int TypeCode
+        {
+            get { return m_TypeCode; }
+            set { m_TypeCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 表示名称
+        /// </summary>
+        public string NameString
+        {
+            get { return m_NameString; }
+            set { m_NameString = value; }
+        }
+        /// <summary>
+        /// 保護区分ランク
+        /// </summary>
+        public int SecRank
+        {
+            get { return m_SecRank; }
+            set { m_SecRank = value; }
+        }
+        /// <summary>
+        /// 公共工事フラグ
+        /// </summary>
+        public int PublicFlg
+        {
+            get { return m_PublicFlg; }
+            set { m_PublicFlg = value; }
+        }
+        /// <summary>
+        /// 経費使用区分
+        /// </summary>
+        public int ExpensesLink
+        {
+            get { return m_ExpensesLink; }
+            set { m_ExpensesLink = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ConstructionWorkMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionWorkMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionWorkMaster.cs	(revision 84)
@@ -0,0 +1,121 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    public class ConstructionWorkMaster
+    {
+        #region メンバ変数
+
+        private int         m_ComponentCode = 0;	            // 構成キー
+        private int         m_ItemCode = 0;	                    // 工種キー
+        private int         m_WorkCode = 0;                     // 規格・寸法キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_ItemName = string.Empty;	        // 工事名称
+        private string      m_WorkName = string.Empty;          // 規格・寸法名称
+        private string      m_UnitName = string.Empty;          // 単位	
+        private double      m_UnitPrice = 0;                    // 単価
+        private int         m_DeleteFlg = 0;                    // 削除フラグ
+
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 規格・寸法キー
+        /// </summary>
+        public int WorkCode
+        {
+            get { return m_WorkCode; }
+            set { m_WorkCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 工事名称
+        /// </summary>
+        public string ItemName
+        {
+            get { return m_ItemName; }
+            set { m_ItemName = value; }
+        }
+        /// <summary>
+        /// 規格・寸法名称
+        /// </summary>
+        public string WorkName
+        {
+            get { return m_WorkName; }
+            set { m_WorkName = value; }
+        }
+        /// <summary>
+        /// 単位	
+        /// </summary>
+        public string UnitName
+        {
+            get { return m_UnitName; }
+            set { m_UnitName = value; }
+        }
+        /// <summary>
+        /// 単価
+        /// </summary>
+        public double UnitPrice
+        {
+            get { return m_UnitPrice; }
+            set { m_UnitPrice = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CostDataOfPerson.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CostDataOfPerson.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CostDataOfPerson.cs	(revision 84)
@@ -0,0 +1,228 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 担当者毎経費データ
+    /// </summary>
+    public class CostDataOfPerson
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        private int         m_PersonCode = 0;
+        /// <summary>
+        /// 対象日付
+        /// </summary>
+        private DateTime    m_ActionDate = DateTime.Now;
+        /// <summary>
+        /// データ種別
+        /// </summary>
+        private int         m_DataType = 0;
+        /// <summary>
+        /// データ追加番号
+        /// </summary>
+        private int         m_DataAddCount = 0;
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        private string      m_TargetMonth = string.Empty;
+        /// <summary>
+        /// 工事コード	
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 支払先コード
+        /// </summary>
+        private int         m_SuppliersCode = 0;
+        /// <summary>
+        /// 支払先名称
+        /// </summary>
+        private string      m_SuppliersName = string.Empty;
+        /// <summary>
+        /// 支払内容
+        /// </summary>
+        private string      m_PaymentContent = string.Empty;
+        /// <summary>
+        /// 支払方法フラグ
+        /// </summary>
+        private int         m_PaymentType = 0;
+        /// <summary>
+        /// 金額（税抜）
+        /// </summary>
+        private double      m_EntryPrice = 0;
+        /// <summary>
+        /// 金額（税込）
+        /// </summary>
+        private double      m_EntryPriceInTax = 0;
+        /// <summary>
+        /// 伝票番号
+        /// </summary>
+        private string      m_SlipNumber = string.Empty;
+        /// <summary>
+        /// 引込済みフラグ
+        /// </summary>
+        private int         m_ComplateFlg = 0;
+        /// <summary>
+        /// 承認フラグ
+        /// </summary>
+        private int         m_ApprovalFlg = 0;
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 対象日付
+        /// </summary>
+        public DateTime ActionDate
+        {
+            get { return m_ActionDate; }
+            set { m_ActionDate = value; }
+        }
+        /// <summary>
+        /// データ種別
+        /// </summary>
+        public int DataType
+        {
+            get { return m_DataType; }
+            set { m_DataType = value; }
+        }
+        /// <summary>
+        /// データ追加番号
+        /// </summary>
+        public int DataAddCount
+        {
+            get { return m_DataAddCount; }
+            set { m_DataAddCount = value; }
+        }
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public string TargetMonth
+        {
+            get { return m_TargetMonth; }
+            set { m_TargetMonth = value; }
+        }
+        /// <summary>
+        /// 工事コード	
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 支払先コード
+        /// </summary>
+        public int SuppliersCode
+        {
+            get { return m_SuppliersCode; }
+            set { m_SuppliersCode = value; }
+        }
+        /// <summary>
+        /// 支払先名称
+        /// </summary>
+        public string SuppliersName
+        {
+            get { return m_SuppliersName; }
+            set { m_SuppliersName = value; }
+        }
+        /// <summary>
+        /// 支払内容
+        /// </summary>
+        public string PaymentContent
+        {
+            get { return m_PaymentContent; }
+            set { m_PaymentContent = value; }
+        }
+        /// <summary>
+        /// 支払方法フラグ
+        /// </summary>
+        public int PaymentType
+        {
+            get { return m_PaymentType; }
+            set { m_PaymentType = value; }
+        }
+        /// <summary>
+        /// 金額（税抜）
+        /// </summary>
+        public double EntryPrice
+        {
+            get { return m_EntryPrice; }
+            set { m_EntryPrice = value; }
+        }
+        /// <summary>
+        /// 金額（税込）
+        /// </summary>
+        public double EntryPriceInTax
+        {
+            get { return m_EntryPriceInTax; }
+            set { m_EntryPriceInTax = value; }
+        }
+        /// <summary>
+        /// 伝票番号
+        /// </summary>
+        public string SlipNumber
+        {
+            get { return m_SlipNumber; }
+            set { m_SlipNumber = value; }
+        }
+        /// <summary>
+        /// 引込済みフラグ
+        /// </summary>
+        public int ComplateFlg
+        {
+            get { return m_ComplateFlg; }
+            set { m_ComplateFlg = value; }
+        }
+        /// <summary>
+        /// 承認フラグ
+        /// </summary>
+        public int ApprovalFlg
+        {
+            get { return m_ApprovalFlg; }
+            set { m_ApprovalFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/CostomerRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CostomerRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/CostomerRegist.cs	(revision 84)
@@ -0,0 +1,274 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 発注者登録申請データモデル
+    /// </summary>
+    public class CostomerRegist
+    {
+        #region メンバ変数
+        private int         m_PersonCode = 0;                       // 申請者番号
+        private DateTime    m_CreateDate = DateTime.Now;            // 作成日
+        private int         m_SeqNo = 0;                            // 申請連番
+
+        private int         m_DataMode = 0;                         // データ区分
+        private int         m_SourceCotegory = 0;                   // 発注者区分
+        private int         m_SourceCode = 0;                       // 発注者コード
+        private int         m_PetitionPeriod = 0;                   // 申請年度
+        
+        private int         m_OrderFlg = 0;                         // 法人団体・個人フラグ
+        private string      m_CorporateStatusName = string.Empty;	// 法人格名称
+        private int         m_CorporateStatusPoint = 0;	            // 法人格名称位置
+        private string      m_OrderersName1 = string.Empty;	        // 発注者名１
+        private string      m_OrderersName2 = string.Empty;	        // 発注者名２
+
+        private string      m_DepartmentName = string.Empty;	    // 部署
+        private string      m_ChargePersonName = string.Empty;	    // 担当者名
+
+        private string      m_ZipCode = string.Empty;	            // 郵便番号
+        private string      m_Address1 = string.Empty;	            // 住所1
+        private string      m_Address2 = string.Empty;	            // 住所2
+        private string      m_Address3 = string.Empty;	            // 住所3
+        private string      m_PhoneNumber = string.Empty;	        // 電話番号
+        private string      m_FaxNumber = string.Empty;	            // FAX番号
+        private string      m_MailAddress = string.Empty;           // メールアドレス
+        private string      m_note = string.Empty;	                // 備考
+        private int         m_OrderCotegory = 0;                    // 発注者区分
+
+        private DateTime    m_OrderDate = DateTime.MinValue;        // 申請日
+        private int         m_OrderNo = 0;                          // 申請受付番号
+
+        private DateTime    m_EntryDate = DateTime.Now;             // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;            // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 申請者番号
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 作成日
+        /// </summary>
+        public DateTime CreateDate
+        {
+            get { return m_CreateDate; }
+            set { m_CreateDate = value; }
+        }
+        /// <summary>
+        /// 申請連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// データ区分
+        /// </summary>
+        public int DataMode
+        {
+            get { return m_DataMode; }
+            set { m_DataMode = value; }
+        }
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int SourceCotegory
+        {
+            get { return m_SourceCotegory; }
+            set { m_SourceCotegory = value; }
+        }
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int SourceCode
+        {
+            get { return m_SourceCode; }
+            set { m_SourceCode = value; }
+        }
+        /// <summary>
+        /// 申請年度
+        /// </summary>
+        public int PetitionPeriod
+        {
+            get { return m_PetitionPeriod; }
+            set { m_PetitionPeriod = value; }
+        }
+
+        /// <summary>
+        /// 法人団体・個人フラグ
+        /// </summary>
+        public int OrderFlg
+        {
+            get { return m_OrderFlg; }
+            set { m_OrderFlg = value; }
+        }
+        /// <summary>
+        /// 法人格名称
+        /// </summary>
+        public string CorporateStatusName
+        {
+            set { m_CorporateStatusName = value; }
+            get { return m_CorporateStatusName; }
+        }
+        /// <summary>
+        /// 法人格名称位置
+        /// </summary>
+        public int CorporateStatusPoint
+        {
+            set { m_CorporateStatusPoint = value; }
+            get { return m_CorporateStatusPoint; }
+        }
+        /// <summary>
+        /// 発注者名１
+        /// </summary>
+        public string OrderersName1
+        {
+            set { m_OrderersName1 = value; }
+            get { return m_OrderersName1; }
+        }
+        /// <summary>
+        /// 発注者名２
+        /// </summary>
+        public string OrderersName2
+        {
+            set { m_OrderersName2 = value; }
+            get { return m_OrderersName2; }
+        }
+        /// <summary>
+        /// 部署名
+        /// </summary>
+        public string DepartmentName
+        {
+            get { return m_DepartmentName; }
+            set { m_DepartmentName = value; }
+        }
+        /// <summary>
+        /// 担当者名
+        /// </summary>
+        public string ChargePersonName
+        {
+            get { return m_ChargePersonName; }
+            set { m_ChargePersonName = value; }
+        }
+        /// <summary>
+        /// 郵便番号
+        /// </summary>
+        public string ZipCode
+        {
+            set { m_ZipCode = value; }
+            get { return m_ZipCode; }
+        }
+        /// <summary>
+        /// 住所1
+        /// </summary>
+        public string Address1
+        {
+            set { m_Address1 = value; }
+            get { return m_Address1; }
+        }
+        /// <summary>
+        /// 住所2
+        /// </summary>
+        public string Address2
+        {
+            set { m_Address2 = value; }
+            get { return m_Address2; }
+        }
+        /// <summary>
+        /// 住所3
+        /// </summary>
+        public string Address3
+        {
+            set { m_Address3 = value; }
+            get { return m_Address3; }
+        }
+        /// <summary>
+        /// 電話番号
+        /// </summary>
+        public string PhoneNumber
+        {
+            set { m_PhoneNumber = value; }
+            get { return m_PhoneNumber; }
+        }
+        /// <summary>
+        /// FAX番号
+        /// </summary>
+        public string FaxNumber
+        {
+            set { m_FaxNumber = value; }
+            get { return m_FaxNumber; }
+        }
+        /// <summary>
+        /// メールアドレス
+        /// </summary>
+        public string MailAddress
+        {
+            get { return m_MailAddress; }
+            set { m_MailAddress = value; }
+        }
+        /// <summary>
+        /// 備考  
+        /// </summary>
+        public string Note
+        {
+            set { m_note = value; }
+            get { return m_note; }
+        }
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderCotegory
+        {
+            get { return m_OrderCotegory; }
+            set { m_OrderCotegory = value; }
+        }
+
+        /// <summary>
+        /// 申請日
+        /// </summary>
+        public DateTime OrderDate
+        {
+            get { return m_OrderDate; }
+            set { m_OrderDate = value; }
+        }
+        /// <summary>
+        /// 申請受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyData.cs	(revision 84)
@@ -0,0 +1,103 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 日報データ定義クラス
+    /// </summary>
+    public class DailyData
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int         m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime    m_DailyDataDate = DateTime.MinValue;
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        private int         m_LineCoount = 0;
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 作業内容
+        /// </summary>
+        private string      m_WorkContentsText = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime DailyDataDate
+        {
+            get { return m_DailyDataDate; }
+            set { m_DailyDataDate = value; }
+        }
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCoount
+        {
+            get { return m_LineCoount; }
+            set { m_LineCoount = value; }
+        }
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 作業内容
+        /// </summary>
+        public string WorkContentsText
+        {
+            get { return m_WorkContentsText; }
+            set { m_WorkContentsText = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DailyDataConstruction.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataConstruction.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataConstruction.cs	(revision 84)
@@ -0,0 +1,91 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 日報データ (工事)定義クラス
+    /// </summary>
+    public class DailyDataConstruction
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime m_DailyDataDate = DateTime.MinValue;
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int m_ConstructionCode = 0;
+        /// <summary>
+        /// 天気
+        /// </summary>
+        private string m_Weather = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime DailyDataDate
+        {
+            get { return m_DailyDataDate; }
+            set { m_DailyDataDate = value; }
+        }
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 天気
+        /// </summary>
+        public string Weather
+        {
+            get { return m_Weather; }
+            set { m_Weather = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DailyDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataDetail.cs	(revision 84)
@@ -0,0 +1,175 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 日報データ (明細)定義クラス
+    /// </summary>
+    public class DailyDataDetail
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime m_DailyDataDate = DateTime.Now;
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int m_ConstructionCode = 0;
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        private int m_SeqNo = 0;
+        /// <summary>
+        /// 職種キー
+        /// </summary>
+        private int m_JobCategoryCode = 0;
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        private int m_CompanyCode = 0;
+        /// <summary>
+        /// 当日人員数
+        /// </summary>
+        private double m_TodayHeadCount = 0;
+        /// <summary>
+        /// 累計人員数
+        /// </summary>
+        private double m_TotalHeadCount = 0;
+        /// <summary>
+        /// 当日作業内容
+        /// </summary>
+        private string m_TodayWork = string.Empty;
+        /// <summary>
+        /// 翌日作業内容
+        /// </summary>
+        private string m_NextdayWork = string.Empty;
+        /// <summary>
+        /// 翌日人員数
+        /// </summary>
+        private double m_NextdayHeadCount = 0;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime DailyDataDate
+        {
+            get { return m_DailyDataDate; }
+            set { m_DailyDataDate = value; }
+        }
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 職種キー
+        /// </summary>
+        public int JobCategoryCode
+        {
+            get { return m_JobCategoryCode; }
+            set { m_JobCategoryCode = value; }
+        }
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 当日人員数
+        /// </summary>
+        public double TodayHeadCount
+        {
+            get { return m_TodayHeadCount; }
+            set { m_TodayHeadCount = value; }
+        }
+        /// <summary>
+        /// 累計人員数
+        /// </summary>
+        public double TotalHeadCount
+        {
+            get { return m_TotalHeadCount; }
+            set { m_TotalHeadCount = value; }
+        }
+        /// <summary>
+        /// 当日作業内容
+        /// </summary>
+        public string TodayWork
+        {
+            get { return m_TodayWork; }
+            set { m_TodayWork = value; }
+        }
+        /// <summary>
+        /// 翌日作業内容
+        /// </summary>
+        public string NextdayWork
+        {
+            get { return m_NextdayWork; }
+            set { m_NextdayWork = value; }
+        }
+        /// <summary>
+        /// 翌日人員数
+        /// </summary>
+        public double NextdayHeadCount
+        {
+            get { return m_NextdayHeadCount; }
+            set { m_NextdayHeadCount = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DailyDataField.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataField.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataField.cs	(revision 84)
@@ -0,0 +1,115 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 日報データ (現場巡回)定義クラス
+    /// </summary>
+    public class DailyDataField
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime m_DailyDataDate = DateTime.MinValue;
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int m_ConstructionCode = 0;
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        private int m_SeqNo = 0;
+        /// <summary>
+        /// 巡回時間
+        /// </summary>
+        private DateTime m_PatrolTime = DateTime.MinValue;
+        /// <summary>
+        /// 内容
+        /// </summary>
+        private string m_ContentsText = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime DailyDataDate
+        {
+            get { return m_DailyDataDate; }
+            set { m_DailyDataDate = value; }
+        }
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 巡回時間
+        /// </summary>
+        public DateTime PatrolTime
+        {
+            get { return m_PatrolTime; }
+            set { m_PatrolTime = value; }
+        }
+        /// <summary>
+        /// 内容
+        /// </summary>
+        public string ContentsText
+        {
+            get { return m_ContentsText; }
+            set { m_ContentsText = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DailyDataMaterials.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataMaterials.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataMaterials.cs	(revision 84)
@@ -0,0 +1,151 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 日報データ (資材)定義クラス
+    /// </summary>
+    public class DailyDataMaterials
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime m_DailyDataDate = DateTime.MinValue;
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int m_ConstructionCode = 0;
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        private int m_SeqNo = 0;
+        /// <summary>
+        /// 資材名
+        /// </summary>
+        private string m_Materials = string.Empty;
+        /// <summary>
+        /// 数量
+        /// </summary>
+        private string m_Quantity = string.Empty;
+        /// <summary>
+        /// 制作会社
+        /// </summary>
+        private string m_Production = string.Empty;
+        /// <summary>
+        /// 納入業者
+        /// </summary>
+        private string m_Delivery = string.Empty;
+        /// <summary>
+        /// 品質管理事項
+        /// </summary>
+        private string m_QualityControl = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime DailyDataDate
+        {
+            get { return m_DailyDataDate; }
+            set { m_DailyDataDate = value; }
+        }
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 資材名
+        /// </summary>
+        public string Materials
+        {
+            get { return m_Materials; }
+            set { m_Materials = value; }
+        }
+        /// <summary>
+        /// 数量
+        /// </summary>
+        public string Quantity
+        {
+            get { return m_Quantity; }
+            set { m_Quantity = value; }
+        }
+        /// <summary>
+        /// 制作会社
+        /// </summary>
+        public string Production
+        {
+            get { return m_Production; }
+            set { m_Production = value; }
+        }
+        /// <summary>
+        /// 納入業者
+        /// </summary>
+        public string Delivery
+        {
+            get { return m_Delivery; }
+            set { m_Delivery = value; }
+        }
+        /// <summary>
+        /// 品質管理事項
+        /// </summary>
+        public string QualityControl
+        {
+            get { return m_QualityControl; }
+            set { m_QualityControl = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DailyDataSubcontractors.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataSubcontractors.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataSubcontractors.cs	(revision 84)
@@ -0,0 +1,115 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 日報データ (協力業者指示)定義クラス
+    /// </summary>
+    public class DailyDataSubcontractors
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime m_DailyDataDate = DateTime.MinValue;
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int m_ConstructionCode = 0;
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        private int m_SeqNo = 0;
+        /// <summary>
+        /// 出席者
+        /// </summary>
+        private string m_Attendee = string.Empty;
+        /// <summary>
+        /// 内容
+        /// </summary>
+        private string m_ContentsText = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime DailyDataDate
+        {
+            get { return m_DailyDataDate; }
+            set { m_DailyDataDate = value; }
+        }
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 出席者
+        /// </summary>
+        public string Attendee
+        {
+            get { return m_Attendee; }
+            set { m_Attendee = value; }
+        }
+        /// <summary>
+        /// 内容
+        /// </summary>
+        public string ContentsText
+        {
+            get { return m_ContentsText; }
+            set { m_ContentsText = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DailyDataVehicles.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataVehicles.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataVehicles.cs	(revision 84)
@@ -0,0 +1,163 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 日報データ (車両)定義クラス
+    /// </summary>
+    public class DailyDataVehicles
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime m_DailyDataDate = DateTime.MinValue;
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int m_ConstructionCode = 0;
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        private int m_SeqNo = 0;
+        /// <summary>
+        /// 機種
+        /// </summary>
+        private string m_Model = string.Empty;
+        /// <summary>
+        /// 性能
+        /// </summary>
+        private string m_Performance = string.Empty;
+        /// <summary>
+        /// 所有会社
+        /// </summary>
+        private string m_Owner = string.Empty;
+        /// <summary>
+        /// 当日運転者
+        /// </summary>
+        private string m_Driver = string.Empty;
+        /// <summary>
+        /// 作業時間開始
+        /// </summary>
+        private DateTime m_StartWorkingTime = DateTime.Now;
+        /// <summary>
+        /// 作業時間終了
+        /// </summary>
+        private DateTime m_EndWorkingTime = DateTime.Now;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime DailyDataDate
+        {
+            get { return m_DailyDataDate; }
+            set { m_DailyDataDate = value; }
+        }
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 機種
+        /// </summary>
+        public string Model
+        {
+            get { return m_Model; }
+            set { m_Model = value; }
+        }
+        /// <summary>
+        /// 性能
+        /// </summary>
+        public string Performance
+        {
+            get { return m_Performance; }
+            set { m_Performance = value; }
+        }
+        /// <summary>
+        /// 所有会社
+        /// </summary>
+        public string Owner
+        {
+            get { return m_Owner; }
+            set { m_Owner = value; }
+        }
+        /// <summary>
+        /// 当日運転者
+        /// </summary>
+        public string Driver
+        {
+            get { return m_Driver; }
+            set { m_Driver = value; }
+        }
+        /// <summary>
+        /// 作業時間開始
+        /// </summary>
+        public DateTime StartWorkingTime
+        {
+            get { return m_StartWorkingTime; }
+            set { m_StartWorkingTime = value; }
+        }
+        /// <summary>
+        /// 作業時間終了
+        /// </summary>
+        public DateTime EndWorkingTime
+        {
+            get { return m_EndWorkingTime; }
+            set { m_EndWorkingTime = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DeadLineMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DeadLineMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DeadLineMaster.cs	(revision 84)
@@ -0,0 +1,90 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class DeadLineMaster
+    {
+        #region メンバ変数
+        private int m_LabourKind = 0;       // 手間業者区分
+        private int m_DeadLine = 0;         // 締日
+        private int m_PayDay = 0;           // 支払日
+        private string m_Note = "";         // 備考
+        private int m_DeleteFlg = 0;        // 削除フラグ
+        private DateTime m_EntryDate = DateTime.Now;    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 
+        /// </summary>
+        public int LabourKind
+        {
+            get { return m_LabourKind; }
+            set { m_LabourKind = value; }
+        }
+
+        /// <summary>
+        /// 
+        /// </summary>
+        public int DeadLine
+        {
+            get { return m_DeadLine; }
+            set { m_DeadLine = value; }
+        }
+
+        /// <summary>
+        /// 
+        /// </summary>
+        public int PayDay
+        {
+            get { return m_PayDay; }
+            set { m_PayDay = value; }
+        }
+
+        /// <summary>
+        /// 
+        /// </summary>
+        public string Note
+        {
+            get { return m_Note; }
+            set { m_Note = value; }
+        }
+
+        /// <summary>
+        /// 
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DepartmentExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepartmentExpenses.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DepartmentExpenses.cs	(revision 84)
@@ -0,0 +1,95 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 部署経費率マスタ
+    /// </summary>
+    public class DepartmentExpenses
+    {
+        #region メンバ変数
+        private int         m_DepartmentCode = 0;	            // 工事種別コード
+        private int         m_ExpensesPeriod = 0;               // 事業期
+        private int         m_NameCode = 0;	                    // 経費区分コード
+
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private double      m_ExpensesRatio = 0;	            // 経費率
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 区分コード
+        /// </summary>
+        public int DepartmentCode
+        {
+            get { return m_DepartmentCode; }
+            set { m_DepartmentCode = value; }
+        }
+        /// <summary>
+        /// 事業期
+        /// </summary>
+        public int ExpensesPeriod
+        {
+            get { return m_ExpensesPeriod; }
+            set { m_ExpensesPeriod = value; }
+        }
+        /// <summary>
+        /// 名称コード
+        /// </summary>
+        public int NameCode
+        {
+            get { return m_NameCode; }
+            set { m_NameCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 経費率
+        /// </summary>
+        public double ExpensesRatio
+        {
+            get { return m_ExpensesRatio; }
+            set { m_ExpensesRatio = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DepartmentMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepartmentMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DepartmentMaster.cs	(revision 84)
@@ -0,0 +1,94 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 部署マスタ
+    /// </summary>
+    public class DepartmentMaster
+    {
+        #region メンバ変数
+        private int         m_DepartmentCode = 0;	            // 部署コード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_DepartmentString = string.Empty;	// 表示名称
+        private int         m_ActionScheduleFlg = 0;	        // 行動予定表示フラグ
+        private int         m_StaffAssignFlg = 0;               // 人員配置表示フラグ
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 部署コード
+        /// </summary>
+        public int DepartmentCode
+        {
+            get { return m_DepartmentCode; }
+            set { m_DepartmentCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 表示名称
+        /// </summary>
+        public string DepartmentString
+        {
+            get { return m_DepartmentString; }
+            set { m_DepartmentString = value; }
+        }
+        /// <summary>
+        /// 行動予定表示フラグ
+        /// </summary>
+        public int ActionScheduleFlg
+        {
+            get { return m_ActionScheduleFlg; }
+            set { m_ActionScheduleFlg = value; }
+        }
+        /// <summary>
+        /// 人員配置表示フラグ
+        /// </summary>
+        public int StaffAssignFlg
+        {
+            get { return m_StaffAssignFlg; }
+            set { m_StaffAssignFlg = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DepositApprovalInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepositApprovalInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DepositApprovalInfo.cs	(revision 84)
@@ -0,0 +1,142 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 入金確認承認データ
+    /// </summary>
+    public class DepositApprovalInfo
+    {
+        #region メンバ変数
+        private int m_OrderersDivision = 0;                     // 発注者区分
+        private int m_OrderersCode = 0;                         // 発注者コード
+        private string m_TargetDate = string.Empty;             // 対象年月
+        private int m_SeqNo = 0;                                // 連番
+        private int m_LineCount = 0;                            // 行番号
+        private int m_ApprovalNo = 0;                           // 承認順序
+        private int m_ApprovalPerson = 0;                       // 承認者コード
+        private string m_ApprovalPersonName = string.Empty;     // 承認者名
+        private int m_ApprovalAuthority = 0;                    // 承認権限区分
+        private DateTime m_ApprovalDate = DateTime.MinValue;    // 承認日付
+        private DateTime m_EntryDate = DateTime.Now;            // 登録年月日
+        private DateTime m_UpdateDate = DateTime.Now;           // 更新年月日
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderersDivision
+        {
+            get { return m_OrderersDivision; }
+            set { m_OrderersDivision = value; }
+        }
+
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int OrderersCode
+        {
+            get { return m_OrderersCode; }
+            set { m_OrderersCode = value; }
+        }
+
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public string TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+
+        /// <summary>
+        /// 承認順序
+        /// </summary>
+        public int ApprovalNo
+        {
+            get { return m_ApprovalNo; }
+            set { m_ApprovalNo = value; }
+        }
+
+        /// <summary>
+        /// 承認者コード
+        /// </summary>
+        public int ApprovalPerson
+        {
+            get { return m_ApprovalPerson; }
+            set { m_ApprovalPerson = value; }
+        }
+
+        /// <summary>
+        /// 承認者名
+        /// </summary>
+        public string ApprovalPersonName
+        {
+            get { return m_ApprovalPersonName; }
+            set { m_ApprovalPersonName = value; }
+        }
+
+        /// <summary>
+        /// 承認権限区分
+        /// </summary>
+        public int ApprovalAuthority
+        {
+            get { return m_ApprovalAuthority; }
+            set { m_ApprovalAuthority = value; }
+        }
+
+        /// <summary>
+        /// 承認日付
+        /// </summary>
+        public DateTime ApprovalDate
+        {
+            get { return m_ApprovalDate; }
+            set { m_ApprovalDate = value; }
+        }
+
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DepositData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepositData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DepositData.cs	(revision 84)
@@ -0,0 +1,133 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 入金データ
+    /// </summary>
+    public class DepositData
+    {
+        #region メンバ変数
+        private int m_OrderersDivision = 0;                     // 発注者区分
+        private int m_OrderersCode = 0;                         // 発注者コード
+        private string m_TargetDate = string.Empty;             // 対象年月
+        private int m_SeqNo = 0;                                // 連番
+        private int m_BusinessPeriod = 0;                         // 営業期
+        private DateTime m_DepositDate = DateTime.MinValue;     // 入金日
+        private int m_DepositAmount = 0;                        // 入金金額
+        private int m_DepositAmountCash = 0;                    // 入金金額（現金）
+        private int m_DepositAmountBill = 0;                    // 入金金額（手形）
+        private DateTime m_EntryDate = DateTime.Now;            // 登録年月日
+        private DateTime m_UpdateDate = DateTime.Now;           // 更新年月日
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderersDivision
+        {
+            get { return m_OrderersDivision; }
+            set { m_OrderersDivision = value; }
+        }
+
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int OrderersCode
+        {
+            get { return m_OrderersCode; }
+            set { m_OrderersCode = value; }
+        }
+
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public string TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+
+        /// <summary>
+        /// 営業期
+        /// </summary>
+        public int BusinessPeriod
+        {
+            get { return m_BusinessPeriod; }
+            set { m_BusinessPeriod = value; }
+        }
+
+        /// <summary>
+        /// 入金日
+        /// </summary>
+        public DateTime DepositDate
+        {
+            get { return m_DepositDate; }
+            set { m_DepositDate = value; }
+        }
+
+        /// <summary>
+        /// 入金金額
+        /// </summary>
+        public int DepositAmount
+        {
+            get { return m_DepositAmount; }
+            set { m_DepositAmount = value; }
+        }
+
+        /// <summary>
+        /// 入金金額（現金）
+        /// </summary>
+        public int	DepositAmountCash
+        {
+            get { return m_DepositAmountCash; }
+            set { m_DepositAmountCash = value; }
+        }
+
+        /// <summary>
+        /// 入金金額（手形）
+        /// </summary>
+        public int	DepositAmountBill
+        {
+            get { return m_DepositAmountBill; }
+            set { m_DepositAmountBill = value; }
+        }
+
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DepositDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepositDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DepositDataDetail.cs	(revision 84)
@@ -0,0 +1,203 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 入金明細データ
+    /// </summary>
+    public class DepositDataDetail
+    {
+        #region メンバ変数
+        private int m_OrderersDivision = 0;                     // 発注者区分
+        private int m_OrderersCode = 0;                         // 発注者コード
+        private string m_TargetDate = string.Empty;             // 対象年月
+        private int m_SeqNo = 0;                                // 連番
+        private int m_LineCount = 0;                            // 行番号
+        private int m_RequestNo = 0;                            // 請求No
+        private int m_OrderNo = 0;                              // 受付番号
+        private int m_DepositAmount = 0;                        // 入金金額
+        private int m_DiscountAmount = 0;                       // 値引き金額
+        private int m_CnstrPrice = 0;                           // 協力金
+        private int m_Fees = 0;                                 // 手数料
+        private int m_OtherAdjustments = 0;                     // その他調整
+        private int m_CarryAmount = 0;                          // 繰越金額
+        private int m_ApprovalPersonCode = 0;                   // 承認担当者コード
+        private DateTime m_ApprovalDate = DateTime.MinValue;    // 担当者承認日付
+        private bool m_ApprovalEndFlg = false;                  // 承認完了フラグ
+        private DateTime m_EntryDate = DateTime.Now;            // 登録年月日
+        private DateTime m_UpdateDate = DateTime.Now;           // 更新年月日
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderersDivision
+        {
+            get { return m_OrderersDivision; }
+            set { m_OrderersDivision = value; }
+        }
+
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int OrderersCode
+        {
+            get { return m_OrderersCode; }
+            set { m_OrderersCode = value; }
+        }
+
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public string TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+
+        /// <summary>
+        /// 請求No
+        /// </summary>
+        public int RequestNo
+        {
+            get { return m_RequestNo; }
+            set { m_RequestNo = value; }
+        }
+
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+
+        /// <summary>
+        /// 入金金額
+        /// </summary>
+        public int DepositAmount
+        {
+            get { return m_DepositAmount; }
+            set { m_DepositAmount = value; }
+        }
+
+        /// <summary>
+        /// 値引き金額
+        /// </summary>
+        public int DiscountAmount
+        {
+            get { return m_DiscountAmount; }
+            set { m_DiscountAmount = value; }
+        }
+
+        /// <summary>
+        /// 協力金
+        /// </summary>
+        public int CnstrPrice
+        {
+            get { return m_CnstrPrice; }
+            set { m_CnstrPrice = value; }
+        }
+
+        /// <summary>
+        /// 手数料
+        /// </summary>
+        public int Fees
+        {
+            get { return m_Fees; }
+            set { m_Fees = value; }
+        }
+
+        /// <summary>
+        /// その他調整
+        /// </summary>
+        public int OtherAdjustments
+        {
+            get { return m_OtherAdjustments; }
+            set { m_OtherAdjustments = value; }
+        }
+
+        /// <summary>
+        /// 繰越金額
+        /// </summary>
+        public int CarryAmount
+        {
+            get { return m_CarryAmount; }
+            set { m_CarryAmount = value; }
+        }
+
+        /// <summary>
+        /// 承認担当者コード
+        /// </summary>
+        public int ApprovalPersonCode
+        {
+            get { return m_ApprovalPersonCode; }
+            set { m_ApprovalPersonCode = value; }
+        }
+
+        /// <summary>
+        /// 担当者承認日付
+        /// </summary>
+        public DateTime ApprovalDate
+        {
+            get { return m_ApprovalDate; }
+            set { m_ApprovalDate = value; }
+        }
+
+        /// <summary>
+        /// 承認完了フラグ
+        /// </summary>
+        public bool ApprovalEndFlg
+        {
+            get { return m_ApprovalEndFlg; }
+            set { m_ApprovalEndFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/DivisionMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DivisionMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/DivisionMaster.cs	(revision 84)
@@ -0,0 +1,85 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 区分マスタ
+    /// </summary>
+    public class DivisionMaster
+    {
+        #region メンバ変数
+        private int         m_DivisionCode = 0;	                // 区分コード
+        private int         m_NameCode = 0;	                    // 名称コード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_NameString = string.Empty;	    // 表示名称
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 区分コード
+        /// </summary>
+        public int DivisionCode
+        {
+            get { return m_DivisionCode; }
+            set { m_DivisionCode = value; }
+        }
+        /// <summary>
+        /// 名称コード
+        /// </summary>
+        public int NameCode
+        {
+            get { return m_NameCode; }
+            set { m_NameCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 表示名称
+        /// </summary>
+        public string NameString
+        {
+            get { return m_NameString; }
+            set { m_NameString = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/EstimateBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateBudget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateBudget.cs	(revision 84)
@@ -0,0 +1,125 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 積算予算書データ
+    /// </summary>
+    public class EstimateBudget
+    {
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	            // 工事コード
+        private double      m_ConstructionTime = 0;             // 工期
+        private int         m_IntegratedCode = 0;               // 積算者
+        private DateTime    m_DataCreateDate = DateTime.Now;    // データ引込日
+
+        private double      m_RetValue1 = 0;                    // 予定価格
+        private double      m_RetValue2 = 0;                    // 直接工事費
+        private double      m_RetValue3 = 0;                    // 積み上げ共通仮設費
+        private double      m_RetValue4 = 0;                    // 積み上げ現場管理費
+        private double      m_RetPercent = 0;                   // 一般管理費率
+
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 工期
+        /// </summary>
+        public double ConstructionTime
+        {
+            get { return m_ConstructionTime; }
+            set { m_ConstructionTime = value; }
+        }
+        /// <summary>
+        /// 積算者
+        /// </summary>
+        public int IntegratedCode
+        {
+            get { return m_IntegratedCode; }
+            set { m_IntegratedCode = value; }
+        }
+        /// <summary>
+        /// データ引込日
+        /// </summary>
+        public DateTime DataCreateDate
+        {
+            get { return m_DataCreateDate; }
+            set { m_DataCreateDate = value; }
+        }
+        /// <summary>
+        /// 予定価格
+        /// </summary>
+        public double RetValue1
+        {
+            get { return m_RetValue1; }
+            set { m_RetValue1 = value; }
+        }
+        /// <summary>
+        /// 直接工事費
+        /// </summary>
+        public double RetValue2
+        {
+            get { return m_RetValue2; }
+            set { m_RetValue2 = value; }
+        }
+        /// <summary>
+        /// 積み上げ共通仮設費
+        /// </summary>
+        public double RetValue3
+        {
+            get { return m_RetValue3; }
+            set { m_RetValue3 = value; }
+        }
+        /// <summary>
+        /// 積み上げ現場管理費
+        /// </summary>
+        public double RetValue4
+        {
+            get { return m_RetValue4; }
+            set { m_RetValue4 = value; }
+        }
+        /// <summary>
+        /// 一般管理費率
+        /// </summary>
+        public double RetPercent
+        {
+            get { return m_RetPercent; }
+            set { m_RetPercent = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/EstimateBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateBudgetDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateBudgetDetail.cs	(revision 84)
@@ -0,0 +1,143 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 積算予算書明細データ
+    /// </summary>
+    public class EstimateBudgetDetail
+    {
+        #region メンバ変数
+
+        private int     m_ConstructionCode = 0;	            // 工事コード
+
+        private int     m_GroupCount = 0;                   // グループ番号
+        private int     m_LineCount = 0;                    // 行番号
+        private int     m_ComponentCode = 0;                // 構成キー
+        private int     m_ItemCode = 0;	                    // 工種キー
+        private int     m_CompanyCode = 0;                  // 協力会社コード
+        private string  m_FirstString = string.Empty;       // 工種名称・協力会社名
+        private string  m_SecondString = string.Empty;      // 構成名称
+        private double  m_EstimatePrice = 0;                // 見積時金額
+        private double  m_NegotiationPrice = 0;             // 交渉時金額
+        private string  m_Notes = string.Empty;             // 注意事項
+        
+        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// グループ番号
+        /// </summary>
+        public int GroupCount
+        {
+            get { return m_GroupCount; }
+            set { m_GroupCount = value; }
+        }
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 構成名称
+        /// </summary>
+        public string FirstString
+        {
+            get { return m_FirstString; }
+            set { m_FirstString = value; }
+        }
+        /// <summary>
+        /// 工種名称・協力会社名
+        /// </summary>
+        public string SecondString
+        {
+            get { return m_SecondString; }
+            set { m_SecondString = value; }
+        }
+        /// <summary>
+        /// 見積時金額
+        /// </summary>
+        public double EstimatePrice
+        {
+            get { return m_EstimatePrice; }
+            set { m_EstimatePrice = value; }
+        }
+        /// <summary>
+        /// 交渉時金額
+        /// </summary>
+        public double NegotiationPrice
+        {
+            get { return m_NegotiationPrice; }
+            set { m_NegotiationPrice = value; }
+        }
+        /// <summary>
+        /// 注意事項
+        /// </summary>
+        public string Notes
+        {
+            get { return m_Notes; }
+            set { m_Notes = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/EstimateData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateData.cs	(revision 84)
@@ -0,0 +1,134 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 積算見積書データ
+    /// </summary>
+    public class EstimateData
+    {
+        #region メンバ変数
+
+        private int     m_ConstructionCode = 0;         // 工事番号
+        private int     m_LineCount = 0;                // 行番号
+        private int     m_ComponenteCode = 0;           // 構成キー
+        private string  m_FixedItemCode = string.Empty; // 固定項目キー
+        private string  m_ItemName = string.Empty;	    // 作業名称
+        private string  m_SpecName = string.Empty;	    // 工種名称／規格・寸法名称
+        private double  m_PriceValue = 0;               // 金額
+        private string  m_Note = string.Empty;          // 備考
+        private int     m_MyExpensesFlg = 0;            // 自社経費フラグ
+        private int     m_InputFlg = 0;                 // 入力フラグ
+
+        private DateTime m_EntryDate = DateTime.Now;    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponenteCode; }
+            set { m_ComponenteCode = value; }
+        }
+        /// <summary>
+        /// 固定項目キー
+        /// </summary>
+        public string FixedItemCode
+        {
+            get { return m_FixedItemCode; }
+            set { m_FixedItemCode = value; }
+        }
+        /// <summary>
+        /// 作業名称
+        /// </summary>
+        public string ItemName
+        {
+            get { return m_ItemName; }
+            set { m_ItemName = value; }
+        }
+        /// <summary>
+        /// 品質・形状・寸法
+        /// </summary>
+        public string SpecName
+        {
+            get { return m_SpecName; }
+            set { m_SpecName = value; }
+        }
+        /// <summary>
+        /// 金額
+        /// </summary>
+        public double PriceValue
+        {
+            get { return m_PriceValue; }
+            set { m_PriceValue = value; }
+        }
+        /// <summary>
+        /// 備考
+        /// </summary>
+        public string Note
+        {
+            get { return m_Note; }
+            set { m_Note = value; }
+        }
+        /// <summary>
+        /// 自社経費フラグ
+        /// </summary>
+        public int MyExpensesFlg
+        {
+            get { return m_MyExpensesFlg; }
+            set { m_MyExpensesFlg = value; }
+        }
+        /// <summary>
+        /// 入力フラグ
+        /// </summary>
+        public int InputFlg
+        {
+            get { return m_InputFlg; }
+            set { m_InputFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/EstimateDataBody.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateDataBody.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateDataBody.cs	(revision 84)
@@ -0,0 +1,125 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 積算見積書ページデータ
+    /// </summary>
+    public class EstimateDataBody
+    {
+        #region メンバ変数
+
+        private int     m_ConstructionCode = 0;	            // 工事コード
+        private int     m_PageCount = 0;                    // ページ番号
+        private int     m_Category = 0;	                    // 頁区分
+        private int     m_UnionComponentCode	= 0;        // 所属構成キー
+        private int     m_ComponentCode = 0;	            // 構成キー
+        private int     m_ItemCode = 0;	                    // 工種キー
+        private int     m_SelectComponent = 0;	            // 選択構成キー
+        private string  m_PageTitle = string.Empty;	        // ページ表示名
+        private int     m_DetailLineCount = 0;              // 明細行番号
+
+        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// ページ番号
+        /// </summary>
+        public int PageCount
+        {
+            get { return m_PageCount; }
+            set { m_PageCount = value; }
+        }
+
+        /// <summary>
+        /// 頁区分
+        /// </summary>
+        public int Category
+        {
+            get { return m_Category; }
+            set { m_Category = value; }
+        }
+        /// <summary>
+        /// ページ構成キー
+        /// </summary>
+        public int UnionComponentCode
+        {
+            get { return m_UnionComponentCode; }
+            set { m_UnionComponentCode = value; }
+        }
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int SelectComponent
+        {
+            get { return m_SelectComponent; }
+            set { m_SelectComponent = value; }
+        }
+        /// <summary>
+        /// ページ表示名
+        /// </summary>
+        public string PageTitle
+        {
+            get { return m_PageTitle; }
+            set { m_PageTitle = value; }
+        }
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        public int DetailLineCount
+        {
+            get { return m_DetailLineCount; }
+            set { m_DetailLineCount = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/EstimateDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateDataDetail.cs	(revision 84)
@@ -0,0 +1,199 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 積算見積書明細データ
+    /// </summary>
+    public class EstimateDataDetail
+    {
+        #region メンバ変数
+
+        private int     m_ConstructionCode = 0;	            // 工事コード
+        private int     m_PageCount = 0;                    // ページ番号
+        private int     m_LineCount = 0;	                // 行番号
+        private int     m_DataType = 0;                     // データタイプ
+        private int     m_ComponentCode = 0;	            // 構成キー
+        private int     m_ItemCode = 0;	                    // 工種キー
+        private int     m_SpecCode = 0;	                    // 規格・寸法キー
+        private string  m_ItemName = string.Empty;	        // 作業名称
+        private string  m_SpecName = string.Empty;	        // 工種名称／規格・寸法名称
+        private double  m_UnitCount = 0;	                // 数量
+        private string  m_UnitName = string.Empty;	        // 単位
+        private double  m_UnitPrice = 0;	                // 単価
+        private double  m_LineTotal = 0;	                // 金額
+        private string  m_Note = string.Empty;	            // 備考
+        private int     m_CompanyCode = 0;	                // 協力会社コード
+
+        private int m_MyExpensesFlg = 0;                // 自社経費フラグ
+        private int m_InputFlg = 0;                     // 入力フラグ
+
+        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// ページ番号
+        /// </summary>
+        public int PageCount
+        {
+            get { return m_PageCount; }
+            set { m_PageCount = value; }
+        }
+
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+        /// <summary>
+        /// データタイプ
+        /// </summary>
+        public int DataType
+        {
+            get { return m_DataType; }
+            set { m_DataType = value; }
+        }
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 規格・寸法キー
+        /// </summary>
+        public int SpecCode
+        {
+            get { return m_SpecCode; }
+            set { m_SpecCode = value; }
+        }
+        /// <summary>
+        /// 作業名称
+        /// </summary>
+        public string ItemName
+        {
+            get { return m_ItemName; }
+            set { m_ItemName = value; }
+        }
+        /// <summary>
+        /// 工種名称／規格・寸法名称
+        /// </summary>
+        public string SpecName
+        {
+            get { return m_SpecName; }
+            set { m_SpecName = value; }
+        }
+        /// <summary>
+        /// 数量
+        /// </summary>
+        public double UnitCount
+        {
+            get { return m_UnitCount; }
+            set { m_UnitCount = value; }
+        }
+        /// <summary>
+        /// 単位
+        /// </summary>
+        public string UnitName
+        {
+            get { return m_UnitName; }
+            set { m_UnitName = value; }
+        }
+        /// <summary>
+        /// 単価
+        /// </summary>
+        public double UnitPrice
+        {
+            get { return m_UnitPrice; }
+            set { m_UnitPrice = value; }
+        }
+        /// <summary>
+        /// 金額
+        /// </summary>
+        public double LineTotal
+        {
+            get { return m_LineTotal; }
+            set { m_LineTotal = value; }
+        }
+        /// <summary>
+        /// 備考
+        /// </summary>
+        public string Note
+        {
+            get { return m_Note; }
+            set { m_Note = value; }
+        }
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+
+        /// <summary>
+        /// 自社経費フラグ
+        /// </summary>
+        public int MyExpensesFlg
+        {
+            get { return m_MyExpensesFlg; }
+            set { m_MyExpensesFlg = value; }
+        }
+        /// <summary>
+        /// 入力フラグ
+        /// </summary>
+        public int InputFlg
+        {
+            get { return m_InputFlg; }
+            set { m_InputFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ExpensesMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ExpensesMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ExpensesMaster.cs	(revision 84)
@@ -0,0 +1,85 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 経費率マスタ
+    /// </summary>
+    public class ExpensesMaster
+    {
+        #region メンバ変数
+        private int         m_DivisionCode = 0;	                // 工事種別コード
+        private int         m_NameCode = 0;	                    // 経費区分コード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private double      m_ExpensesRatio = 0;	            // 経費率
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 区分コード
+        /// </summary>
+        public int DivisionCode
+        {
+            get { return m_DivisionCode; }
+            set { m_DivisionCode = value; }
+        }
+        /// <summary>
+        /// 名称コード
+        /// </summary>
+        public int NameCode
+        {
+            get { return m_NameCode; }
+            set { m_NameCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 経費率
+        /// </summary>
+        public double ExpensesRatio
+        {
+            get { return m_ExpensesRatio; }
+            set { m_ExpensesRatio = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/HolidayCalenderMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/HolidayCalenderMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/HolidayCalenderMaster.cs	(revision 84)
@@ -0,0 +1,58 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 会社休日マスタ
+    /// </summary>
+    public class HolidayCalenderMaster
+    {
+        #region メンバ変数
+        private DateTime    m_Holiday = DateTime.MinValue;  // 休日
+        private int         m_BusinessYear;                 // 営業年度
+        private int         m_TargetMonth = 0;              // 対象月
+        private int         m_TargetDay = 0;                // 対象日
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 休日
+        /// </summary>
+        public DateTime Holiday
+        {
+            get { return m_Holiday; }
+            set { m_Holiday = value; }
+        }
+        /// <summary>
+        /// 営業年度
+        /// </summary>
+        public int BusinessYear
+        {
+            get { return m_BusinessYear; }
+            set { m_BusinessYear = value; }
+        }
+        /// <summary>
+        /// 対象月
+        /// </summary>
+        public int TargetMonth
+        {
+            get { return m_TargetMonth; }
+            set { m_TargetMonth = value; }
+        }
+        /// <summary>
+        /// 対象日
+        /// </summary>
+        public int TargetDay
+        {
+            get { return m_TargetDay; }
+            set { m_TargetDay = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/InputSearchLogData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/InputSearchLogData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/InputSearchLogData.cs	(revision 84)
@@ -0,0 +1,67 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 入力時検索履歴
+    /// </summary>
+    public class InputSearchLogData
+    {
+        #region メンバ変数
+        private int m_ConstructionCode = 0;         // 工事番号
+        private int m_UsedProcessNo = 0;            // 使用機能番号
+        private int m_DisplayOrder = 0;             // 表示順
+        private int m_DataType = 0;                 // データタイプ
+        private int m_InputCode = 0;                // 入力コード
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 使用機能番号
+        /// </summary>
+        public int UsedProcessNo
+        {
+            get { return m_UsedProcessNo; }
+            set { m_UsedProcessNo = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// データタイプ
+        /// </summary>
+        public int DataType
+        {
+            get { return m_DataType; }
+            set { m_DataType = value; }
+        }
+        /// <summary>
+        /// 入力コード
+        /// </summary>
+        public int InputCode
+        {
+            get { return m_InputCode; }
+            set { m_InputCode = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/InvoiceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/InvoiceData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/InvoiceData.cs	(revision 84)
@@ -0,0 +1,204 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 請求書データ
+    /// </summary>
+    public class InvoiceData
+    {
+        #region メンバ変数
+        private int         m_InvoiceNo = 0;                    // 請求書No
+        private int         m_OrderersDivision = 0;             // 発注者区分
+        private int         m_OrderersCode = 0;                 // 発注者コード
+        private int         m_RequestMonth = 0;                 // 請求月
+        private int         m_SeqNo = 0;                        // 連番
+        private DateTime    m_CretateDate = DateTime.MinValue;  // 作成日
+        private DateTime    m_RequestDate = DateTime.MinValue;  // 請求日
+        private string      m_RequestName = "";                 // 請求先名
+        private int         m_TotalAmount = 0;                  // 税込み合計金額
+        private int         m_TaxAmount = 0;                    // 消費税金額
+        private string      m_Comment1 = "";                    // コメント1
+        private string      m_Comment2 = "";                    // コメント2
+        private string      m_Comment3 = "";                    // コメント3
+        private string      m_Comment4 = "";                    // コメント4
+        private string      m_Comment5 = "";                    // コメント5
+        private int         m_CompleteFlg = 0;                  // 出力完了フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 請求書No
+        /// </summary>
+        public int InvoiceNo
+        {
+            get { return m_InvoiceNo; }
+            set { m_InvoiceNo = value; }
+        }
+
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderersDivision
+        {
+            get { return m_OrderersDivision; }
+            set { m_OrderersDivision = value; }
+        }
+
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int OrderersCode
+        {
+            get { return m_OrderersCode; }
+            set { m_OrderersCode = value; }
+        }
+
+        /// <summary>
+        /// 請求月
+        /// </summary>
+        public int RequestMonth
+        {
+            get { return m_RequestMonth; }
+            set { m_RequestMonth = value; }
+        }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+
+        /// <summary>
+        /// 作成日
+        /// </summary>
+        public DateTime CretateDate
+        {
+            get { return m_CretateDate; }
+            set { m_CretateDate = value; }
+        }
+
+        /// <summary>
+        /// 請求日
+        /// </summary>
+        public DateTime RequestDate
+        {
+            get { return m_RequestDate; }
+            set { m_RequestDate = value; }
+        }
+
+        /// <summary>
+        /// 請求先名
+        /// </summary>
+        public string RequestName
+        {
+            get { return m_RequestName; }
+            set { m_RequestName = value; }
+        }
+
+        /// <summary>
+        /// 税込み合計金額
+        /// </summary>
+        public int TotalAmount
+        {
+            get { return m_TotalAmount; }
+            set { m_TotalAmount = value; }
+        }
+
+        /// <summary>
+        /// 消費税金額
+        /// </summary>
+        public int TaxAmount
+        {
+            get { return m_TaxAmount; }
+            set { m_TaxAmount = value; }
+        }
+
+        /// <summary>
+        /// コメント1
+        /// </summary>
+        public string Comment1
+        {
+            get { return m_Comment1; }
+            set { m_Comment1 = value; }
+        }
+
+        /// <summary>
+        /// コメント2
+        /// </summary>
+        public string Comment2
+        {
+            get { return m_Comment2; }
+            set { m_Comment2 = value; }
+        }
+
+        /// <summary>
+        /// コメント3
+        /// </summary>
+        public string Comment3
+        {
+            get { return m_Comment3; }
+            set { m_Comment3 = value; }
+        }
+
+        /// <summary>
+        /// コメント4
+        /// </summary>
+        public string Comment4
+        {
+            get { return m_Comment4; }
+            set { m_Comment4 = value; }
+        }
+
+        /// <summary>
+        /// コメント5
+        /// </summary>
+        public string Comment5
+        {
+            get { return m_Comment5; }
+            set { m_Comment5 = value; }
+        }
+
+        /// <summary>
+        /// 出力完了フラグ
+        /// </summary>
+        public int CompleteFlg
+        {
+            get { return m_CompleteFlg; }
+            set { m_CompleteFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/MaterialInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MaterialInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/MaterialInfo.cs	(revision 84)
@@ -0,0 +1,78 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class MaterialInfo
+    {
+        #region メンバ変数
+        private int m_MaterialItemCode = 0;	            // キー項目
+        private int m_MaterialCount = 0;	            // 資材数
+        private int m_RentCount = 0;	                // 貸出可能数
+        private int m_DeleteFlg = 0;                    // 削除フラグ
+        private DateTime m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// キー項目
+        /// </summary>
+        public int MaterialItemCode
+        {
+            get { return m_MaterialItemCode; }
+            set { m_MaterialItemCode = value; }
+        }
+        /// <summary>
+        /// 資材数
+        /// </summary>
+        public int MaterialCount
+        {
+            get { return m_MaterialCount; }
+            set { m_MaterialCount = value; }
+        }
+
+        /// <summary>
+        /// 貸出可能数
+        /// </summary>
+        public int RentCount
+        {
+            get { return m_RentCount; }
+            set { m_RentCount = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/MaterialItemMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MaterialItemMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/MaterialItemMaster.cs	(revision 84)
@@ -0,0 +1,87 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class MaterialItemMaster
+    {
+        #region メンバ変数
+        private int m_MaterialItemCode = 0;	            // キー項目
+        private int m_MaterialKindCode = 0;	            // 資材種類コード
+        private string m_MaterialItemName = string.Empty;	// 名称
+        private int m_DisplayOrder = 0;	                // 表示順
+        private int m_DeleteFlg = 0;                    // 削除フラグ
+        private DateTime m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// キー項目
+        /// </summary>
+        public int MaterialItemCode
+        {
+            get { return m_MaterialItemCode; }
+            set { m_MaterialItemCode = value; }
+        }
+        /// <summary>
+        /// 資材種類コード
+        /// </summary>
+        public int MaterialKindCode
+        {
+            get { return m_MaterialKindCode; }
+            set { m_MaterialKindCode = value; }
+        }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string MaterialItemName
+        {
+            get { return m_MaterialItemName; }
+            set { m_MaterialItemName = value; }
+        }
+
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/MaterialKindMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MaterialKindMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/MaterialKindMaster.cs	(revision 84)
@@ -0,0 +1,77 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    public class MaterialKindMaster
+    {
+        #region メンバ変数
+        private int m_MaterialKindCode = 0;	            // キー項目
+        private string m_MaterialKindName = string.Empty;	// 名称
+        private int m_DisplayOrder = 0;	                // 表示順
+        private int m_DeleteFlg = 0;                    // 削除フラグ
+        private DateTime m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// キー項目
+        /// </summary>
+        public int MaterialKindCode
+        {
+            get { return m_MaterialKindCode; }
+            set { m_MaterialKindCode = value; }
+        }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string MaterialKindName
+        {
+            get { return m_MaterialKindName; }
+            set { m_MaterialKindName = value; }
+        }
+
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/MaterialRecordInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MaterialRecordInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/MaterialRecordInfo.cs	(revision 84)
@@ -0,0 +1,125 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class MaterialRecordInfo
+    {
+        #region メンバ変数
+        private int m_MaterialItemCode = 0;	            // キー項目
+        private DateTime m_ProcessDate = DateTime.Now;  // キー項目２　処理日
+        private int m_SeqNo = 0;	                    // キー項目３　連番
+        private int m_RecKind = 0;	                    // レコード区分
+        private int m_ConstructionCode = 0;             // 工事番号
+        private int m_PersonCode= 0;                    // 担当者コード
+        private int m_MaterialCount = 0;                 // 資材数
+        private DateTime m_RepayPlanDate = DateTime.Now; // 返却予定年月日
+        private string m_CommentText = "";               // 担当者コメント
+        private DateTime m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// キー項目
+        /// </summary>
+        public int MaterialItemCode
+        {
+            get { return m_MaterialItemCode; }
+            set { m_MaterialItemCode = value; }
+        }
+        /// <summary>
+        /// キー項目２　処理日
+        /// </summary>
+        public DateTime ProcessDate
+        {
+            get { return m_ProcessDate; }
+            set { m_ProcessDate = value; }
+        }
+
+        /// <summary>
+        /// キー項目３　連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// レコード区分
+        /// </summary>
+        public int RecKind
+        {
+            get { return m_RecKind; }
+            set { m_RecKind = value; }
+        }
+
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 資材数
+        /// </summary>
+        public int MaterialCount
+        {
+            get { return m_MaterialCount; }
+            set { m_MaterialCount = value; }
+        }
+
+        /// <summary>
+        /// 返却予定年月日
+        /// </summary>
+        public DateTime RepayPlanDate
+        {
+            set { m_RepayPlanDate = value; }
+            get { return m_RepayPlanDate; }
+        }
+
+        /// <summary>
+        /// 担当者コメント
+        /// </summary>
+        public string CommentText
+        {
+            get { return m_CommentText; }
+            set { m_CommentText = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/MessageBoardData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MessageBoardData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/MessageBoardData.cs	(revision 84)
@@ -0,0 +1,178 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 掲示板メッセージデータ
+    /// </summary>
+    public class MessageBoardData
+    {
+        #region メンバ変数
+        private int         m_RecordNumber = 0;                     // レコード番号
+        private int         m_BranchNumber = 0;                     // レコード枝番
+        private int         m_FromCode = 0;                         // 書込み者名
+        private string      m_FromName = string.Empty;              // 書込み者名
+        private string      m_MessageTitle = string.Empty;         // 伝言タイトル
+        private string      m_MessageContent = string.Empty;        // 伝言内容
+        private int         m_LinkType = 0;                         // リンク動作タイプ
+        private string      m_LinkMessage = string.Empty;           // リンク文字列
+        private string      m_LinkCode = string.Empty;              // リンクキー
+
+        private DateTime    m_WritingDate = DateTime.MinValue;      // 書込み日付
+        private int         m_PersonCode = 0;                       // 書込み担当者コード
+        private int         m_ShareFlag = 0;                        // 管理者対象フラグ
+        private string      m_MessageColor = string.Empty;          // 文字色
+        private string      m_BackColor = string.Empty;             // 背景色
+        private int         m_MessageFlag = 0;                      // メッセージフラグ
+
+        private DateTime    m_EntryDate = DateTime.Now;             // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;            // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// レコード番号
+        /// </summary>
+        public int RecordNumber
+        {
+            get { return m_RecordNumber; }
+            set { m_RecordNumber = value; }
+        }
+        /// <summary>
+        /// レコード枝番
+        /// </summary>
+        public int BranchNumber
+        {
+            get { return m_BranchNumber; }
+            set { m_BranchNumber = value; }
+        }
+        /// <summary>
+        /// 書込み者コード
+        /// </summary>
+        public int FromCode
+        {
+            get { return m_FromCode; }
+            set { m_FromCode = value; }
+        }
+        /// <summary>
+        /// 書込み者名
+        /// </summary>
+        public string FromName
+        {
+            get { return m_FromName; }
+            set { m_FromName = value; }
+        }
+        /// <summary>
+        /// 伝言タイトル
+        /// </summary>
+        public string MessageTitle
+        {
+            get { return m_MessageTitle; }
+            set { m_MessageTitle = value; }
+        }
+        /// <summary>
+        /// 伝言内容
+        /// </summary>
+        public string MessageContent
+        {
+            get { return m_MessageContent; }
+            set { m_MessageContent = value; }
+        }
+        /// <summary>
+        /// リンク動作タイプ
+        /// </summary>
+        public int LinkType
+        {
+            get { return m_LinkType; }
+            set { m_LinkType = value; }
+        }
+        /// <summary>
+        /// リンク文字列
+        /// </summary>
+        public string LinkMessage
+        {
+            get { return m_LinkMessage; }
+            set { m_LinkMessage = value; }
+        }
+        /// <summary>
+        /// リンクキー
+        /// </summary>
+        public string LinkCode
+        {
+            get { return m_LinkCode; }
+            set { m_LinkCode = value; }
+        }
+        /// <summary>
+        /// 書込み日付
+        /// </summary>
+        public DateTime WritingDate
+        {
+            get { return m_WritingDate; }
+            set { m_WritingDate = value; }
+        }
+        /// <summary>
+        /// 書込み担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 管理者対象フラグ
+        /// </summary>
+        public int ShareFlag
+        {
+            get { return m_ShareFlag; }
+            set { m_ShareFlag = value; }
+        }
+        /// <summary>
+        /// 文字色
+        /// </summary>
+        public string MessageColor
+        {
+            get { return m_MessageColor; }
+            set { m_MessageColor = value; }
+        }
+        /// <summary>
+        /// 背景色
+        /// </summary>
+        public string BackColor
+        {
+            get { return m_BackColor; }
+            set { m_BackColor = value; }
+        }
+        /// <summary>
+        /// メッセージフラグ
+        /// </summary>
+        public int MessageFlag
+        {
+            get { return m_MessageFlag; }
+            set { m_MessageFlag = value; }
+        }
+             
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/MessageBoardTerget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MessageBoardTerget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/MessageBoardTerget.cs	(revision 84)
@@ -0,0 +1,86 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 掲示板対象者データ
+    /// </summary>
+    public class MessageBoardTerget
+    {
+        #region メンバ変数
+        private int         m_RecordNumber = 0;                     // レコード番号
+        private int         m_BranchNumber = 0;                     // レコード枝番
+        private int         m_SeqNum = 0;                           // 順番
+        private int         m_ToCode = 0;                           // 対象者コード
+        private string      m_ToName = string.Empty;                // 対象者名
+
+        private DateTime m_EntryDate = DateTime.Now;                // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;               // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// レコード番号
+        /// </summary>
+        public int RecordNumber
+        {
+            get { return m_RecordNumber; }
+            set { m_RecordNumber = value; }
+        }
+        /// <summary>
+        /// レコード枝番
+        /// </summary>
+        public int BranchNumber
+        {
+            get { return m_BranchNumber; }
+            set { m_BranchNumber = value; }
+        }
+        /// <summary>
+        /// 順番
+        /// </summary>
+        public int SeqNum
+        {
+            get { return m_SeqNum; }
+            set { m_SeqNum = value; }
+        }
+        /// <summary>
+        /// 対象者コード
+        /// </summary>
+        public int ToCode
+        {
+            get { return m_ToCode; }
+            set { m_ToCode = value; }
+        }
+        /// <summary>
+        /// 対象名
+        /// </summary>
+        public string ToName
+        {
+            get { return m_ToName; }
+            set { m_ToName = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/MessageBrowsingHistory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MessageBrowsingHistory.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/MessageBrowsingHistory.cs	(revision 84)
@@ -0,0 +1,86 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 掲示板データ閲覧履歴
+    /// </summary>
+    public class MessageBrowsingHistory
+    {
+        #region メンバ変数
+        private int         m_RecordNumber=0;                       // レコード番号
+        private int         m_BranchNumber=0;                       // レコード枝番
+        private int         m_SeqNum = 0;                           // 順番
+        private int         m_BrowsingCode = 0;                     // 閲覧者コード
+        private DateTime    m_BrowsingDate = DateTime.Now;          // 閲覧日付
+
+        private DateTime m_EntryDate = DateTime.Now;                // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;               // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// レコード番号
+        /// </summary>
+        public int RecordNumber
+        {
+            get { return m_RecordNumber; }
+            set { m_RecordNumber = value; }
+        }
+        /// <summary>
+        /// レコード枝番
+        /// </summary>
+        public int BranchNumber
+        {
+            get { return m_BranchNumber; }
+            set { m_BranchNumber = value; }
+        }
+        /// <summary>
+        /// 順番
+        /// </summary>
+        public int SeqNum
+        {
+            get { return m_SeqNum; }
+            set { m_SeqNum = value; }
+        }
+        /// <summary>
+        /// 閲覧者コード
+        /// </summary>
+        public int BrowsingCode
+        {
+            get { return m_BrowsingCode; }
+            set { m_BrowsingCode = value; }
+        }
+        /// <summary>
+        /// 閲覧日付
+        /// </summary>
+        public DateTime BrowsingDate
+        {
+            get { return m_BrowsingDate; }
+            set { m_BrowsingDate = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/OfficeShapeDefine.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/OfficeShapeDefine.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/OfficeShapeDefine.cs	(revision 84)
@@ -0,0 +1,171 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// Office図形描画情報定義
+    /// </summary>
+    public class OfficeShapeDefine
+    {
+        #region メンバ変数
+        private string m_ShapeSheetName = string.Empty;        // 図形シート名称
+        private string m_ShapeName = string.Empty;             // 図形名称
+
+        private float m_ShapeDrowPointX = 0f;                 // 図形描画位置 X
+        private float m_ShapeDrowPointY = 0f;                 // 図形描画位置 Y
+        private float m_ShapeWidth = 0f;                      // 図形描画サイズ Width
+        private float m_ShapeHeight = 0f;                     // 図形描画サイズ Height
+
+        //private Color       m_ShapeLineColor = Color.Transparent;   // 図形描画色
+        //private bool        m_ShapeFillVisible = false;             // 図形背景透過（true:背景塗潰し有 false:背景塗潰し無）
+        //private Color       m_ShapeFillColor = Color.Transparent;   // 図形背景色
+
+        //private bool        m_DrowingText = false;                  // 文字描画（true:文字描画有 false:文字描画無）
+        //private string      m_NameComplexScript = "+mn-cs";         // コンプレックス スクリプト用のフォント名
+        //private string      m_FontName = "ＭＳ 明朝";               // フォント名
+        //private bool        m_FillDrow = true;                      // 描画色使用（true:描画色有 false:描画色無）
+        //private Color       m_FillColor = Color.Transparent;        // 描画色
+        private float m_FontSize = 12f;                       // フォントサイズ
+        private string m_DrowText = string.Empty;                  // 描画文字列
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 図形シート名称
+        /// </summary>
+        public string ShapeSheetName
+        {
+            get { return m_ShapeSheetName; }
+            set { m_ShapeSheetName = value; }
+        }
+        /// <summary>
+        /// 図形名称
+        /// </summary>
+        public string ShapeName
+        {
+            get { return m_ShapeName; }
+            set { m_ShapeName = value; }
+        }
+        /// <summary>
+        /// 図形描画位置 X
+        /// </summary>
+        public float ShapeDrowPointX
+        {
+            get { return m_ShapeDrowPointX; }
+            set { m_ShapeDrowPointX = value; }
+        }
+        /// <summary>
+        /// 図形描画位置 Y
+        /// </summary>
+        public float ShapeDrowPointY
+        {
+            get { return m_ShapeDrowPointY; }
+            set { m_ShapeDrowPointY = value; }
+        }
+        /// <summary>
+        /// 図形描画サイズ Width
+        /// </summary>
+        public float ShapeWidth
+        {
+            get { return m_ShapeWidth; }
+            set { m_ShapeWidth = value; }
+        }
+        /// <summary>
+        /// 図形描画サイズ Height
+        /// </summary>
+        public float ShapeHeight
+        {
+            get { return m_ShapeHeight; }
+            set { m_ShapeHeight = value; }
+        }
+        ///// <summary>
+        ///// 図形描画色
+        ///// </summary>
+        //public Color ShapeLineColor
+        //{
+        //    get { return m_ShapeLineColor; }
+        //    set { m_ShapeLineColor = value; }
+        //}
+        ///// <summary>
+        ///// 図形背景透過（true:背景塗潰し有 false:背景塗潰し無）
+        ///// </summary>
+        //public bool ShapeFillVisible
+        //{
+        //    get { return m_ShapeFillVisible; }
+        //    set { m_ShapeFillVisible = value; }
+        //}
+        ///// <summary>
+        ///// 図形背景色
+        ///// </summary>
+        //public Color ShapeFillColor
+        //{
+        //    get { return m_ShapeFillColor; }
+        //    set { m_ShapeFillColor = value; }
+        //}
+        ///// <summary>
+        ///// 文字描画（true:文字描画有 false:文字描画無）
+        ///// </summary>
+        //public bool DrowingText
+        //{
+        //    get { return m_DrowingText; }
+        //    set { m_DrowingText = value; }
+        //}
+        ///// <summary>
+        ///// コンプレックス スクリプト用のフォント名
+        ///// </summary>
+        //public string NameComplexScript
+        //{
+        //    get { return m_NameComplexScript; }
+        //    set { m_NameComplexScript = value; }
+        //}
+        ///// <summary>
+        ///// フォント名
+        ///// </summary>
+        //public string FontName
+        //{
+        //    get { return m_FontName; }
+        //    set { m_FontName = value; }
+        //}
+        ///// <summary>
+        ///// 描画色使用（true:描画色有 false:描画色無）
+        ///// </summary>
+        //public bool FillDrow
+        //{
+        //    get { return m_FillDrow; }
+        //    set { m_FillDrow = value; }
+        //}
+        ///// <summary>
+        ///// 描画色
+        ///// </summary>
+        //public Color FillColor
+        //{
+        //    get { return m_FillColor; }
+        //    set { m_FillColor = value; }
+        //}
+        /// <summary>
+        /// フォントサイズ
+        /// </summary>
+        public float FontSize
+        {
+            get { return m_FontSize; }
+            set { m_FontSize = value; }
+        }
+        /// <summary>
+        /// 描画文字列
+        /// </summary>
+        public string DrowText
+        {
+            get { return m_DrowText; }
+            set { m_DrowText = value; }
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/OrderersMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/OrderersMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/OrderersMaster.cs	(revision 84)
@@ -0,0 +1,215 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 発注者マスタデータモデル
+    /// </summary>
+    public class OrderersMaster
+    {
+        /// <summary>
+        /// 変更時は発注者登録申請データ（CostomerRegist）と連動させること
+        /// </summary>
+        #region メンバ変数
+        private int         m_OrderCategory = 0;	            // 発注者区分
+        private int         m_OrderersCode = 0;	                // 発注者コード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private int         m_OrderFlg = 0;                     // 法人団体・個人フラグ
+        private string      m_CorporateStatusName = string.Empty;	// 法人格名称
+        private int         m_CorporateStatusPoint = 0;	        // 法人格名称
+        private string      m_OrderersName1 = string.Empty;	    // 発注者名１
+        private string      m_OrderersName2 = string.Empty;	    // 発注者名２
+        private string      m_DepartmentName = string.Empty;	// 部署名
+        private string      m_ChargePersonName = string.Empty;	// 担当者名
+        private string      m_ZipCode = string.Empty;	        // 郵便番号
+        private string      m_Address1 = string.Empty;	        // 住所1
+        private string      m_Address2 = string.Empty;	        // 住所2
+        private string      m_Address3 = string.Empty;	        // 住所3
+        private string      m_PhoneNumber = string.Empty;	    // 電話番号
+        private string      m_FaxNumber = string.Empty;	        // FAX番号
+        private string      m_MailAddress = string.Empty;	    // メールアドレス
+        private string      m_note = string.Empty;	            // 備考
+
+        private int         m_DeleteFlg = 0;                    // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderCategory
+        {
+            set { m_OrderCategory = value; }
+            get { return m_OrderCategory; }
+        }
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int OrderersCode
+        {
+            set { m_OrderersCode = value; }
+            get { return m_OrderersCode; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 法人団体・個人フラグ
+        /// </summary>
+        public int OrderFlg
+        {
+            get { return m_OrderFlg; }
+            set { m_OrderFlg = value; }
+        }
+        /// <summary>
+        /// 法人格名称
+        /// </summary>
+        public string CorporateStatusName
+        {
+            set { m_CorporateStatusName = value; }
+            get { return m_CorporateStatusName; }
+        }
+        /// <summary>
+        /// 法人格名称位置
+        /// </summary>
+        public int CorporateStatusPoint
+        {
+            set { m_CorporateStatusPoint = value; }
+            get { return m_CorporateStatusPoint; }
+        }
+        /// <summary>
+        /// 発注者名１
+        /// </summary>
+        public string OrderersName1
+        {
+            set { m_OrderersName1 = value; }
+            get { return m_OrderersName1; }
+        }
+        /// <summary>
+        /// 発注者名２
+        /// </summary>
+        public string OrderersName2
+        {
+            set { m_OrderersName2 = value; }
+            get { return m_OrderersName2; }
+        }
+        /// <summary>
+        /// 部署名
+        /// </summary>
+        public string DepartmentName
+        {
+            get { return m_DepartmentName; }
+            set { m_DepartmentName = value; }
+        }
+        /// <summary>
+        /// 担当者名
+        /// </summary>
+        public string ChargePersonName
+        {
+            get { return m_ChargePersonName; }
+            set { m_ChargePersonName = value; }
+        }
+        /// <summary>
+        /// 郵便番号
+        /// </summary>
+        public string ZipCode
+        {
+            set { m_ZipCode = value; }
+            get { return m_ZipCode; }
+        }
+        /// <summary>
+        /// 住所1
+        /// </summary>
+        public string Address1
+        {
+            set { m_Address1 = value; }
+            get { return m_Address1; }
+        }
+        /// <summary>
+        /// 住所2
+        /// </summary>
+        public string Address2
+        {
+            set { m_Address2 = value; }
+            get { return m_Address2; }
+        }
+        /// <summary>
+        /// 住所3
+        /// </summary>
+        public string Address3
+        {
+            set { m_Address3 = value; }
+            get { return m_Address3; }
+        }
+        /// <summary>
+        /// 電話番号
+        /// </summary>
+        public string PhoneNumber
+        {
+            set { m_PhoneNumber = value; }
+            get { return m_PhoneNumber; }
+        }
+        /// <summary>
+        /// FAX番号
+        /// </summary>
+        public string FaxNumber
+        {
+            set { m_FaxNumber = value; }
+            get { return m_FaxNumber; }
+        }
+        /// <summary>
+        /// メールアドレス
+        /// </summary>
+        public string MailAddress
+        {
+            get { return m_MailAddress; }
+            set { m_MailAddress = value; }
+        }
+        /// <summary>
+        /// 備考  
+        /// </summary>
+        public string Note
+        {
+            set { m_note = value; }
+            get { return m_note; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/OrdersPriceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/OrdersPriceData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/OrdersPriceData.cs	(revision 84)
@@ -0,0 +1,135 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 受注金額データ
+    /// </summary>
+    public class OrdersPriceData
+    {
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	                    // 工事コード
+
+        private int         m_ChangeNo = 0;                             // 変更番号
+        private DateTime    m_ChangeDate = DateTime.MinValue;           // 変更日
+        private int         m_ChangePersonCode = 0;                     // 変更者コード
+        private string      m_ChangePersonName = string.Empty;          // 変更者名
+        private int         m_BeforeValue = 0;	                        // 変更前税抜受注金額
+        private int         m_BeforeValueInTax = 0;                     //　〃　税込受注金額
+        private int         m_AfterValue = 0;                           // 変更後税抜受注金額
+        private int         m_AfterValueInTax = 0;                      // 　〃　税込受注金額
+        private string      m_ChangeComment = string.Empty;             // 変更理由
+
+        private DateTime    m_EntryDate = DateTime.Now;                 // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;                // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+
+        /// <summary>
+        /// 変更番号
+        /// </summary>
+        public int ChangeNo
+        {
+            get { return m_ChangeNo; }
+            set { m_ChangeNo = value; }
+        }
+        /// <summary>
+        /// 変更日
+        /// </summary>
+        public DateTime ChangeDate
+        {
+            get { return m_ChangeDate; }
+            set { m_ChangeDate = value; }
+        }
+        /// <summary>
+        /// 変更者コード
+        /// </summary>
+        public int ChangePersonCode
+        {
+            get { return m_ChangePersonCode; }
+            set { m_ChangePersonCode = value; }
+        }
+        /// <summary>
+        /// 変更者名
+        /// </summary>
+        public string ChangePersonName
+        {
+            get { return m_ChangePersonName; }
+            set { m_ChangePersonName = value; }
+        }
+        /// <summary>
+        /// 変更前税抜受注金額
+        /// </summary>
+        public int BeforeValue
+        {
+            get { return m_BeforeValue; }
+            set { m_BeforeValue = value; }
+        }
+        /// <summary>
+        /// 変更前税込受注金額
+        /// </summary>
+        public int BeforeValueInTax
+        {
+            get { return m_BeforeValueInTax; }
+            set { m_BeforeValueInTax = value; }
+        }
+        /// <summary>
+        /// 変更後税抜受注金額
+        /// </summary>
+        public int AfterValue
+        {
+            get { return m_AfterValue; }
+            set { m_AfterValue = value; }
+        }
+        /// <summary>
+        /// 変更後税込受注金額
+        /// </summary>
+        public int AfterValueInTax
+        {
+            get { return m_AfterValueInTax; }
+            set { m_AfterValueInTax = value; }
+        }
+        /// <summary>
+        /// 変更理由
+        /// </summary>
+        public string ChangeComment
+        {
+            get { return m_ChangeComment; }
+            set { m_ChangeComment = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PaymentApprovalInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PaymentApprovalInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PaymentApprovalInfo.cs	(revision 84)
@@ -0,0 +1,131 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class PaymentApprovalInfo
+    {
+        #region メンバ変数
+        private int m_CompanyCode = 0;        // 協力会社コード
+        private int m_TargetDate = 0;         // 対象年月     
+        private int m_SeqNo = 0;                // 連番
+        private int m_LineCount = 0;            // 行番号    
+        private int m_ApprovalNo = 0;               // 承認順序    
+        private int m_ApprovalPersonCode = 0;   // 承認者コード
+        private string m_ApprovalPersonName = "";   // 承認者名
+        private int m_ApprovalAuthority = 0;          // 承認権限区分    
+        private DateTime m_ApprovalDate = DateTime.Now;// 承認日付
+        private DateTime m_EntryDate = DateTime.Now;    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public int TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+
+        /// <summary>
+        /// 承認順序
+        /// </summary>
+        public int ApprovalNo
+        {
+            get { return m_ApprovalNo; }
+            set { m_ApprovalNo = value; }
+        }
+
+        /// <summary>
+        /// 承認者コード
+        /// </summary>
+        public int ApprovalPerson
+        {
+            get { return m_ApprovalPersonCode; }
+            set { m_ApprovalPersonCode = value; }
+        }
+
+        /// <summary>
+        /// 承認者名
+        /// </summary>
+        public string ApprovalPersonName
+        {
+            get { return m_ApprovalPersonName; }
+            set { m_ApprovalPersonName = value; }
+        }
+
+        /// <summary>
+        /// 承認権限区分
+        /// </summary>
+        public int ApprovalAuthority
+        {
+            get { return m_ApprovalAuthority; }
+            set { m_ApprovalAuthority = value; }
+        }
+
+
+        /// <summary>
+        /// 承認日付
+        /// </summary>
+        public DateTime ApprovalDate
+        {
+            set { m_ApprovalDate = value; }
+            get { return m_ApprovalDate; }
+        }
+
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PaymentDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PaymentDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PaymentDataDetail.cs	(revision 84)
@@ -0,0 +1,201 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    public class PaymentDataDetail
+    {
+        #region メンバ変数
+        private int m_CompanyCode = 0;        // 協力会社コード
+        private int m_TargetDate = 0;         // 対象年月     
+        private int m_SeqNo = 0;                // 連番
+        private int m_LineCount = 0;            // 行番号    
+        private long m_BillPrice = 0;        // 請求金額    
+        private long m_DiscountPrice = 0;       // 値引き金額    
+        private long m_OffsetPrice = 0;         // 相殺金額    
+        private long m_NextCoPrice = 0;        // 次回繰越    
+        private long m_HighwPrice = 0;       // 高速代     
+        private long m_HardwPrice = 0;       // 金物代     
+        private long m_IndsWasteTax = 0;     // 産廃税       
+        private long m_CnstrPrice = 0;         // 協力金
+        private int m_CnstrPriceExist =0;       // 協力金有無
+        private int m_ApprovalPersonCode = 0;// 承認担当者コード
+        private DateTime m_ApprovalDate = DateTime.Now;// 担当者承認日付
+        private int m_ApprovalEndFlg = 0;       // 承認完了フラグ
+        private DateTime m_EntryDate = DateTime.Now;    // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;   // 更新日付
+
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 対象年月
+        /// </summary>
+        public int TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+
+        /// <summary>
+        /// 連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+
+        /// <summary>
+        /// 請求金額
+        /// </summary>
+        public long BillPrice
+        {
+            get { return m_BillPrice; }
+            set { m_BillPrice = value; }
+        }
+
+        /// <summary>
+        /// 値引き金額
+        /// </summary>
+        public long DiscountPrice
+        {
+            get { return m_DiscountPrice; }
+            set { m_DiscountPrice = value; }
+        }
+
+        /// <summary>
+        /// 相殺金額
+        /// </summary>
+        public long OffsetPrice
+        {
+            get { return m_OffsetPrice; }
+            set { m_OffsetPrice = value; }
+        }
+
+        /// <summary>
+        /// 次回繰越
+        /// </summary>
+        public long NextCoPrice
+        {
+            get { return m_NextCoPrice; }
+            set { m_NextCoPrice = value; }
+        }
+
+        /// <summary>
+        /// 高速代
+        /// </summary>
+        public long HighwPrice
+        {
+            get { return m_HighwPrice; }
+            set { m_HighwPrice = value; }
+        }
+
+        /// <summary>
+        /// 金物代
+        /// </summary>
+        public long HardwPrice
+        {
+            get { return m_HardwPrice; }
+            set { m_HardwPrice = value; }
+        }
+
+        /// <summary>
+        /// 産廃税
+        /// </summary>
+        public long IndsWasteTax
+        {
+            get { return m_IndsWasteTax; }
+            set { m_IndsWasteTax = value; }
+        }
+
+        /// <summary>
+        /// 協力金
+        /// </summary>
+        public long CnstrPrice
+        {
+            get { return m_CnstrPrice; }
+            set { m_CnstrPrice = value; }
+        }
+
+        /// <summary>
+        /// 協力金有無
+        /// </summary>
+        public int CnstrPriceExist
+        {
+            get { return m_CnstrPriceExist; }
+            set { m_CnstrPriceExist = value; }
+        }
+
+        /// <summary>
+        /// 承認担当者コード
+        /// </summary>
+        public int ApprovalPersonCode
+        {
+            get { return m_ApprovalPersonCode; }
+            set { m_ApprovalPersonCode = value; }
+        }
+
+        /// <summary>
+        /// 担当承認日付
+        /// </summary>
+        public DateTime ApprovalDate
+        {
+            set { m_ApprovalDate = value; }
+            get { return m_ApprovalDate; }
+        }
+
+        /// <summary>
+        /// 承認完了フラグ
+        /// </summary>
+        public int ApprovalEndFlg
+        {
+            get { return m_ApprovalEndFlg; }
+            set { m_ApprovalEndFlg = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+
+        #endregion
+
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PersonApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonApproval.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonApproval.cs	(revision 84)
@@ -0,0 +1,154 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 担当者承認データ
+    /// </summary>
+    public class PersonApproval
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        private int         m_PersonCode = 0;
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        private int         m_ApprovalCode = 0;
+        /// <summary>
+        /// 受付日
+        /// </summary>
+        private DateTime    m_OrderDate = DateTime.MinValue;
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        private int         m_OrderNo = 0;
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        private int         m_SeqNo = 0;
+        /// <summary>
+        /// 申請・承認者コード
+        /// </summary>
+        private int         m_PersonCodeApproval = 0;
+        /// <summary>
+        /// 承認日付
+        /// </summary>
+        private DateTime    m_PetitionApprovalDate = DateTime.MinValue;
+        /// <summary>
+        /// 承認希望日
+        /// </summary>
+        private DateTime    m_ApprovalLimitDates = DateTime.MinValue;
+        /// <summary>
+        /// 承認状態
+        /// </summary>
+        private int         m_ApprovalStatus = 0;
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        public int ApprovalCode
+        {
+            get { return m_ApprovalCode; }
+            set { m_ApprovalCode = value; }
+        }
+        /// <summary>
+        /// 受付日
+        /// </summary>
+        public DateTime OrderDate
+        {
+            get { return m_OrderDate; }
+            set { m_OrderDate = value; }
+        }
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 申請・承認者コード
+        /// </summary>
+        public int PersonCodeApproval
+        {
+            get { return m_PersonCodeApproval; }
+            set { m_PersonCodeApproval = value; }
+        }
+        /// <summary>
+        /// 申請・承認日付
+        /// </summary>
+        public DateTime PetitionApprovalDate
+        {
+            get { return m_PetitionApprovalDate; }
+            set { m_PetitionApprovalDate = value; }
+        }
+        /// <summary>
+        /// 承認希望日
+        /// </summary>
+        public DateTime ApprovalLimitDates
+        {
+            get { return m_ApprovalLimitDates; }
+            set { m_ApprovalLimitDates = value; }
+        }
+        /// <summary>
+        /// 承認状態
+        /// </summary>
+        public int ApprovalStatus
+        {
+            get { return m_ApprovalStatus; }
+            set { m_ApprovalStatus = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PersonApprovalCommnet .cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonApprovalCommnet .cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonApprovalCommnet .cs	(revision 84)
@@ -0,0 +1,130 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 担当者承認コメントデータ
+    /// </summary>
+    public class PersonApprovalComment
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        private int         m_PersonCode = 0;
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        private int         m_ApprovalCode = 0;
+        /// <summary>
+        /// 受付日
+        /// </summary>
+        private DateTime    m_OrderDate = DateTime.MinValue;
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        private int         m_OrderNo = 0;
+        /// <summary>
+        /// コメント番号
+        /// </summary>
+        private int         m_CommentNo = 0;
+        /// <summary>
+        /// 親リンク番号
+        /// </summary>
+        private int         m_ParentNo = 0;
+        /// <summary>
+        /// 指示・連絡コメント
+        /// </summary>
+        private string      m_ApproValComment = string.Empty;
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        public int ApprovalCode
+        {
+            get { return m_ApprovalCode; }
+            set { m_ApprovalCode = value; }
+        }
+        /// <summary>
+        /// 受付日
+        /// </summary>
+        public DateTime OrderDate
+        {
+            get { return m_OrderDate; }
+            set { m_OrderDate = value; }
+        }
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+        /// <summary>
+        /// コメント番号
+        /// </summary>
+        public int CommentNo
+        {
+            get { return m_CommentNo; }
+            set { m_CommentNo = value; }
+        }
+        /// <summary>
+        /// 親コメント番号
+        /// </summary>
+        public int ParentNo
+        {
+            get { return m_ParentNo; }
+            set { m_ParentNo = value; }
+        }
+        /// <summary>
+        /// 指示・連絡コメント
+        /// </summary>
+        public string ApproValComment
+        {
+            get { return m_ApproValComment; }
+            set { m_ApproValComment = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PersonDepartmentMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonDepartmentMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonDepartmentMaster.cs	(revision 84)
@@ -0,0 +1,70 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 担当者対象部署マスタデータモデル
+    /// </summary>
+    public class PersonDepartmentMaster
+    {
+        #region メンバ変数
+        private int         m_PersonCode = 0;                   // 担当者コード
+        private int         m_DepartmentCode = 0;               // 対象部署コード
+
+        private int         m_AffiliationFlg = 0;               // 所属フラグ
+
+        private DateTime    m_EntryDate = DateTime.MinValue;    // 登録日付
+        private DateTime    m_UpdateDate = DateTime.MinValue;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            set { m_PersonCode = value; }
+            get { return m_PersonCode; }
+        }
+        /// <summary>
+        /// 部署コード
+        /// </summary>
+        public int DepartmentCode
+        {
+            get { return m_DepartmentCode; }
+            set { m_DepartmentCode = value; }
+        }
+        /// <summary>
+        /// 所属フラグ
+        /// </summary>
+        public int AffiliationFlg
+        {
+            set { m_AffiliationFlg = value; }
+            get { return m_AffiliationFlg; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PersonInChargeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonInChargeMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonInChargeMaster.cs	(revision 84)
@@ -0,0 +1,209 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 担当者マスタデータモデル
+    /// </summary>
+    public class PersonInChargeMaster
+    {
+        #region メンバ変数
+        private int         m_PersonCode = 0;                   // 担当者コード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_PersonName = string.Empty;        // 担当者名
+        private DateTime    m_StartDate = DateTime.MinValue;    // マスタ使用開始年月日付
+        private DateTime    m_EndDate = DateTime.MinValue;      // マスタ使用開始年月日付
+        private string      m_PassWord = string.Empty;	        // パスワード
+        private int         m_SecurityManagement = 0;           // 機密区分
+        private int         m_SecCode = 0;                      // 保護区分番号
+
+        private string      m_MsgBackColor = string.Empty;	    // メッセージ背景色
+
+        private string      m_DisplayString = string.Empty;	    // 表示・印刷名称
+        private int         m_DepartmentCode = 0;               // 部署コード
+
+        private double      m_MonthlySalary = 0;                // 月給金額
+        private double      m_YearSalary = 0;	                // 年棒金額
+
+        private string      m_Qualification = string.Empty;     // 資格情報
+        private string      m_SealPrintName = string.Empty;     // 印鑑表示名
+
+        private int         m_EmployeeClassFlg = 0;             // 社員区分
+        private int         m_LedgerFlg = 1;                    // 台帳計算対象フラグ
+
+        private int         m_DeleteFlg = 0;                    // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.MinValue;    // 登録日付
+        private DateTime    m_UpdateDate = DateTime.MinValue;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            set { m_PersonCode = value; }
+            get { return m_PersonCode; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 担当者名
+        /// </summary>
+        public string PersonName
+        {
+            set { m_PersonName = value; }
+            get { return m_PersonName; }
+        }
+        /// <summary>
+        /// マスタ使用開始年月
+        /// </summary>
+        public DateTime StartDate
+        {
+            set { m_StartDate = value; }
+            get { return m_StartDate; }
+        }
+        /// <summary>
+        /// マスタ使用終了年月
+        /// </summary>
+        public DateTime EndDate
+        {
+            set { m_EndDate = value; }
+            get { return m_EndDate; }
+        }
+        /// <summary>
+        /// パスワード
+        /// </summary>
+        public string PassWord
+        {
+            get { return m_PassWord; }
+            set { m_PassWord = value; }
+        }
+        /// <summary>
+        /// 機密区分
+        /// </summary>
+        public int SecurityManagement
+        {
+            get { return m_SecurityManagement; }
+            set { m_SecurityManagement = value; }
+        }
+        /// <summary>
+        /// 保護区分番号
+        /// </summary>
+        public int SecCode
+        {
+            get { return m_SecCode; }
+            set { m_SecCode = value; }
+        }
+        /// <summary>
+        /// メッセージ背景色
+        /// </summary>
+        public string MsgBackColor
+        {
+            get { return m_MsgBackColor; }
+            set { m_MsgBackColor = value; }
+        }
+        /// <summary>
+        /// 表示・印刷名称
+        /// </summary>
+        public string DisplayString
+        {
+            get { return m_DisplayString; }
+            set { m_DisplayString = value; }
+        }
+        /// <summary>
+        /// 部署コード
+        /// </summary>
+        public int DepartmentCode
+        {
+            get { return m_DepartmentCode; }
+            set { m_DepartmentCode = value; }
+        }
+        /// <summary>
+        /// 月給金額
+        /// </summary>
+        public double MonthlySalary
+        {
+            get { return m_MonthlySalary; }
+            set { m_MonthlySalary = value; }
+        }
+        /// <summary>
+        /// 年棒金額
+        /// </summary>
+        public double YearSalary
+        {
+            get { return m_YearSalary; }
+            set { m_YearSalary = value; }
+        }
+        /// <summary>
+        /// 資格情報
+        /// </summary>
+        public string Qualification
+        {
+            get { return m_Qualification; }
+            set { m_Qualification = value; }
+        }
+        /// <summary>
+        /// 印鑑表示名
+        /// </summary>
+        public string SealPrintName
+        {
+            get { return m_SealPrintName; }
+            set { m_SealPrintName = value; }
+        }
+        /// <summary>
+        /// 社員区分
+        /// </summary>
+        public int EmployeeClassFlg
+        {
+            get { return m_EmployeeClassFlg; }
+            set { m_EmployeeClassFlg = value; }
+        }
+        /// <summary>
+        /// 台帳計算対象フラグ
+        /// </summary>
+        public int LedgerFlg
+        {
+            get { return m_LedgerFlg; }
+            set { m_LedgerFlg = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            set { m_DeleteFlg = value; }
+            get { return m_DeleteFlg; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PersonSalaryMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonSalaryMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonSalaryMaster.cs	(revision 84)
@@ -0,0 +1,79 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 担当者給与マスタデータモデル
+    /// </summary>
+    public class PersonSalaryMaster
+    {
+        #region メンバ変数
+        private int         m_PersonCode = 0;                   // 担当者コード
+        private DateTime    m_StartDate = DateTime.MinValue;    // 使用開始年月日付
+
+        private double      m_MonthlySalary = 0;                // 月給金額
+        private double      m_YearSalary = 0;	                // 年棒金額
+
+        private DateTime    m_EntryDate = DateTime.MinValue;    // 登録日付
+        private DateTime    m_UpdateDate = DateTime.MinValue;   // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            set { m_PersonCode = value; }
+            get { return m_PersonCode; }
+        }
+        /// <summary>
+        /// 使用開始年月
+        /// </summary>
+        public DateTime StartDate
+        {
+            set { m_StartDate = value; }
+            get { return m_StartDate; }
+        }
+        /// <summary>
+        /// 月給金額
+        /// </summary>
+        public double MonthlySalary
+        {
+            get { return m_MonthlySalary; }
+            set { m_MonthlySalary = value; }
+        }
+        /// <summary>
+        /// 年棒金額
+        /// </summary>
+        public double YearSalary
+        {
+            get { return m_YearSalary; }
+            set { m_YearSalary = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PointingOutComment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PointingOutComment.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PointingOutComment.cs	(revision 84)
@@ -0,0 +1,161 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 指摘事項データ
+    /// </summary>
+    public class PointingOutComment
+    {
+        #region メンバ変数
+
+        private int     m_ConstructionCode=0;	            // 工事番号
+        private int     m_ProcessNo = 0;    	            // 処理番号
+        private int     m_SeqNo = 0;    	                // 順序
+        private int     m_PageCount = 0;    	            // ページ番号
+        private int     m_PersonCode = 0;    	            // 記入者
+        private string  m_DrowColor = string.Empty;         // 描画色
+        private string  m_CommentMessage = string.Empty;    // メッセージ
+        private int     m_StartPointX = 0;    	            // 指摘項目位置Ｘ
+        private int     m_StartPointY = 0;    	            // 指摘項目位置Ｙ
+        private int     m_CurrentPointX = 0;    	        // 初期位置Ｘ
+        private int     m_CurrentPointY = 0;    	        // 初期位置Ｙ
+        private int     m_CurrentWidth = 0;    	            // 表示サイズWidth
+        private int     m_CurrentHeight = 0;    	        // 表示サイズHeigth
+
+        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+
+        /// <summary>
+        /// 処理番号
+        /// </summary>
+        public int ProcessNo
+        {
+            get { return m_ProcessNo; }
+            set { m_ProcessNo = value; }
+        }
+        /// <summary>
+        /// 順序
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// ページ番号
+        /// </summary>
+        public int PageCount
+        {
+            get { return m_PageCount; }
+            set { m_PageCount = value; }
+        }
+        /// <summary>
+        /// 記入者
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 描画色
+        /// </summary>
+        public string DrowColor
+        {
+            get { return m_DrowColor; }
+            set { m_DrowColor = value; }
+        }
+        /// <summary>
+        /// メッセージ
+        /// </summary>
+        public string CommentMessage
+        {
+            get { return m_CommentMessage; }
+            set { m_CommentMessage = value; }
+        }
+        /// <summary>
+        /// 指摘項目位置Ｘ
+        /// </summary>
+        public int StartPointX
+        {
+            get { return m_StartPointX; }
+            set { m_StartPointX = value; }
+        }
+        /// <summary>
+        /// 指摘項目位置Ｙ
+        /// </summary>
+        public int StartPointY
+        {
+            get { return m_StartPointY; }
+            set { m_StartPointY = value; }
+        }
+        /// <summary>
+        /// 初期位置Ｘ
+        /// </summary>
+        public int CurrentPointX
+        {
+            get { return m_CurrentPointX; }
+            set { m_CurrentPointX = value; }
+        }
+        /// <summary>
+        /// 初期位置Ｙ
+        /// </summary>
+        public int CurrentPointY
+        {
+            get { return m_CurrentPointY; }
+            set { m_CurrentPointY = value; }
+        }
+        /// <summary>
+        /// 表示サイズWidth
+        /// </summary>
+        public int CurrentWidth
+        {
+            get { return m_CurrentWidth; }
+            set { m_CurrentWidth = value; }
+        }
+        /// <summary>
+        /// 表示サイズHeigth
+        /// </summary>
+        public int CurrentHeight
+        {
+            get { return m_CurrentHeight; }
+            set { m_CurrentHeight = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ProceedingsData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProceedingsData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ProceedingsData.cs	(revision 84)
@@ -0,0 +1,127 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データ定義クラス
+    /// </summary>
+    public class ProceedingsData
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 議事録作成日
+        /// </summary>
+        private DateTime    m_ProceedingsDataDate = DateTime.Now;
+        /// <summary>
+        /// 会議時間開始
+        /// </summary>
+        private int         m_StartMeetingTime = 0;
+        /// <summary>
+        /// 会議時間終了
+        /// </summary>
+        private int         m_EndMeetingTime = 0;
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int         m_CreatorCode = 0;
+        /// <summary>
+        /// 現地フラグ
+        /// </summary>
+        private int         m_PalceFlag = 1;
+        /// <summary>
+        /// 打合せ場所
+        /// </summary>
+        private string      m_MeetingPalce = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 議事録作成日
+        /// </summary>
+        public DateTime ProceedingsDataDate
+        {
+            get { return m_ProceedingsDataDate; }
+            set { m_ProceedingsDataDate = value; }
+        }
+        /// <summary>
+        /// 会議時間開始
+        /// </summary>
+        public int StartMeetingTime
+        {
+            get { return m_StartMeetingTime; }
+            set { m_StartMeetingTime = value; }
+        }
+        /// <summary>
+        /// 会議時間終了
+        /// </summary>
+        public int EndMeetingTime
+        {
+            get { return m_EndMeetingTime; }
+            set { m_EndMeetingTime = value; }
+        }
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int CreatorCode
+        {
+            get { return m_CreatorCode; }
+            set { m_CreatorCode = value; }
+        }
+        /// <summary>
+        /// 現地フラグ
+        /// </summary>
+        public int PalceFlag
+        {
+            get { return m_PalceFlag; }
+            set { m_PalceFlag = value; }
+        }
+        /// <summary>
+        /// 打合せ場所１
+        /// </summary>
+        public string MeetingPalce
+        {
+            get { return m_MeetingPalce; }
+            set { m_MeetingPalce = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataAttend.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataAttend.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataAttend.cs	(revision 84)
@@ -0,0 +1,115 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データ（出席者）
+    /// </summary>
+    public class ProceedingsDataAttend
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 議事録作成日
+        /// </summary>
+        private DateTime    m_ProceedingsDataDate = DateTime.Now;
+        /// <summary>
+        /// 会議時間開始
+        /// </summary>
+        private int         m_StartMeetingTime = 0;
+        /// <summary>
+        /// データ行番号
+        /// </summary>
+        private int         m_SeqNo = 0;
+        /// <summary>
+        /// 出席者所属
+        /// </summary>
+        private string      m_Department = string.Empty;
+        /// <summary>
+        /// 出席者氏名
+        /// </summary>
+        private string      m_AttendName = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 議事録作成日
+        /// </summary>
+        public DateTime ProceedingsDataDate
+        {
+            get { return m_ProceedingsDataDate; }
+            set { m_ProceedingsDataDate = value; }
+        }
+        /// <summary>
+        /// 会議時間開始
+        /// </summary>
+        public int StartMeetingTime
+        {
+            get { return m_StartMeetingTime; }
+            set { m_StartMeetingTime = value; }
+        }
+        /// <summary>
+        /// データ行番号
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 出席者所属
+        /// </summary>
+        public string Department
+        {
+            get { return m_Department; }
+            set { m_Department = value; }
+        }
+        /// <summary>
+        /// 出席者氏名
+        /// </summary>
+        public string AttendName
+        {
+            get { return m_AttendName; }
+            set { m_AttendName = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataDetail.cs	(revision 84)
@@ -0,0 +1,127 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データ（明細）
+    /// </summary>
+    public class ProceedingsDataDetail
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 議事録作成日
+        /// </summary>
+        private DateTime    m_ProceedingsDataDate = DateTime.Now;
+        /// <summary>
+        /// 会議時間開始
+        /// </summary>
+        private int         m_StartMeetingTime = 0;
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        private int         m_SeqNo = 0;
+        /// <summary>
+        /// 議題番号
+        /// </summary>
+        private string      m_TitleNo = string.Empty;
+        /// <summary>
+        /// 議題
+        /// </summary>
+        private string      m_Title = string.Empty;
+        /// <summary>
+        /// 内容
+        /// </summary>
+        private string      m_ContentsText = string.Empty;
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 議事録作成日
+        /// </summary>
+        public DateTime ProceedingsDataDate
+        {
+            get { return m_ProceedingsDataDate; }
+            set { m_ProceedingsDataDate = value; }
+        }
+        /// <summary>
+        /// 会議時間開始
+        /// </summary>
+        public int StartMeetingTime
+        {
+            get { return m_StartMeetingTime; }
+            set { m_StartMeetingTime = value; }
+        }
+        /// <summary>
+        /// 明細行番号
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 議題番号
+        /// </summary>
+        public string TitleNo
+        {
+            get { return m_TitleNo; }
+            set { m_TitleNo = value; }
+        }
+        /// <summary>
+        /// 議題
+        /// </summary>
+        public string Title
+        {
+            get { return m_Title; }
+            set { m_Title = value; }
+        }
+        /// <summary>
+        /// 内容
+        /// </summary>
+        public string ContentsText
+        {
+            get { return m_ContentsText; }
+            set { m_ContentsText = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ProcessApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProcessApproval.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ProcessApproval.cs	(revision 84)
@@ -0,0 +1,154 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 承認データ
+    /// </summary>
+    public class ProcessApproval
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        private int         m_ApprovalCode = 0;
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        private int         m_OrderNo = 1;
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        private int         m_SeqNo = 0;
+        /// <summary>
+        /// 申請・承認者コード
+        /// </summary>
+        private int         m_PersonCode = 0;
+        /// <summary>
+        /// 承認日付
+        /// </summary>
+        private DateTime    m_PetitionApprovalDate = DateTime.MinValue;
+        /// <summary>
+        /// 承認希望日
+        /// </summary>
+        private DateTime    m_ApprovalLimitDates = DateTime.MinValue;
+        /// <summary>
+        /// 承認状態
+        /// </summary>
+        private int         m_ApprovalStatus = 0;
+        /// <summary>
+        /// コメント
+        /// </summary>
+        private string      m_InputComment = string.Empty;
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        public int ApprovalCode
+        {
+            get { return m_ApprovalCode; }
+            set { m_ApprovalCode = value; }
+        }
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 申請・承認者コード
+        /// </summary>
+        public int PersonCode 
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 申請・承認日付
+        /// </summary>
+        public DateTime PetitionApprovalDate
+        {
+            get { return m_PetitionApprovalDate; }
+            set { m_PetitionApprovalDate = value; }
+        }
+        /// <summary>
+        /// 承認希望日
+        /// </summary>
+        public DateTime ApprovalLimitDates
+        {
+            get { return m_ApprovalLimitDates; }
+            set { m_ApprovalLimitDates = value; }
+        }
+        /// <summary>
+        /// 承認状態
+        /// </summary>
+        public int ApprovalStatus
+        {
+            get { return m_ApprovalStatus; }
+            set { m_ApprovalStatus = value; }
+        }
+        /// <summary>
+        /// コメント
+        /// </summary>
+        public string InputComment
+        {
+            get { return m_InputComment; }
+            set { m_InputComment = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalCommnet.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalCommnet.cs	(revision 84)
@@ -0,0 +1,118 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 承認コメントデータ
+    /// </summary>
+    public class ProcessApprovalComment
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        private int         m_ApprovalCode = 0;
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        private int         m_OrderNo = 1;
+        /// <summary>
+        /// コメント番号
+        /// </summary>
+        private int         m_CommentNo = 0;
+        /// <summary>
+        /// 親リンク番号
+        /// </summary>
+        private int         m_ParentNo = 0;
+        /// <summary>
+        /// 指示・連絡コメント
+        /// </summary>
+        private string      m_ApproValComment = string.Empty;
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        public int ApprovalCode
+        {
+            get { return m_ApprovalCode; }
+            set { m_ApprovalCode = value; }
+        }
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+        /// <summary>
+        /// コメント番号
+        /// </summary>
+        public int CommentNo
+        {
+            get { return m_CommentNo; }
+            set { m_CommentNo = value; }
+        }
+        /// <summary>
+        /// 親コメント番号
+        /// </summary>
+        public int ParentNo
+        {
+            get { return m_ParentNo; }
+            set { m_ParentNo = value; }
+        }
+        /// <summary>
+        /// 指示・連絡コメント
+        /// </summary>
+        public string ApproValComment
+        {
+            get { return m_ApproValComment; }
+            set { m_ApproValComment = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalDetail.cs	(revision 84)
@@ -0,0 +1,106 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 承認明細データ
+    /// </summary>
+    public class ProcessApprovalDetail
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        private int         m_ConstructionCode = 0;
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        private int         m_ApprovalCode = 0;
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        private int         m_OrderNo = 1;
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        private int         m_SerialNo = 0;
+        /// <summary>
+        /// リンク情報
+        /// </summary>
+        private int         m_LinkCode = 0;
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 承認機能番号
+        /// </summary>
+        public int ApprovalCode
+        {
+            get { return m_ApprovalCode; }
+            set { m_ApprovalCode = value; }
+        }
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        public int SerialNo
+        {
+            get { return m_SerialNo; }
+            set { m_SerialNo = value; }
+        }
+        /// <summary>
+        /// リンク情報
+        /// </summary>
+        public int LinkCode
+        {
+            get { return m_LinkCode; }
+            set { m_LinkCode = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/ProcessExcuter.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProcessExcuter.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/ProcessExcuter.cs	(revision 84)
@@ -0,0 +1,82 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 起動対象マスタ
+    /// </summary>
+    public class ProcessExcute
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 保護区分番号
+        /// </summary>
+        private int         m_SecCode = 0;
+        /// <summary>
+        /// 起動処理番号
+        /// </summary>
+        private int         m_ExecCode = 0;
+        /// <summary>
+        /// 編集フラグ
+        /// </summary>
+        private int         m_EditFlg = 0;
+
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.MinValue;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.MinValue;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 保護区分番号
+        /// </summary>
+        public int SecCode
+        {
+            get { return m_SecCode; }
+            set { m_SecCode = value; }
+        }
+        /// <summary>
+        /// 起動処理番号
+        /// </summary>
+        public int ExecCode
+        {
+            get { return m_ExecCode; }
+            set { m_ExecCode = value; }
+        }
+        /// <summary>
+        /// 編集フラグ
+        /// </summary>
+        public int EditFlg
+        {
+            get { return m_EditFlg; }
+            set { m_EditFlg = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PurchaseOrder.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PurchaseOrder.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PurchaseOrder.cs	(revision 84)
@@ -0,0 +1,298 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 注文書データ
+    /// </summary>
+    public class PurchaseOrder
+    {
+        #region メンバ変数
+
+        private int         m_ConstructionCode = 0;	                    // 工事コード
+        private int         m_SeqNo = 0;                                // 枝番
+
+        private int         m_CompanyCode = 0;                          // 協力会社コード
+        private DateTime    m_CreateDate = DateTime.Now;                // 作成日
+        private double      m_OrderPrice = 0;                           // 発注金額
+        private DateTime    m_LastRowStringDate = DateTime.MinValue;    // 最終行表示日付
+
+        private int         m_OrderSheetType = 0;	                    // 簡易・本式フラグ
+        private int         m_PaymentTerms = 0;                         // 支払い条件
+        private double      m_CashRatio	= 0;                            // 現金割合（％）
+        private int         m_BillPeriod = 0;                           // 手形期間
+
+        private int         m_PrePayments = 0;                          // 前金払
+        private int         m_PrePaymentsDays = 0;                      // 前金払日数
+        private double      m_PrePaymentsPrice = 0;                     // 前金払金額
+        private int         m_PartialPayment = 0;                       // 部分払
+        private int         m_PartialPaymentMounth = 0;                 // 部分払締切月
+        private int         m_PartialPaymentDay1 = 0;                   // 部分払締切日
+        private int         m_PartialPaymentDay2 = 0;                   // 部分払支払日
+        private double      m_PartialPaymentPrice = 0;                  // 部分払金額
+        private int         m_CompletionPayment = 0;                    // 引渡し時の支払
+        private int         m_CompletionPaymentDays = 0;                // 引渡し時の支払日数
+        private double      m_CompletionPaymentPrice = 0;               // 引渡し時の支払金額
+
+        private int         m_LeadEngineerCode = 0;                     // 主任技術者コード
+        private string      m_LeadEngineerName = string.Empty;          // 主任技術者名
+        private int         m_SafetyOfficerCode = 0;                    // 安全管理者コード
+        private string      m_SafetyOfficerName = string.Empty;         // 安全管理者名
+        private int         m_WorkersCount = 0;                         // 作業員数
+        private DateTime    m_PrintoutDate = DateTime.MinValue;         // 印刷年月日
+        
+        private DateTime    m_EntryDate = DateTime.Now;                 // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;                // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 作成日
+        /// </summary>
+        public DateTime CreateDate
+        {
+            get { return m_CreateDate; }
+            set { m_CreateDate = value; }
+        }
+        /// <summary>
+        /// 発注金額
+        /// </summary>
+        public double OrderPrice
+        {
+            get { return m_OrderPrice; }
+            set { m_OrderPrice = value; }
+        }
+        /// <summary>
+        /// 最終行表示日付
+        /// </summary>
+        public DateTime LastRowStringDate
+        {
+            get { return m_LastRowStringDate; }
+            set { m_LastRowStringDate = value; }
+        }
+
+
+        /// <summary>
+        /// 簡易・本式フラグ
+        /// </summary>
+        public int OrderSheetType
+        {
+            get { return m_OrderSheetType; }
+            set { m_OrderSheetType = value; }
+        }
+        /// <summary>
+        /// 支払い条件
+        /// </summary>
+        public int PaymentTerms
+        {
+            get { return m_PaymentTerms; }
+            set { m_PaymentTerms = value; }
+        }
+        /// <summary>
+        /// 現金割合（％）
+        /// </summary>
+        public double CashRatio
+        {
+            get { return m_CashRatio; }
+            set { m_CashRatio = value; }
+        }
+        /// <summary>
+        /// 手形期間
+        /// </summary>
+        public int BillPeriod
+        {
+            get { return m_BillPeriod; }
+            set { m_BillPeriod = value; }
+        }
+        /// <summary>
+        /// 前金払
+        /// </summary>
+        public int PrePayments
+        {
+            get { return m_PrePayments; }
+            set { m_PrePayments = value; }
+        }
+        /// <summary>
+        /// 前金払日数
+        /// </summary>
+        public int PrePaymentsDays
+        {
+            get { return m_PrePaymentsDays; }
+            set { m_PrePaymentsDays = value; }
+        }
+        /// <summary>
+        /// 前金払金額
+        /// </summary>
+        public double PrePaymentsPrice
+        {
+            get { return m_PrePaymentsPrice; }
+            set { m_PrePaymentsPrice = value; }
+        }
+        /// <summary>
+        /// 部分払
+        /// </summary>
+        public int PartialPayment
+        {
+            get { return m_PartialPayment; }
+            set { m_PartialPayment = value; }
+        }
+        /// <summary>
+        /// 部分払締切月
+        /// </summary>
+        public int PartialPaymentMounth
+        {
+            get { return m_PartialPaymentMounth; }
+            set { m_PartialPaymentMounth = value; }
+        }
+        /// <summary>
+        /// 部分払締切日
+        /// </summary>
+        public int PartialPaymentDay1
+        {
+            get { return m_PartialPaymentDay1; }
+            set { m_PartialPaymentDay1 = value; }
+        }
+        /// <summary>
+        /// 部分払支払日
+        /// </summary>
+        public int PartialPaymentDay2
+        {
+            get { return m_PartialPaymentDay2; }
+            set { m_PartialPaymentDay2 = value; }
+        }
+        /// <summary>
+        /// 部分払金額
+        /// </summary>
+        public double PartialPaymentPrice
+        {
+            get { return m_PartialPaymentPrice; }
+            set { m_PartialPaymentPrice = value; }
+        }
+        /// <summary>
+        /// 引渡し時の支払
+        /// </summary>
+        public int CompletionPayment
+        {
+            get { return m_CompletionPayment; }
+            set { m_CompletionPayment = value; }
+        }
+        /// <summary>
+        /// 引渡し時の支払日数
+        /// </summary>
+        public int CompletionPaymentDays
+        {
+            get { return m_CompletionPaymentDays; }
+            set { m_CompletionPaymentDays = value; }
+        }
+        /// <summary>
+        /// 引渡し時の支払金額
+        /// </summary>
+        public double CompletionPaymentPrice
+        {
+            get { return m_CompletionPaymentPrice; }
+            set { m_CompletionPaymentPrice = value; }
+        }
+
+        /// <summary>
+        /// 主任技術者コード
+        /// </summary>
+        public int LeadEngineerCode
+        {
+            get { return m_LeadEngineerCode; }
+            set { m_LeadEngineerCode = value; }
+        }
+
+        /// <summary>
+        /// 主任技術者名
+        /// </summary>
+        public string LeadEngineerName
+        {
+            get { return m_LeadEngineerName; }
+            set { m_LeadEngineerName = value; }
+        }
+
+        /// <summary>
+        /// 安全管理者コード
+        /// </summary>
+        public int SafetyOfficerCode
+        {
+            get { return m_SafetyOfficerCode; }
+            set { m_SafetyOfficerCode = value; }
+        }
+
+        /// <summary>
+        /// 安全管理者名
+        /// </summary>
+        public string SafetyOfficerName
+        {
+            get { return m_SafetyOfficerName; }
+            set { m_SafetyOfficerName = value; }
+        }
+
+        /// <summary>
+        /// 作業員数
+        /// </summary>
+        public int WorkersCount
+        {
+            get { return m_WorkersCount; }
+            set { m_WorkersCount = value; }
+        }
+
+        /// <summary>
+        /// 印刷年月日
+        /// </summary>
+        public DateTime PrintoutDate
+        {
+            get { return m_PrintoutDate; }
+            set { m_PrintoutDate = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/PurchaseOrderDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PurchaseOrderDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/PurchaseOrderDetail.cs	(revision 84)
@@ -0,0 +1,163 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    public class PurchaseOrderDetail
+    {
+        /// <summary>
+        /// 注文書明細データ
+        /// </summary>
+        #region メンバ変数
+
+        private int     m_ConstructionCode = 0;	            // 工事コード
+        private int     m_SeqNo = 0;                        // 枝番
+        private int     m_GroupCount = 0;                   // グループ番号
+        private int     m_LineCount = 0;                    // 行番号
+
+        private int     m_ComponentCode = 0;                // 構成キー
+        private int     m_ItemCode = 0;	                    // 工種キー
+        private string  m_FirstString = string.Empty;       // 工種・品名
+        private string  m_SecondString = string.Empty;      // 内容内訳
+
+        private double  m_UnitCount = 0;	                // 数量
+        private string  m_UnitName = string.Empty;	        // 単位
+        private double  m_UnitPrice = 0;	                // 単価
+        private double  m_OrdersLinePrice = 0;	            // 金額
+        private double  m_SourceCode = 0;                   // 予算作成時工事番号
+
+        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
+        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事コード
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// グループ番号
+        /// </summary>
+        public int GroupCount
+        {
+            get { return m_GroupCount; }
+            set { m_GroupCount = value; }
+        }
+        /// <summary>
+        /// 行番号
+        /// </summary>
+        public int LineCount
+        {
+            get { return m_LineCount; }
+            set { m_LineCount = value; }
+        }
+        /// <summary>
+        /// 構成キー
+        /// </summary>
+        public int ComponentCode
+        {
+            get { return m_ComponentCode; }
+            set { m_ComponentCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 工種・品名
+        /// </summary>
+        public string FirstString
+        {
+            get { return m_FirstString; }
+            set { m_FirstString = value; }
+        }
+        /// <summary>
+        /// 内容内訳
+        /// </summary>
+        public string SecondString
+        {
+            get { return m_SecondString; }
+            set { m_SecondString = value; }
+        }
+
+        /// <summary>
+        /// 数量
+        /// </summary>
+        public double UnitCount
+        {
+            get { return m_UnitCount; }
+            set { m_UnitCount = value; }
+        }
+        /// <summary>
+        /// 単位
+        /// </summary>
+        public string UnitName
+        {
+            get { return m_UnitName; }
+            set { m_UnitName = value; }
+        }
+        /// <summary>
+        /// 単価
+        /// </summary>
+        public double UnitPrice
+        {
+            get { return m_UnitPrice; }
+            set { m_UnitPrice = value; }
+        }
+        /// <summary>
+        /// 金額
+        /// </summary>
+        public double OrdersLinePrice
+        {
+            get { return m_OrdersLinePrice; }
+            set { m_OrdersLinePrice = value; }
+        }
+        /// <summary>
+        /// 予算作成時工事番号
+        /// </summary>
+        public double SourceCode
+        {
+            get { return m_SourceCode; }
+            set { m_SourceCode = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/RequestData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/RequestData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/RequestData.cs	(revision 84)
@@ -0,0 +1,203 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 請求データ
+    /// </summary>
+    public class RequestData
+    {
+        #region メンバ変数
+        private int         m_RequestNo = 0;                    // 請求No
+        private int         m_MainConstructionCode = 0;         // 本工事番号
+        private string      m_ConstructionName = "";            // 工事件名
+        private int         m_ContractAmount = 0;               // 請負金額
+        private int         m_PaidAmount = 0;                   // 請求済金額
+        private int         m_RequestAmount0 = 0;               // 請求金額０
+        private int         m_RequestAmount1 = 0;               // 請求金額１
+        private int         m_RequestAmount2 = 0;               // 請求金額２
+        private int         m_RequestAmount3 = 0;               // 請求金額３
+        private int         m_RequestAmount4 = 0;               // 請求金額４
+        private int         m_RequestAmount5 = 0;               // 請求金額５
+        private int         m_RequestAmount6 = 0;               // 請求金額６
+        private int         m_UnclaimedAmount = 0;              // 請求残金額
+        private int         m_UnpaidAmount = 0;                 // 未入金金額
+        private int         m_TaxAmount = 0;                    // 消費税
+        private string      m_Note = "";                        // 備考
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 請求No
+        /// </summary>
+        public int RequestNo
+        {
+            get { return m_RequestNo; }
+            set { m_RequestNo = value; }
+        }
+
+        /// <summary>
+        /// 本工事番号
+        /// </summary>
+        public int MainConstructionCode
+        {
+            get { return m_MainConstructionCode; }
+            set { m_MainConstructionCode = value; }
+        }
+        
+        /// <summary>
+        /// 工事件名
+        /// </summary>
+        public string ConstructionName
+        {
+            get { return m_ConstructionName; }
+            set { m_ConstructionName = value; }
+        }
+
+        /// <summary>
+        /// 請負金額
+        /// </summary>
+        public int ContractAmount
+        {
+            get { return m_ContractAmount; }
+            set { m_ContractAmount = value; }
+        }
+
+        /// <summary>
+        /// 請求済金額
+        /// </summary>
+        public int PaidAmount
+        {
+            get { return m_PaidAmount; }
+            set { m_PaidAmount = value; }
+        }
+
+        /// <summary>
+        /// 請求金額０
+        /// </summary>
+        public int RequestAmount0
+        {
+            get { return m_RequestAmount0; }
+            set { m_RequestAmount0 = value; }
+        }
+
+        /// <summary>
+        /// 請求金額１
+        /// </summary>
+        public int RequestAmount1
+        {
+            get { return m_RequestAmount1; }
+            set { m_RequestAmount1 = value; }
+        }
+        
+        /// <summary>
+        /// 請求金額２
+        /// </summary>
+        public int RequestAmount2
+        {
+            get { return m_RequestAmount2; }
+            set { m_RequestAmount2 = value; }
+        }
+        
+        /// <summary>
+        /// 請求金額３
+        /// </summary>
+        public int RequestAmount3
+        {
+            get { return m_RequestAmount3; }
+            set { m_RequestAmount3 = value; }
+        }
+        
+        /// <summary>
+        /// 請求金額４
+        /// </summary>
+        public int RequestAmount4
+        {
+            get { return m_RequestAmount4; }
+            set { m_RequestAmount4 = value; }
+        }
+        
+        /// <summary>
+        /// 請求金額５
+        /// </summary>
+        public int RequestAmount5
+        {
+            get { return m_RequestAmount5; }
+            set { m_RequestAmount5 = value; }
+        }
+
+        /// <summary>
+        /// 請求金額６
+        /// </summary>
+        public int RequestAmount6
+        {
+            get { return m_RequestAmount6; }
+            set { m_RequestAmount6 = value; }
+        }
+
+        /// <summary>
+        /// 請求残金額
+        /// </summary>
+        public int UnclaimedAmount
+        {
+            get { return m_UnclaimedAmount; }
+            set { m_UnclaimedAmount = value; }
+        }
+
+        /// <summary>
+        /// 未入金金額
+        /// </summary>
+        public int UnpaidAmount
+        {
+            get { return m_UnpaidAmount; }
+            set { m_UnpaidAmount = value; }
+        }
+
+        /// <summary>
+        /// 消費税
+        /// </summary>
+        public int TaxAmount
+        {
+            get { return m_TaxAmount; }
+            set { m_TaxAmount = value; }
+        }
+
+        /// <summary>
+        /// 備考
+        /// </summary>
+        public string Note
+        {
+            get { return m_Note; }
+            set { m_Note = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/RequestDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/RequestDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/RequestDataDetail.cs	(revision 84)
@@ -0,0 +1,104 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 請求データ
+    /// </summary>
+    public class RequestDataDetail
+    {
+        #region メンバ変数
+        private int         m_RequestNo = 0;                    // 請求No
+        private int         m_MainConstructionCode = 0;         // 本工事番号
+        private int         m_ConstructionCode = 0;             // 工事番号
+        private int         m_ConstructionKind = 0;             // 工事区分
+        private int         m_RequestAmount = 0;                // 請求金額
+        private int         m_TaxAmount = 0;                    // 消費税
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 請求No
+        /// </summary>
+        public int RequestNo
+        {
+            get { return m_RequestNo; }
+            set { m_RequestNo = value; }
+        }
+
+        /// <summary>
+        /// 本工事番号
+        /// </summary>
+        public int MainConstructionCode
+        {
+            get { return m_MainConstructionCode; }
+            set { m_MainConstructionCode = value; }
+        }
+        
+
+        /// <summary>
+        /// 工事番号
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+
+        /// <summary>
+        /// 工事区分
+        /// </summary>
+        public int ConstructionKind
+        {
+            get { return m_ConstructionKind; }
+            set { m_ConstructionKind = value; }
+        }
+
+        /// <summary>
+        /// 請求金額
+        /// </summary>
+        public int RequestAmount
+        {
+            get { return m_RequestAmount; }
+            set { m_RequestAmount = value; }
+        }
+
+        /// <summary>
+        /// 消費税
+        /// </summary>
+        public int TaxAmount
+        {
+            get { return m_TaxAmount; }
+            set { m_TaxAmount = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/RequestGridKeys.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/RequestGridKeys.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/RequestGridKeys.cs	(revision 84)
@@ -0,0 +1,35 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 請求まとめで行を記憶するために、キー値を保持するためのクラス
+    /// </summary>
+    public class RequestGridKeys
+    {
+        public RequestGridKeys()
+        {
+        }
+
+        public RequestGridKeys(int visible, int companyCode, int genbaCode, int rowType, int seqNo, int lineCount)
+        {
+            Visible = visible;
+            CompanyCode = companyCode;
+            GenbaCode = genbaCode;
+            RowType = rowType;
+            SeqNo = seqNo;
+            LineCount = lineCount;
+        }
+
+        public int Visible { get; set; }
+        public int CompanyCode { get; set; }
+        public int GenbaCode { get; set; }
+        public int RowType { get; set; }
+        public int SeqNo { get; set; }
+        public int LineCount { get; set; }
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/RequestHead.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/RequestHead.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/RequestHead.cs	(revision 84)
@@ -0,0 +1,193 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 請求ヘッダ
+    /// </summary>
+    public class RequestHead
+    {
+        #region メンバ変数
+        private int         m_RequestNo = 0;                    // 請求No
+        private int         m_ReqConstructionCode = 0;          // 請求工事番号
+        private int         m_OrderNo = 0;                      // 受付番号
+        private int         m_RequestMonth = 0;                 // 請求月
+        private int         m_OrderersDivision = 0;             // 発注者区分
+        private int         m_OrderersCode = 0;                 // 発注者コード
+        private string      m_OrderersName = "";                // 発注者名
+        private string      m_ReqConstructionName = "";         // 請求工事件名
+        private int         m_RequestTotalAmount = 0;           // 請求金額合計
+        private int         m_RequestAmount = 0;                // 請求金額
+        private int         m_TaxAmount = 0;                    // 消費税
+        private int         m_UnpaidAmount = 0;                 // 未入金
+        private string      m_Note ="";                         // 備考
+        private int         m_AssignedFlg = 0;                  // 割当済フラグ
+        private int         m_InvoiceNo = 0;                    // 請求書No
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 請求No
+        /// </summary>
+        public int RequestNo
+        {
+            get { return m_RequestNo; }
+            set { m_RequestNo = value; }
+        }
+
+        /// <summary>
+        /// 請求工事番号
+        /// </summary>
+        public int ReqConstructionCode
+        {
+            get { return m_ReqConstructionCode; }
+            set { m_ReqConstructionCode = value; }
+        }
+
+        /// <summary>
+        /// 受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+
+        /// <summary>
+        /// 請求月
+        /// </summary>
+        public int RequestMonth
+        {
+            get { return m_RequestMonth; }
+            set { m_RequestMonth = value; }
+        }
+
+        /// <summary>
+        /// 発注者区分
+        /// </summary>
+        public int OrderersDivision
+        {
+            get { return m_OrderersDivision; }
+            set { m_OrderersDivision = value; }
+        }
+
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int OrderersCode
+        {
+            get { return m_OrderersCode; }
+            set { m_OrderersCode = value; }
+        }
+
+        /// <summary>
+        /// 発注者名
+        /// </summary>
+        public string OrderersName
+        {
+            get { return m_OrderersName; }
+            set { m_OrderersName = value; }
+        }
+
+        /// <summary>
+        /// 請求工事件名
+        /// </summary>
+        public string ReqConstructionName
+        {
+            get { return m_ReqConstructionName; }
+            set { m_ReqConstructionName = value; }
+        }
+        
+        /// <summary>
+        /// 請求金額合計
+        /// </summary>
+        public int RequestTotalAmount
+        {
+            get { return m_RequestTotalAmount; }
+            set { m_RequestTotalAmount = value; }
+        }
+
+        /// <summary>
+        /// 請求金額
+        /// </summary>
+        public int RequestAmount
+        {
+            get { return m_RequestAmount; }
+            set { m_RequestAmount = value; }
+        }
+
+        /// <summary>
+        /// 消費税
+        /// </summary>
+        public int TaxAmount
+        {
+            get { return m_TaxAmount; }
+            set { m_TaxAmount = value; }
+        }
+
+        /// <summary>
+        /// 未入金
+        /// </summary>
+        public int UnpaidAmount
+        {
+            get { return m_UnpaidAmount; }
+            set { m_UnpaidAmount = value; }
+        }
+
+        /// <summary>
+        /// 備考
+        /// </summary>
+        public string Note
+        {
+            get { return m_Note; }
+            set { m_Note = value; }
+        }
+
+        /// <summary>
+        /// 割当済フラグ
+        /// </summary>
+        public int AssignedFlg
+        {
+            get { return m_AssignedFlg; }
+            set { m_AssignedFlg = value; }
+        }
+
+        /// <summary>
+        /// 請求書No
+        /// </summary>
+        public int InvoiceNo
+        {
+            get { return m_InvoiceNo; }
+            set { m_InvoiceNo = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SalesGraphData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SalesGraphData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SalesGraphData.cs	(revision 84)
@@ -0,0 +1,121 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 売上グラフデータ
+    /// </summary>
+    public class SalesGraphData
+    {
+        #region メンバ変数
+        private int         m_GraphDataCode = 0;                        // グラフデータコード
+        private int         m_ConstructionPeriod = 0;                   // 事業期
+        private DateTime    m_SalesDataDays = DateTime.MinValue;        // 売上年月
+        private int         m_DisplayOrder = 0;                         // 表示順
+        private string      m_DataName = string.Empty;	                // データ表示名称
+        private int         m_SalesAmount = 0;	                        // 売上データ
+        private int         m_AdministrativeExpense = 0;                // 販管・部署経費
+        private int         m_GrossProfit = 0;                          // 粗利益
+        private int         m_NetIncome = 0;                            // 純利益(損益)
+        private DateTime    m_EntryDate = DateTime.Now;                 // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;                // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// グラフデータコード
+        /// </summary>
+        public int GraphDataCode
+        {
+            get { return m_GraphDataCode; }
+            set { m_GraphDataCode = value; }
+        }
+        /// <summary>
+        /// 事業期
+        /// </summary>
+        public int ConstructionPeriod
+        {
+            get { return m_ConstructionPeriod; }
+            set { m_ConstructionPeriod = value; }
+        }
+        /// <summary>
+        /// 売上年月
+        /// </summary>
+        public DateTime SalesDataDays
+        {
+            get { return m_SalesDataDays; }
+            set { m_SalesDataDays = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// データ表示名称
+        /// </summary>
+        public string DataName
+        {
+            get { return m_DataName; }
+            set { m_DataName = value; }
+        }
+        /// <summary>
+        /// 売上データ
+        /// </summary>
+        public int SalesAmount
+        {
+            get { return m_SalesAmount; }
+            set { m_SalesAmount = value; }
+        }
+        /// <summary>
+        /// 販管・部署経費
+        /// </summary>
+        public int AdministrativeExpense
+        {
+            get { return m_AdministrativeExpense; }
+            set { m_AdministrativeExpense = value; }
+        }
+        /// <summary>
+        /// 粗利益
+        /// </summary>
+        public int GrossProfit
+        {
+            get { return m_GrossProfit; }
+            set { m_GrossProfit = value; }
+        }
+        /// <summary>
+        /// 純利益(損益)
+        /// </summary>
+        public int NetIncome
+        {
+            get { return m_NetIncome; }
+            set { m_NetIncome = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SecurityMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SecurityMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SecurityMaster.cs	(revision 84)
@@ -0,0 +1,130 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 保護区分マスタ
+    /// </summary>
+    public class SecurityMaster
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 保護区分番号
+        /// </summary>
+        private int         m_SecCode = 0;
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        private int         m_DisplayOrder = 0;
+        /// <summary>
+        /// 保護区分名称
+        /// </summary>
+        private string      m_SecName = string.Empty;
+        /// <summary>
+        /// 保護区分ランク
+        /// </summary>
+        private int         m_SecRank = 0;
+        /// <summary>
+        /// 保護区分範囲
+        /// </summary>
+        private int         m_SecRange = 0;
+        /// <summary>
+        /// 総務業務フラグ
+        /// </summary>
+        private int         m_GeneralAffairs = 0;
+        /// <summary>
+        /// 選択背景色
+        /// </summary>
+        private string      m_SelectBackColor = string.Empty;
+
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.MinValue;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.MinValue;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 保護区分番号
+        /// </summary>
+        public int SecCode
+        {
+            get { return m_SecCode; }
+            set { m_SecCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 保護区分名称
+        /// </summary>
+        public string SecName 
+        {
+            get { return m_SecName; }
+            set { m_SecName = value; }
+        }
+        /// <summary>
+        /// 保護区分ランク
+        /// </summary>
+        public int SecRank
+        {
+            get { return m_SecRank; }
+            set { m_SecRank = value; }
+        }
+        /// <summary>
+        /// 保護区分範囲
+        /// </summary>
+        public int SecRange
+        {
+            get { return m_SecRange; }
+            set { m_SecRange = value; }
+        }
+        /// <summary>
+        /// 総務業務フラグ
+        /// </summary>
+        public int GeneralAffairs
+        {
+            get { return m_GeneralAffairs; }
+            set { m_GeneralAffairs = value; }
+        }
+        /// <summary>
+        /// 選択背景色
+        /// </summary>
+        public string SelectBackColor
+        {
+            get { return m_SelectBackColor; }
+            set { m_SelectBackColor = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SubConstrJobItemRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubConstrJobItemRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SubConstrJobItemRegist.cs	(revision 84)
@@ -0,0 +1,85 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 協力業者施工工種登録申請データ
+    /// </summary>
+    public class SubConstrJobItemRegist
+    {
+        #region メンバ変数
+        private int         m_PersonCode = 0;                   // 申請者番号
+        private DateTime    m_CreateDate = DateTime.Now;        // 作成日
+        private int         m_SeqNo = 0;                        // 申請連番
+        private int         m_ItemCode=0;                       // 工種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 申請者番号
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 作成日
+        /// </summary>
+        public DateTime CreateDate
+        {
+            get { return m_CreateDate; }
+            set { m_CreateDate = value; }
+        }
+        /// <summary>
+        /// 申請連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SubConstrJobLinkRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubConstrJobLinkRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SubConstrJobLinkRegist.cs	(revision 84)
@@ -0,0 +1,85 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 協力業者職種リンク登録申請データ
+    /// </summary>
+    public class SubConstrJobLinkRegist
+    {
+        #region メンバ変数
+        private int         m_PersonCode = 0;                   // 申請者番号
+        private DateTime    m_CreateDate = DateTime.Now;        // 作成日
+        private int         m_SeqNo = 0;                        // 申請連番
+        private int         m_JobCategoryCode = 0;              // 職種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 申請者番号
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 作成日
+        /// </summary>
+        public DateTime CreateDate
+        {
+            get { return m_CreateDate; }
+            set { m_CreateDate = value; }
+        }
+        /// <summary>
+        /// 申請連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 職種キー
+        /// </summary>
+        public int JobCategoryCode
+        {
+            get { return m_JobCategoryCode; }
+            set { m_JobCategoryCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SubConstrRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubConstrRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SubConstrRegist.cs	(revision 84)
@@ -0,0 +1,278 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 協力業者登録申請データ
+    /// </summary>
+    public class SubConstrRegist
+    {
+        #region メンバ変数
+        private int         m_PersonCode = 0;                   // 申請者番号
+        private DateTime    m_CreateDate = DateTime.Now;        // 作成日
+        private int         m_SeqNo = 0;                        // 申請連番
+        private int         m_DataMode = 0;                     // データ区分
+        private int         m_SourceCode = 0;	                // 会社コード
+        private int         m_PetitionPeriod = 0;               // 申請年度
+        private string      m_CorporateStatusName = string.Empty;	// 法人格名称
+        private int         m_CorporateStatusPoint = 0;	        // 法人格名称
+        private string      m_CompanyName = string.Empty;	    // 会社名
+        private string      m_CEOPositionName = string.Empty;   // 代表者役職名称
+        private string      m_CEOName = string.Empty;	        // 代表者名
+        private string      m_ContactPersonName = string.Empty;	// 窓口担当者名称
+        private string      m_ZipCode = string.Empty;	        // 郵便番号
+        private string      m_Address1 = string.Empty;	        // 住所1
+        private string      m_Address2 = string.Empty;	        // 住所2
+        private string      m_Address3 = string.Empty;	        // 住所3
+        private string      m_CellPhoneNumber = string.Empty;	// 携帯電話番号
+        private string      m_MailAddress = string.Empty;	    // メールアドレス
+        private string      m_PhoneNumber = string.Empty;	    // 電話番号
+        private string      m_FaxNumber = string.Empty;	        // FAX番号
+        private string      m_JapaneseSyllabary = string.Empty;	// 50音読み
+        private             DateTime m_StartDate = DateTime.MinValue;   // 登録日付
+        private string      m_Note = string.Empty;	            // 備考
+        private int         m_labourKind = 0;                   // 支払い通常・手間区分
+
+        private DateTime    m_OrderDate = DateTime.MinValue;    // 申請日
+        private int         m_OrderNo = 0;                      // 申請受付番号
+
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 申請者番号
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 作成日
+        /// </summary>
+        public DateTime CreateDate
+        {
+            get { return m_CreateDate; }
+            set { m_CreateDate = value; }
+        }
+        /// <summary>
+        /// 申請連番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// データ区分
+        /// </summary>
+        public int DataMode
+        {
+            get { return m_DataMode; }
+            set { m_DataMode = value; }
+        }
+        /// <summary>
+        /// 会社コード
+        /// </summary>
+        public int SourceCode
+        {
+            set { m_SourceCode = value; }
+            get { return m_SourceCode; }
+        }
+        /// <summary>
+        /// 申請年度
+        /// </summary>
+        public int PetitionPeriod
+        {
+            get { return m_PetitionPeriod; }
+            set { m_PetitionPeriod = value; }
+        }
+        /// <summary>
+        /// 法人格名称
+        /// </summary>
+        public string CorporateStatusName
+        {
+            set { m_CorporateStatusName = value; }
+            get { return m_CorporateStatusName; }
+        }
+        /// <summary>
+        /// 法人格名称位置
+        /// </summary>
+        public int CorporateStatusPoint
+        {
+            set { m_CorporateStatusPoint = value; }
+            get { return m_CorporateStatusPoint; }
+        }
+        /// <summary>
+        /// 会社名
+        /// </summary>
+        public string CompanyName
+        {
+            set { m_CompanyName = value; }
+            get { return m_CompanyName; }
+        }
+        /// <summary>
+        /// 代表者役職名称
+        /// </summary>
+        public string CEOPositionName
+        {
+            set { m_CEOPositionName = value; }
+            get { return m_CEOPositionName; }
+        }
+        /// <summary>
+        /// 代表者名
+        /// </summary>
+        public string CEOName
+        {
+            set { m_CEOName = value; }
+            get { return m_CEOName; }
+        }
+        /// <summary>
+        /// 窓口担当者名
+        /// </summary>
+        public string ContactPersonName
+        {
+            set { m_ContactPersonName = value; }
+            get { return m_ContactPersonName; }
+        }
+        /// <summary>
+        /// 郵便番号
+        /// </summary>
+        public string ZipCode
+        {
+            set { m_ZipCode = value; }
+            get { return m_ZipCode; }
+        }
+        /// <summary>
+        /// 住所1
+        /// </summary>
+        public string Address1
+        {
+            set { m_Address1 = value; }
+            get { return m_Address1; }
+        }
+        /// <summary>
+        /// 住所2
+        /// </summary>
+        public string Address2
+        {
+            set { m_Address2 = value; }
+            get { return m_Address2; }
+        }
+        /// <summary>
+        /// 住所3
+        /// </summary>
+        public string Address3
+        {
+            set { m_Address3 = value; }
+            get { return m_Address3; }
+        }
+        /// <summary>
+        /// 携帯電話番号
+        /// </summary>
+        public string CellPhoneNumber
+        {
+            set { m_CellPhoneNumber = value; }
+            get { return m_CellPhoneNumber; }
+        }
+        /// <summary>
+        /// メールアドレス
+        /// </summary>
+        public string MailAddress
+        {
+            get { return m_MailAddress; }
+            set { m_MailAddress = value; }
+        }
+        /// <summary>
+        /// 電話番号
+        /// </summary>
+        public string PhoneNumber
+        {
+            set { m_PhoneNumber = value; }
+            get { return m_PhoneNumber; }
+        }
+        /// <summary>
+        /// FAX番号
+        /// </summary>
+        public string FaxNumber
+        {
+            set { m_FaxNumber = value; }
+            get { return m_FaxNumber; }
+        }
+        /// <summary>
+        /// 50音読み
+        /// </summary>
+        public string JapaneseSyllabary
+        {
+            get { return m_JapaneseSyllabary; }
+            set { m_JapaneseSyllabary = value; }
+        }
+        /// <summary>
+        /// 取引開始日
+        /// </summary>
+        public DateTime StartDate
+        {
+            get { return m_StartDate; }
+            set { m_StartDate = value; }
+        }
+        /// <summary>
+        /// 備考  
+        /// </summary>
+        public string Note
+        {
+            set { m_Note = value; }
+            get { return m_Note; }
+        }
+        /// <summary>
+        /// 支払い通常・手間区分
+        /// </summary>
+        public int labourKind
+        {
+            get { return m_labourKind; }
+            set { m_labourKind = value; }
+        }
+
+        /// <summary>
+        /// 申請日
+        /// </summary>
+        public DateTime OrderDate
+        {
+            get { return m_OrderDate; }
+            set { m_OrderDate = value; }
+        }
+        /// <summary>
+        /// 申請受付番号
+        /// </summary>
+        public int OrderNo
+        {
+            get { return m_OrderNo; }
+            set { m_OrderNo = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SubContractorItemMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorItemMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorItemMaster.cs	(revision 84)
@@ -0,0 +1,76 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 協力会社工種マスタ
+    /// </summary>
+    public class SubContractorItemMaster
+    {
+        #region メンバ変数
+        private int         m_ItemCode = 0;	                    // 工種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_ItemName = string.Empty;	        // 名称
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string ItemName
+        {
+            get { return m_ItemName; }
+            set { m_ItemName = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SubContractorJobCategory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorJobCategory.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorJobCategory.cs	(revision 84)
@@ -0,0 +1,76 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 協力会社職種マスタ
+    /// </summary>
+    public class SubContractorJobCategory
+    {
+        #region メンバ変数
+        private int         m_JobCategoryCode = 0;	            // 職種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_JobCategoryName = string.Empty;	// 名称
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 職種キー
+        /// </summary>
+        public int JobCategoryCode
+        {
+            get { return m_JobCategoryCode; }
+            set { m_JobCategoryCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string JobCategoryName
+        {
+            get { return m_JobCategoryName; }
+            set { m_JobCategoryName = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SubContractorJobILink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorJobILink.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorJobILink.cs	(revision 84)
@@ -0,0 +1,67 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 協力会社施工職種リンクマスタ
+    /// </summary>
+    public class SubContractorJobLink
+    {
+        #region メンバ変数
+        private int         m_CompanyCode = 0;                  // 協力会社コード
+        private int         m_JobCategoryCode = 0;              // 職種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 職種キー
+        /// </summary>
+        public int JobCategoryCode
+        {
+            get { return m_JobCategoryCode; }
+            set { m_JobCategoryCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SubContractorJobItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorJobItem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorJobItem.cs	(revision 84)
@@ -0,0 +1,67 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 協力会社施工工種マスタ
+    /// </summary>
+    public class SubContractorJobItem
+    {
+        #region メンバ変数
+        private int         m_CompanyCode = 0;                  // 協力会社コード
+        private int         m_ItemCode=0;                       // 工種キー
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 協力会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            get { return m_CompanyCode; }
+            set { m_CompanyCode = value; }
+        }
+        /// <summary>
+        /// 工種キー
+        /// </summary>
+        public int ItemCode
+        {
+            get { return m_ItemCode; }
+            set { m_ItemCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SubContractorMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorMaster.cs	(revision 84)
@@ -0,0 +1,231 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 協力会社マスタデータモデル
+    /// </summary>
+    public class SubContractorMaster
+    {
+        #region メンバ変数
+        private int         m_CompanyCode = 0;	                // 会社コード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_CorporateStatusName = string.Empty;	// 法人格名称
+        private int         m_CorporateStatusPoint = 0;	        // 法人格名称
+        private string      m_CompanyName = string.Empty;	    // 会社名
+        private string      m_CEOPositionName = string.Empty;   // 代表者役職名称
+        private string      m_CEOName = string.Empty;	        // 代表者名
+        private string      m_ContactPersonName = string.Empty;	// 窓口担当者名称
+        private string      m_ZipCode = string.Empty;	        // 郵便番号
+        private string      m_Address1 = string.Empty;	        // 住所1
+        private string      m_Address2 = string.Empty;	        // 住所2
+        private string      m_Address3 = string.Empty;	        // 住所3
+        private string      m_CellPhoneNumber = string.Empty;	// 携帯電話番号
+        private string      m_MailAddress = string.Empty;	    // メールアドレス
+        private string      m_PhoneNumber = string.Empty;	    // 電話番号
+        private string      m_FaxNumber = string.Empty;	        // FAX番号
+        private string      m_JapaneseSyllabary = string.Empty;	// 50音読み
+        private             DateTime m_StartDate = DateTime.MinValue;   // 登録日付
+        private string      m_Note = string.Empty;	            // 備考
+        private int         m_labourKind = 0;                   // 支払い通常・手間区分
+
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 会社コード
+        /// </summary>
+        public int CompanyCode
+        {
+            set { m_CompanyCode = value; }
+            get { return m_CompanyCode; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 法人格名称
+        /// </summary>
+        public string CorporateStatusName
+        {
+            set { m_CorporateStatusName = value; }
+            get { return m_CorporateStatusName; }
+        }
+        /// <summary>
+        /// 法人格名称位置
+        /// </summary>
+        public int CorporateStatusPoint
+        {
+            set { m_CorporateStatusPoint = value; }
+            get { return m_CorporateStatusPoint; }
+        }
+        /// <summary>
+        /// 会社名
+        /// </summary>
+        public string CompanyName
+        {
+            set { m_CompanyName = value; }
+            get { return m_CompanyName; }
+        }
+        /// <summary>
+        /// 代表者役職名称
+        /// </summary>
+        public string CEOPositionName
+        {
+            set { m_CEOPositionName = value; }
+            get { return m_CEOPositionName; }
+        }
+        /// <summary>
+        /// 代表者名
+        /// </summary>
+        public string CEOName
+        {
+            set { m_CEOName = value; }
+            get { return m_CEOName; }
+        }
+        /// <summary>
+        /// 窓口担当者名
+        /// </summary>
+        public string ContactPersonName
+        {
+            set { m_ContactPersonName = value; }
+            get { return m_ContactPersonName; }
+        }
+        /// <summary>
+        /// 郵便番号
+        /// </summary>
+        public string ZipCode
+        {
+            set { m_ZipCode = value; }
+            get { return m_ZipCode; }
+        }
+        /// <summary>
+        /// 住所1
+        /// </summary>
+        public string Address1
+        {
+            set { m_Address1 = value; }
+            get { return m_Address1; }
+        }
+        /// <summary>
+        /// 住所2
+        /// </summary>
+        public string Address2
+        {
+            set { m_Address2 = value; }
+            get { return m_Address2; }
+        }
+        /// <summary>
+        /// 住所3
+        /// </summary>
+        public string Address3
+        {
+            set { m_Address3 = value; }
+            get { return m_Address3; }
+        }
+        /// <summary>
+        /// 携帯電話番号
+        /// </summary>
+        public string CellPhoneNumber
+        {
+            set { m_CellPhoneNumber = value; }
+            get { return m_CellPhoneNumber; }
+        }
+        /// <summary>
+        /// メールアドレス
+        /// </summary>
+        public string MailAddress
+        {
+            get { return m_MailAddress; }
+            set { m_MailAddress = value; }
+        }
+        /// <summary>
+        /// 電話番号
+        /// </summary>
+        public string PhoneNumber
+        {
+            set { m_PhoneNumber = value; }
+            get { return m_PhoneNumber; }
+        }
+        /// <summary>
+        /// FAX番号
+        /// </summary>
+        public string FaxNumber
+        {
+            set { m_FaxNumber = value; }
+            get { return m_FaxNumber; }
+        }
+        /// <summary>
+        /// 50音読み
+        /// </summary>
+        public string JapaneseSyllabary
+        {
+            get { return m_JapaneseSyllabary; }
+            set { m_JapaneseSyllabary = value; }
+        }
+        /// <summary>
+        /// 取引開始日
+        /// </summary>
+        public DateTime StartDate
+        {
+            get { return m_StartDate; }
+            set { m_StartDate = value; }
+        }
+        /// <summary>
+        /// 備考  
+        /// </summary>
+        public string Note
+        {
+            set { m_Note = value; }
+            get { return m_Note; }
+        }
+        /// <summary>
+        /// 支払い通常・手間区分
+        /// </summary>
+        public int labourKind
+        {
+            get { return m_labourKind; }
+            set { m_labourKind = value; }
+        }
+
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SuppliersMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SuppliersMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SuppliersMaster.cs	(revision 84)
@@ -0,0 +1,149 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 仕入先マスタデータモデル
+    /// </summary>
+    public class SuppliersMaster
+    {
+        #region メンバ変数
+        private int         m_SuppliersCode = 0;	            // 発注者コード
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_SuppliersName1 = string.Empty;	// 発注者名１
+        private string      m_SuppliersName2 = string.Empty;	// 発注者名２
+        private string      m_ZipCode = string.Empty;	        // 郵便番号
+        private string      m_Address1 = string.Empty;	        // 住所1
+        private string      m_Address2 = string.Empty;	        // 住所2
+        private string      m_Address3 = string.Empty;	        // 住所3
+        private string      m_PhoneNumber = string.Empty;	    // 電話番号
+        private string      m_FaxNumber = string.Empty;	        // FAX番号
+        private string      m_note = string.Empty;	            // 備考
+
+        private int         m_DeleteFlg = 0;                    // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 発注者コード
+        /// </summary>
+        public int SuppliersCode
+        {
+            set { m_SuppliersCode = value; }
+            get { return m_SuppliersCode; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 発注者名１
+        /// </summary>
+        public string SuppliersName1
+        {
+            set { m_SuppliersName1 = value; }
+            get { return m_SuppliersName1; }
+        }
+        /// <summary>
+        /// 発注者名２
+        /// </summary>
+        public string SuppliersName2
+        {
+            set { m_SuppliersName2 = value; }
+            get { return m_SuppliersName2; }
+        }
+        /// <summary>
+        /// 郵便番号
+        /// </summary>
+        public string ZipCode
+        {
+            set { m_ZipCode = value; }
+            get { return m_ZipCode; }
+        }
+        /// <summary>
+        /// 住所1
+        /// </summary>
+        public string Address1
+        {
+            set { m_Address1 = value; }
+            get { return m_Address1; }
+        }
+        /// <summary>
+        /// 住所2
+        /// </summary>
+        public string Address2
+        {
+            set { m_Address2 = value; }
+            get { return m_Address2; }
+        }
+        /// <summary>
+        /// 住所3
+        /// </summary>
+        public string Address3
+        {
+            set { m_Address3 = value; }
+            get { return m_Address3; }
+        }
+        /// <summary>
+        /// 電話番号
+        /// </summary>
+        public string PhoneNumber
+        {
+            set { m_PhoneNumber = value; }
+            get { return m_PhoneNumber; }
+        }
+        /// <summary>
+        /// FAX番号
+        /// </summary>
+        public string FaxNumber
+        {
+            set { m_FaxNumber = value; }
+            get { return m_FaxNumber; }
+        }
+        /// <summary>
+        /// 備考  
+        /// </summary>
+        public string Note
+        {
+            set { m_note = value; }
+            get { return m_note; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SystemExecute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SystemExecute.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SystemExecute.cs	(revision 84)
@@ -0,0 +1,96 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// システム起動確認データ
+    /// </summary>
+    public class SystemExecute
+    {
+        #region メンバ変数
+        /// <summary>
+        /// キー項目
+        /// </summary>
+        private int m_PrimaryCode = 0;
+        
+        /// <summary>
+        /// 起動日付
+        /// </summary>
+        private DateTime m_TargetDate = DateTime.MinValue;
+
+        /// <summary>
+        /// 本体バージョン
+        /// </summary>
+        private int m_SystemVersion = 0;
+        /// <summary>
+        /// コピー・環境バージョン
+        /// </summary>
+        private int m_UpDateCopyVersion = 0;
+
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.MinValue;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.MinValue;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// キー項目
+        /// </summary>
+        public int PrimaryCode
+        {
+            get { return m_PrimaryCode; }
+            set { m_PrimaryCode = value; }
+        }
+        /// <summary>
+        /// 起動日付
+        /// </summary>
+        public DateTime TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+        /// <summary>
+        /// 本体バージョン
+        /// </summary>
+        public int SystemVersion
+        {
+            get { return m_SystemVersion; }
+            set { m_SystemVersion = value; }
+        }
+        /// <summary>
+        /// コピー・環境バージョン
+        /// </summary>
+        public int UpDateCopyVersion
+        {
+            get { return m_UpDateCopyVersion; }
+            set { m_UpDateCopyVersion = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/SystemMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SystemMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/SystemMaster.cs	(revision 84)
@@ -0,0 +1,274 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 管理マスタデータモデル
+    /// </summary>
+    public class SystemMaster
+    {
+        #region メンバ変数
+        private int         m_SystemCode = 0;	                // 会社コード
+        private string      m_CompanyName1 = string.Empty;	    // 会社名1
+        private string      m_CompanyName2 = string.Empty;	    // 会社名2
+        private string      m_CEOName = string.Empty;	        // 代表者名
+        private string      m_CEOPositionName = string.Empty;   // 代表者役職名称
+        private string      m_ZipCode = string.Empty;	        // 郵便番号
+        private string      m_Address1 = string.Empty;	        // 住所1
+        private string      m_Address2 = string.Empty;	        // 住所2
+        private string      m_Address3 = string.Empty;	        // 住所3
+        private string      m_PhoneNumber = string.Empty;	    // 電話番号
+        private string      m_FaxNumber = string.Empty;	        // FAX番号
+        private double      m_ConstructionExpenses = 0;	        // 工事部経費
+        private double      m_OfficeExpenses = 0;	            // 事務所経費
+        private double      m_OperatingExpenses = 0;	        // 営業経費
+        private double      m_ConsumptionTax = 0;	            // 消費税
+
+        private string      m_ExcelSavePath = string.Empty;	    // Excel保存パス
+
+        private int         m_BusinessPeriod = 0;               // 営業期数
+        private int         m_ConstructionYear = 0;	            // 工事年度
+        private string      m_BusinessBeginningDate = "04/01";  // 期首日(事業年度)
+        private string      m_ConstructionBeginningDate = "04/01";  // 期首日(工事年度)
+        private int         m_ConstructionNoBase = 0;	        // 工事番号基準値
+
+        private string      m_SloganString1 = string.Empty;	    // 標語
+        private string      m_SloganString2 = string.Empty;	    // 標語
+        private string      m_SloganString3 = string.Empty;	    // 標語
+                
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+
+        private double m_CooperationRate = 0.5;               // 協力金比率
+        
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 会社コード
+        /// </summary>
+        public int SystemCode
+        {
+            set { m_SystemCode = value; }
+            get { return m_SystemCode; }
+        }
+        /// <summary>
+        /// 自社名1
+        /// </summary>
+        public string CompanyName1
+        {
+            set { m_CompanyName1 = value; }
+            get { return m_CompanyName1; }
+        }
+        /// <summary>
+        /// 自社名2
+        /// </summary>
+        public string CompanyName2
+        {
+            set { m_CompanyName2 = value; }
+            get { return m_CompanyName2; }
+        }
+        /// <summary>
+        /// 代表者名
+        /// </summary>
+        public string CEOName
+        {
+            set { m_CEOName = value; }
+            get { return m_CEOName; }
+        }
+        /// <summary>
+        /// 代表者役職名称
+        /// </summary>
+        public string CEOPositionName
+        {
+            set { m_CEOPositionName = value; }
+            get { return m_CEOPositionName; }
+        }
+        /// <summary>
+        /// 郵便番号
+        /// </summary>
+        public string ZipCode
+        {
+            set { m_ZipCode = value; }
+            get { return m_ZipCode; }
+        }
+        /// <summary>
+        /// 住所1
+        /// </summary>
+        public string Address1
+        {
+            set { m_Address1 = value; }
+            get { return m_Address1; }
+        }
+        /// <summary>
+        /// 住所2
+        /// </summary>
+        public string Address2
+        {
+            set { m_Address2 = value; }
+            get { return m_Address2; }
+        }
+        /// <summary>
+        /// 住所3
+        /// </summary>
+        public string Address3
+        {
+            set { m_Address3 = value; }
+            get { return m_Address3; }
+        }
+        /// <summary>
+        /// 電話番号
+        /// </summary>
+        public string PhoneNumber
+        {
+            set { m_PhoneNumber = value; }
+            get { return m_PhoneNumber; }
+        }
+        /// <summary>
+        /// FAX番号
+        /// </summary>
+        public string FaxNumber
+        {
+            set { m_FaxNumber = value; }
+            get { return m_FaxNumber; }
+        }
+        /// <summary>
+        /// 工事部経費
+        /// </summary>
+        public double ConstructionExpenses
+        {
+            set { m_ConstructionExpenses = value; }
+            get { return m_ConstructionExpenses; }
+        }
+        /// <summary>
+        /// 事務所経費
+        /// </summary>
+        public double OfficeExpenses
+        {
+            set { m_OfficeExpenses = value; }
+            get { return m_OfficeExpenses; }
+        }
+        /// <summary>
+        /// 営業経費
+        /// </summary>
+        public double OperatingExpenses
+        {
+            set { m_OperatingExpenses = value; }
+            get { return m_OperatingExpenses; }
+        }
+        /// <summary>
+        /// 消費税
+        /// </summary>
+        public double ConsumptionTax
+        {
+            set { m_ConsumptionTax = value; }
+            get { return m_ConsumptionTax; }
+        }
+        /// <summary>
+        /// Excel保存パス
+        /// </summary>
+        public string ExcelSavePath
+        {
+            set { m_ExcelSavePath = value; }
+            get { return m_ExcelSavePath; }
+        }
+        /// <summary>
+        /// 営業期数
+        /// </summary>
+        public int BusinessPeriod
+        {
+            get { return m_BusinessPeriod; }
+            set { m_BusinessPeriod = value; }
+        }
+        /// <summary>
+        /// 営業年度
+        /// </summary>
+        public int ConstructionYear
+        {
+            get { return m_ConstructionYear; }
+            set { m_ConstructionYear = value; }
+        }
+        /// <summary>
+        /// 営業期首日
+        /// </summary>
+        public string BusinessBeginningDate
+        {
+            get { return m_BusinessBeginningDate; }
+            set { m_BusinessBeginningDate = value; }
+        }
+        /// <summary>
+        /// 工事年度期首日
+        /// </summary>
+        public string ConstructionBeginningDate
+        {
+            get { return m_ConstructionBeginningDate; }
+            set { m_ConstructionBeginningDate = value; }
+        }
+        /// <summary>
+        /// 工事番号基準値フラグ
+        /// </summary>
+        public int ConstructionNoBase
+        {
+            get { return m_ConstructionNoBase; }
+            set { m_ConstructionNoBase = value; }
+        }
+        /// <summary>
+        /// 標語１
+        /// </summary>
+        public string SloganString1
+        {
+            get { return m_SloganString1; }
+            set { m_SloganString1 = value; }
+        }
+        /// <summary>
+        /// 標語２
+        /// </summary>
+        public string SloganString2
+        {
+            get { return m_SloganString2; }
+            set { m_SloganString2 = value; }
+        }
+        /// <summary>
+        /// 標語３
+        /// </summary>
+        public string SloganString3
+        {
+            get { return m_SloganString3; }
+            set { m_SloganString3 = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+
+        /// <summary>
+        /// 協力金比率
+        /// </summary>
+        public double CooperationRate
+        {
+            set { m_CooperationRate = value; }
+            get { return m_CooperationRate; }
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/TermMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/TermMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/TermMaster.cs	(revision 84)
@@ -0,0 +1,130 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 期限マスタ
+    /// </summary>
+    public class TermMaster
+    {
+        #region メンバ変数
+        private int         m_ConstructionStatusFlg	= 0;        // 工事状態フラグ
+        private int         m_FieldNo = 0;                      // チェック対象フィールド番号
+        private int         m_SeqNo = 0;                        // 枝番
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private int         m_CheckSchdule = 0;                 // チェックタイミング
+        private int         m_TermDays = 0;                     // 経過日
+        private string      m_SendTitle = string.Empty;         // タイトル
+        private string      m_SendMessage = string.Empty;       // メッセージ
+        private string      m_BackColor = string.Empty;         // 背景色
+        private string      m_ForeColor = string.Empty;         // 文字色
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事状態フラグ
+        /// </summary>
+        public int ConstructionStatusFlg
+        {
+            get { return m_ConstructionStatusFlg; }
+            set { m_ConstructionStatusFlg = value; }
+        }
+        /// <summary>
+        /// チェック対象フィールド番号
+        /// </summary>
+        public int FieldNo
+        {
+            get { return m_FieldNo; }
+            set { m_FieldNo = value; }
+        }
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// チェックタイミング
+        /// </summary>
+        public int CheckSchdule
+        {
+            get { return m_CheckSchdule; }
+            set { m_CheckSchdule = value; }
+        }
+        /// <summary>
+        /// 経過日
+        /// </summary>
+        public int TermDays
+        {
+            get { return m_TermDays; }
+            set { m_TermDays = value; }
+        }
+        /// <summary>
+        /// 背景色
+        /// </summary>
+        public string BackColor
+        {
+            get { return m_BackColor; }
+            set { m_BackColor = value; }
+        }
+        /// <summary>
+        /// 文字色
+        /// </summary>
+        public string ForeColor
+        {
+            get { return m_ForeColor; }
+            set { m_ForeColor = value; }
+        }
+        /// <summary>
+        /// メッセージ
+        /// </summary>
+        public string SendTitle
+        {
+            get { return m_SendTitle; }
+            set { m_SendTitle = value; }
+        }
+        /// <summary>
+        /// メッセージ
+        /// </summary>
+        public string SendMessage
+        {
+            get { return m_SendMessage; }
+            set { m_SendMessage = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/TermMasterList.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/TermMasterList.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/TermMasterList.cs	(revision 84)
@@ -0,0 +1,34 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 期限マスタリストクラス
+    /// </summary>
+    public class TermMasterList
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 期限マスタリスト
+        /// </summary>
+        private List<TermMaster> m_TermCheckList = new List<TermMaster>();
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 期限マスタリスト
+        /// </summary>
+        public List<TermMaster> TermMstTBL
+        {
+            get { return m_TermCheckList; }
+            set { m_TermCheckList = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/TranceportDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/TranceportDailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/TranceportDailyData.cs	(revision 84)
@@ -0,0 +1,164 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 出勤日報データ定義クラス
+    /// </summary>
+    public class TranceportDailyData
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        private int m_PersonCode = 0;
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        private DateTime m_AttendanceDate = DateTime.Now;
+        /// <summary>
+        /// 当日出発キロ数
+        /// </summary>
+        private double m_StartDistance = 0;
+        /// <summary>
+        /// 当日終了キロ数
+        /// </summary>
+        private double m_ComplateDistance = 0;
+        /// <summary>
+        /// 当日合計キロ数
+        /// </summary>
+        private double m_TotalDistance = 0;
+        /// <summary>
+        /// 事務所出勤フラグ
+        /// </summary>
+        private int m_OfficeGoFlg = 0;
+        /// <summary>
+        /// 事務所帰宅フラグ
+        /// </summary>
+        private int m_OfficeOutFlg = 0;
+        /// <summary>
+        /// 有料通勤出勤フラグ
+        /// </summary>
+        private int m_TrancePayGoFlg = 0;
+        /// <summary>
+        /// 有料通勤帰宅フラグ
+        /// </summary>
+        private int m_TrancePayOutFlg = 0;
+        /// <summary>
+        /// 資材置場フラグ
+        /// </summary>
+        private int m_WareHouseFlg = 0;
+
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 作成者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 日報作成日
+        /// </summary>
+        public DateTime AttendanceDate
+        {
+            get { return m_AttendanceDate; }
+            set { m_AttendanceDate = value; }
+        }
+        /// <summary>
+        /// 当日出発キロ数
+        /// </summary>
+        public double StartDistance
+        {
+            get { return m_StartDistance; }
+            set { m_StartDistance = value; }
+        }
+        /// <summary>
+        /// 当日終了キロ数
+        /// </summary>
+        public double ComplateDistance
+        {
+            get { return m_ComplateDistance; }
+            set { m_ComplateDistance = value; }
+        }
+        /// <summary>
+        /// 当日合計キロ数
+        /// </summary>
+        public double TotalDistance
+        {
+            get { return m_TotalDistance; }
+            set { m_TotalDistance = value; }
+        }
+        /// <summary>
+        /// 事務所出勤フラグ
+        /// </summary>
+        public int OfficeGoFlg
+        {
+            get { return m_OfficeGoFlg; }
+            set { m_OfficeGoFlg = value; }
+        }
+        /// <summary>
+        /// 事務所帰宅フラグ
+        /// </summary>
+        public int OfficeOutFlg
+        {
+            get { return m_OfficeOutFlg; }
+            set { m_OfficeOutFlg = value; }
+        }
+        /// <summary>
+        /// 有料通勤出勤フラグ
+        /// </summary>
+        public int TrancePayGoFlg
+        {
+            get { return m_TrancePayGoFlg; }
+            set { m_TrancePayGoFlg = value; }
+        }
+        /// <summary>
+        /// 有料通勤帰宅フラグ
+        /// </summary>
+        public int TrancePayOutFlg
+        {
+            get { return m_TrancePayOutFlg; }
+            set { m_TrancePayOutFlg = value; }
+        }
+        /// <summary>
+        /// 資材置場フラグ
+        /// </summary>
+        public int WareHouseFlg
+        {
+            get { return m_WareHouseFlg; }
+            set { m_WareHouseFlg = value; }
+        }
+        /// <summary>
+        /// 登録年月日
+        /// </summary>
+        public DateTime EntryDate
+        {
+            get { return m_EntryDate; }
+            set { m_EntryDate = value; }
+        }
+        /// <summary>
+        /// 更新年月日
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            get { return m_UpdateDate; }
+            set { m_UpdateDate = value; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/TypeExpensesMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/TypeExpensesMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/TypeExpensesMaster.cs	(revision 84)
@@ -0,0 +1,85 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 工事種別経費率マスタ
+    /// </summary>
+    public class TypeExpensesMaster
+    {
+        #region メンバ変数
+        private int         m_TypeCode = 0;	                    // 工事種別コード
+        private int         m_ExpensesPeriod = 0;               // 事業期
+        private int         m_NameCode = 0;	                    // 経費区分コード
+        private double      m_ExpensesRaito = 0;	            // 経費率
+        private int         m_DeleteFlg = 0;	                // 削除フラグ
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 工事種別コード
+        /// </summary>
+        public int TypeCode
+        {
+            get { return m_TypeCode; }
+            set { m_TypeCode = value; }
+        }
+        /// <summary>
+        /// 事業期
+        /// </summary>
+        public int ExpensesPeriod
+        {
+            get { return m_ExpensesPeriod; }
+            set { m_ExpensesPeriod = value; }
+        }
+        /// <summary>
+        /// 経費区分コード
+        /// </summary>
+        public int NameCode
+        {
+            get { return m_NameCode; }
+            set { m_NameCode = value; }
+        }
+        /// <summary>
+        /// 経費率
+        /// </summary>
+        public double ExpensesRaito
+        {
+            get { return m_ExpensesRaito; }
+            set { m_ExpensesRaito = value; }
+        }
+        /// <summary>
+        /// 削除フラグ
+        /// </summary>
+        public int DeleteFlg
+        {
+            get { return m_DeleteFlg; }
+            set { m_DeleteFlg = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/UnitMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/UnitMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/UnitMaster.cs	(revision 84)
@@ -0,0 +1,67 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 単位マスタ
+    /// </summary>
+    public class UnitMaster
+    {
+        #region メンバ変数
+        private int         m_UnitKey = 0;	                    // キー項目
+        private int         m_DisplayOrder = 0;	                // 表示順
+        private string      m_UnitName = string.Empty;	        // 単位名称
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// キー項目
+        /// </summary>
+        public int UnitKey
+        {
+            get { return m_UnitKey; }
+            set { m_UnitKey = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 単位名称
+        /// </summary>
+        public string UnitName
+        {
+            get { return m_UnitName; }
+            set { m_UnitName = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/VehicleMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/VehicleMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/VehicleMaster.cs	(revision 84)
@@ -0,0 +1,287 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 車両マスタ
+    /// </summary>
+    public class VehicleMaster
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 車両コード
+        /// </summary>
+        private int m_VehicleCode = 0;
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        private int m_DisplayOrder = 0;
+        /// <summary>
+        /// 車両名称
+        /// </summary>
+        private string m_VehicleName = string.Empty;
+        /// <summary>
+        /// 登録番号
+        /// </summary>
+        private string m_RegistrationNumber = string.Empty;
+        /// <summary>
+        /// 車台番号
+        /// </summary>
+        private string m_IdentificationNumber = string.Empty;
+        /// <summary>
+        /// 型式
+        /// </summary>
+        private string m_ModelCode = string.Empty;
+        /// <summary>
+        /// 行動予定表示フラグ
+        /// </summary>
+        private int m_VehicleScheduleFlg = 0;
+        /// <summary>
+        /// 管理者
+        /// </summary>
+        private int m_DepartmentCode = 0;
+        /// <summary>
+        /// 購入日
+        /// </summary>
+        private DateTime m_PurchaseDate = DateTime.MinValue;
+        /// <summary>
+        /// 購入先
+        /// </summary>
+        private string m_PurchaseName = string.Empty;
+        /// <summary>
+        /// 購入先担当者
+        /// </summary>
+        private string m_PurchaseContactPersons = string.Empty;
+        /// <summary>
+        /// 購入先TEL
+        /// </summary>
+        private string m_PurchasePhone = string.Empty;
+        /// <summary>
+        /// リース日
+        /// </summary>
+        private DateTime m_LeaseDate = DateTime.MinValue;
+        /// <summary>
+        /// リース先
+        /// </summary>
+        private string m_LeaseDestination = string.Empty;
+        /// <summary>
+        /// リース先担当者
+        /// </summary>
+        private string m_LeaseContactPersons = string.Empty;
+        /// <summary>
+        /// リース先TEL
+        /// </summary>
+        private string m_LeasePhone = string.Empty;
+        /// <summary>
+        /// 任意保険会社
+        /// </summary>
+        private string m_InsuranceCompany = string.Empty;
+        /// <summary>
+        /// 任意保険会社担当者
+        /// </summary>
+        private string m_InsuranceContactPersons = string.Empty;
+        /// <summary>
+        /// 任意保険会社TEL
+        /// </summary>
+        private string m_InsurancePhone = string.Empty;
+        /// <summary>
+        /// 備考
+        /// </summary>
+        private string m_Note = string.Empty;
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 車両コード
+        /// </summary>
+        public int VehicleCode
+        {
+            get { return m_VehicleCode; }
+            set { m_VehicleCode = value; }
+        }
+        /// <summary>
+        /// 表示順
+        /// </summary>
+        public int DisplayOrder
+        {
+            get { return m_DisplayOrder; }
+            set { m_DisplayOrder = value; }
+        }
+        /// <summary>
+        /// 車両名称
+        /// </summary>
+        public string VehicleName
+        {
+            get { return m_VehicleName; }
+            set { m_VehicleName = value; }
+        }
+        /// <summary>
+        /// 登録番号
+        /// </summary>
+        public string RegistrationNumber
+        {
+            get { return m_RegistrationNumber; }
+            set { m_RegistrationNumber = value; }
+        }
+        /// <summary>
+        /// 車台番号
+        /// </summary>
+        public string IdentificationNumber
+        {
+            get { return m_IdentificationNumber; }
+            set { m_IdentificationNumber = value; }
+        }
+        /// <summary>
+        /// 型式
+        /// </summary>
+        public string ModelCode
+        {
+            get { return m_ModelCode; }
+            set { m_ModelCode = value; }
+        }
+        /// <summary>
+        /// 管理部署
+        /// </summary>
+        public int DepartmentCode
+        {
+            get { return m_DepartmentCode; }
+            set { m_DepartmentCode = value; }
+        }
+        /// <summary>
+        /// 行動予定表示フラグ
+        /// </summary>
+        public int VehicleScheduleFlg
+        {
+            get { return m_VehicleScheduleFlg; }
+            set { m_VehicleScheduleFlg = value; }
+        }
+        /// <summary>
+        /// 購入日
+        /// </summary>
+        public DateTime PurchaseDate
+        {
+            get { return m_PurchaseDate; }
+            set { m_PurchaseDate = value; }
+        }
+        /// <summary>
+        /// 購入先
+        /// </summary>
+        public string PurchaseName
+        {
+            get { return m_PurchaseName; }
+            set { m_PurchaseName = value; }
+        }
+        /// <summary>
+        /// 購入先担当者
+        /// </summary>
+        public string PurchaseContactPersons
+        {
+            get { return m_PurchaseContactPersons; }
+            set { m_PurchaseContactPersons = value; }
+        }
+        /// <summary>
+        /// 購入先TEL
+        /// </summary>
+        public string PurchasePhone
+        {
+            get { return m_PurchasePhone; }
+            set { m_PurchasePhone = value; }
+        }
+        /// <summary>
+        /// リース日
+        /// </summary>
+        public DateTime LeaseDate
+        {
+            get { return m_LeaseDate; }
+            set { m_LeaseDate = value; }
+        }
+        /// <summary>
+        /// リース先
+        /// </summary>
+        public string LeaseDestination
+        {
+            get { return m_LeaseDestination; }
+            set { m_LeaseDestination = value; }
+        }
+        /// <summary>
+        /// リース先担当者
+        /// </summary>
+        public string LeaseContactPersons
+        {
+            get { return m_LeaseContactPersons; }
+            set { m_LeaseContactPersons = value; }
+        }
+        /// <summary>
+        /// リース先TEL
+        /// </summary>
+        public string LeasePhone
+        {
+            get { return m_LeasePhone; }
+            set { m_LeasePhone = value; }
+        }
+        /// <summary>
+        /// 任意保険会社
+        /// </summary>
+        public string InsuranceCompany
+        {
+            get { return m_InsuranceCompany; }
+            set { m_InsuranceCompany = value; }
+        }
+        /// <summary>
+        /// 任意保険会社担当者
+        /// </summary>
+        public string InsuranceContactPersons
+        {
+            get { return m_InsuranceContactPersons; }
+            set { m_InsuranceContactPersons = value; }
+        }
+        /// <summary>
+        /// 任意保険会社TEL
+        /// </summary>
+        public string InsurancePhone
+        {
+            get { return m_InsurancePhone; }
+            set { m_InsurancePhone = value; }
+        }
+        /// <summary>
+        /// 備考
+        /// </summary>
+        public string Note
+        {
+            get { return m_Note; }
+            set { m_Note = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }   
+}
Index: branches/ddl/DataConert/DataConert/DataModel/VehicleRecordData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/VehicleRecordData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/VehicleRecordData.cs	(revision 84)
@@ -0,0 +1,129 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 車両記録データ
+    /// </summary>
+    public class VehicleRecordData
+    {
+        #region メンバ変数
+        /// <summary>
+        /// 車両コード
+        /// </summary>
+        private int m_VehicleCode = 0;
+        /// <summary>
+        /// データ区分
+        /// </summary>
+        private int m_DivisionCode = 0;
+        /// <summary>
+        /// 枝番
+        /// </summary>
+        private int m_SeqNo = 0;
+        /// <summary>
+        /// 実地日
+        /// </summary>
+        private DateTime m_RecordDate = DateTime.MinValue;
+        /// <summary>
+        /// 走行距離
+        /// </summary>
+        private int m_Mileage = 0;
+        /// <summary>
+        /// 内容
+        /// </summary>
+        private string m_Content = string.Empty;
+        /// <summary>
+        /// 費用
+        /// </summary>
+        private double m_PaymentCost = 0;
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        private DateTime m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        private DateTime m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 車両コード
+        /// </summary>
+        public int VehicleCode
+        {
+            get { return m_VehicleCode; }
+            set { m_VehicleCode = value; }
+        }
+        /// <summary>
+        /// データ区分
+        /// </summary>
+        public int DivisionCode
+        {
+            get { return m_DivisionCode; }
+            set { m_DivisionCode = value; }
+        }
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// 実地日
+        /// </summary>
+        public DateTime RecordDate
+        {
+            get { return m_RecordDate; }
+            set { m_RecordDate = value; }
+        }
+        /// <summary>
+        /// 走行距離
+        /// </summary>
+        public int Mileage
+        {
+            get { return m_Mileage; }
+            set { m_Mileage = value; }
+        }
+        /// <summary>
+        /// 内容
+        /// </summary>
+        public string Content
+        {
+            get { return m_Content; }
+            set { m_Content = value; }
+        }
+        /// <summary>
+        /// 費用
+        /// </summary>
+        public double PaymentCost
+        {
+            get { return m_PaymentCost; }
+            set { m_PaymentCost = value; }
+        }
+
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/DataModel/VehicleScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/VehicleScheduleData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/DataModel/VehicleScheduleData.cs	(revision 84)
@@ -0,0 +1,103 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// 車両予約データ
+    /// </summary>
+    public class VehicleScheduleData
+    {
+        #region メンバ変数
+        private DateTime    m_TargetDate = DateTime.MinValue;   // 対象日
+        private int         m_VehicleCode = 0;	                // 車両コード
+        private int         m_MorningAfternoon = 0;             // 午前・午後
+        private int         m_PersonCode = 0;	                // 担当者コード
+        private int         m_TargetYear;                       // 該当年
+        private int         m_TargetMonth = 0;                  // 該当月
+        private int         m_TargetDay = 0;                    // 該当日
+        private DateTime    m_EntryDate = DateTime.Now;         // 登録日付
+        private DateTime    m_UpdateDate = DateTime.Now;        // 更新日付
+        #endregion
+
+        #region コンストラクタ
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// 対象日
+        /// </summary>
+        public DateTime TargetDate
+        {
+            get { return m_TargetDate; }
+            set { m_TargetDate = value; }
+        }
+        /// <summary>
+        /// 車両コード
+        /// </summary>
+        public int VehicleCode
+        {
+            get { return m_VehicleCode; }
+            set { m_VehicleCode = value; }
+        }
+        /// <summary>
+        /// 午前・午後
+        /// </summary>
+        public int MorningAfternoon
+        {
+            get { return m_MorningAfternoon; }
+            set { m_MorningAfternoon = value; }
+        }
+        /// <summary>
+        /// 担当者コード
+        /// </summary>
+        public int PersonCode
+        {
+            get { return m_PersonCode; }
+            set { m_PersonCode = value; }
+        }
+        /// <summary>
+        /// 該当年
+        /// </summary>
+        public int TargetYear
+        {
+            get { return m_TargetYear; }
+            set { m_TargetYear = value; }
+        }
+        /// <summary>
+        /// 該当月
+        /// </summary>
+        public int TargetMonth
+        {
+            get { return m_TargetMonth; }
+            set { m_TargetMonth = value; }
+        }
+        /// <summary>
+        /// 該当日
+        /// </summary>
+        public int TargetDay
+        {
+            get { return m_TargetDay; }
+            set { m_TargetDay = value; }
+        }
+        /// <summary>
+        /// 登録日付
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// 更新日付
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/FrmDataConvert.Designer.cs
===================================================================
--- branches/ddl/DataConert/DataConert/FrmDataConvert.Designer.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/FrmDataConvert.Designer.cs	(revision 84)
@@ -0,0 +1,96 @@
+﻿namespace DataConert
+{
+    partial class FrmDataConvert
+    {
+        /// <summary>
+        /// 必要なデザイナー変数です。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 使用中のリソースをすべてクリーンアップします。
+        /// </summary>
+        /// <param name="disposing">マネージ リソースが破棄される場合 true、破棄されない場合は false です。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows フォーム デザイナーで生成されたコード
+
+        /// <summary>
+        /// デザイナー サポートに必要なメソッドです。このメソッドの内容を
+        /// コード エディターで変更しないでください。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.btnStart = new System.Windows.Forms.Button();
+            this.btnEnd = new System.Windows.Forms.Button();
+            this.listBox1 = new System.Windows.Forms.ListBox();
+            this.SuspendLayout();
+            // 
+            // btnStart
+            // 
+            this.btnStart.BackColor = System.Drawing.Color.Green;
+            this.btnStart.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnStart.ForeColor = System.Drawing.Color.White;
+            this.btnStart.Location = new System.Drawing.Point(734, 530);
+            this.btnStart.Name = "btnStart";
+            this.btnStart.Size = new System.Drawing.Size(120, 30);
+            this.btnStart.TabIndex = 2;
+            this.btnStart.Text = "開　始";
+            this.btnStart.UseVisualStyleBackColor = false;
+            this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
+            // 
+            // btnEnd
+            // 
+            this.btnEnd.BackColor = System.Drawing.Color.Red;
+            this.btnEnd.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnEnd.ForeColor = System.Drawing.Color.White;
+            this.btnEnd.Location = new System.Drawing.Point(862, 530);
+            this.btnEnd.Name = "btnEnd";
+            this.btnEnd.Size = new System.Drawing.Size(120, 30);
+            this.btnEnd.TabIndex = 3;
+            this.btnEnd.Text = "終　了";
+            this.btnEnd.UseVisualStyleBackColor = false;
+            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
+            // 
+            // listBox1
+            // 
+            this.listBox1.Font = new System.Drawing.Font("ＭＳ 明朝", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.listBox1.FormattingEnabled = true;
+            this.listBox1.HorizontalScrollbar = true;
+            this.listBox1.Location = new System.Drawing.Point(2, 4);
+            this.listBox1.Name = "listBox1";
+            this.listBox1.Size = new System.Drawing.Size(980, 524);
+            this.listBox1.TabIndex = 1;
+            // 
+            // FrmDataConvert
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(984, 561);
+            this.Controls.Add(this.listBox1);
+            this.Controls.Add(this.btnEnd);
+            this.Controls.Add(this.btnStart);
+            this.Font = new System.Drawing.Font("ＭＳ 明朝", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.Name = "FrmDataConvert";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.Text = "OracleToMySQL変換処理";
+            this.Load += new System.EventHandler(this.FrmDataConvert_Load);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Button btnStart;
+        private System.Windows.Forms.Button btnEnd;
+        private System.Windows.Forms.ListBox listBox1;
+    }
+}
+
Index: branches/ddl/DataConert/DataConert/FrmDataConvert.cs
===================================================================
--- branches/ddl/DataConert/DataConert/FrmDataConvert.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/FrmDataConvert.cs	(revision 84)
@@ -0,0 +1,163 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Collections;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+using log4net;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.OracleDB.IOAccess;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.MySQLDB.IOAccess;
+
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace DataConert
+{
+    public partial class FrmDataConvert : Form
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+
+        #region 1回処理件数
+        /// <summary>
+        /// 1回処理件数
+        /// </summary>
+        private const int s_LoopCount = 1000;
+        #endregion
+
+        #region 変換前テーブル一覧
+        /// <summary>
+        /// 変換前テーブル一覧
+        /// </summary>
+        private List<KeyValuePair<string, string>> s_OracleTables = new List<KeyValuePair<string, string>>{
+                                                                                                            new  KeyValuePair<string,string>("actionscheduledata"           ,"担当者行動予定データ            "),
+                                                                                                            new  KeyValuePair<string,string>("approvalmaster"               ,"承認経路マスタ                  "),
+                                                                                                            new  KeyValuePair<string,string>("attendancedailydata"          ,"出勤日報データ                  "),
+                                                                                                            new  KeyValuePair<string,string>("attendancedata"               ,"出勤管理データ                  "),
+                                                                                                            new  KeyValuePair<string,string>("bk_constructionledger"        ,"工事詳細台帳データ【退避用】    "),
+                                                                                                            new  KeyValuePair<string,string>("bk_constructionledgerdetail"  ,"工事詳細台帳明細データ【退避用】"),
+                                                                                                            new  KeyValuePair<string,string>("bk_constructionledgerexcute"  ,"工事詳細台帳実行データ【退避用】"),
+                                                                                                            new  KeyValuePair<string,string>("bk_estimatedata"              ,"積算見積データ【退避用】        "),
+                                                                                                            new  KeyValuePair<string,string>("bk_estimatedatabody"          ,"積算見積ページデータ【退避用】  "),
+                                                                                                            new  KeyValuePair<string,string>("bk_estimatedatadetail"        ,"積算見積データ明細【退避用】    "),
+                                                                                                            new  KeyValuePair<string,string>("businesstypemaster"           ,"法人格マスタ                    "),
+                                                                                                            new  KeyValuePair<string,string>("commoncostlarge"              ,"共通費大項目マスタ              "),
+                                                                                                            new  KeyValuePair<string,string>("commoncostlinkms"             ,"共通費工種関連マスタ            "),
+                                                                                                            new  KeyValuePair<string,string>("commoncostmiddle"             ,"共通費中項目マスタ              "),
+                                                                                                            new  KeyValuePair<string,string>("commoncostmiddlesearchword"   ,"共通費中項目キーマスタ          "),
+                                                                                                            new  KeyValuePair<string,string>("componentlinkmaster"          ,"構成工種関連マスタ              "),
+                                                                                                            new  KeyValuePair<string,string>("componentmaster"              ,"構成マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("constructionbaseinfo"         ,"工事基本情報                    "),
+                                                                                                            new  KeyValuePair<string,string>("constructionbaseinfodetail"   ,"工事基本情報明細                "),
+                                                                                                            new  KeyValuePair<string,string>("constructionbudget"           ,"工事施工予算データ              "),
+                                                                                                            new  KeyValuePair<string,string>("constructionbudgetdetail"     ,"工事施工予算データ明細          "),
+                                                                                                            new  KeyValuePair<string,string>("constructionitemmaster"       ,"工種マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("constructionledger"           ,"工事詳細台帳データ              "),
+                                                                                                            new  KeyValuePair<string,string>("constructionledgerdetail"     ,"工事詳細台帳明細データ          "),
+                                                                                                            new  KeyValuePair<string,string>("constructionledgerexcute"     ,"工事詳細台帳実行データ          "),
+                                                                                                            new  KeyValuePair<string,string>("constructionlink"             ,"工事リンク情報                  "),
+                                                                                                            new  KeyValuePair<string,string>("constructionprogressdate"     ,"案件進捗日付データ              "),
+                                                                                                            new  KeyValuePair<string,string>("constructionspecmaster"       ,"作業マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("constructionspecunitprice"    ,"作業単価マスタ                  "),
+                                                                                                            new  KeyValuePair<string,string>("constructiontypemaster"       ,"工事種別マスタ                  "),
+                                                                                                            new  KeyValuePair<string,string>("costdataofperson"             ,"担当者毎経費データ              "),
+                                                                                                            new  KeyValuePair<string,string>("costomerregist"               ,"発注者登録申請データ            "),
+                                                                                                            new  KeyValuePair<string,string>("dailydataconstruction"        ,"日報データ                      "),
+                                                                                                            new  KeyValuePair<string,string>("dailydatadetail"              ,"日報データ (明細)               "),
+                                                                                                            new  KeyValuePair<string,string>("dailydatafield"               ,"日報データ (現場巡回)           "),
+                                                                                                            new  KeyValuePair<string,string>("dailydatamaterials"           ,"日報データ (資材)               "),
+                                                                                                            new  KeyValuePair<string,string>("dailydatasubcontractors"      ,"日報データ (協力業者指示)       "),
+                                                                                                            new  KeyValuePair<string,string>("dailydatavehicles"            ,"日報データ (車両)               "),
+                                                                                                            new  KeyValuePair<string,string>("departmentexpensesmaster"     ,"部署経費率マスタ                "),
+                                                                                                            new  KeyValuePair<string,string>("departmentmaster"             ,"部署マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("divisionmaster"               ,"区分マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("estimatebudget"               ,"積算予算書データ                "),
+                                                                                                            new  KeyValuePair<string,string>("estimatebudgetdetail"         ,"積算予算内訳データ明細          "),
+                                                                                                            new  KeyValuePair<string,string>("estimatedata"                 ,"積算見積データ                  "),
+                                                                                                            new  KeyValuePair<string,string>("estimatedatabody"             ,"積算見積ページデータ            "),
+                                                                                                            new  KeyValuePair<string,string>("estimatedatadetail"           ,"積算見積データ明細              "),
+                                                                                                            new  KeyValuePair<string,string>("holidaycalendermaster"        ,"会社休日マスタ                  "),
+                                                                                                            new  KeyValuePair<string,string>("inputsearchlogdata"           ,"入力時検索履歴                  "),
+                                                                                                            new  KeyValuePair<string,string>("messageboarddata"             ,"掲示板メッセージ                "),
+                                                                                                            new  KeyValuePair<string,string>("messageboardterget"           ,"掲示板対象者テーブル            "),
+                                                                                                            new  KeyValuePair<string,string>("messagebrowsinghistory"       ,"掲示板メッセージ閲覧履歴        "),
+                                                                                                            new  KeyValuePair<string,string>("orderersmaster"               ,"発注者マスタ                    "),
+                                                                                                            new  KeyValuePair<string,string>("orderspricedata"              ,"受注金額データ                  "),
+                                                                                                            new  KeyValuePair<string,string>("personapproval"               ,"担当者承認データ                "),
+                                                                                                            new  KeyValuePair<string,string>("personapprovalcomment"        ,"担当者承認コメントデータ        "),
+                                                                                                            new  KeyValuePair<string,string>("persondepartmentmaster"       ,"担当者対象部署マスタ            "),
+                                                                                                            new  KeyValuePair<string,string>("personinchargemaster"         ,"担当者マスタ                    "),
+                                                                                                            new  KeyValuePair<string,string>("personsalarymaster"           ,"担当者給与マスタ                "),
+                                                                                                            new  KeyValuePair<string,string>("proceedingsdata"              ,"発注者打ち合わせ議事録データ    "),
+                                                                                                            new  KeyValuePair<string,string>("proceedingsdataattend"        ,"発注者打ち合わせ議事録データ（出席者）"),
+                                                                                                            new  KeyValuePair<string,string>("proceedingsdatadetail"        ,"発注者打ち合わせ議事録データ（明細）"),
+                                                                                                            new  KeyValuePair<string,string>("processapproval"              ,"承認データ                      "),
+                                                                                                            new  KeyValuePair<string,string>("processapprovalcomment"       ,"承認コメントデータ              "),
+                                                                                                            new  KeyValuePair<string,string>("processapprovaldetail"        ,"承認明細データ                  "),
+                                                                                                            new  KeyValuePair<string,string>("processexcutemaster"          ,"起動対象マスタ                  "),
+                                                                                                            new  KeyValuePair<string,string>("purchaseorder"                ,"注文書データ                    "),
+                                                                                                            new  KeyValuePair<string,string>("purchaseorderdetail"          ,"注文書明細データ                "),
+                                                                                                            new  KeyValuePair<string,string>("salesgraphdata"               ,"売上グラフデータ                "),
+                                                                                                            new  KeyValuePair<string,string>("securitymaster"               ,"保護区分マスタ                  "),
+                                                                                                            new  KeyValuePair<string,string>("subconstrjobitemregist"       ,"協力業者施工工種登録申請データ  "),
+                                                                                                            new  KeyValuePair<string,string>("subconstrjoblinkregist"       ,"協力業者職種リンク登録申請データ"),
+                                                                                                            new  KeyValuePair<string,string>("subconstrregist"              ,"協力業者登録申請データ          "),
+                                                                                                            new  KeyValuePair<string,string>("subcontractoritemmaster"      ,"協力会社工種マスタ              "),
+                                                                                                            new  KeyValuePair<string,string>("subcontractorjobcategory"     ,"協力会社職種マスタ              "),
+                                                                                                            new  KeyValuePair<string,string>("subcontractorjobitem"         ,"協力会社施工工種データ          "),
+                                                                                                            new  KeyValuePair<string,string>("subcontractorjoblink"         ,"協力会社職種リンクマスタ        "),
+                                                                                                            new  KeyValuePair<string,string>("subcontractormaster"          ,"協力会社マスタ                  "),
+                                                                                                            new  KeyValuePair<string,string>("suppliersmaster"              ,"仕入先マスタ                    "),
+                                                                                                            new  KeyValuePair<string,string>("systemexecute"                ,"システム起動確認データ          "),
+                                                                                                            new  KeyValuePair<string,string>("systemmaster"                 ,"管理マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("termmaster"                   ,"期限マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("tranceportdailydata"          ,"出勤交通費データ                "),
+                                                                                                            new  KeyValuePair<string,string>("typeexpensesmaster"           ,"工事種別経費率マスタ            "),
+                                                                                                            new  KeyValuePair<string,string>("unitmaster"                   ,"単位マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("vehiclemaster"                ,"車両マスタ                      "),
+                                                                                                            new  KeyValuePair<string,string>("vehiclerecorddata"            ,"車両記録データ                  "),
+                                                                                                            new  KeyValuePair<string,string>("vehiclescheduledata"          ,"車両予約データ                  ")};
+        #endregion
+
+        #endregion
+
+        public FrmDataConvert()
+        {
+            InitializeComponent();
+        }
+
+        private void FrmDataConvert_Load(object sender, EventArgs e)
+        {
+            // 共通クラス初期化
+            DBCommonForOracle.Instance.Initialize();
+            DBCommonForMySQL.Instance.Initialize();
+        }
+
+        private void btnStart_Click(object sender, EventArgs e)
+        {
+            MainProc();
+        }
+
+        private void btnEnd_Click(object sender, EventArgs e)
+        {
+            this.Close();
+        }
+    }
+}
Index: branches/ddl/DataConert/DataConert/FrmDataConvert.resx
===================================================================
--- branches/ddl/DataConert/DataConert/FrmDataConvert.resx	(nonexistent)
+++ branches/ddl/DataConert/DataConert/FrmDataConvert.resx	(revision 84)
@@ -0,0 +1,120 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert/MySQLDB/Core/ABaseDBProcessForMySQL.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/Core/ABaseDBProcessForMySQL.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/Core/ABaseDBProcessForMySQL.cs	(revision 84)
@@ -0,0 +1,468 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using MySql.Data.MySqlClient; 
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.Core
+{
+    /// <summary>
+    /// データベース共通抽象クラス
+    /// </summary>
+    public abstract class ABaseDBProcessForMySQL : IBaseDBForMySQL
+    {
+        #region ログ定義
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region メンバ変数
+        /// <summary>
+        /// DB接続
+        /// </summary>
+        protected IDbConnection m_connection = null;
+        /// <summary>
+        /// 接続有無(true:接続中)
+        /// </summary>
+        protected bool m_isConnect = false;
+        /// <summary>
+        /// トランザクション
+        /// </summary>
+        protected IDbTransaction m_transaction = null;
+        /// <summary>
+        /// 接続文字列
+        /// </summary>
+        protected String m_connectionString = null;
+
+        #endregion
+
+        #region コンストラクタ
+
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="connectionString">接続文字列</param>
+        public ABaseDBProcessForMySQL(String connectionString)
+        {
+            //接続文字列セット
+            this.m_connectionString = connectionString;
+        }
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// DCコネクション
+        /// </summary>
+        public IDbConnection DBConnection
+        {
+            get { return m_connection; }
+            set { m_connection = value; }
+        }
+        #endregion
+
+        #region プライベートメソッド
+        /// <summary>
+        /// 接続の確立判断。
+        /// </summary>
+        /// <returns>true：接続確立 false：接続無</returns>
+        private bool isConnect()
+        {
+            //接続されていない場合
+            if (this.m_connection == null || !this.m_isConnect) return false;
+
+            return true;
+        }
+
+        /// <summary>
+        /// パラメータの値を取得する
+        /// </summary>
+        /// <param name="value">値</param>
+        /// <returns>パラメータの値</returns>
+        protected object getParamValue(object value)
+        {
+            if (value != null) return value;
+
+            return DBNull.Value;
+        }
+        #endregion
+        
+        #region コネクション接続
+        /// <summary>
+        /// Connectionを取得。
+        /// </summary>
+        /// <param name="connectionString"></param>
+        /// <returns>Connectionのオブジェクト</returns>
+        public virtual IDbConnection getConnection(String connectionString)
+        {
+            return new MySqlConnection(connectionString);
+        }
+
+        #endregion
+
+        #region connect
+        /// <summary>
+        /// コネクト処理。
+        /// </summary>
+        public void connect()
+        {
+            try
+            {
+                //接続有無＝無に設定
+                this.m_isConnect = false;
+
+                //接続済みの場合
+                if (this.m_connection != null)
+                {
+                    //接続をClose
+                    this.m_connection.Close();
+                    //初期化
+                    this.m_connection = null;
+                }
+
+                //Connectionを取得
+                this.m_connection = getConnection(m_connectionString);
+
+                //Open
+                this.m_connection.Open();
+                //接続有無＝ありに設定
+                this.m_isConnect = true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, m_connectionString);
+            }
+        }
+        #endregion
+
+        #region close
+        /// <summary>
+        /// クローズ処理。
+        /// </summary>
+        /// <returns>true：切断成功 false：接続無</returns>
+        public bool close()
+        {
+            try
+            {
+                //接続が確立されていない場合は処理なし
+                if (!isConnect()) return false;
+
+                //トランザクションを破棄する
+                if (this.m_transaction != null)
+                {
+                    this.m_transaction.Dispose();
+                    this.m_transaction = null;
+                }
+
+                //接続をClose＆破棄する
+                if (this.m_connection != null)
+                {
+                    this.m_connection.Close();
+                    this.m_connection.Dispose();
+                    this.m_connection = null;
+                }
+
+                //接続有無なしに設定
+                this.m_isConnect = false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, m_connectionString);
+                return false;
+            }
+        }
+        #endregion
+
+        #region begintran
+        /// <summary>
+        /// トランザクション開始。
+        /// </summary>
+        /// <returns>true：開始成功 false：接続無</returns>
+        public bool beginTran()
+        {
+            try
+            {
+                //接続が確立されていない場合、処理なし
+                if (!isConnect()) return false;
+
+                //トランザクション開始
+                this.m_transaction = m_connection.BeginTransaction();
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, m_connectionString);
+                return false;
+            }
+        }
+        #endregion
+
+        #region commit
+        /// <summary>
+        /// コミット。
+        /// </summary>
+        /// <returns>true：Commit成功 false：トランザクション無・接続無</returns>
+        public bool commit()
+        {
+            try
+            {
+                //接続が確立されていない場合は処理なし
+                if (!isConnect()) return false;
+
+                //トランザクションが開始されていない場合、処理なし
+                if (this.m_transaction == null) return false;
+
+                //コミット
+                m_transaction.Commit();
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                //ログ出力
+                logger.ErrorFormat("{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                //トランザクションを破棄する
+                if (this.m_transaction != null)
+                {
+                    this.m_transaction.Dispose();
+                    this.m_transaction = null;
+                }
+            }
+        }
+        #endregion
+
+        #region rollback
+        /// <summary>
+        /// ロールバック。
+        /// </summary>
+        /// <returns>true：Rollback成功 false：トランザクション無・接続無</returns>
+        public bool rollback()
+        {
+            try
+            {
+                //接続が確立されていない場合は処理なし
+                if (!isConnect()) return false;
+
+                //トランザクションが開始されていない場合は処理なし
+                if (this.m_transaction == null) return false;
+
+                //ロールバック
+                this.m_transaction.Rollback();
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                //ログ出力
+                logger.ErrorFormat("{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                //トランザクションを破棄する
+                if (this.m_transaction != null)
+                {
+                    this.m_transaction.Dispose();
+                    this.m_transaction = null;
+                }
+            }
+        }
+        #endregion
+
+        #region ExecuteReader
+        /// <summary>
+        /// MySQLリーダー
+        /// </summary>
+        /// <param name="strSql">検索SQL</param>
+        /// <param name="arData">取得データ</param>
+        /// <returns>成功時:true 失敗時:false</returns>
+        public bool ExecuteReader(string strSql, ref ArrayList arData, bool bconnect = true)
+        {
+            //MySQL インターフェース
+            MySqlCommand mycmd = new MySqlCommand();
+            MySqlDataReader myreader = null;
+            try
+            {
+                //接続
+                if (bconnect) this.connect();
+
+                //MySqlCommand・MySqlDataReader作成
+                mycmd.Connection = (MySqlConnection)m_connection;
+
+                //SQLセット
+                mycmd.CommandText = strSql;
+
+                myreader = mycmd.ExecuteReader();
+
+                int iFeildcnt = myreader.FieldCount;
+                //読込
+                while (myreader.Read())
+                {
+                    object[] objwrk = new object[iFeildcnt];
+
+                    myreader.GetValues(objwrk);
+
+                    //null抑制
+                    int i = 0;
+                    foreach (object www in objwrk)
+                    {
+                        objwrk[i++] = www.ToString().Equals("null") ? "" : www;
+                    }
+
+                    arData.Add(objwrk);
+
+                }
+                return true;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), myex.Message, strSql);
+                return false;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strSql);
+                return false;
+            }
+            finally
+            {
+                if (myreader != null)
+                {
+                    myreader.Close();
+                    myreader.Dispose();
+                    myreader = null;
+                }
+                mycmd.Dispose();
+                mycmd = null;
+
+                //切断
+                if (bconnect) this.close();
+            }
+        }
+        #endregion
+
+        #region ExecuteNonQuery
+        /// <summary>
+        /// MySQL ExecuteNonQuery
+        /// </summary>
+        /// <param name="strSql">実行SQL</param>
+        /// <returns>成功時:true 失敗時:false</returns>
+        public bool ExecuteNonQuery(string strSql, bool bconnect = true)
+        {
+            //MySQL インターフェース
+            MySqlCommand mycmd = new MySqlCommand();
+
+            try
+            {
+                //接続
+                if (bconnect) this.connect();
+
+                //ネクションセット
+                mycmd.Connection = (MySqlConnection)m_connection;
+
+                //トランザクション
+                if (bconnect)
+                {
+                    if (!this.beginTran()) return false;
+                }
+
+                //SQLセット
+                mycmd.CommandText = strSql;
+                //実行
+                if (mycmd.ExecuteNonQuery() == 0)
+                {
+                    //エラー時rollbackして処理終了
+                    if (bconnect) this.rollback();
+                    return false;
+                }
+                //成功時Commit
+                if (bconnect)
+                {
+                    if (!this.commit()) return false;
+                }
+
+                return true;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), myex.Message, strSql);
+                return false;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strSql);
+                return false;
+            }
+            finally
+            {
+                //切断
+                if (bconnect) this.close();
+
+                mycmd.Dispose();
+                mycmd = null;
+            }
+        }
+        #endregion
+
+        #region SetLockWaitime
+        /// <summary>
+        /// MySQL innodb_lock_wait_timeoutを設定
+        /// </summary>
+        /// <param name="seconds">秒</param>
+        /// <returns></returns>
+        public  bool SetLockWaitime(int seconds)
+        {
+            MySqlCommand mycmd = new MySqlCommand();
+            string strSql = "";
+
+            try
+            {
+                //ネクションセット
+                mycmd.Connection = (MySqlConnection)m_connection;
+
+                //SQLセット
+                strSql = "set innodb_lock_wait_timeout=1";
+                mycmd.CommandText = strSql;
+
+                //実行
+                mycmd.ExecuteNonQuery();
+
+                return true;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), myex.Message, strSql);
+                return false;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strSql);
+                return false;
+            }
+            finally
+            {
+                mycmd.Dispose();
+                mycmd = null;
+            }
+        }
+
+    }
+    #endregion
+}
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert/MySQLDB/Core/DBCommonForMySQL.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/Core/DBCommonForMySQL.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/Core/DBCommonForMySQL.cs	(revision 84)
@@ -0,0 +1,72 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+using log4net;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.Core
+{
+    /// <summary>
+    /// データベース共通接続クラス
+    /// </summary>
+    public class DBCommonForMySQL
+    {
+        #region 定義部
+        /// <summary>
+        /// データベース接続共通クラスインスタンスハンドル
+        /// </summary>
+        private static DBCommonForMySQL m_instance = new DBCommonForMySQL();
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 変数
+        /// <summary>
+        /// DB接続情報
+        /// </summary>
+        private string m_dbconnectString = string.Empty;
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// 何もしない
+        /// </summary>
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        ///インスタンス
+        /// </summary>
+        public static DBCommonForMySQL Instance
+        {
+            get { return m_instance; }
+        }
+        /// <summary>
+        /// 接続文字列取得
+        /// </summary>
+        public string DBConnectString
+        {
+            get { return m_dbconnectString; }
+        }
+        #endregion
+
+        #region メソッド
+        /// <summary>
+        /// 初期化メソッド
+        /// </summary>
+        public void Initialize()
+        {
+            // DB接続情報作成
+            m_dbconnectString = string.Format("Server={0};", CommonMySQLDef.DBServer);
+            m_dbconnectString += string.Format("Uid={0};", CommonMySQLDef.DBUser);
+            m_dbconnectString += string.Format("Pwd={0};", CommonMySQLDef.Password);
+            m_dbconnectString += string.Format("Database={0};", CommonMySQLDef.Database);
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/Core/IBaseDBForMySQL.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/Core/IBaseDBForMySQL.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/Core/IBaseDBForMySQL.cs	(revision 84)
@@ -0,0 +1,40 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.MySQLDB.Core
+{
+    /// <summary>
+    /// データベース共通インターフェースクラス
+    /// </summary>
+    public interface IBaseDBForMySQL
+    {
+        /// <summary>
+        /// コネクト処理。
+        /// </summary>
+        void connect();
+
+        /// <summary>
+        /// クローズ処理。
+        /// </summary>
+        bool close();
+
+        /// <summary>
+        /// トランザクション開始。
+        /// </summary>
+        bool beginTran();
+
+        /// <summary>
+        /// コミット。
+        /// </summary>
+        bool commit();
+
+        /// <summary>
+        /// ロールバック。
+        /// </summary>
+        bool rollback();
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/DBCommonMotions.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/DBCommonMotions.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/DBCommonMotions.cs	(revision 84)
@@ -0,0 +1,219 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// ＤＢアクセス共通処理
+    /// </summary>
+    public class DBCommonForMySQLMotions : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public DBCommonForMySQLMotions()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 指定テーブルのカラムの属性桁数を取得する
+        /// <summary>
+        /// 指定テーブルのカラムの属性桁数を取得する
+        /// </summary>
+        public int GetTableColumnLength(string TabelName, string ColumnName, bool bConnect = true)
+        {
+            try
+            {
+                int RetLength = 0;
+                ArrayList arData = new ArrayList();
+
+                string strcmd = "SELECT DATA_TYPE,";
+                strcmd += " CASE WHEN DATA_TYPE = 'DECIMAL' THEN NUMERIC_PRECISION";
+                strcmd += " WHEN DATA_TYPE = 'INT' THEN NUMERIC_PRECISION";
+                strcmd += " WHEN DATA_TYPE = 'MEDIUMINT' THEN NUMERIC_PRECISION";
+                strcmd += " WHEN DATA_TYPE = 'SMALLINT' THEN NUMERIC_PRECISION";
+                strcmd += " WHEN DATA_TYPE = 'TINYINT' THEN NUMERIC_PRECISION";
+                strcmd += " WHEN DATA_TYPE = 'DATETIME' THEN DATETIME_PRECISION";
+                strcmd += " ELSE CHARACTER_MAXIMUM_LENGTH END DATA_LENGTH,";
+                strcmd += " COLUMN_NAME";
+                strcmd += " FROM INFORMATION_SCHEMA.COLUMNS";
+                strcmd += string.Format(" WHERE TABLE_NAME = '{0}'", TabelName.ToUpper());
+                strcmd += string.Format(" AND COLUMN_NAME = '{0}'", ColumnName.ToUpper());
+
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return 0;
+
+                object[] objWrk = (object[])arData[0];
+                RetLength = CommonMotions.cnvInt(objWrk[1]);
+
+                return RetLength;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 工事基本情報一括レコードコピー処理（コピータイプＡ）
+        /// <summary>
+        /// 工事基本情報レコードコピー処理（コピータイプＡ）
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyTypeA(int FromCode, int ToCode, bool bConnect = true)
+        {
+            IOConstructionBaseInfo DB1 = new IOConstructionBaseInfo();
+            IOConstructionBaseInfoDetail DB2 = new IOConstructionBaseInfoDetail();
+            try
+            {
+                if (!DB1.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+                if (!DB2.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                DB1.close(); DB1 = null;
+                DB2.close(); DB2 = null;
+            }
+        }
+        #endregion
+
+        #region 工事基本情報一括レコード削除処理（削除タイプＡ）
+        /// <summary>
+        /// 工事基本情報レコード削除処理（削除タイプＡ）
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordDeleteTypeA(int TergetCode, bool bConnect = true)
+        {
+            IOConstructionBaseInfo DB1 = new IOConstructionBaseInfo();
+            IOConstructionBaseInfoDetail DB2 = new IOConstructionBaseInfoDetail();
+            try
+            {
+                string strDelete = DB1.CreatePrimarykeyString(TergetCode);
+                if (!DB1.DeleteAction(strDelete, bConnect)) return false;
+                if (!DB2.DeleteAction(strDelete, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                DB1.close(); DB1 = null;
+                DB2.close(); DB2 = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積情報一括レコードコピー処理（コピータイプＢ）
+        /// <summary>
+        /// 積算見積情報レコードコピー処理（コピータイプＢ
+        /// ）
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyTypeB(int FromCode, int ToCode, bool bConnect = true)
+        {
+            IOEstimateData DB1 = new IOEstimateData();
+            IOEstimateDataBody DB2 = new IOEstimateDataBody();
+            IOEstimateDataDetail DB3 = new IOEstimateDataDetail();
+            try
+            {
+                if (!DB1.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+                if (!DB2.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+                if (!DB3.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                DB1.close(); DB1 = null;
+                DB2.close(); DB2 = null;
+                DB3.close(); DB3 = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積情報一括レコード削除処理（削除タイプＢ）
+        /// <summary>
+        /// 積算見積情報レコード削除処理（削除タイプＢ
+        /// ）
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordDeleteTypeB(int TergetCode, bool bConnect = true)
+        {
+            IOEstimateData DB1 = new IOEstimateData();
+            IOEstimateDataBody DB2 = new IOEstimateDataBody();
+            IOEstimateDataDetail DB3 = new IOEstimateDataDetail();
+            try
+            {
+                string strDelete = DB1.CreatePrimarykeyString(TergetCode);
+                if (!DB1.DeleteAction(strDelete, bConnect)) return false;
+                if (!DB2.DeleteAction(strDelete, bConnect)) return false;
+                if (!DB3.DeleteAction(strDelete, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                DB1.close(); DB1 = null;
+                DB2.close(); DB2 = null;
+                DB3.close(); DB3 = null;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOActionScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOActionScheduleData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOActionScheduleData.cs	(revision 84)
@@ -0,0 +1,358 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 行動予定アクセスクラス
+    /// </summary>
+    public class IOActionScheduleData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            TargetDate = 0,
+            PersonCode,
+            ActionSchedule,
+            TargetYear,
+            TargetMonth,
+            TargetDay,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOActionScheduleData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 行動予定検索
+        /// <summary>
+        /// 行動予定検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ActionScheduleData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " DATE_FORMAT(TargetDate, '%Y/%m/%d')";
+                strcmd += " ,PersonCode";
+                strcmd += " ,ActionSchedule";
+                strcmd += " ,TargetYear";
+                strcmd += " ,TargetMonth";
+                strcmd += " ,TargetDay";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM ActionScheduleData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ActionScheduleData work = new ActionScheduleData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 行動予定複数追加
+        /// <summary>
+        /// 行動予定複数追加
+        /// </summary>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ActionScheduleData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ActionScheduleData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定１件追加
+        /// <summary>
+        /// 行動予定１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(ActionScheduleData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ActionScheduleData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" STR_TO_DATE('{0}','%Y/%m/%d')", data.TargetDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", data.PersonCode.ToString());
+                    strcmd += string.Format(", '{0}'", data.ActionSchedule);
+                    strcmd += string.Format(", {0}", data.TargetYear.ToString());
+                    strcmd += string.Format(", {0}", data.TargetMonth.ToString());
+                    strcmd += string.Format(", {0}", data.TargetDay.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定更新
+        /// <summary>
+        /// 行動予定更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ActionScheduleData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ActionScheduleData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" TargetDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.TargetDate.ToShortDateString());
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",ActionSchedule = '{0}'", data.ActionSchedule);
+                strcmd += string.Format(",TargetYear = {0}", data.TargetYear.ToString());
+                strcmd += string.Format(",TargetMonth = {0}", data.TargetMonth.ToString());
+                strcmd += string.Format(",TargetDay = {0}", data.TargetDay.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定削除
+        /// <summary>
+        /// 行動予定削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ActionScheduleData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ActionScheduleData wrk)
+        {
+            try
+            {
+                // データ取得
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.TargetDate])) wrk.TargetDate = DateTime.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.PersonCode])) wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.ActionSchedule])) wrk.ActionSchedule = objwrk[(int)NameColumn.ActionSchedule].ToString();
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.TargetYear])) wrk.TargetYear = int.Parse(objwrk[(int)NameColumn.TargetYear].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.TargetMonth])) wrk.TargetMonth = int.Parse(objwrk[(int)NameColumn.TargetMonth].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.TargetDay])) wrk.TargetDay = int.Parse(objwrk[(int)NameColumn.TargetDay].ToString());
+
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.ENTRYDATE])) wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.UPDATEDATE])) wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref ActionScheduleData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TargetDate = DateTime.MinValue;
+                wrk.PersonCode = 0;
+                wrk.ActionSchedule = string.Empty;
+                wrk.TargetYear = 0;
+                wrk.TargetMonth = 0;
+                wrk.TargetDay = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(DateTime TargetDate, int PersonCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TargetDate = STR_TO_DATE('{0}','%Y/%m/%d')", TargetDate.ToShortDateString());
+                if(PersonCode != 0)
+                    strWork += string.Format(" And PersonCode = {0}", PersonCode.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region サブキー検索の文字列を返す
+        /// <summary>
+        /// サブキー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int TargetYear, int TargetMonth = 0, int TargetDay = 0, int PersonCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TargetYear = {0}", TargetYear.ToString());
+                if (TargetMonth != 0)
+                    strWork += string.Format(" And TargetMonth = {0}", TargetMonth.ToString());
+                if (TargetDay != 0)
+                    strWork += string.Format(" And TargetDay = {0}", TargetDay.ToString());
+                if (PersonCode != 0)
+                    strWork += string.Format(" And PersonCode = {0}", PersonCode.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceDailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceDailyData.cs	(revision 84)
@@ -0,0 +1,454 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 出勤日報データＤＢアクセス
+    /// </summary>
+    public class IOAttendanceDailyData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            AttendanceDate,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 行動実績
+            /// </summary>
+            ActionResult,
+            /// <summary>
+            /// 残業時間
+            /// </summary>
+            OvertimeHours,
+            /// <summary>
+            /// コメント
+            /// </summary>
+            WorkingComment,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOAttendanceDailyData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(AttendanceDate, '%Y/%m/%d')";          // 日報作成日
+            strcmd += " ,SeqNo";                                            // 明細行番号
+            strcmd += " ,ActionResult";                                     // 行動実績
+            strcmd += " ,OvertimeHours";                                    // 残業時間
+            strcmd += " ,WorkingComment";                                   // コメント
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 登録年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 更新年月日
+            strcmd += " FROM AttendanceDailyData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<AttendanceDailyData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    AttendanceDailyData work = new AttendanceDailyData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref AttendanceDailyData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(AttendanceDailyData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO AttendanceDailyData";
+                strcmd += "  (PersonCode";      // 担当者コード
+                strcmd += " ,AttendanceDate";   // 日報作成日
+                strcmd += " ,SeqNo";            // 明細行番号
+                strcmd += " ,ActionResult"; // 行動実績
+                strcmd += " ,OvertimeHours";    // 残業時間
+                strcmd += " ,WorkingComment";   // コメント
+                strcmd += " ,EntryDate";        // 登録年月日
+                strcmd += " ,UpdateDate)";      // 更新年月日
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.AttendanceDate.ToShortDateString()); // 日報作成日
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                strcmd += string.Format(",'{0}'", work.ActionResult);                   // 行動実績
+                strcmd += string.Format(", {0}", work.OvertimeHours);                   // 残業時間
+                strcmd += string.Format(",'{0}'", work.WorkingComment);                 // コメント
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<AttendanceDailyData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (AttendanceDailyData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, AttendanceDailyData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE AttendanceDailyData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",AttendanceDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.AttendanceDate.ToShortDateString());             // 日報作成日
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+                strcmd += string.Format(",ActionResult = '{0}'", data.ActionResult);            // 行動実績
+                strcmd += string.Format(",OvertimeHours = {0}", data.OvertimeHours);            // 残業時間
+                strcmd += string.Format(",WorkingComment = '{0}'", data.WorkingComment);        // コメント
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM AttendanceDailyData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ActionResult"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime AttendanceDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE AttendanceDailyData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.AttendanceDate:
+                        strcmd += string.Format(" AttendanceDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.ActionResult:
+                        strcmd += string.Format(" ActionResult = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.OvertimeHours:
+                        strcmd += string.Format(" OvertimeHours = {0}", (double)value);
+                        break;
+                    case (int)TableColumn.WorkingComment:
+                        strcmd += string.Format(" WorkingComment = '{0}'", CommonMotions.cnvString(value));
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, AttendanceDate, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref AttendanceDailyData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.AttendanceDate = DateTime.Parse(objwrk[(int)TableColumn.AttendanceDate].ToString());     // 日報作成日
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // 明細行番号
+                wrk.ActionResult = objwrk[(int)TableColumn.ActionResult].ToString();                         // 行動実績
+                wrk.OvertimeHours = double.Parse(objwrk[(int)TableColumn.OvertimeHours].ToString());         // 残業時間
+                wrk.WorkingComment = objwrk[(int)TableColumn.WorkingComment].ToString();                     // 当日作業内容
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime AttendanceDate, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (AttendanceDate != DateTime.MinValue)
+                    strWork += string.Format(" AND AttendanceDate = STR_TO_DATE('{0}','%Y/%m/%d')", AttendanceDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM AttendanceDailyData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(objwrk[0]);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceData.cs	(revision 84)
@@ -0,0 +1,432 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+using ProcessManagement.MySQLDB.MySql;
+
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 出勤日報データＤＢアクセス
+    /// </summary>
+    public class IOAttendanceData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 出勤管理年月
+            /// </summary>
+            AttendanceMonth,
+            /// <summary>
+            /// 当月最終日
+            /// </summary>
+            LastDays,
+            /// <summary>
+            /// 出勤日数
+            /// </summary>
+            AttendDayCount,
+            /// <summary>
+            /// 残業時間数
+            /// </summary>
+            TotalOverTimes,
+            /// <summary>
+            ///  申請日
+            /// </summary>
+            OrderDate,
+            /// <summary>
+            /// 申請受付番号
+            /// </summary>
+            OrderNo,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOAttendanceData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(AttendanceMonth, '%Y/%m/%d')";         // 出勤管理年月
+            strcmd += " ,LastDays";                                         // 当月最終日
+            strcmd += " ,AttendDayCount";                                   // 出勤日数
+            strcmd += " ,TotalOverTimes";                                   // 残業時間数
+            strcmd += " ,DATE_FORMAT(OrderDate, '%Y/%m/%d')";               // 申請日
+            strcmd += " ,OrderNo";                                          // 申請受付番号
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 更新年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 登録年月日
+            strcmd += " FROM AttendanceData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<AttendanceData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    AttendanceData work = new AttendanceData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref AttendanceData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(AttendanceData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO AttendanceData";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.AttendanceMonth.ToShortDateString());// 日報作成日
+                strcmd += string.Format(", {0}", work.LastDays);                        // 当月最終日
+                strcmd += string.Format(", {0}", work.AttendDayCount);                  // 出勤日数
+                strcmd += string.Format(", {0}", work.TotalOverTimes);                  // 残業時間数
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.OrderDate.ToShortDateString());      // 申請日
+                strcmd += string.Format(", {0}", work.OrderNo);                         // 申請受付番号
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<AttendanceData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (AttendanceData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, AttendanceData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE AttendanceData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(" ,AttendanceMonth = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                    data.AttendanceMonth.ToShortDateString());  // 出勤管理年月
+                strcmd += string.Format(" ,LastDays =  {0} ", data.LastDays);                   // 当月最終日
+                strcmd += string.Format(" ,AttendDayCount =  {0} ", data.AttendDayCount);       // 出勤日数
+                strcmd += string.Format(" ,TotalOverTimes =  {0} ", data.TotalOverTimes);       // 残業時間数
+                strcmd += string.Format(" ,OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                    data.OrderDate.ToShortDateString());        // 申請日
+                strcmd += string.Format(" ,OrderNo =  {0} ", data.OrderNo);                     // 申請受付番号
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM AttendanceData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime AttendanceMonth, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE AttendanceData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.AttendanceMonth:
+                        strcmd += string.Format(" AttendanceMonth = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.LastDays:
+                        strcmd += string.Format(" LastDays = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.AttendDayCount:
+                        strcmd += string.Format(" AttendDayCount = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TotalOverTimes:
+                        strcmd += string.Format(" TotalOverTimes = {0}", (double)value);
+                        break;
+                    case (int)TableColumn.OrderDate:
+                        strcmd += string.Format(" OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", (int)value);
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, AttendanceMonth);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref AttendanceData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.AttendanceMonth = DateTime.Parse(objwrk[(int)TableColumn.AttendanceMonth].ToString());   // 出勤管理年月
+                wrk.LastDays = int.Parse(objwrk[(int)TableColumn.LastDays].ToString());                      // 当月最終日
+                wrk.AttendDayCount = int.Parse(objwrk[(int)TableColumn.AttendDayCount].ToString());          // 出勤日数
+                wrk.TotalOverTimes = double.Parse(objwrk[(int)TableColumn.TotalOverTimes].ToString());       // 残業時間数
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());               // 申請日
+                wrk.OrderNo = int.Parse(objwrk[(int)TableColumn.OrderNo].ToString());                        // 申請受付番号
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime AttendanceMonth)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (AttendanceMonth != DateTime.MinValue)
+                    strWork += string.Format(" AND AttendanceMonth = STR_TO_DATE('{0}','%Y/%m/%d')", AttendanceMonth.ToShortDateString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBankBusinessDayMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBankBusinessDayMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBankBusinessDayMaster.cs	(revision 84)
@@ -0,0 +1,257 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// データアクセスクラス
+    /// </summary>
+    public class IOBankBusinessDayMaster : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            YearMonth = 0,
+            BankBusinessDay,
+            Note,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOBankBusinessDayMaster()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<BankBusinessDayMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += "  YearMonth, BankBusinessDay, Note, DeleteFlg";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM BankBusinessDayMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    BankBusinessDayMaster work = new BankBusinessDayMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 新規登録
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<BankBusinessDayMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (BankBusinessDayMaster work in data)
+                {
+                    strcmd = "INSERT INTO BankBusinessDayMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.YearMonth.ToString());
+                    strcmd += string.Format(", {0}", work.BankBusinessDay.ToString());
+                    strcmd += string.Format(", '{0}'", work.Note.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新登録
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, BankBusinessDayMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE BankBusinessDayMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" YearMonth = {0}", data.YearMonth.ToString());
+                strcmd += string.Format(",BankBusinessDay = {0}", data.BankBusinessDay.ToString());
+                strcmd += string.Format(",Note = '{0}'", data.Note);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = "Update BankBusinessDayMaster Set DeleteFlg = 1";
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 構造体設定
+        /// </summary>
+        /// <param name="objwrk"></param>
+        /// <param name="wrk"></param>
+        public void Reader2Struct(object[] objwrk, ref BankBusinessDayMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.YearMonth = int.Parse(objwrk[(int)NameColumn.YearMonth].ToString());
+                wrk.BankBusinessDay = int.Parse(objwrk[(int)NameColumn.BankBusinessDay].ToString());
+                wrk.Note = objwrk[(int)NameColumn.Note].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = objwrk[(int)NameColumn.EntryDate].ToString()=="" ? DateTime.Parse("2001/01/01"): DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = objwrk[(int)NameColumn.UpdateDate].ToString()=="" ? DateTime.Parse("2001/01/01") : DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int YearMonth, int BankBusinessDay)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where YearMonth = {0} and BankBusinessDay = {1}", YearMonth, BankBusinessDay);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingData.cs	(revision 84)
@@ -0,0 +1,290 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 業者請求データアクセスクラス
+    /// </summary>
+    public class IOBillingData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            TargetDate,
+            SeqNo,
+            BillPrice,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOBillingData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+
+        #region パブリックメソッド
+        /// <summary>
+        /// データ検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<BillingData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " CompanyCode,TargetDate,SeqNo,BillPrice";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM BillingData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    BillingData work = new BillingData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 新規登録
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<BillingData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (BillingData work in data)
+                {
+                    strcmd = "INSERT INTO BillingData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.TargetDate.ToString());
+                    strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", work.BillPrice.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新登録
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, BillingData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE BillingData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" BillPrice = {0}", data.BillPrice.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM BillingData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 構造体へセット
+        /// </summary>
+        /// <param name="objwrk"></param>
+        /// <param name="wrk"></param>
+        public void Reader2Struct(object[] objwrk, ref BillingData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.TargetDate = int.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.BillPrice = long.Parse(objwrk[(int)NameColumn.BillPrice].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CompanyCode, int TargetDate, int SeqNo)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0} and TargetDate = {1} and SeqNo = {2}", CompanyCode, TargetDate, SeqNo);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        /// <param name="MaterialItemCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLock(int CompanyCode, int TargetDate, int SeqNo, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from BillingData where CompanyCode = {0} and TargetDate = {1} and SeqNo = {2} for update;",
+                                        CompanyCode, TargetDate, SeqNo);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingDataDetail.cs	(revision 84)
@@ -0,0 +1,311 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 業者請求明細データアクセスクラス
+    /// </summary>
+    public class IOBillingDataDetail: MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            TargetDate,
+            SeqNo,
+            LineCount,
+            ConstructionCode,
+            FieldName,
+            BillPrice,
+            HighwPrice,
+            HardwPrice,
+            IndsWasteTax,
+            Note,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOBillingDataDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<BillingDataDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " CompanyCode,TargetDate,SeqNo,LineCount,ConstructionCode,FieldName,BillPrice,HighwPrice,HardwPrice,IndsWasteTax,Note";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM BillingDataDetail";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    BillingDataDetail work = new BillingDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 新規登録
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<BillingDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (BillingDataDetail work in data)
+                {
+                    strcmd = "INSERT INTO BillingDataDetail";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.TargetDate.ToString());
+                    strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", work.LineCount.ToString());
+                    strcmd += string.Format(", {0}", work.ConstructionCode.ToString());
+                    strcmd += string.Format(", '{0}'", work.FieldName.ToString());
+                    strcmd += string.Format(", {0}", work.BillPrice.ToString());
+                    strcmd += string.Format(", {0}", work.HighwPrice.ToString());
+                    strcmd += string.Format(", {0}", work.HardwPrice.ToString());
+                    strcmd += string.Format(", {0}", work.IndsWasteTax.ToString());
+                    strcmd += string.Format(", '{0}'", work.Note.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新登録
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, BillingDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE BillingDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",FieldName = '{0}'", data.FieldName);
+                strcmd += string.Format(",BillPrice = {0}", data.BillPrice.ToString());
+                strcmd += string.Format(",HighwPrice = {0}", data.HighwPrice.ToString());
+                strcmd += string.Format(",HardwPrice = {0}", data.HardwPrice.ToString());
+                strcmd += string.Format(",IndsWasteTax = {0}", data.IndsWasteTax.ToString());
+                strcmd += string.Format(",Note = '{0}'", data.Note);
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM BillingDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 構造体設定
+        /// </summary>
+        /// <param name="objwrk"></param>
+        /// <param name="wrk"></param>
+        public void Reader2Struct(object[] objwrk, ref BillingDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.TargetDate = int.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.LineCount= int.Parse(objwrk[(int)NameColumn.LineCount].ToString());
+                wrk.ConstructionCode = long.Parse(objwrk[(int)NameColumn.ConstructionCode].ToString());
+                wrk.FieldName = objwrk[(int)NameColumn.FieldName].ToString();
+                wrk.BillPrice=long.Parse(objwrk[(int)NameColumn.BillPrice].ToString());
+                wrk.HighwPrice=long.Parse(objwrk[(int)NameColumn.HighwPrice].ToString());
+                wrk.HardwPrice=long.Parse(objwrk[(int)NameColumn.HardwPrice].ToString());
+                wrk.IndsWasteTax = long.Parse(objwrk[(int)NameColumn.IndsWasteTax].ToString());
+                wrk.Note = objwrk[(int)NameColumn.Note].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+
+        #region パブリックメソッド（特殊処理）
+
+        public string CreatePrimarykeyString(int CompanyCode, int TargetDate,int SeqNo, int LineCount)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0} and TargetDate = {1} and SeqNo = {2} and LineCount = {3}", CompanyCode, TargetDate, SeqNo, LineCount);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        /// <param name="MaterialItemCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLock(int CompanyCode, int TargetDate, int SeqNo, int LineCount, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from BillingDataDetail where CompanyCode = {0} and TargetDate = {1} and SeqNo = {2} and LineCount = {3} for update;",
+                                        CompanyCode, TargetDate, SeqNo, LineCount);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingPaymentSummary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingPaymentSummary.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingPaymentSummary.cs	(revision 84)
@@ -0,0 +1,320 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 業者請求支払サマリーデータアクセスクラス
+    /// </summary>
+    public class IOBillingPaymentSummary : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            TargetDate,
+            ChargePaymentKind,
+            Payday,
+            BillPriceStotal,
+            ConsumptionTaxRate,
+            ConsumptionTaxPrice,
+            HighwPriceStotal,
+            HardwPriceStotal,
+            IndsWasteTaxStotal,
+            CnstrPriceRate,
+            CnstrPriceStotal,
+            BillingPriceTotal,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOBillingPaymentSummary()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<BillingPaymentSummary> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " CompanyCode,TargetDate,ChargePaymentKind,DATE_FORMAT(Payday, '%Y/%m/%d'),BillPriceStotal,ConsumptionTaxRate,ConsumptionTaxPrice,HighwPriceStotal,HardwPriceStotal,IndsWasteTaxStotal,CnstrPriceRate,CnstrPriceStotal,BillingPriceTotal";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM BillingPaymentSummary";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    BillingPaymentSummary work = new BillingPaymentSummary();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 新規登録
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<BillingPaymentSummary> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (BillingPaymentSummary work in data)
+                {
+                    strcmd = "INSERT INTO BillingPaymentSummary";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.TargetDate.ToString());
+                    strcmd += string.Format(", {0}", work.ChargePaymentKind.ToString());
+                    strcmd += string.Format(", DATE_FORMAT(DATE_FORMAT('{0}','%Y/%m/%d'),'%Y/%m/%d')", work.Payday.ToString());
+                    strcmd += string.Format(", {0}", work.BillPriceStotal.ToString());
+                    strcmd += string.Format(", {0}", work.ConsumptionTaxRate.ToString());
+                    strcmd += string.Format(", {0}", work.ConsumptionTaxPrice.ToString());
+                    strcmd += string.Format(", {0}", work.HighwPriceStotal.ToString());
+                    strcmd += string.Format(", {0}", work.HardwPriceStotal.ToString());
+                    strcmd += string.Format(", {0}", work.IndsWasteTaxStotal.ToString());
+                    strcmd += string.Format(", {0}", work.CnstrPriceRate.ToString());
+                    strcmd += string.Format(", {0}", work.CnstrPriceStotal.ToString());
+                    strcmd += string.Format(", {0}", work.BillingPriceTotal.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新登録
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, BillingPaymentSummary data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE BillingPaymentSummary";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" Payday = DATE_FORMAT(DATE_FORMAT('{0}','%Y/%m/%d'),'%Y/%m/%d')", data.Payday.ToString());
+                strcmd += string.Format(",BillPriceStotal = {0}", data.BillPriceStotal.ToString());
+
+                strcmd += string.Format(",ConsumptionTaxRate = {0}", data.ConsumptionTaxRate.ToString());
+                strcmd += string.Format(",ConsumptionTaxPrice = {0}", data.ConsumptionTaxPrice.ToString());
+                strcmd += string.Format(",HighwPriceStotal = {0}", data.HighwPriceStotal.ToString());
+                strcmd += string.Format(",HardwPriceStotal = {0}", data.HardwPriceStotal.ToString());
+                strcmd += string.Format(",IndsWasteTaxStotal = {0}", data.IndsWasteTaxStotal.ToString());
+
+                strcmd += string.Format(",CnstrPriceRate = {0}", data.CnstrPriceRate.ToString());
+                strcmd += string.Format(",CnstrPriceStotal = {0}", data.CnstrPriceStotal.ToString());
+                strcmd += string.Format(",BillingPriceTotal = {0}", data.BillingPriceTotal.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM BillingPaymentSummary", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 構造体設定
+        /// </summary>
+        /// <param name="objwrk"></param>
+        /// <param name="wrk"></param>
+        public void Reader2Struct(object[] objwrk, ref BillingPaymentSummary wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.TargetDate = int.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                wrk.ChargePaymentKind = int.Parse(objwrk[(int)NameColumn.ChargePaymentKind].ToString());
+                wrk.Payday = DateTime.Parse(objwrk[(int)NameColumn.Payday].ToString());
+                wrk.BillingPriceTotal = long.Parse(objwrk[(int)NameColumn.BillingPriceTotal].ToString());
+
+                wrk.ConsumptionTaxRate = double.Parse(objwrk[(int)NameColumn.ConsumptionTaxRate].ToString());
+                wrk.ConsumptionTaxPrice = long.Parse(objwrk[(int)NameColumn.ConsumptionTaxPrice].ToString());
+
+
+                wrk.HighwPriceStotal = long.Parse(objwrk[(int)NameColumn.HighwPriceStotal].ToString());
+                wrk.HardwPriceStotal = long.Parse(objwrk[(int)NameColumn.HardwPriceStotal].ToString());
+                wrk.IndsWasteTaxStotal = long.Parse(objwrk[(int)NameColumn.IndsWasteTaxStotal].ToString());
+                wrk.CnstrPriceRate = double.Parse(objwrk[(int)NameColumn.CnstrPriceRate].ToString());
+                wrk.CnstrPriceStotal = long.Parse(objwrk[(int)NameColumn.HighwPriceStotal].ToString());
+
+                wrk.BillingPriceTotal = long.Parse(objwrk[(int)NameColumn.BillingPriceTotal].ToString());
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        /// <param name="MaterialItemCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLock(int CompanyCode, int TargetDate, int ChargePaymentKind, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from BillingPaymentSummary where CompanyCode = {0} and TargetDate = {1} and ChargePaymentKind = {2} for update;",
+                                        CompanyCode, TargetDate, ChargePaymentKind);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+        public string CreatePrimarykeyString(int CompanyCode, int TargetDate, int ChargePaymentKind)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0} and TargetDate = {1} and ChargePaymentKind = {2}", CompanyCode, TargetDate, ChargePaymentKind);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfo.cs	(revision 84)
@@ -0,0 +1,980 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事基本情報ＤＢアクセス
+    /// </summary>
+    public class IOConstructionBaseInfo : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事基本情報フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,
+            TyingFlg,
+            JoinFlg,
+            ConstructionYear,
+            ConstructionPeriod,
+            RequestedDate,
+            EstimatessubmitDeadLine,
+            EstimatessubmittedDate,
+            ProvisionAlorderDate,
+            OrderDate,
+            OrderStartingDate,
+            OrderCompletionDate,
+            PreparationStartDate,
+            ConstructionStartingDate,
+            ConstructionCompletionDate,
+            NonOrderDate,
+            OrdersDecisionPrice,
+            OrdersDecisionPriceInTax,
+            SalesPersonCode,
+            ConstructionPersonCode,
+            ConstrSubPersonCode,
+            ConstructionInstructor,
+            TransferConstruction,
+            TransferConstructionDate,
+            OrderersDivision,
+            OrderersCode,
+            EstimatesExpirationDate,
+            ConstructionPeriodStart,
+            ConstructionPeriodEnd,
+            ConstructionPeriodStart2,
+            ConstructionPeriodEnd2,
+            StartDate,
+            EndDate,
+            PurchaseOrderMailingDate,
+            PurchaseOrderReturnDate,
+            PurchaseOrderReturnCheckDate,
+            ConsumptionTaxFlg,
+            PrimecontractorFlg,
+            SalesCostFlg,
+            ConstructionStatusFlg,
+            ConstructionType,
+            EstimateType,
+            BillingStartDate,
+            BillingDate,
+            BillingSplitFlg,
+            BillingSendDate,
+            LedgerComplateDate,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionBaseInfo()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";
+            strcmd += ", TyingFlg";
+            strcmd += ", JoinFlg";
+            strcmd += ", ConstructionYear";
+            strcmd += ", ConstructionPeriod";
+            strcmd += ", DATE_FORMAT(RequestedDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(EstimatesSubmitDeadline, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(EstimatesSubmittedDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(ProvisionalOrderDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(OrderDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(OrderStartingDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(OrderCompletionDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(PreparationStartDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(ConstructionStartingDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(ConstructionCompletionDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(NonOrderDate, '%Y/%m/%d')";
+            strcmd += ", OrdersDecisionPrice";
+            strcmd += ", OrdersDecisionPriceInTax";
+            strcmd += ", SalesPersonCode";
+            strcmd += ", ConstructionPersonCode";
+            strcmd += ", ConstrSubPersonCode";
+            strcmd += ", ConstructionInstructor";
+            strcmd += ", TransferConstruction";
+            strcmd += ", DATE_FORMAT(TransferConstructionDate, '%Y/%m/%d')";
+            strcmd += ", OrderersDivision";
+            strcmd += ", OrderersCode";
+            strcmd += ", DATE_FORMAT(EstimatesExpirationDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(ConstructionPeriodStart, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(ConstructionPeriodEnd, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(ConstructionPeriodStart2, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(ConstructionPeriodEnd2, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(StartDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(EndDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(PurchaseOrderMailingDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(PurchaseOrderReturnDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(PurchaseOrderReturnCheckDate, '%Y/%m/%d')";
+            strcmd += ", ConsumptionTaxFlg";
+            strcmd += ", PrimeContractorFlg";
+            strcmd += ", SalesCostFlg";
+            strcmd += ", ConstructionStatusFlg";
+            strcmd += ", ConstructionType";
+            strcmd += ", EstimateType";
+            strcmd += ", DATE_FORMAT(BillingStartDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(BillingDate, '%Y/%m/%d')";
+            strcmd += ", BillingSplitFlg";
+            strcmd += ", DATE_FORMAT(BillingSendDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(LedgerComplateDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionBaseInfo";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数データ読込み処理
+        public bool SelectAction(string AddSQLString, ref List<ConstructionBaseInfo> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionBaseInfo work = new ConstructionBaseInfo();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref ConstructionBaseInfo data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ追加処理（1件）
+        /// <summary>
+        /// 工事基本情報追加
+        /// </summary>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionBaseInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                    strcmd = "INSERT INTO ConstructionBaseInfo";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode);
+                    strcmd += string.Format(", {0}", data.TyingFlg);
+                    strcmd += string.Format(", {0}", data.JoinFlg);
+                    strcmd += string.Format(", {0}", data.ConstructionYear);
+                    strcmd += string.Format(", {0}", data.ConstructionPeriod);
+
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.RequestedDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.EstimatesSubmitDeadline.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.EstimatesSubmittedDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.ProvisionalOrderDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderStartingDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderCompletionDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.PreparationStartDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionStartingDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionCompletionDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.NonOrderDate.ToShortDateString());
+
+                    strcmd += string.Format(", {0}", data.OrdersDecisionPrice);
+                    strcmd += string.Format(", {0}", data.OrdersDecisionPriceInTax);
+
+                    strcmd += string.Format(", {0}", data.SalesPersonCode);
+                    strcmd += string.Format(", {0}", data.ConstructionPersonCode);
+                    strcmd += string.Format(", {0}", data.ConstrSubPersonCode);
+                    strcmd += string.Format(", {0}", data.ConstructionInstructor);
+
+                    strcmd += string.Format(", {0}", data.TransferConstruction);
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.TransferConstructionDate.ToShortDateString());
+
+                    strcmd += string.Format(", {0}", data.OrderersDivision);
+                    strcmd += string.Format(", {0}", data.OrderersCode);
+
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.EstimatesExpirationDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionPeriodStart.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionPeriodEnd.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionPeriodStart2.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionPeriodEnd2.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.StartDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.EndDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.PurchaseOrderMailingDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.PurchaseOrderReturnDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.PurchaseOrderReturnCheckDate.ToShortDateString());
+
+                    strcmd += string.Format(", {0}", data.ConsumptionTaxFlg);
+                    strcmd += string.Format(", {0}", data.PrimeContractorFlg);
+                    strcmd += string.Format(", {0}", data.SalesCostFlg);
+                    strcmd += string.Format(", {0}", data.ConstructionStatusFlg);
+
+                    strcmd += string.Format(", {0}", data.ConstructionType);
+                    strcmd += string.Format(", {0}", data.EstimateType);
+
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.BillingStartDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.BillingDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", data.BillingSplitFlg);
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.BillingSendDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.LedgerComplateDate.ToShortDateString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ追加処置（複数件）
+        /// <summary>
+        /// 工事基本情報追加
+        /// </summary>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionBaseInfo> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionBaseInfo work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ更新処理
+        /// <summary>
+        /// 工事基本情報更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionBaseInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionBaseInfo";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);
+                strcmd += string.Format(", TyingFlg = {0}", data.TyingFlg);
+                strcmd += string.Format(", JoinFlg = {0}", data.JoinFlg);
+                strcmd += string.Format(", ConstructionYear = {0}", data.ConstructionYear);
+                strcmd += string.Format(", ConstructionPeriod = {0}", data.ConstructionPeriod);
+
+                strcmd += string.Format(", RequestedDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.RequestedDate.ToShortDateString());
+                strcmd += string.Format(", EstimatesSubmitDeadline = STR_TO_DATE('{0}','%Y/%m/%d')", data.EstimatesSubmitDeadline.ToShortDateString());
+                strcmd += string.Format(", EstimatesSubmittedDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.EstimatesSubmittedDate.ToShortDateString());
+                strcmd += string.Format(", ProvisionalOrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.ProvisionalOrderDate.ToShortDateString());
+                strcmd += string.Format(", OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", OrderStartingDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderStartingDate.ToShortDateString());
+                strcmd += string.Format(", OrderCompletionDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderCompletionDate.ToShortDateString());
+                strcmd += string.Format(", PreparationStartDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.PreparationStartDate.ToShortDateString());
+                strcmd += string.Format(", ConstructionStartingDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionStartingDate.ToShortDateString());
+                strcmd += string.Format(", ConstructionCompletionDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionCompletionDate.ToShortDateString());
+                strcmd += string.Format(", NonOrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.NonOrderDate.ToShortDateString());
+
+                strcmd += string.Format(", OrdersDecisionPrice = {0}", data.OrdersDecisionPrice);
+                strcmd += string.Format(", OrdersDecisionPriceInTax = {0}", data.OrdersDecisionPriceInTax);
+
+                strcmd += string.Format(", SalesPersonCode = {0}", data.SalesPersonCode);
+                strcmd += string.Format(", ConstructionPersonCode = {0}", data.ConstructionPersonCode);
+                strcmd += string.Format(", ConstrSubPersonCode = {0}", data.ConstrSubPersonCode);
+                strcmd += string.Format(", ConstructionInstructor = {0}", data.ConstructionInstructor);
+
+                strcmd += string.Format(", TransferConstruction = {0}", data.TransferConstruction);
+                strcmd += string.Format(", TransferConstructionDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.TransferConstructionDate.ToShortDateString());
+
+                strcmd += string.Format(", OrderersDivision = {0}", data.OrderersDivision);
+                strcmd += string.Format(", OrderersCode = {0}", data.OrderersCode);
+
+                strcmd += string.Format(", EstimatesExpirationDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.EstimatesExpirationDate.ToShortDateString());
+                strcmd += string.Format(", ConstructionPeriodStart = STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionPeriodStart.ToShortDateString());
+                strcmd += string.Format(", ConstructionPeriodEnd = STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionPeriodEnd.ToShortDateString());
+                strcmd += string.Format(", ConstructionPeriodStart2 = STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionPeriodStart2.ToShortDateString());
+                strcmd += string.Format(", ConstructionPeriodEnd2 = STR_TO_DATE('{0}','%Y/%m/%d')", data.ConstructionPeriodEnd2.ToShortDateString());
+                strcmd += string.Format(", StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", EndDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.EndDate.ToShortDateString());
+                strcmd += string.Format(", PurchaseOrderMailingDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.PurchaseOrderMailingDate.ToShortDateString());
+                strcmd += string.Format(", PurchaseOrderReturnDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.PurchaseOrderReturnDate.ToShortDateString());
+                strcmd += string.Format(", PurchaseOrderReturnCheckDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.PurchaseOrderReturnCheckDate.ToShortDateString());
+
+                strcmd += string.Format(", ConsumptionTaxFlg = {0}", data.ConsumptionTaxFlg);
+                strcmd += string.Format(", PrimeContractorFlg = {0}", data.PrimeContractorFlg);
+                strcmd += string.Format(", SalesCostFlg = {0}", data.SalesCostFlg);
+                strcmd += string.Format(", ConstructionStatusFlg = {0}", data.ConstructionStatusFlg);
+
+                strcmd += string.Format(", ConstructionType = {0}", data.ConstructionType);
+                strcmd += string.Format(", EstimateType = {0}", data.EstimateType);
+
+                strcmd += string.Format(", BillingStartDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.BillingStartDate.ToShortDateString());
+                strcmd += string.Format(", BillingDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.BillingDate.ToShortDateString());
+                strcmd += string.Format(", BillingSplitFlg = {0}", data.BillingSplitFlg);
+                strcmd += string.Format(", BillingSendDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.BillingSendDate.ToShortDateString());
+                strcmd += string.Format(", LedgerComplateDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.LedgerComplateDate.ToShortDateString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ削除処理
+        /// <summary>
+        /// 工事基本情報削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionBaseInfo", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込みオブジェクトセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionBaseInfo wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());
+                wrk.TyingFlg = int.Parse(objwrk[(int)TableColumn.TyingFlg].ToString());
+                wrk.JoinFlg = int.Parse(objwrk[(int)TableColumn.JoinFlg].ToString());
+                wrk.ConstructionYear = int.Parse(objwrk[(int)TableColumn.ConstructionYear].ToString());
+                wrk.ConstructionPeriod = int.Parse(objwrk[(int)TableColumn.ConstructionPeriod].ToString());
+
+                wrk.RequestedDate = DateTime.Parse(objwrk[(int)TableColumn.RequestedDate].ToString());
+                wrk.EstimatesSubmitDeadline = DateTime.Parse(objwrk[(int)TableColumn.EstimatessubmitDeadLine].ToString());
+                wrk.EstimatesSubmittedDate = DateTime.Parse(objwrk[(int)TableColumn.EstimatessubmittedDate].ToString());
+                wrk.ProvisionalOrderDate = DateTime.Parse(objwrk[(int)TableColumn.ProvisionAlorderDate].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());
+                wrk.OrderStartingDate = DateTime.Parse(objwrk[(int)TableColumn.OrderStartingDate].ToString());
+                wrk.OrderCompletionDate = DateTime.Parse(objwrk[(int)TableColumn.OrderCompletionDate].ToString());
+                wrk.PreparationStartDate = DateTime.Parse(objwrk[(int)TableColumn.PreparationStartDate].ToString());
+                wrk.ConstructionStartingDate = DateTime.Parse(objwrk[(int)TableColumn.ConstructionStartingDate].ToString());
+                wrk.ConstructionCompletionDate = DateTime.Parse(objwrk[(int)TableColumn.ConstructionCompletionDate].ToString());
+                wrk.NonOrderDate = DateTime.Parse(objwrk[(int)TableColumn.NonOrderDate].ToString());
+
+                wrk.OrdersDecisionPrice = double.Parse(objwrk[(int)TableColumn.OrdersDecisionPrice].ToString());
+                wrk.OrdersDecisionPriceInTax = double.Parse(objwrk[(int)TableColumn.OrdersDecisionPriceInTax].ToString());
+
+                wrk.SalesPersonCode = int.Parse(objwrk[(int)TableColumn.SalesPersonCode].ToString());
+                wrk.ConstructionPersonCode = int.Parse(objwrk[(int)TableColumn.ConstructionPersonCode].ToString());
+                wrk.ConstrSubPersonCode = int.Parse(objwrk[(int)TableColumn.ConstrSubPersonCode].ToString());
+                wrk.ConstructionInstructor = int.Parse(objwrk[(int)TableColumn.ConstructionInstructor].ToString());
+
+                wrk.TransferConstruction = int.Parse(objwrk[(int)TableColumn.TransferConstruction].ToString());
+                wrk.TransferConstructionDate = DateTime.Parse(objwrk[(int)TableColumn.TransferConstructionDate].ToString());
+
+                wrk.OrderersDivision = int.Parse(objwrk[(int)TableColumn.OrderersDivision].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)TableColumn.OrderersCode].ToString());
+
+                wrk.EstimatesExpirationDate = DateTime.Parse(objwrk[(int)TableColumn.EstimatesExpirationDate].ToString());
+                wrk.ConstructionPeriodStart = DateTime.Parse(objwrk[(int)TableColumn.ConstructionPeriodStart].ToString());
+                wrk.ConstructionPeriodEnd = DateTime.Parse(objwrk[(int)TableColumn.ConstructionPeriodEnd].ToString());
+                wrk.ConstructionPeriodStart2 = DateTime.Parse(objwrk[(int)TableColumn.ConstructionPeriodStart2].ToString());
+                wrk.ConstructionPeriodEnd2 = DateTime.Parse(objwrk[(int)TableColumn.ConstructionPeriodEnd2].ToString());
+
+                wrk.StartDate = DateTime.Parse(objwrk[(int)TableColumn.StartDate].ToString());
+                wrk.EndDate = DateTime.Parse(objwrk[(int)TableColumn.EndDate].ToString());
+
+                wrk.PurchaseOrderMailingDate = DateTime.Parse(objwrk[(int)TableColumn.PurchaseOrderMailingDate].ToString());
+                wrk.PurchaseOrderReturnDate = DateTime.Parse(objwrk[(int)TableColumn.PurchaseOrderReturnDate].ToString());
+                wrk.PurchaseOrderReturnCheckDate = DateTime.Parse(objwrk[(int)TableColumn.PurchaseOrderReturnCheckDate].ToString());
+
+                wrk.ConsumptionTaxFlg = int.Parse(objwrk[(int)TableColumn.ConsumptionTaxFlg].ToString());
+                wrk.PrimeContractorFlg = int.Parse(objwrk[(int)TableColumn.PrimecontractorFlg].ToString());
+                wrk.SalesCostFlg = int.Parse(objwrk[(int)TableColumn.SalesCostFlg].ToString());
+                wrk.ConstructionStatusFlg = int.Parse(objwrk[(int)TableColumn.ConstructionStatusFlg].ToString());
+
+                wrk.ConstructionType = int.Parse(objwrk[(int)TableColumn.ConstructionType].ToString());
+                wrk.EstimateType = int.Parse(objwrk[(int)TableColumn.EstimateType].ToString());
+
+                wrk.BillingStartDate = DateTime.Parse(objwrk[(int)TableColumn.BillingStartDate].ToString());
+                wrk.BillingDate = DateTime.Parse(objwrk[(int)TableColumn.BillingDate].ToString());
+                wrk.BillingSplitFlg = int.Parse(objwrk[(int)TableColumn.BillingSplitFlg].ToString());
+                wrk.BillingSendDate = DateTime.Parse(objwrk[(int)TableColumn.BillingSendDate].ToString());
+                wrk.LedgerComplateDate = DateTime.Parse(objwrk[(int)TableColumn.LedgerComplateDate].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionBaseInfo";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TyingFlg:
+                        strcmd += string.Format(" TyingFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.JoinFlg:
+                        strcmd += string.Format(" JoinFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionYear:
+                        strcmd += string.Format(" ConstructionYear = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriod:
+                        strcmd += string.Format(" ConstructionPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.RequestedDate:
+                        strcmd += string.Format(" RequestedDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.EstimatessubmitDeadLine:
+                        strcmd += string.Format(" EstimatesSubmitDeadline = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.EstimatessubmittedDate:
+                        strcmd += string.Format(" EstimatesSubmittedDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ProvisionAlorderDate:
+                        strcmd += string.Format(" ProvisionalOrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderDate:
+                        strcmd += string.Format(" OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderStartingDate:
+                        strcmd += string.Format(" OrderStartingDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderCompletionDate:
+                        strcmd += string.Format(" OrderCompletionDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.PreparationStartDate:
+                        strcmd += string.Format(" PreparationStartDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionStartingDate:
+                        strcmd += string.Format(" ConstructionStartingDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionCompletionDate:
+                        strcmd += string.Format(" ConstructionCompletionDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.NonOrderDate:
+                        strcmd += string.Format(" NonOrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrdersDecisionPrice:
+                        strcmd += string.Format(" OrdersDecisionPrice = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrdersDecisionPriceInTax:
+                        strcmd += string.Format(" OrdersDecisionPriceInTax = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalesPersonCode:
+                        strcmd += string.Format(" SalesPersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionPersonCode:
+                        strcmd += string.Format(" ConstructionPersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstrSubPersonCode:
+                        strcmd += string.Format(" ConstrSubPersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionInstructor:
+                        strcmd += string.Format(" ConstructionInstructor = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TransferConstruction:
+                        strcmd += string.Format(" TransferConstruction = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TransferConstructionDate:
+                        strcmd += string.Format(" TransferConstructionDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderersDivision:
+                        strcmd += string.Format(" OrderersDivision = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderersCode:
+                        strcmd += string.Format(" OrderersCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.EstimatesExpirationDate:
+                        strcmd += string.Format(" EstimatesExpirationDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriodStart:
+                        strcmd += string.Format(" ConstructionPeriodStart = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriodEnd:
+                        strcmd += string.Format(" ConstructionPeriodEnd = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriodStart2:
+                        strcmd += string.Format(" ConstructionPeriodStart2 = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriodEnd2:
+                        strcmd += string.Format(" ConstructionPeriodEnd2 = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.StartDate:
+                        strcmd += string.Format(" StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.EndDate:
+                        strcmd += string.Format(" EndDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.PurchaseOrderMailingDate:
+                        strcmd += string.Format(" PurchaseOrderMailingDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.PurchaseOrderReturnDate:
+                        strcmd += string.Format(" PurchaseOrderReturnDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.PurchaseOrderReturnCheckDate:
+                        strcmd += string.Format(" PurchaseOrderReturnCheckDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConsumptionTaxFlg:
+                        strcmd += string.Format(" ConsumptionTaxFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrimecontractorFlg:
+                        strcmd += string.Format(" PrimeContractorFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalesCostFlg:
+                        strcmd += string.Format(" SalesCostFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionStatusFlg:
+                        strcmd += string.Format(" ConstructionStatusFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionType:
+                        strcmd += string.Format(" ConstructionType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.EstimateType:
+                        strcmd += string.Format(" EstimateType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.BillingStartDate:
+                        strcmd += string.Format(" BillingStartDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.BillingDate:
+                        strcmd += string.Format(" BillingDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.BillingSplitFlg:
+                        strcmd += string.Format(" BillingSplitFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.BillingSendDate:
+                        strcmd += string.Format(" BillingSendDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.LedgerComplateDate:
+                        strcmd += string.Format(" LedgerComplateDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事番号の最大値を取得
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = -1;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(ConstructionCode), 0) FROM ConstructionBaseInfo" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = -1;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+                return iRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return -1;
+            }
+        }
+        #endregion
+
+        #region 工事基本情報の検索キー文字列を作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="DetailNo"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into ConstructionBaseInfo ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("DATE_FORMAT(", "").Replace(", '%Y/%m/%d')", "").Replace(", '%Y/%m/%d %H:%i:%s')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE ConstructionBaseInfo SET EntryDate = TO_DATE(TO_CHAR(sysdate,'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事番号の年取得
+        /// <summary>
+        /// 工事番号の基になる年を求める
+        /// </summary>
+        /// <param name="bPeriod"></param>
+        /// <param name="MinCode"></param>
+        /// <param name="MaxCode"></param>
+        private void GetBaseCounstructionCode(bool bPeriod, int PeriodValue, ref int MinCode, ref int MaxCode)
+        {
+            try
+            {
+                int Beginning = 0;
+                int diffwork = 0;
+                string strwork = string.Empty;
+                if (bPeriod)
+                {   // ----- 営業期ベースの時
+
+                    // 現在期との差分を求める
+                    diffwork = PeriodValue - CommonMotions.SystemMasterData.BusinessPeriod;
+
+                    // 期首月を取得する
+                    strwork = CommonMotions.SystemMasterData.BusinessBeginningDate;
+                    strwork = strwork.Substring(0, strwork.IndexOf("/"));
+                }
+                else
+                {   // ----- 営業年度ベースの時
+
+                    // 現在期との差分を求める
+                    diffwork = PeriodValue - CommonMotions.SystemMasterData.ConstructionYear;
+
+                    // 期首月を取得する
+                    strwork = CommonMotions.SystemMasterData.ConstructionBeginningDate;
+                    strwork = strwork.Substring(0, strwork.IndexOf("/"));
+                }
+
+                // 期首月を数値変換
+                Beginning = CommonMotions.cnvInt(strwork);
+
+                // 年数を求める
+                DateTime dateWork = DateTime.Now;
+                int nowMounth = DateTime.Now.Month;
+                // 期首月を境に年度を計算する
+                int iYear = 0;
+                if (nowMounth < Beginning)
+                    iYear = dateWork.AddYears(-1).Year;
+                else
+                    iYear = dateWork.Year;
+
+                // ベース年を求める
+                MinCode = iYear + diffwork;
+                // ベース年の翌年を求める
+                MaxCode = MinCode + 1;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 新規の工事番号を作成する
+        /// <summary>
+        /// 新規の工事番号を作成する
+        /// </summary>
+        /// <returns></returns>
+        public int CreateNewCounstructionCode(int PeriodValue)
+        {
+            try
+            {
+                int iRetCode = 0;
+                int MinCode = 0;
+                int MaxCode = 0;
+                // 営業期・工事年は管理マスタの選択により設定する
+                string strWhere = "";
+                if (CommonMotions.SystemMasterData.ConstructionNoBase == (int)CommonDefine.SystemConstructionNoBase.BusinessPeriod)
+                {   // 営業期
+                    GetBaseCounstructionCode(true, PeriodValue,ref MinCode, ref  MaxCode);
+                }
+                else
+                {   // 工事年度
+                    GetBaseCounstructionCode(false, PeriodValue, ref MinCode, ref  MaxCode);
+                }
+                strWhere = string.Format(" WHERE {0} <= CONSTRUCTIONCODE AND CONSTRUCTIONCODE < {1}", (MinCode * 1000000), (MaxCode * 1000000));
+
+                int icnt = SelectMaxConstructionCodeCount(strWhere);
+                if (icnt != 0)
+                {   // ----- データがある時
+                    // 年度の連番を取得する
+                    int ConstructionNo = CommonMotions.cnvTruncate((double)icnt / 100.0);       // 2015010001 -> 20150100
+                    ConstructionNo++;                                                           // 20150100   -> 20150101
+                    ConstructionNo *= 100;                                                      // 20150101   -> 2015010100
+                    ConstructionNo++;                                                           // 2015010100 -> 2015010101
+                    // 工事番号セット
+                    iRetCode = ConstructionNo;
+                }
+                else
+                {   // ----- データが無い時
+                    // 工事番号セット
+                    iRetCode = (MinCode * 1000000) + 101;
+                }
+                return iRetCode;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 工事番号の枝番が最大値のものを取得する
+        /// <summary>
+        /// 工事番号の枝番が最大値のものを取得する
+        /// </summary>
+        /// <param name="NowCode"></param>
+        /// <returns></returns>
+        public int CreateNextBranchCounstructionCode(int NowCode)
+        {
+            IOConstructionBaseInfo cbDB = new IOConstructionBaseInfo();                // 工事基本情報
+            try
+            {
+                int ConstructionCode = -1;
+                
+                // 枝番最大値の工事番号取得
+                string strSQL = "SELECT IFNULL(MAX(CONSTRUCTIONCODE), -1) FROM CONSTRUCTIONBASEINFO";
+                strSQL += string.Format(" WHERE TRUNCATE(CONSTRUCTIONCODE / 100,0) = {0}", CommonMotions.cnvTruncate(NowCode / 100));
+                ArrayList arList = new ArrayList();
+
+                // データが無ければ抜ける
+                if (!cbDB.ExecuteReader(strSQL, ref arList)) return ConstructionCode;
+                
+                object[] wrkobj = (object[])arList[0];
+                ConstructionCode = CommonMotions.cnvInt(wrkobj[0]);
+                if (ConstructionCode > 1) ConstructionCode++;
+
+                return ConstructionCode;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return -1;
+            }
+            finally
+            {
+                cbDB.close(); cbDB = null;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfoDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfoDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfoDetail.cs	(revision 84)
@@ -0,0 +1,412 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事基本情報明細ＤＢアクセス
+    /// </summary>
+    public class IOConstructionBaseInfoDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事基本情報フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            CONSTRUCTIONCODE = 0,
+            DETAILNO,
+            DETAILSTRING,
+            ENTRYDATE,
+            UPDATEDATE,
+        }
+
+        #endregion
+
+        #region プロパティ
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionBaseInfoDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ConstructionCode, DetailNo";
+            strcmd += ", DetailString";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionBaseInfoDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 読込み処理（1件）
+        /// <summary>
+        /// 工事基本情報明細検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionBaseInfoDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込み処理（複数件）
+        /// <summary>
+        /// 工事基本情報明細検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionBaseInfoDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionBaseInfoDetail work = new ConstructionBaseInfoDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 工事基本情報明細追加
+        /// </summary>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionBaseInfoDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionBaseInfoDetail";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.ConstructionCode);
+                strcmd += string.Format(", {0}", data.DetailNo);
+                strcmd += string.Format(",'{0}'", data.DetailString);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 工事基本情報明細追加
+        /// </summary>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionBaseInfoDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionBaseInfoDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事基本情報明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionBaseInfoDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionBaseInfoDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ConstructionCode = {0}", data.ConstructionCode);
+                strcmd += string.Format(" ,DetailNo = {0}", data.DetailNo);
+                strcmd += string.Format(" ,DetailString = '{0}'", data.DetailString);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 工事基本情報削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionBaseInfoDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionBaseInfoDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.CONSTRUCTIONCODE].ToString());
+                wrk.DetailNo = int.Parse(objwrk[(int)TableColumn.DETAILNO].ToString());
+                wrk.DetailString = objwrk[(int)TableColumn.DETAILSTRING].ToString();
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int DetailNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionBaseInfoDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.CONSTRUCTIONCODE:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DETAILNO:
+                        strcmd += string.Format(" DetailNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DETAILSTRING:
+                        strcmd += string.Format(" DetailString = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, DetailNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 検索の文字列を返す
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="DetailNo"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int DetailNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (DetailNo != 0)
+                    strWork += string.Format(" And DetailNo = {0}", DetailNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into ConstructionBaseInfoDetail ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("DATE_FORMAT(", "").Replace(", '%Y/%m/%d')", "").Replace(", '%Y/%m/%d %H:%i:%s')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE ConstructionBaseInfoDetail SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudget.cs	(revision 84)
@@ -0,0 +1,573 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事予算書データＤＢアクセス
+    /// </summary>
+    public class IOConstructionBudget : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事予算書データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	    // 工事番号
+
+            CreatorCode,                // 作成者コード
+            CreatorName,    	        // 作成者名
+            CreatorCosts,	            // 作成者給与
+
+            AssistantCode,              // 副担当者コード
+            AssistantName,              // 副担当者名
+            AssistantCosts,             // 副担当者給与
+
+            InstructorCode,	            // 工事指導員コード
+            InstructorName,	            // 工事指導員名
+            InstructorCosts,	        // 工事指導員給与
+
+            CreateDate,	                // 作成日
+            ConstructionTimes,	        // 工期（単位・月）
+            ConstructionStart,          // 契約工期開始
+            ConstructionEnd,            // 契約工期完了
+
+            InstructorTimes,	        // 指導員稼働月数
+            
+            SalaryFlg,                  // 給与振分区分
+            SalaryDays,                 // 振分日数
+            A_SalaryFlg,                // 副担当者給与振分区分
+            A_SalaryDays,               // 副担当者振分日数
+            I_SalaryFlg,                // 指導員給与振分区分
+            I_SalaryDays,               // 指導員振分日数
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionBudget()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 工事予算書データ検索ＳＱＬ作成
+        /// <summary>
+        /// 工事予算書データ検索ＳＱＬ作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";                          // 工事番号
+
+            strcmd += " ,CreatorCode";                              // 作成者コード
+            strcmd += " ,CreatorName";    	                        // 作成者名
+            strcmd += " ,CreatorCosts";	                            // 作成者給与
+            strcmd += " ,AssistantCode";                            // 副担当者コード
+            strcmd += " ,AssistantName";                            // 副担当者名
+            strcmd += " ,AssistantCosts";                           // 副担当者給与
+            strcmd += " ,InstructorCode";	                        // 工事指導員コード
+            strcmd += " ,InstructorName";	                        // 工事指導員名
+            strcmd += " ,InstructorCosts";                          // 工事指導員給与
+            strcmd += " ,DATE_FORMAT(CreateDate, '%Y/%m/%d')";	    // 作成日
+            strcmd += " ,ConstructionTimes";	                    // 工期（単位・月）
+            strcmd += " ,DATE_FORMAT(ConstructionStart, '%Y/%m/%d')"; // 契約工期開始
+            strcmd += " ,DATE_FORMAT(ConstructionEnd, '%Y/%m/%d')";   // 契約工期完了
+            strcmd += " ,InstructorTimes";                          // 指導員稼働月数
+            strcmd += " ,SalaryFlg";                                // 給与振分区分
+            strcmd += " ,SalaryDays";                               // 振分日数
+            strcmd += " ,A_SalaryFlg";                              // 副担当者給与振分区分
+            strcmd += " ,A_SalaryDays";                             // 副担当者振分日数
+            strcmd += " ,I_SalaryFlg";                              // 指導員給与振分区分
+            strcmd += " ,I_SalaryDays";                             // 指導員振分日数
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionBudget";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事予算書データ複数件検索
+        /// <summary>
+        /// 工事予算書データ複数件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionBudget> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionBudget work = new ConstructionBudget();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ１件検索
+        /// <summary>
+        /// 工事予算書データ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionBudget data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ１件追加
+        /// <summary>
+        /// 工事予算書データ１件追加
+        /// </summary>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionBudget work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionBudget";
+                strcmd += "(ConstructionCode";                          // 工事番号
+                strcmd += " ,CreatorCode";                              // 作成者コード
+                strcmd += " ,CreatorName";    	                        // 作成者名
+                strcmd += " ,CreatorCosts";	                            // 作成者給与
+                strcmd += " ,AssistantCode";                            // 副担当者コード
+                strcmd += " ,AssistantName";                            // 副担当者名
+                strcmd += " ,AssistantCosts";                           // 副担当者給与
+                strcmd += " ,InstructorCode";	                        // 工事指導員コード
+                strcmd += " ,InstructorName";	                        // 工事指導員名
+                strcmd += " ,InstructorCosts";                          // 工事指導員給与
+                strcmd += " ,CreateDate";	                            // 作成日
+                strcmd += " ,ConstructionTimes";	                    // 工期（単位・月）
+                strcmd += " ,ConstructionStart";                        // 契約工期開始
+                strcmd += " ,ConstructionEnd";                          // 契約工期完了
+                strcmd += " ,InstructorTimes";                          // 指導員稼働月数
+                strcmd += " ,SalaryFlg";                                // 給与振分区分
+                strcmd += " ,SalaryDays";                               // 振分日数
+                strcmd += " ,A_SalaryFlg";                              // 副担当者給与振分区分
+                strcmd += " ,A_SalaryDays";                             // 副担当者振分日数
+                strcmd += " ,I_SalaryFlg";                              // 指導員給与振分区分
+                strcmd += " ,I_SalaryDays";                             // 指導員振分日数
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);                // 工事番号
+
+                strcmd += string.Format(", {0}", work.CreatorCode);                     // 作成者コード
+                strcmd += string.Format(",'{0}'", work.CreatorName);                    // 作成者名
+                strcmd += string.Format(", {0}", work.CreatorCosts);                    // 作成者給与
+
+                strcmd += string.Format(", {0}", work.AssistantCode);                   // 副担当者コード
+                strcmd += string.Format(",'{0}'", work.AssistantName);                  // 副担当者名
+                strcmd += string.Format(", {0}", work.AssistantCosts);                  // 副担当者給与
+
+                strcmd += string.Format(", {0}", work.InstructorCode);                  // 工事指導員コード
+                strcmd += string.Format(",'{0}'", work.InstructorName);                 // 工事指導員名
+                strcmd += string.Format(", {0}", work.InstructorCosts);                 // 工事指導員給与
+                
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                        work.CreateDate.ToShortDateString());           // 作成日
+                strcmd += string.Format(", {0}", work.ConstructionTimes);               // 工期（単位・月）
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                        work.ConstructionStart.ToShortDateString());    // 契約工期開始
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                        work.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                strcmd += string.Format(", {0}", work.InstructorTimes);                 // 指導員稼働月数
+                strcmd += string.Format(", {0}", work.SalaryFlg);                       // 給与振分区分
+                strcmd += string.Format(", {0}", work.SalaryDays);                      // 振分日数
+                strcmd += string.Format(", {0}", work.A_SalaryFlg);                     // 副担当者給与振分区分
+                strcmd += string.Format(", {0}", work.A_SalaryDays);                    // 副担当者振分日数
+                strcmd += string.Format(", {0}", work.I_SalaryFlg);                     // 指導員給与振分区分
+                strcmd += string.Format(", {0}", work.I_SalaryDays);                    // 指導員振分日数
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ複数件追加
+        /// <summary>
+        /// 工事予算書データ複数件追加
+        /// </summary>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionBudget> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionBudget work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ更新
+        /// <summary>
+        /// 工事予算書データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionBudget data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionBudget";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	            // 工事番号
+
+                strcmd += string.Format(", CreatorCode = {0}", data.CreatorCode);                       // 作成者コード
+                strcmd += string.Format(", CreatorName = '{0}'", data.CreatorName);                     // 作成者名
+                strcmd += string.Format(", CreatorCosts = {0}", data.CreatorCosts);                     // 作成者給与
+
+                strcmd += string.Format(", AssistantCode = {0}", data.AssistantCode);                   // 副担当者コード
+                strcmd += string.Format(", AssistantName = '{0}'", data.AssistantName);                 // 副担当者名
+                strcmd += string.Format(", AssistantCosts = {0}", data.AssistantCosts);                 // 副担当者給与
+
+                strcmd += string.Format(", InstructorCode = {0}", data.InstructorCode);                 // 工事指導員コード
+                strcmd += string.Format(", InstructorName = '{0}'", data.InstructorName);               // 工事指導員名
+                strcmd += string.Format(", InstructorCosts = {0}", data.InstructorCosts);               // 工事指導員給与
+                strcmd += string.Format(", CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        data.CreateDate.ToShortDateString());           // 作成日
+                strcmd += string.Format(", ConstructionTimes = {0}", data.ConstructionTimes);           // 工期（単位・月）
+                strcmd += string.Format(", ConstructionStart = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        data.ConstructionStart.ToShortDateString());    // 契約工期開始
+                strcmd += string.Format(", ConstructionEnd = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        data.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                strcmd += string.Format(", InstructorTimes = {0}", data.InstructorTimes);               // 指導員稼働月数
+
+                strcmd += string.Format(", SalaryFlg = {0}", data.SalaryFlg);                           // 給与振分区分
+                strcmd += string.Format(", SalaryDays = {0}", data.SalaryDays);                         // 振分日数
+                strcmd += string.Format(", A_SalaryFlg = {0}", data.A_SalaryFlg);                       // 副担当者給与振分区分
+                strcmd += string.Format(", A_SalaryDays = {0}", data.A_SalaryDays);                     // 副担当者振分日数
+                strcmd += string.Format(", I_SalaryFlg = {0}", data.I_SalaryFlg);                       // 指導員給与振分区分
+                strcmd += string.Format(", I_SalaryDays = {0}", data.I_SalaryDays);                     // 指導員振分日数
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ削除
+        /// <summary>
+        /// 工事予算書データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionBudget", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionBudget";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	    // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreatorCode:          // 作成者コード
+                        strcmd += string.Format(" CreatorCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreatorName:    	    // 作成者名
+                        strcmd += string.Format(" CreatorName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CreatorCosts:	        // 作成者給与
+                        strcmd += string.Format(" CreatorCosts = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.AssistantCode:        // 副担当者コード
+                        strcmd += string.Format(" AssistantCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.AssistantName:        // 副担当者名
+                        strcmd += string.Format(" AssistantName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.AssistantCosts:       // 副担当者給与
+                        strcmd += string.Format(" AssistantCosts = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.InstructorCode:	    // 工事指導員コード
+                        strcmd += string.Format(" InstructorCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.InstructorName:	    // 工事指導員名
+                        strcmd += string.Format(" InstructorName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.InstructorCosts:	    // 工事指導員給与
+                        strcmd += string.Format(" InstructorCosts = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:	        // 作成日
+                        strcmd += string.Format(" CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionTimes:	// 工期（単位・月）
+                        strcmd += string.Format(" ConstructionTimes = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionStart:    // 契約工期開始
+                        strcmd += string.Format(" ConstructionStart = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionEnd:      // 契約工期完了
+                        strcmd += string.Format(" ConstructionEnd = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.InstructorTimes:	    // 指導員稼働月数
+                        strcmd += string.Format(" InstructorTimes = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryFlg:            // 給与振分区分
+                        strcmd += string.Format(" SalaryFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryDays:           // 振分日数
+                        strcmd += string.Format(" SalaryDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.A_SalaryFlg:          // 副担当者給与振分区分
+                        strcmd += string.Format(" A_SalaryFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.A_SalaryDays:         // 副担当者振分日数
+                        strcmd += string.Format(" A_SalaryDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.I_SalaryFlg:          // 指導員給与振分区分
+                        strcmd += string.Format(" I_SalaryFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.I_SalaryDays:         // 指導員振分日数
+                        strcmd += string.Format(" I_SalaryDays = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionBudget wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	// 工事番号
+
+                wrk.CreatorCode = int.Parse(objwrk[(int)TableColumn.CreatorCode].ToString());                  // 作成者コード
+                wrk.CreatorName = objwrk[(int)TableColumn.CreatorName].ToString();                             // 作成者名
+                wrk.CreatorCosts = double.Parse(objwrk[(int)TableColumn.CreatorCosts].ToString());             // 作成者給与
+                wrk.AssistantCode = int.Parse(objwrk[(int)TableColumn.AssistantCode].ToString());              // 副担当者コード
+                wrk.AssistantName = objwrk[(int)TableColumn.AssistantName].ToString();                         // 副担当者名
+                wrk.AssistantCosts = int.Parse(objwrk[(int)TableColumn.AssistantCosts].ToString());            // 副担当者給与
+                wrk.InstructorCode = int.Parse(objwrk[(int)TableColumn.InstructorCode].ToString());            // 工事指導員コード
+                wrk.InstructorName = objwrk[(int)TableColumn.InstructorName].ToString();                       // 工事指導員名
+                wrk.InstructorCosts = double.Parse(objwrk[(int)TableColumn.InstructorCosts].ToString());       // 工事指導員給与
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());               // 作成日
+                wrk.ConstructionTimes = double.Parse(objwrk[(int)TableColumn.ConstructionTimes].ToString());   // 工期（単位・月）
+                wrk.ConstructionStart = DateTime.Parse(objwrk[(int)TableColumn.ConstructionStart].ToString()); // 契約工期開始
+                wrk.ConstructionEnd = DateTime.Parse(objwrk[(int)TableColumn.ConstructionEnd].ToString());     // 契約工期完了
+
+                wrk.InstructorTimes = double.Parse(objwrk[(int)TableColumn.InstructorTimes].ToString());       // 指導員稼働月数
+
+                wrk.SalaryFlg = int.Parse(objwrk[(int)TableColumn.SalaryFlg].ToString());                      // 給与振分区分
+                wrk.SalaryDays = int.Parse(objwrk[(int)TableColumn.SalaryDays].ToString());                    // 振分日数
+                wrk.A_SalaryFlg = int.Parse(objwrk[(int)TableColumn.A_SalaryFlg].ToString());                  // 副担当者給与振分区分
+                wrk.A_SalaryDays = int.Parse(objwrk[(int)TableColumn.A_SalaryDays].ToString());                // 副担当者振分日数
+                wrk.I_SalaryFlg = int.Parse(objwrk[(int)TableColumn.I_SalaryFlg].ToString());                  // 指導員給与振分区分
+                wrk.I_SalaryDays = int.Parse(objwrk[(int)TableColumn.I_SalaryDays].ToString());                // 指導員振分日数
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudgetDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudgetDetail.cs	(revision 84)
@@ -0,0 +1,484 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事予算データ明細ＤＢアクセス
+    /// </summary>
+    public class IOConstructionBudgetDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事予算データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+
+            GroupCount,             // グループ番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            ItemCode,		        // 工種キー
+            FirstString,            // 項目名称
+            SecondString,           // 工事内容
+            CompanyType,            // 協力会社コードタイプ
+            CompanyCode,            // 協力会社コード
+            CompanyName,            // 協力会社名称
+            EstimatePrice,          // 見積時金額
+            NegotiationPrice,       // 交渉時金額
+            OrderDesiredAmount,     // 発注希望金額
+            ExecutionAmount,        // 実行金額
+            AmountConfigRate,       // 金額構成率
+            NegotiateFlg,           // 協力業者交渉フラグ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionBudgetDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ComponentCode";            // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", FirstString";              // 項目名称
+            strcmd += ", SecondString";             // 工事内容
+            strcmd += ", CompanyType";              // 協力会社コードタイプ
+            strcmd += ", CompanyCode";              // 協力会社コード
+            strcmd += ", CompanyName";              // 協力会社名称
+            strcmd += ", EstimatePrice";            // 見積時金額
+            strcmd += ", NegotiationPrice";         // 交渉時金額
+            strcmd += ", OrderDesiredAmount";       // 発注希望金額
+            strcmd += ", ExecutionAmount";          // 実行金額
+            strcmd += ", AmountConfigRate";         // 金額構成率
+            strcmd += ", NegotiateFlg";             // 協力業者交渉フラグ
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionBudgetDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数データ読込み処理
+        /// <summary>
+        /// 工事予算データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionBudgetDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionBudgetDetail work = new ConstructionBudgetDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref ConstructionBudgetDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算データ明細追加（1件）
+        /// <summary>
+        /// 工事予算データ明細追加
+        /// </summary>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionBudgetDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionBudgetDetail";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		        // 工種キー
+                strcmd += string.Format(",'{0}'", work.FirstString);            // 項目名称
+                strcmd += string.Format(",'{0}'", work.SecondString);           // 工事内容
+                strcmd += string.Format(", {0}", work.CompanyType);             // 協力会社コードタイプ
+                strcmd += string.Format(", {0}", work.CompanyCode);             // 協力会社コード
+                strcmd += string.Format(",'{0}'", work.CompanyName);            // 協力会社名称
+                strcmd += string.Format(", {0}", work.EstimatePrice);           // 見積時金額
+                strcmd += string.Format(", {0}", work.NegotiationPrice);        // 交渉時金額
+                strcmd += string.Format(", {0}", work.OrderDesiredAmount);      // 発注希望金額
+                strcmd += string.Format(", {0}", work.ExecutionAmount);         // 実行金額
+                strcmd += string.Format(", {0}", work.AmountConfigRate);        // 金額構成率
+                strcmd += string.Format(", {0}", work.NegotiateFlg);            // 協力業者交渉フラグ
+
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算データ明細追加（複数件）
+        /// <summary>
+        /// 工事予算データ明細追加
+        /// </summary>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionBudgetDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionBudgetDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算データ明細更新
+        /// <summary>
+        /// 工事予算データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionBudgetDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionBudgetDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);               // 構成キー
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode);		                    // 工種キー
+                strcmd += string.Format(", FirstString = '{0}'", data.FirstString);                 // 項目名称名称
+                strcmd += string.Format(", SecondString = '{0}'", data.SecondString);               // 工事内容
+                strcmd += string.Format(", CompanyType = {0}", data.CompanyType);                   // 協力会社コードタイプ
+                strcmd += string.Format(", CompanyCode = {0}", data.CompanyCode);                   // 協力会社コード
+                strcmd += string.Format(", CompanyName = '{0}'", data.CompanyName);                 // 協力会社名称
+                strcmd += string.Format(", EstimatePrice = {0}", data.EstimatePrice);               // 見積時金額
+                strcmd += string.Format(", NegotiationPrice = {0}", data.NegotiationPrice);         // 交渉時金額
+                strcmd += string.Format(", OrderDesiredAmount = {0}", data.OrderDesiredAmount);     // 発注希望金額
+                strcmd += string.Format(", ExecutionAmount = {0}", data.ExecutionAmount);           // 実行金額
+                strcmd += string.Format(", AmountConfigRate = {0}", data.AmountConfigRate);         // 金額構成率
+                strcmd += string.Format(", NegotiateFlg = {0}", data.NegotiateFlg);                 // 協力業者交渉フラグ
+
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算データ明細削除
+        /// <summary>
+        /// 工事予算データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionBudgetDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionBudgetDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:      // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GroupCount:             // グループ番号
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:              // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:          // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FirstString:            // 項目名称
+                        strcmd += string.Format(" FirstString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SecondString:           // 工事内容
+                        strcmd += string.Format(" SecondString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CompanyType:            // 協力会社コードタイプ
+                        strcmd += string.Format(" CompanyType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:            // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyName:            // 協力会社名称
+                        strcmd += string.Format(" CompanyName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.EstimatePrice:          // 見積時金額
+                        strcmd += string.Format(" EstimatePrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.NegotiationPrice:       // 交渉時金額
+                        strcmd += string.Format(" NegotiationPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderDesiredAmount:     // 発注希望金額
+                        strcmd += string.Format(" OrderDesiredAmount = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.ExecutionAmount:        // 実行金額
+                        strcmd += string.Format(" ExecutionAmount = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.AmountConfigRate:       // 金額構成率
+                        strcmd += string.Format(" AmountConfigRate = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.NegotiateFlg:           // 協力業者交渉フラグ
+                        strcmd += string.Format(" NegotiateFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionBudgetDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());          // 工事番号
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	            // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		                    // 工種キー
+                wrk.FirstString = objwrk[(int)TableColumn.FirstString].ToString();	                            // 項目名称
+                wrk.SecondString = objwrk[(int)TableColumn.SecondString].ToString();	                            // 工事内容
+                wrk.CompanyType = int.Parse(objwrk[(int)TableColumn.CompanyType].ToString());	                // 協力会社コードタイプ
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());	                // 協力会社コード
+                wrk.CompanyName = objwrk[(int)TableColumn.CompanyName].ToString();                               // 協力会社名称
+                wrk.EstimatePrice = double.Parse(objwrk[(int)TableColumn.EstimatePrice].ToString());	            // 見積時金額
+                wrk.NegotiationPrice = double.Parse(objwrk[(int)TableColumn.NegotiationPrice].ToString());	    // 交渉時金額
+                wrk.OrderDesiredAmount = double.Parse(objwrk[(int)TableColumn.OrderDesiredAmount].ToString());	// 発注希望金額
+                wrk.ExecutionAmount = double.Parse(objwrk[(int)TableColumn.ExecutionAmount].ToString());	        // 実行金額
+                wrk.AmountConfigRate = double.Parse(objwrk[(int)TableColumn.AmountConfigRate].ToString());	    // 金額構成率
+                wrk.NegotiateFlg = int.Parse(objwrk[(int)TableColumn.NegotiateFlg].ToString());                  // 協力業者交渉フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="GroupCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int GroupCount = 0, int LineCount = 0, string Alias = "")
+        {
+            string strWork = "";
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+
+                strWork = string.Format(" Where {0}ConstructionCode = {1}", strAlias, ConstructionCode);
+                if (GroupCount != 0)
+                    strWork += string.Format(" And {0}GroupCount = {1}", strAlias, GroupCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And {0}LineCount = {1}", strAlias, LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedger.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedger.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedger.cs	(revision 84)
@@ -0,0 +1,544 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事詳細台帳データＤＢアクセス
+    /// </summary>
+    public class IOConstructionLedger : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事詳細台帳データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	    // 工事番号
+
+            ConstructionPeriod,         // 事業期
+            CreatorCode,                // 作成者コード
+            CreatorName,    	        // 作成者名
+            CreateDate,	                // 作成日
+            ConstructionTimes,          // 工期（単位・月）
+            ConstructionStart,          // 契約工期開始
+            ConstructionEnd,            // 契約工期完了
+            OrdersDecisionPrice,        // 税抜受注決定金額
+            CompanyExpenses,            // 会社経費合計
+            DepartmentExpenses,         // 部署経費合計
+            SalesExpenses,              // 営業経費合計
+            TotalPayment,               // 総支払額
+            GrossProfit,                // 粗利
+            Allowance,                  // 給与
+            NetProfit,                  // 純利益
+            ComplateFlg,                // 入力完了フラグ
+            IntegrationFlg,             // 受注金額積算フラグ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionLedger()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 工事詳細台帳データ検索SQL作成
+        /// <summary>
+        /// 工事詳細台帳データ検索SQL作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";      // 工事番号
+
+            strcmd += " ,ConstructionPeriod";   // 事業期
+            strcmd += " ,CreatorCode";          // 作成者コード
+            strcmd += " ,CreatorName";    	    // 作成者名
+            strcmd += " ,DATE_FORMAT(CreateDate, '%Y/%m/%d')";
+                                                // 作成日
+            strcmd += " ,ConstructionTimes";    // 工期（単位・月）
+            strcmd += " ,DATE_FORMAT(ConstructionStart, '%Y/%m/%d')";
+                                                // 契約工期開始
+            strcmd += " ,DATE_FORMAT(ConstructionEnd, '%Y/%m/%d')";
+                                                // 契約工期完了
+            strcmd += " ,OrdersDecisionPrice";  // 税抜受注決定金額
+            strcmd += " ,CompanyExpenses";      // 会社経費合計
+            strcmd += " ,DepartmentExpenses";   // 部署経費合計
+            strcmd += " ,SalesExpenses";        // 営業経費合計
+            strcmd += " ,TotalPayment";         // 総支払額
+            strcmd += " ,GrossProfit";          // 粗利
+            strcmd += " ,Allowance";            // 給与
+            strcmd += " ,NetProfit";            // 純利益
+            strcmd += " ,ComplateFlg";          // 入力完了フラグ
+            strcmd += " ,IntegrationFlg";       // 受注金額積算フラグ
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionLedger";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事詳細台帳データ複数検索
+        /// <summary>
+        /// 工事詳細台帳データ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionLedger> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLedger work = new ConstructionLedger();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ1件検索
+        /// <summary>
+        /// 工事詳細台帳データ1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionLedger data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ1件追加
+        /// <summary>
+        /// 工事詳細台帳データ1件追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionLedger work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionLedger";
+                strcmd += " (ConstructionCode";         // 工事番号
+                strcmd += " ,ConstructionPeriod";       // 事業期
+                strcmd += " ,CreatorCode";              // 作成者コード
+                strcmd += " ,CreatorName";              // 作成者名
+                strcmd += " ,CreateDate";               // 作成日
+                strcmd += " ,ConstructionTimes";        // 工期（単位・月）
+                strcmd += " ,ConstructionStart";        // 契約工期開始
+                strcmd += " ,ConstructionEnd";          // 契約工期完了
+                strcmd += " ,OrdersDecisionPrice";      // 税抜受注決定金額
+                strcmd += " ,CompanyExpenses";          // 会社経費合計
+                strcmd += " ,DepartmentExpenses";       // 部署経費合計
+                strcmd += " ,SalesExpenses";            // 営業経費合計
+                strcmd += " ,TotalPayment";             // 総支払額
+                strcmd += " ,GrossProfit";              // 粗利
+                strcmd += " ,Allowance";                // 給与
+                strcmd += " ,NetProfit";                // 純利益
+                strcmd += " ,ComplateFlg";              // 入力完了フラグ
+                strcmd += " ,IntegrationFlg";           // 受注金額積算フラグ
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);                // 工事番号
+
+                strcmd += string.Format(", {0}", work.ConstructionPeriod);              // 事業期
+                strcmd += string.Format(", {0}", work.CreatorCode);                     // 作成者コード
+                strcmd += string.Format(",'{0}'", work.CreatorName);                    // 作成者名
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                        work.CreateDate.ToShortDateString());           // 作成日
+                strcmd += string.Format(", {0}", work.ConstructionTimes);               // 工期（単位・月）
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                        work.ConstructionStart.ToShortDateString());    // 契約工期開始
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",
+                                        work.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                strcmd += string.Format(",{0}", work.OrdersDecisionPrice);              // 税抜受注決定金額
+                strcmd += string.Format(",{0}", work.CompanyExpenses);                  // 会社経費合計
+                strcmd += string.Format(",{0}", work.DepartmentExpenses);               // 部署経費合計
+                strcmd += string.Format(",{0}", work.SalesExpenses);                    // 営業経費合計
+                strcmd += string.Format(",{0}", work.TotalPayment);                     // 総支払額
+                strcmd += string.Format(",{0}", work.GrossProfit);                      // 粗利
+                strcmd += string.Format(",{0}", work.Allowance);                        // 給与
+                strcmd += string.Format(",{0}", work.NetProfit);                        // 純利益
+                strcmd += string.Format(",{0}", work.ComplateFlg);                      // 入力完了フラグ
+                strcmd += string.Format(",{0}", work.IntegrationFlg);                   // 受注金額積算フラグ
+
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ複数追加
+        /// <summary>
+        /// 工事詳細台帳データ複数追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionLedger> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionLedger work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ更新
+        /// <summary>
+        /// 工事詳細台帳データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionLedger data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionLedger";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", ConstructionPeriod = {0}", data.ConstructionPeriod);     // 事業期
+                strcmd += string.Format(", CreatorCode = {0}", data.CreatorCode);                   // 作成者コード
+                strcmd += string.Format(", CreatorName = '{0}'", data.CreatorName);                 // 作成者名
+                strcmd += string.Format(", CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        data.CreateDate.ToShortDateString());       // 作成日
+                strcmd += string.Format(", ConstructionTimes = {0}", data.ConstructionTimes);       // 工期（単位・月）
+                strcmd += string.Format(", ConstructionStart = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        data.ConstructionStart.ToShortDateString());// 契約工期開始
+                strcmd += string.Format(", ConstructionEnd = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                        data.ConstructionEnd.ToShortDateString());  // 契約工期完了
+
+                strcmd += string.Format(", OrdersDecisionPrice = {0}", data.OrdersDecisionPrice);   // 税抜受注決定金額
+                strcmd += string.Format(", CompanyExpenses = {0}", data.CompanyExpenses);           // 会社経費合計
+                strcmd += string.Format(", DepartmentExpenses = {0}", data.DepartmentExpenses);     // 部署経費合計
+                strcmd += string.Format(", SalesExpenses = {0}", data.SalesExpenses);               // 営業経費合計
+                strcmd += string.Format(", TotalPayment = {0}", data.TotalPayment);                 // 総支払額
+                strcmd += string.Format(", GrossProfit = {0}", data.GrossProfit);                   // 粗利
+                strcmd += string.Format(", Allowance = {0}", data.Allowance);                       // 給与
+                strcmd += string.Format(", NetProfit = {0}", data.NetProfit);                       // 純利益
+                strcmd += string.Format(", ComplateFlg = {0}", data.ComplateFlg);                   // 入力完了フラグ
+                strcmd += string.Format(", IntegrationFlg = {0}", data.IntegrationFlg);             // 受注金額積算フラグ
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ削除
+        /// <summary>
+        /// 工事詳細台帳データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionLedger", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目の更新を行う
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="GroupCount"></param>
+        /// <param name="LineCount"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedger";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:          // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriod:        // 事業期
+                        strcmd += string.Format(" ConstructionPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreatorCode:               // 作成者コード
+                        strcmd += string.Format(" CreatorCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreatorName:    	        // 作成者名
+                        strcmd += string.Format(" CreatorName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:	            // 作成日
+                        strcmd += string.Format(" CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionTimes:         // 工期（単位・月）
+                        strcmd += string.Format(" ConstructionTimes = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionStart:         // 契約工期開始
+                        strcmd += string.Format(" ConstructionStart = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionEnd:           // 契約工期完了
+                        strcmd += string.Format(" ConstructionEnd = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrdersDecisionPrice:       // 税抜受注決定金額
+                        strcmd += string.Format(" OrdersDecisionPrice = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyExpenses:           // 会社経費合計
+                        strcmd += string.Format(" CompanyExpenses = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DepartmentExpenses:        // 部署経費合計
+                        strcmd += string.Format(" DepartmentExpenses = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalesExpenses:             // 営業経費合計
+                        strcmd += string.Format(" SalesExpenses = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TotalPayment:              // 総支払額
+                        strcmd += string.Format(" TotalPayment = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GrossProfit:               // 粗利
+                        strcmd += string.Format(" GrossProfit = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.Allowance:                 // 給与
+                        strcmd += string.Format(" Allowance = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.NetProfit:                 // 純利益
+                        strcmd += string.Format(" NetProfit = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComplateFlg:               // 入力完了フラグ
+                        strcmd += string.Format(" ComplateFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.IntegrationFlg:            // 受注金額積算フラグ
+                        strcmd += string.Format(" IntegrationFlg = {0}", ((int)value).ToString());
+                        break;
+                    default:
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionLedger wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	        // 工事番号
+
+                wrk.ConstructionPeriod = int.Parse(objwrk[(int)TableColumn.ConstructionPeriod].ToString());        // 事業期
+                wrk.CreatorCode = int.Parse(objwrk[(int)TableColumn.CreatorCode].ToString());                      // 作成者コード
+                wrk.CreatorName = objwrk[(int)TableColumn.CreatorName].ToString();                                 // 作成者名
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());                   // 作成日
+                wrk.ConstructionTimes = double.Parse(objwrk[(int)TableColumn.ConstructionTimes].ToString());       // 工期（単位・月）
+                wrk.ConstructionStart = DateTime.Parse(objwrk[(int)TableColumn.ConstructionStart].ToString());     // 契約工期開始
+                wrk.ConstructionEnd = DateTime.Parse(objwrk[(int)TableColumn.ConstructionEnd].ToString());         // 契約工期完了
+
+                wrk.OrdersDecisionPrice = double.Parse(objwrk[(int)TableColumn.OrdersDecisionPrice].ToString());   // 税抜受注決定金額
+                wrk.CompanyExpenses = double.Parse(objwrk[(int)TableColumn.CompanyExpenses].ToString());           // 会社経費合計
+                wrk.DepartmentExpenses = double.Parse(objwrk[(int)TableColumn.DepartmentExpenses].ToString());     // 部署経費合計
+                wrk.SalesExpenses = double.Parse(objwrk[(int)TableColumn.SalesExpenses].ToString());               // 営業経費合計
+                wrk.TotalPayment = double.Parse(objwrk[(int)TableColumn.TotalPayment].ToString());                 // 総支払額
+                wrk.GrossProfit = double.Parse(objwrk[(int)TableColumn.GrossProfit].ToString());                   // 粗利
+                wrk.Allowance = double.Parse(objwrk[(int)TableColumn.Allowance].ToString());                       // 給与
+                wrk.NetProfit = double.Parse(objwrk[(int)TableColumn.NetProfit].ToString());                       // 純利益
+                wrk.ComplateFlg = int.Parse(objwrk[(int)TableColumn.ComplateFlg].ToString());                   // 入力完了フラグ
+                wrk.IntegrationFlg = int.Parse(objwrk[(int)TableColumn.IntegrationFlg].ToString());                // 受注金額積算フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerDetail.cs	(revision 84)
@@ -0,0 +1,668 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事詳細台帳データ明細ＤＢアクセス
+    /// </summary>
+    public class IOConstructionLedgerDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事詳細台帳データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+
+            GroupCount,             // グループ番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            ItemCode,		        // 工種キー
+            FirstString,            // 項目名称
+            SecondString,           // 工事内容
+            CompanyType,            // 協力会社コードタイプ
+            CompanyCode,            // 協力会社コード
+            CompanyName,            // 協力会社名称
+            EstimatePrice,          // 予算（見積）金額
+            ExecutionAmount,        // 実行金額
+            AmountConfigRate,       // 金額構成率
+            PaymentBurden,          // 支払補填額
+            FixDataFlg,             // 固定データフラグ
+            IndependentFlg,         // 独立データフラグ
+            FluctuationFlg,         // 増減データフラグ
+            SalaryFlg,              // 給与振分区分
+            SalaryDays,             // 給与振分日数
+            OperatingFlg,           // 担当中フラグ
+            SourceCode,             // 元工事番号
+            JoinTitleFlg,           // 工事名称タイトル
+            SalaryOnRegist,         // 登録時月額給与
+            PurchaseOrderFlg,       // 注文書発行フラグ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionLedgerDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ComponentCode";            // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", FirstString";              // 項目名称
+            strcmd += ", SecondString";             // 工事内容
+            strcmd += ", CompanyType";              // 協力会社コードタイプ
+            strcmd += ", CompanyCode";              // 協力会社コード
+            strcmd += ", CompanyName";              // 協力会社名称
+            strcmd += ", EstimatePrice";            // 予算（見積）金額
+            strcmd += ", ExecutionAmount";          // 実行金額
+            strcmd += ", AmountConfigRate";         // 金額構成率
+            strcmd += ", PaymentBurden";            // 支払補填額
+            strcmd += ", FixDataFlg";               // 固定データフラグ
+            strcmd += ", IndependentFlg";           // 独立データフラグ
+            strcmd += ", FluctuationFlg";           // 増減データフラグ
+            strcmd += ", SalaryFlg";                // 給与振分区分
+            strcmd += ", SalaryDays";               // 給与振分日数
+            strcmd += ", OperatingFlg";             // 担当中フラグ
+            strcmd += ", SourceCode";               // 元工事番号
+            strcmd += ", JoinTitleFlg";             // 工事名称タイトル
+            strcmd += ", SalaryOnRegist";           // 登録時月額給与
+            strcmd += ", PurchaseOrderFlg";         // 注文書発行フラグ
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionLedgerDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細検索
+        /// <summary>
+        /// 工事詳細台帳データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionLedgerDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLedgerDetail work = new ConstructionLedgerDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref ConstructionLedgerDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細追加
+        /// <summary>
+        /// 工事詳細台帳データ明細追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionLedgerDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionLedgerDetail";
+
+                strcmd += " (ConstructionCode";	        // 工事コード
+                strcmd += ", GroupCount";               // グループ番号
+                strcmd += ", LineCount";                // 行番号
+                strcmd += ", ComponentCode";            // 構成キー
+                strcmd += ", ItemCode";		            // 工種キー
+                strcmd += ", FirstString";              // 項目名称
+                strcmd += ", SecondString";             // 工事内容
+                strcmd += ", CompanyType";              // 協力会社コードタイプ
+                strcmd += ", CompanyCode";              // 協力会社コード
+                strcmd += ", CompanyName";              // 協力会社名称
+                strcmd += ", EstimatePrice";            // 予算（見積）金額
+                strcmd += ", ExecutionAmount";          // 実行金額
+                strcmd += ", AmountConfigRate";         // 金額構成率
+                strcmd += ", PaymentBurden";            // 支払補填額
+                strcmd += ", FixDataFlg";               // 固定データフラグ
+                strcmd += ", IndependentFlg";           // 独立データフラグ
+                strcmd += ", FluctuationFlg";           // 増減データフラグ
+                strcmd += ", SalaryFlg";                // 給与振分区分
+                strcmd += ", SalaryDays";               // 給与振分日数
+                strcmd += ", OperatingFlg";             // 担当中フラグ
+                strcmd += ", SourceCode";               // 元工事番号
+                strcmd += ", JoinTitleFlg";             // 工事名称タイトル
+                strcmd += ", SalaryOnRegist";           // 登録時月額給与
+                strcmd += ", PurchaseOrderFlg";         // 注文書発行フラグ
+
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		        // 工種キー
+                strcmd += string.Format(",'{0}'", work.FirstString);            // 項目名称
+                strcmd += string.Format(",'{0}'", work.SecondString);           // 工事内容
+                strcmd += string.Format(", {0}", work.CompanyType);             // 協力会社コードタイプ
+                strcmd += string.Format(", {0}", work.CompanyCode);             // 協力会社コード
+                strcmd += string.Format(",'{0}'", work.CompanyName);            // 協力会社名称
+                strcmd += string.Format(", {0}", work.EstimatePrice);           // 予算（見積）金額
+                strcmd += string.Format(", {0}", work.ExecutionAmount);         // 実行金額
+                strcmd += string.Format(", {0}", work.AmountConfigRate);        // 金額構成率
+                strcmd += string.Format(", {0}", work.PaymentBurden);           // 支払補填額
+                
+                strcmd += string.Format(", {0}", work.FixDataFlg);              // 固定データフラグ
+                strcmd += string.Format(", {0}", work.IndependentFlg);          // 独立データフラグ
+                strcmd += string.Format(", {0}", work.FluctuationFlg);          // 増減データフラグ
+
+                strcmd += string.Format(", {0}", work.SalaryFlg);               // 給与振分区分
+                strcmd += string.Format(", {0}", work.SalaryDays);              // 給与振分日数
+                strcmd += string.Format(", {0}", work.OperatingFlg);            // 担当中フラグ
+                strcmd += string.Format(", {0}", work.SourceCode);              // 元工事番号
+                strcmd += string.Format(", {0}", work.JoinTitleFlg);            // 工事名称タイトル
+                strcmd += string.Format(", {0}", work.SalaryOnRegist);          // 登録時月額給与
+                strcmd += string.Format(", {0}", work.PurchaseOrderFlg);        // 注文書発行フラグ
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細追加
+        /// <summary>
+        /// 工事詳細台帳データ明細追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionLedgerDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionLedgerDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細更新
+        /// <summary>
+        /// 工事詳細台帳データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionLedgerDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionLedgerDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);               // 構成キー
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode);		                    // 工種キー
+                strcmd += string.Format(", FirstString = '{0}'", data.FirstString);                 // 項目名称名称
+                strcmd += string.Format(", SecondString = '{0}'", data.SecondString);               // 工事内容
+                strcmd += string.Format(", CompanyType = {0}", data.CompanyType);                   // 協力会社コードタイプ
+                strcmd += string.Format(", CompanyCode = {0}", data.CompanyCode);                   // 協力会社コード
+                strcmd += string.Format(", CompanyName = '{0}'", data.CompanyName);                 // 協力会社名称
+                strcmd += string.Format(", EstimatePrice = {0}", data.EstimatePrice);               // 予算（見積）金額
+                strcmd += string.Format(", ExecutionAmount = {0}", data.ExecutionAmount);           // 実行金額
+                strcmd += string.Format(", AmountConfigRate = {0}", data.AmountConfigRate);         // 金額構成率
+                strcmd += string.Format(", PaymentBurden = {0}", data.PaymentBurden);               // 支払補填額
+
+                strcmd += string.Format(", FixDataFlg = {0}", data.FixDataFlg);                     // 固定データフラグ
+                strcmd += string.Format(", IndependentFlg = {0}", data.IndependentFlg);             // 独立データフラグ
+                strcmd += string.Format(", FluctuationFlg = {0}", data.FluctuationFlg);             // 増減データフラグ
+
+                strcmd += string.Format(", SalaryFlg = {0}", data.SalaryFlg);                       // 給与振分区分
+                strcmd += string.Format(", SalaryDays = {0}", data.SalaryDays);                     // 給与振分日数
+                strcmd += string.Format(", OperatingFlg = {0}", data.OperatingFlg);                 // 担当中フラグ
+                strcmd += string.Format(", SourceCode = {0}", data.SourceCode);                     // 元工事番号
+                strcmd += string.Format(", JoinTitleFlg = {0}", data.JoinTitleFlg);                 // 工事名称タイトルフラグ
+                strcmd += string.Format(", SalaryOnRegist = {0}", data.SalaryOnRegist);             // 登録時月額給与
+                strcmd += string.Format(", PurchaseOrderFlg = {0}", data.PurchaseOrderFlg);         // 注文書発行フラグ
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細削除
+        /// <summary>
+        /// 工事詳細台帳データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionLedgerDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionLedgerDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());          // 工事番号
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	            // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		                    // 工種キー
+                wrk.FirstString = objwrk[(int)TableColumn.FirstString].ToString();	                            // 項目名称
+                wrk.SecondString = objwrk[(int)TableColumn.SecondString].ToString();	                            // 工事内容
+                wrk.CompanyType = int.Parse(objwrk[(int)TableColumn.CompanyType].ToString());	                // 協力会社コードタイプ
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());	                // 協力会社コード
+                wrk.CompanyName = objwrk[(int)TableColumn.CompanyName].ToString();                               // 協力会社名称
+                wrk.EstimatePrice = double.Parse(objwrk[(int)TableColumn.EstimatePrice].ToString());	            // 予算（見積）金額
+                wrk.ExecutionAmount = double.Parse(objwrk[(int)TableColumn.ExecutionAmount].ToString());	        // 実行金額
+                wrk.AmountConfigRate = double.Parse(objwrk[(int)TableColumn.AmountConfigRate].ToString());	    // 金額構成率
+                wrk.PaymentBurden = double.Parse(objwrk[(int)TableColumn.PaymentBurden].ToString());             // 支払補填額
+                
+                wrk.FixDataFlg = int.Parse(objwrk[(int)TableColumn.FixDataFlg].ToString());                      // 固定データフラグ
+                wrk.IndependentFlg = int.Parse(objwrk[(int)TableColumn.IndependentFlg].ToString());              // 独立データフラグ
+                wrk.FluctuationFlg = int.Parse(objwrk[(int)TableColumn.FluctuationFlg].ToString());              // 増減データフラグ
+
+                wrk.SalaryFlg = int.Parse(objwrk[(int)TableColumn.SalaryFlg].ToString());                        // 給与振分区分
+                wrk.SalaryDays = int.Parse(objwrk[(int)TableColumn.SalaryDays].ToString());                      // 給与振分日数
+                wrk.OperatingFlg = int.Parse(objwrk[(int)TableColumn.OperatingFlg].ToString());                  // 担当中フラグ
+                wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());                      // 元工事番号
+                wrk.JoinTitleFlg = int.Parse(objwrk[(int)TableColumn.JoinTitleFlg].ToString());                  // 工事名称タイトルフラグ
+                wrk.SalaryOnRegist = double.Parse(objwrk[(int)TableColumn.SalaryOnRegist].ToString());           // 登録時月額給与
+                wrk.PurchaseOrderFlg = int.Parse(objwrk[(int)TableColumn.PurchaseOrderFlg].ToString());          // 注文書発行フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1項目の更新を行う（キー指定）
+        /// <summary>
+        /// 1項目の更新を行う（キー指定）
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, int GroupCount = 0, int LineCount = 0, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerDetail";
+
+                strcmd += " SET";
+
+                UpdateFeildSQL(FeildNo, value, ref strcmd);
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, GroupCount, LineCount);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目の更新を行う
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(string strWhere, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerDetail";
+
+                strcmd += " SET";
+                
+                UpdateFeildSQL(FeildNo, value, ref strcmd);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += strWhere;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新SQL作成処理
+        /// <summary>
+        /// 1項目更新SQL作成処理
+        /// </summary>
+        public void UpdateFeildSQL(int FeildNo, object value, ref string strcmd)
+        {
+            try
+            {
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	    // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GroupCount:            // グループ番号
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:             // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:         // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FirstString:           // 項目名称
+                        strcmd += string.Format(" FirstString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SecondString:          // 工事内容
+                        strcmd += string.Format(" SecondString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CompanyType:           // 協力会社コードタイプ
+                        strcmd += string.Format(" CompanyType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:           // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyName:           // 協力会社名称
+                        strcmd += string.Format(" CompanyName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.EstimatePrice:         // 予算（見積）金額
+                        strcmd += string.Format(" EstimatePrice = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ExecutionAmount:       // 実行金額
+                        strcmd += string.Format(" ExecutionAmount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.AmountConfigRate:      // 金額構成率
+                        strcmd += string.Format(" AmountConfigRate = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.PaymentBurden:         // 支払補填額
+                        strcmd += string.Format(" PaymentBurden = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FixDataFlg:            // 固定データフラグ
+                        strcmd += string.Format(" FixDataFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.IndependentFlg:        // 独立データフラグ
+                        strcmd += string.Format(" IndependentFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FluctuationFlg:        // 増減データフラグ
+                        strcmd += string.Format(" FluctuationFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryFlg:             // 給与振分区分
+                        strcmd += string.Format(" SalaryFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryDays:            // 給与振分日数
+                        strcmd += string.Format(" SalaryDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OperatingFlg:          // 担当中フラグ
+                        strcmd += string.Format(" OperatingFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCode:            // 元工事番号
+                        strcmd += string.Format(" SourceCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.JoinTitleFlg:          // 工事名称タイトルフラグ
+                        strcmd += string.Format(" JoinTitleFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryOnRegist:        // 登録時月額給与
+                        strcmd += string.Format(" SalaryOnRegist = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.PurchaseOrderFlg:      // 注文書発行フラグ
+                        strcmd += string.Format(" PurchaseOrderFlg = {0}", ((int)value).ToString());
+                        break;
+
+                    default:
+                        break;
+                }
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+        }
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="OutsourcingFlg"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int GroupCount = 0, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (GroupCount != 0)
+                    strWork += string.Format(" And GroupCount = {0}", GroupCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 行番号の最大値を取得
+        /// <summary>
+        /// 行番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxLineCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(LineCount), 0) FROM ConstructionLedgerDetail" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerExcute.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerExcute.cs	(revision 84)
@@ -0,0 +1,506 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事詳細台帳実行データＤＢアクセス
+    /// </summary>
+    public class IOConstructionLedgerExcute : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事詳細台帳実行データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode = 0,
+            /// <summary>
+            /// グループ番号
+            /// </summary>
+            GroupCount,
+            /// <summary>
+            /// 行番号
+            /// </summary>
+            LineCount,
+            /// <summary>
+            /// 列番号
+            /// </summary>
+            ColumnCount,
+            /// <summary>
+            /// 支払金額
+            /// </summary>
+            PaymentAmount,
+            /// <summary>
+            /// 対象年月
+            /// </summary>
+            TargetMonth,
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionLedgerExcute()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ColumnCount";              // 列番号
+
+            strcmd += ", PaymentAmount";            // 支払金額
+            strcmd += ", DATE_FORMAT(TargetMonth, '%Y/%m/%d')";    // 対象年月
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionLedgerExcute";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ検索
+        /// <summary>
+        /// 工事詳細台帳実行データ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionLedgerExcute> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLedgerExcute work = new ConstructionLedgerExcute();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ検索
+        /// <summary>
+        /// 工事詳細台帳実行データ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionLedgerExcute data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ追加
+        /// <summary>
+        /// 工事詳細台帳実行データ追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionLedgerExcute work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionLedgerExcute";
+                strcmd += "(ConstructionCode";	        // 工事コード
+                strcmd += ", GroupCount";               // グループ番号
+                strcmd += ", LineCount";                // 行番号
+                strcmd += ", ColumnCount";              // 列番号
+                strcmd += ", PaymentAmount";            // 支払金額
+                strcmd += ", TargetMonth";              // 対象年月
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ColumnCount);             // 列番号
+
+                strcmd += string.Format(", {0}", work.PaymentAmount);           // 支払金額
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')",work.TargetMonth.ToShortDateString());  // 対象年月
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ追加
+        /// <summary>
+        /// 工事詳細台帳実行データ追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionLedgerExcute> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionLedgerExcute work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ更新
+        /// <summary>
+        /// 工事詳細台帳実行データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionLedgerExcute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerExcute";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ColumnCount = {0}", data.ColumnCount);                   // 列番号
+                strcmd += string.Format(", PaymentAmount = {0}", data.PaymentAmount);               // 支払金額
+                strcmd += string.Format(", TargetMonth = STR_TO_DATE('{0}','%Y/%m/%d')", data.TargetMonth.ToShortDateString());   // 対象年月
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ削除
+        /// <summary>
+        /// 工事詳細台帳実行データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionLedgerExcute", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerExcute";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    // 工事番号
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    // グループ番号
+                    case (int)TableColumn.GroupCount:
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    // 行番号
+                    case (int)TableColumn.LineCount:
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    // 列番号
+                    case (int)TableColumn.ColumnCount:
+                        strcmd += string.Format(" ColumnCount = {0}", ((int)value).ToString());
+                        break;
+                    // 支払金額
+                    case (int)TableColumn.PaymentAmount:
+                        strcmd += string.Format(" PaymentAmount = {0}", ((double)value).ToString());
+                        break;
+                    // 対象年月
+                    case (int)TableColumn.TargetMonth:
+                        strcmd += string.Format(" TargetMonth = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionLedgerExcute wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());          // 工事番号
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+                wrk.ColumnCount = int.Parse(objwrk[(int)TableColumn.ColumnCount].ToString());                    // 列番号
+                wrk.PaymentAmount = double.Parse(objwrk[(int)TableColumn.PaymentAmount].ToString());             // 支払金額
+                wrk.TargetMonth = DateTime.Parse(objwrk[(int)TableColumn.TargetMonth].ToString());               // 対象年月
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="GroupCount"></param>
+        /// <param name="LineCount"></param>
+        /// <param name="ColumnCount"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int GroupCount, int LineCount, int ColumnCount
+                                    , int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerExcute";
+
+                strcmd += " SET";
+
+                switch (FeildNo)
+                {
+                    // 工事番号
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", (int)value);
+                        break;
+                    // グループ番号
+                    case (int)TableColumn.GroupCount:
+                        strcmd += string.Format(" GroupCount = {0}", (int)value);
+                        break;
+                    // 行番号
+                    case (int)TableColumn.LineCount:
+                        strcmd += string.Format(" LineCount = {0}", (int)value);
+                        break;
+                    // 列番号
+                    case (int)TableColumn.ColumnCount:
+                        strcmd += string.Format(" ColumnCount = {0}", (int)value);
+                        break;
+                    // 支払金額
+                    case (int)TableColumn.PaymentAmount:
+                        strcmd += string.Format(" PaymentAmount = {0}", (int)value);
+                        break;
+                    // 対象年月
+                    case (int)TableColumn.TargetMonth:
+                        strcmd += string.Format(" TargetMonth = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    default:
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, GroupCount, LineCount, ColumnCount);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="OutsourcingFlg"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int GroupCount = 0, int LineCount = 0, int ColumnCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (GroupCount != 0)
+                    strWork += string.Format(" And GroupCount = {0}", GroupCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+                if (ColumnCount != 0)
+                    strWork += string.Format(" And ColumnCount = {0}", ColumnCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLink.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLink.cs	(revision 84)
@@ -0,0 +1,421 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事増減情報ＤＢアクセス
+    /// </summary>
+    public class IOConstructionLink : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事増減情報フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,
+            FluctuationCode,
+            LinkType,
+            EntryDate,
+            UpdateDate,
+        }
+
+        #endregion
+
+        #region プロパティ
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionLink()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ConstructionCode, FluctuationCode, LinkType";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionLink";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 読込み処理（1件読込み）
+        /// <summary>
+        /// 工事増減情報検索（1件読込み）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionLink data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLink work = new ConstructionLink();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込み処理（複数件読込み）
+        /// <summary>
+        /// 工事増減情報検索（複数件読込み）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionLink> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLink work = new ConstructionLink();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加処理（1件追加）
+        /// <summary>
+        /// 工事増減情報追加（1件追加）
+        /// </summary>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionLink data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionLink";
+                strcmd += " (ConstructionCode,";
+                strcmd += " FluctuationCode,";
+                strcmd += " LinkType,";
+                strcmd += " EntryDate,";
+                strcmd += " UpdateDate)";
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.ConstructionCode);
+                strcmd += string.Format(", {0}", data.FluctuationCode);
+                strcmd += string.Format(", {0}", data.LinkType);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加処理（複数件追加）
+        /// <summary>
+        /// 工事増減情報追加（複数件追加）
+        /// </summary>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        /// <summary>
+        /// 工事増減情報追加
+        /// </summary>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionLink> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionLink work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事増減情報更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionLink data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionLink";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ConstructionCode = {0}", data.ConstructionCode);
+                strcmd += string.Format(", DetailNo = {0}", data.FluctuationCode);
+                strcmd += string.Format(", LinkType = {0}", data.LinkType);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 工事増減情報削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionLink", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionLink wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());
+                wrk.FluctuationCode = int.Parse(objwrk[(int)TableColumn.FluctuationCode].ToString());
+                wrk.LinkType = int.Parse(objwrk[(int)TableColumn.LinkType].ToString());
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region 1項目更新処理（親コードでの更新）
+        /// <summary>
+        /// 1項目の更新を行う（親コードでの更新）
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLink";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FluctuationCode:
+                        strcmd += string.Format(" FluctuationCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理（子コードでの更新）
+        /// <summary>
+        /// 1項目の更新を行う（子コードでの更新）
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild2(int FluctuationCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLink";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FluctuationCode:
+                        strcmd += string.Format(" FluctuationCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += string.Format(" WHERE FluctuationCode = {0}", FluctuationCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 検索の文字列を返す
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="DetailNo"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int FluctuationCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (FluctuationCode != 0)
+                    strWork += string.Format(" And FluctuationCode = {0}", FluctuationCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionMaterialInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionMaterialInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionMaterialInfo.cs	(revision 84)
@@ -0,0 +1,357 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事資材情報アクセスクラス
+    /// </summary>
+    public class IOConstructionMaterialInfo : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ConstructionCode=0,
+            MaterialItemCode,
+            RentCount,
+            RepayCount,
+            CompleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionMaterialInfo()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionMaterialInfo> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " ConstructionCode,MaterialItemCode,RentCount,RepayCount,CompleteFlg";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM ConstructionMaterialInfo";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionMaterialInfo work = new ConstructionMaterialInfo();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 追加
+        /// </summary>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionMaterialInfo> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionMaterialInfo work in data)
+                {
+                    strcmd = "INSERT INTO ConstructionMaterialInfo";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.ConstructionCode .ToString());
+                    strcmd += string.Format(", {0}", work.MaterialItemCode .ToString());
+                    strcmd += string.Format(", {0}", work.RentCount .ToString());
+                    strcmd += string.Format(", {0}", work.RepayCount .ToString());
+                    strcmd += string.Format(", {0}", work.CompleteFlg.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionMaterialInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionMaterialInfo";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" RentCount = {0}", data.RentCount.ToString());
+                strcmd += string.Format(",RepayCount = {0}", data.RepayCount.ToString());
+                strcmd += string.Format(",CompleteFlg = {0}", data.CompleteFlg.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionMaterialInfo", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionMaterialInfo wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode   = int.Parse(objwrk[(int)NameColumn.ConstructionCode ].ToString());
+                wrk.MaterialItemCode  = int.Parse(objwrk[(int)NameColumn.MaterialItemCode ].ToString());
+                wrk.RentCount  = int.Parse(objwrk[(int)NameColumn.RentCount ].ToString());
+                wrk.RepayCount  = int.Parse(objwrk[(int)NameColumn.RepayCount ].ToString());
+                wrk.CompleteFlg  = int.Parse(objwrk[(int)NameColumn.CompleteFlg ].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate ].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate ].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode,int MaterialItemCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0} and MaterialItemCode = {1}", ConstructionCode, MaterialItemCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(ConstructionCode), 0) FROM ConstructionMaterialInfo" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 指定資材の件数を取得する
+        /// </summary>
+        /// <param name="MaterialKindCode">資材種類コード</param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaterialItemCount(int MaterialItemCode, bool bConnect = true)
+        {
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT COUNT(*) FROM ConstructionMaterialInfo where CompleteFlg = 0 and MaterialItemCode = " + MaterialItemCode;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                iRet = int.Parse((((object[])arData[0])[0]).ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        /// <param name="MaterialItemCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLock(int ConstructionCode,int MaterialItemCode, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            
+            try
+            {
+                strcmd = string.Format("select * from ConstructionMaterialInfo  where ConstructionCode = {0} and MaterialItemCode = {1} for update;",
+                                        ConstructionCode,MaterialItemCode);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+#endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionProgressDate.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionProgressDate.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionProgressDate.cs	(revision 84)
@@ -0,0 +1,346 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 案件進捗日付データアクセスクラス
+    /// </summary>
+    public class IOConstructionProgressDate : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 案件進捗日付データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            ConstructionCode,
+            ConstructionStatusFlg,
+            PreviousStatusFlg,
+            ChangeDate,
+            ChangePersonCode,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionProgressDate()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " ConstructionCode";
+            strcmd += ",ConstructionStatusFlg";
+            strcmd += ",PreviousStatusFlg";
+            strcmd += ",DATE_FORMAT(ChangeDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",ChangePersonCode";
+
+            strcmd += ",DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionProgressDate";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 読込み処理
+        /// <summary>
+        /// 案件進捗日付データ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">案件進捗日付データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionProgressDate> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionProgressDate work = new ConstructionProgressDate();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 複数追加処理
+        /// <summary>
+        /// 案件進捗日付データ追加
+        /// </summary>
+        /// <param name="data">案件進捗日付データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionProgressDate> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionProgressDate work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        public bool InsertAction(ConstructionProgressDate data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ConstructionProgressDate";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode.ToString());
+                    strcmd += string.Format(", {0}", data.ConstructionStatusFlg.ToString());
+                    strcmd += string.Format(", {0}", data.PreviousStatusFlg.ToString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.ChangeDate.ToString());
+                    strcmd += string.Format(", {0}", data.ChangePersonCode.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 案件進捗日付データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">案件進捗日付データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionProgressDate data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionProgressDate";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",ConstructionStatusFlg = {0}", data.ConstructionStatusFlg.ToString());
+                strcmd += string.Format(",PreviousStatusFlg = {0}", data.PreviousStatusFlg.ToString());
+                strcmd += string.Format(",ChangeDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.ChangeDate.ToString());
+                strcmd += string.Format(",ChangePersonCode = {0}", data.ChangePersonCode.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 案件進捗日付データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">案件進捗日付データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionProgressDate", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionProgressDate";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ConstructionStatusFlg:
+                        strcmd += string.Format(" ConstructionStatusFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PreviousStatusFlg:
+                        strcmd += string.Format(" PreviousStatusFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ChangeDate:
+                        strcmd += string.Format(" ChangeDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ChangePersonCode:
+                        strcmd += string.Format(" ChangePersonCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionProgressDate wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)ColumnName.ConstructionCode].ToString());
+                wrk.ConstructionStatusFlg = int.Parse(objwrk[(int)ColumnName.ConstructionStatusFlg].ToString());
+                wrk.PreviousStatusFlg = int.Parse(objwrk[(int)ColumnName.PreviousStatusFlg].ToString());
+                wrk.ChangeDate = DateTime.Parse(objwrk[(int)ColumnName.ChangeDate].ToString());
+                wrk.ChangePersonCode = int.Parse(objwrk[(int)ColumnName.ChangePersonCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ConstructionStatusFlg = -1)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode.ToString());
+                if (ConstructionStatusFlg != -1)
+                    strWork += string.Format(" And ConstructionStatusFlg = {0}", ConstructionStatusFlg.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostDataOfPerson.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostDataOfPerson.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostDataOfPerson.cs	(revision 84)
@@ -0,0 +1,443 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 担当者毎経費データＤＢアクセス
+    /// </summary>
+    public class IOCostDataOfPerson : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者毎経費データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,     // 担当者コード
+            ActionDate,         // 対象日付
+            DataType,	        // データ区分
+            DataAddCount,       // データ追加番号
+            TargetMonth,        // 対象年月
+            ConstructionCode,   // 工事番号
+            SuppliersCode,      // 支払先コード
+            SuppliersName,      // 支払先名称
+            PaymentContent,     // 支払内容
+            PaymentType,        // 支払方法フラグ
+            EntryPrice,	        // 金額（税抜）
+            EntryPriceInTax,    // 金額（税込）
+            SlipNumber,         // 伝票番号
+
+            ComplateFlg,        // 引込済みフラグ
+            ApprovalFlg,        // 承認フラグ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOCostDataOfPerson()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                           // 担当者コード
+            strcmd += " ,DATE_FORMAT(ActionDate, '%Y/%m/%d')";    // 対象日付
+            strcmd += " ,DataType";                             // データ区分
+            strcmd += " ,DataAddCount";                         // データ追加番号
+            strcmd += " ,TargetMonth";                          // 対象年月
+            strcmd += " ,ConstructionCode";                     // 工事番号
+            strcmd += " ,SuppliersCode";                        // 支払先コード
+            strcmd += " ,SuppliersName";                        // 支払先名称
+            strcmd += " ,PaymentContent";                       // 支払内容
+            strcmd += " ,PaymentType";                          // 支払方法フラグ
+            strcmd += " ,EntryPrice";	                        // 金額（税抜）
+            strcmd += " ,EntryPriceInTax";                      // 金額（税込）
+            strcmd += " ,SlipNumber";                           // 伝票番号
+
+            strcmd += " ,ComplateFlg";                          // 引込済みフラグ
+            strcmd += " ,ApprovalFlg";                          // 承認フラグ
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM CostDataOfPerson";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<CostDataOfPerson> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CostDataOfPerson work = new CostDataOfPerson();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref CostDataOfPerson data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(CostDataOfPerson work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO CostDataOfPerson";
+                strcmd += "  (PersonCode";                          // 担当者コード
+                strcmd += " ,ActionDate";                           // 対象日付
+                strcmd += " ,DataType";                             // データ区分
+                strcmd += " ,DataAddCount";                         // データ追加番号
+                strcmd += " ,TargetMonth";                          // 対象年月
+                strcmd += " ,ConstructionCode";                     // 工事番号
+                strcmd += " ,SuppliersCode";                        // 支払先コード
+                strcmd += " ,SuppliersName";                        // 支払先名称
+                strcmd += " ,PaymentContent";                       // 支払内容
+                strcmd += " ,PaymentType";                          // 支払方法フラグ
+                strcmd += " ,EntryPrice";	                        // 金額（税抜）
+                strcmd += " ,EntryPriceInTax";                      // 金額（税込）
+                strcmd += " ,SlipNumber";                           // 伝票番号
+                strcmd += " ,ComplateFlg";                          // 引込済みフラグ
+                strcmd += " ,ApprovalFlg";                          // 承認フラグ
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.ActionDate.ToShortDateString());     // 対象日付
+                strcmd += string.Format(", {0}", work.DataType);                        // データ区分
+                strcmd += string.Format(", {0}", work.DataAddCount);                    // データ追加番号
+                strcmd += string.Format(",'{0}'", work.TargetMonth);                    // 対象年月
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SuppliersCode);                   // 支払先コード
+                strcmd += string.Format(",'{0}'", work.SuppliersName);                  // 支払先名称
+                strcmd += string.Format(",'{0}'", work.PaymentContent);                 // 支払内容
+                strcmd += string.Format(", {0}", work.PaymentType);                     // 支払方法フラグ
+                strcmd += string.Format(", {0}", work.EntryPrice);	                    // 金額（税抜）
+                strcmd += string.Format(", {0}", work.EntryPriceInTax);	                // 金額（税込）
+                strcmd += string.Format(",'{0}'", work.SlipNumber);                     // 伝票番号
+
+                strcmd += string.Format(", {0}", work.ComplateFlg);                     // 引込済みフラグ
+                strcmd += string.Format(", {0}", work.ApprovalFlg);                     // 承認フラグ
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<CostDataOfPerson> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CostDataOfPerson work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CostDataOfPerson data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CostDataOfPerson";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",ActionDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.ActionDate.ToShortDateString());                  // 対象日付
+                strcmd += string.Format(",DataType = {0}", data.DataType);                      // データ区分
+                strcmd += string.Format(",DataAddCount = {0}", data.DataAddCount);              // データ追加番号
+                strcmd += string.Format(",TargetMonth = '{0}'", data.TargetMonth);              // 対象年月
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SuppliersCode = {0}", data.SuppliersCode);            // 支払先コード
+                strcmd += string.Format(",SuppliersName = '{0}'", data.SuppliersName);          // 支払先名称
+                strcmd += string.Format(",PaymentContent = '{0}'", data.PaymentContent);        // 支払内容
+                strcmd += string.Format(",PaymentType = {0}", data.PaymentType);                // 支払方法フラグ
+                strcmd += string.Format(",EntryPrice = {0}", data.EntryPrice);                  // 金額（税抜）
+                strcmd += string.Format(",EntryPriceInTax = {0}", data.EntryPriceInTax);        // 金額（税込）
+                strcmd += string.Format(",SlipNumber = '{0}'", data.SlipNumber);                // 伝票番号
+                strcmd += string.Format(",ComplateFlg = {0}", data.ComplateFlg);                // 引込済みフラグ
+                strcmd += string.Format(",ApprovalFlg = {0}", data.ApprovalFlg);                // 承認フラグ
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CostDataOfPerson", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CostDataOfPerson wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.ActionDate = DateTime.Parse(objwrk[(int)TableColumn.ActionDate].ToString());             // 対象日付
+                wrk.DataType = int.Parse(objwrk[(int)TableColumn.DataType].ToString());                      // データ区分
+                wrk.DataAddCount = int.Parse(objwrk[(int)TableColumn.DataAddCount].ToString());              // データ追加番号
+                wrk.TargetMonth = objwrk[(int)TableColumn.TargetMonth].ToString();                           // 対象年月
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.SuppliersCode = int.Parse(objwrk[(int)TableColumn.SuppliersCode].ToString());            // 支払先コード
+                wrk.SuppliersName = objwrk[(int)TableColumn.SuppliersName].ToString();                       // 支払先名称
+                wrk.PaymentContent = objwrk[(int)TableColumn.PaymentContent].ToString();                     // 支払内容
+                wrk.PaymentType = int.Parse(objwrk[(int)TableColumn.PaymentType].ToString());                // 支払方法フラグ
+                wrk.EntryPrice = double.Parse(objwrk[(int)TableColumn.EntryPrice].ToString());               // 金額（税抜）
+                wrk.EntryPriceInTax = double.Parse(objwrk[(int)TableColumn.EntryPriceInTax].ToString());     // 金額（税込）
+                wrk.SlipNumber = objwrk[(int)TableColumn.SlipNumber].ToString();                             // 伝票番号
+                wrk.ComplateFlg = int.Parse(objwrk[(int)TableColumn.ComplateFlg].ToString());                // 引込済みフラグ
+                wrk.ApprovalFlg = int.Parse(objwrk[(int)TableColumn.ApprovalFlg].ToString());                // 承認フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime ActionDate, int DataType = 0, int DataAddCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (ActionDate != DateTime.MinValue)
+                    strWork += string.Format(" AND ActionDate = STR_TO_DATE('{0}','%Y/%m/%d')", ActionDate.ToShortDateString());
+                if (DataType != 0)
+                    strWork += string.Format(" AND DataType = {0}", DataType);
+                if (DataAddCount != 0)
+                    strWork += string.Format(" AND DataAddCount = {0}", DataAddCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DataAddCount), 0) FROM CostDataOfPerson" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostomerRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostomerRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostomerRegist.cs	(revision 84)
@@ -0,0 +1,599 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 発注者登録申請データＤＢアクセス
+    /// </summary>
+    public class IOCostomerRegist : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 発注者登録申請データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,
+            CreateDate,
+            SeqNo,
+            DataMode,
+            SourceCotegory,
+            SourceCode,
+            PetitionPeriod,
+            OrderFlg,
+            CorporateStatusName,
+            CorporateStatusPoint,
+            OrderersName1,
+            OrderersName2,
+            DepartmentName,
+            ChargePersonName,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            PhoneNumber,
+            FaxNumber,
+            MailAddress,
+            Note,
+            OrderCotegory,
+            OrderDate,
+            OrderNo,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOCostomerRegist()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 発注者登録申請データ検索SQL作成
+        /// <summary>
+        /// 発注者登録申請データ検索作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">発注者登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += " ,DATE_FORMAT(CreateDate, '%Y/%m/%d')";
+            strcmd += " ,SeqNo";
+
+            strcmd += " ,DataMode";
+            strcmd += " ,SourceCotegory";
+            strcmd += " ,SourceCode";
+            strcmd += " ,PetitionPeriod";
+            strcmd += " ,OrderFlg";
+            strcmd += " ,CorporateStatusName";
+            strcmd += " ,CorporateStatusPoint";
+            strcmd += " ,OrderersName1";
+            strcmd += " ,OrderersName2";
+            strcmd += " ,DepartmentName";
+            strcmd += " ,ChargePersonName";
+            strcmd += " ,ZipCode";
+            strcmd += " ,Address1";
+            strcmd += " ,Address2";
+            strcmd += " ,Address3";
+            strcmd += " ,PhoneNumber";
+            strcmd += " ,FaxNumber";
+            strcmd += " ,MailAddress";
+            strcmd += " ,Note";
+            strcmd += " ,OrderCotegory";
+            strcmd += " ,DATE_FORMAT(OrderDate, '%Y/%m/%d')";
+            strcmd += " ,OrderNo";
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM CostomerRegist";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 発注者登録申請データ検索（複数）
+        /// <summary>
+        /// 発注者登録申請データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<CostomerRegist> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CostomerRegist work = new CostomerRegist();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ検索（1件）
+        /// <summary>
+        /// 発注者登録申請データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref CostomerRegist data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ追加（1件）
+        /// <summary>
+        /// 発注者登録申請データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(CostomerRegist work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO CostomerRegist";
+                strcmd += " (";
+
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.CreateDate.ToShortDateString());
+                strcmd += string.Format(", {0}", work.SeqNo);
+                strcmd += string.Format(", {0}", work.DataMode);
+                strcmd += string.Format(", {0}", work.SourceCotegory);
+                strcmd += string.Format(", {0}", work.SourceCode);
+                strcmd += string.Format(", {0}", work.PetitionPeriod);
+                strcmd += string.Format(", {0}", work.OrderFlg);
+                strcmd += string.Format(", '{0}'", work.CorporateStatusName);
+                strcmd += string.Format(", {0}", work.CorporateStatusPoint);
+                strcmd += string.Format(", '{0}'", work.OrderersName1);
+                strcmd += string.Format(", '{0}'", work.OrderersName2);
+                strcmd += string.Format(", '{0}'", work.DepartmentName);
+                strcmd += string.Format(", '{0}'", work.ChargePersonName);
+                strcmd += string.Format(", '{0}'", work.ZipCode);
+                strcmd += string.Format(", '{0}'", work.Address1);
+                strcmd += string.Format(", '{0}'", work.Address2);
+                strcmd += string.Format(", '{0}'", work.Address3);
+                strcmd += string.Format(", '{0}'", work.PhoneNumber);
+                strcmd += string.Format(", '{0}'", work.FaxNumber);
+                strcmd += string.Format(", '{0}'", work.MailAddress);
+                strcmd += string.Format(", '{0}'", work.Note);
+                strcmd += string.Format(", {0}", work.OrderCotegory);
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.OrderDate.ToShortDateString());
+                strcmd += string.Format(", {0}", work.OrderNo);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ追加（複数）
+        /// <summary>
+        /// 発注者登録申請データ追加（複数）
+        /// </summary>
+        /// <param name="data">発注者登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CostomerRegist> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (CostomerRegist work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ更新
+        /// <summary>
+        /// 発注者登録申請データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">発注者登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CostomerRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CostomerRegist";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(", CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(", DataMode = {0}", data.DataMode);
+                strcmd += string.Format(", SourceCotegory = {0}", data.SourceCotegory);
+                strcmd += string.Format(", SourceCode = {0}", data.SourceCode);
+                strcmd += string.Format(", PetitionPeriod = {0}", data.PetitionPeriod);
+                strcmd += string.Format(", OrderFlg = {0}", data.OrderFlg);
+                strcmd += string.Format(", CorporateStatusName = '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", CorporateStatusPoint = {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", OrderersName1 = '{0}'", data.OrderersName1);
+                strcmd += string.Format(", OrderersName2 = '{0}'", data.OrderersName2);
+                strcmd += string.Format(", DepartmentName = '{0}'", data.DepartmentName);
+                strcmd += string.Format(", ChargePersonName = '{0}'", data.ChargePersonName);
+                strcmd += string.Format(", ZipCode = '{0}'", data.ZipCode);
+                strcmd += string.Format(", Address1 = '{0}'", data.Address1);
+                strcmd += string.Format(", Address2 = '{0}'", data.Address2);
+                strcmd += string.Format(", Address3 = '{0}'", data.Address3);
+                strcmd += string.Format(", PhoneNumber = '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", FaxNumber = '{0}'", data.FaxNumber);
+                strcmd += string.Format(", MailAddress = '{0}'", data.MailAddress);
+                strcmd += string.Format(", Note = '{0}'", data.Note);
+                strcmd += string.Format(", OrderCotegory = {0}", data.OrderCotegory);
+                strcmd += string.Format(", OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", OrderNo = {0}", data.OrderNo);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ削除
+        /// <summary>
+        /// 発注者登録申請データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">発注者登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CostomerRegist", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目の更新を行う
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime CreateDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE CostomerRegist";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:
+                        strcmd += string.Format(" CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DataMode:
+                        strcmd += string.Format(" DataMode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCotegory:
+                        strcmd += string.Format(" SourceCotegory = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCode:
+                        strcmd += string.Format(" SourceCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PetitionPeriod:
+                        strcmd += string.Format(" PetitionPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderFlg:
+                        strcmd += string.Format(" OrderFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusName:
+                        strcmd += string.Format(" CorporateStatusName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusPoint:
+                        strcmd += string.Format(" CorporateStatusPoint = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.OrderersName1:
+                        strcmd += string.Format(" OrderersName1 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.OrderersName2:
+                        strcmd += string.Format(" OrderersName2 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.DepartmentName:
+                        strcmd += string.Format(" DepartmentName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ChargePersonName:
+                        strcmd += string.Format(" ChargePersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ZipCode:
+                        strcmd += string.Format(" ZipCode = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address1:
+                        strcmd += string.Format(" Address1 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address2:
+                        strcmd += string.Format(" Address2 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address3:
+                        strcmd += string.Format(" Address3 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.PhoneNumber:
+                        strcmd += string.Format(" PhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.FaxNumber:
+                        strcmd += string.Format(" FaxNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.MailAddress:
+                        strcmd += string.Format(" MailAddress = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Note:
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.OrderCotegory:
+                        strcmd += string.Format(" OrderCotegory = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderDate:
+                        strcmd += string.Format(" OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, CreateDate, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CostomerRegist wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());
+
+                wrk.DataMode = int.Parse(objwrk[(int)TableColumn.DataMode].ToString());
+                wrk.SourceCotegory = int.Parse(objwrk[(int)TableColumn.SourceCotegory].ToString());
+                wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());
+                wrk.PetitionPeriod = int.Parse(objwrk[(int)TableColumn.PetitionPeriod].ToString());
+                wrk.OrderFlg = int.Parse(objwrk[(int)TableColumn.OrderFlg].ToString());
+                wrk.CorporateStatusName = objwrk[(int)TableColumn.CorporateStatusName].ToString();
+                wrk.CorporateStatusPoint = int.Parse(objwrk[(int)TableColumn.CorporateStatusPoint].ToString());
+
+                wrk.OrderersName1 = objwrk[(int)TableColumn.OrderersName1].ToString();
+                wrk.OrderersName2 = objwrk[(int)TableColumn.OrderersName2].ToString();
+                wrk.DepartmentName = objwrk[(int)TableColumn.DepartmentName].ToString();
+                wrk.ChargePersonName = objwrk[(int)TableColumn.ChargePersonName].ToString();
+                wrk.ZipCode = objwrk[(int)TableColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)TableColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)TableColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)TableColumn.Address3].ToString();
+                wrk.PhoneNumber = objwrk[(int)TableColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)TableColumn.FaxNumber].ToString();
+                wrk.MailAddress = objwrk[(int)TableColumn.MailAddress].ToString();
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();
+                wrk.OrderCotegory = int.Parse(objwrk[(int)TableColumn.OrderCotegory].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)TableColumn.OrderNo].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 登録申請コードの最大値を取得する
+        /// <summary>
+        /// 登録申請コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNo(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM CostomerRegist" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(objwrk[0]);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime CaretaDate, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (CaretaDate != DateTime.MinValue)
+                    strWork += string.Format(" AND CreateDate = TO_DATE('{0}','YYYY/MM/DD')", CaretaDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyData.cs	(revision 84)
@@ -0,0 +1,352 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 日報データＤＢアクセス
+    /// </summary>
+    public class IODailyData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 行番号
+            /// </summary>
+            LineCount,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 作業内容
+            /// </summary>
+            WorkContentsText,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(DailyDataDate, '%Y/%m/%d')";           // 日報作成日
+            strcmd += " ,LineCount";                                        // 行番号
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,WorkContentsText";                                 // 作業内容
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM DailyData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyData work = new DailyData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyData";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.LineCoount);                      // 行番号
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(",'{0}'", work.WorkContentsText);               // 作業内容
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",LineCoount = {0}", data.LineCoount);                  // 行番号
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",WorkContentsText = '{0}'", data.WorkContentsText);    // 作業内容
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());       // 日報作成日
+                wrk.LineCoount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());                   // 行番号
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.WorkContentsText = objwrk[(int)TableColumn.WorkContentsText].ToString();                 // 作業内容
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDate, int LineCount)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", DailyDataDate.ToShortDateString());
+                if (LineCount != 0)
+                    strWork += string.Format(" AND LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataConstruction.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataConstruction.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataConstruction.cs	(revision 84)
@@ -0,0 +1,392 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ(工事)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataConstruction : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 天気
+            /// </summary>
+            Weather,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataConstruction()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(DailyDataDate, '%Y/%m/%d')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,Weather";                                          // 天気
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 登録年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 更新年月日
+            strcmd += " FROM DailyDataConstruction";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataConstruction> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataConstruction work = new DailyDataConstruction();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataConstruction data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataConstruction work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataConstruction";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(",'{0}'", work.Weather);                        // 天気
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataConstruction> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataConstruction work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataConstruction data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataConstruction";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = DATE_FORMAT('{0}','%Y/%m/%d')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",Weather = '{0}'", data.Weather);                      // 天気
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime DailyDataDate, int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE DailyDataConstruction";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DailyDataDate:
+                        strcmd += string.Format(" DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.Weather:
+                        strcmd += string.Format(" Weather = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, DailyDataDate, ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataConstruction", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataConstruction wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                 // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());      // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());     // 工事番号
+                wrk.Weather = objwrk[(int)TableColumn.Weather].ToString();                                  // 天気
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDate, int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", DailyDataDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataDetail.cs	(revision 84)
@@ -0,0 +1,522 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (明細)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 職種キー
+            /// </summary>
+            JobCategoryCode,
+            /// <summary>
+            /// 協力会社コード
+            /// </summary>
+            CompanyCode,
+            /// <summary>
+            /// 当日人員数
+            /// </summary>
+            TodayHeadCount,
+            /// <summary>
+            /// 累計人員数
+            /// </summary>
+            TotalHeadCount,
+            /// <summary>
+            /// 当日作業内容
+            /// </summary>
+            TodayWork,
+            /// <summary>
+            /// 翌日作業内容
+            /// </summary>
+            NextdayWork,
+            /// <summary>
+            /// 翌日人員数
+            /// </summary>
+            NextdayHeadCount,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(DailyDataDate, '%Y/%m/%d')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+            strcmd += " ,JobCategoryCode";                                  // 職種キー
+            strcmd += " ,CompanyCode";                                      // 協力会社コード
+            strcmd += " ,TodayHeadCount";                                   // 当日人員数
+            strcmd += " ,TotalHeadCount";                                   // 累計人員数
+            strcmd += " ,TodayWork";                                        // 当日作業内容
+            strcmd += " ,NextdayWork";                                      // 翌日作業内容
+            strcmd += " ,NextdayHeadCount";                                 // 翌日人員数
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 登録年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 更新年月日
+            strcmd += " FROM DailyDataDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataDetail work = new DailyDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataDetail";
+                strcmd += "  (PersonCode";      // 担当者コード
+                strcmd += " ,DailyDataDate";    // 日報作成日
+                strcmd += " ,ConstructionCode"; // 工事番号
+                strcmd += " ,SeqNo";            // 明細行番号
+                strcmd += " ,JobCategoryCode";  // 職種キー
+                strcmd += " ,CompanyCode";      // 協力会社コード
+                strcmd += " ,TodayHeadCount";   // 当日人員数
+                strcmd += " ,TotalHeadCount";   // 累計人員数
+                strcmd += " ,TodayWork";        // 当日作業内容
+                strcmd += " ,NextdayWork";      // 翌日作業内容
+                strcmd += " ,NextdayHeadCount"; // 翌日人員数
+                strcmd += " ,EntryDate";        // 登録年月日
+                strcmd += " ,UpdateDate)";      // 更新年月日
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                strcmd += string.Format(", {0}", work.JobCategoryCode);                 // 職種キー
+                strcmd += string.Format(", {0}", work.CompanyCode);                     // 協力会社コード
+                strcmd += string.Format(", {0}", work.TodayHeadCount);                  // 当日人員数
+                strcmd += string.Format(", {0}", work.TotalHeadCount);                  // 累計人員数
+                strcmd += string.Format(",'{0}'", work.TodayWork);                      // 当日作業内容
+                strcmd += string.Format(",'{0}'", work.NextdayWork);                    // 翌日作業内容
+                strcmd += string.Format(", {0}", work.NextdayHeadCount);                // 翌日人員数
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+                strcmd += string.Format(",JobCategoryCode =  {0} ", data.JobCategoryCode);      // 職種キー
+                strcmd += string.Format(",CompanyCode =  {0} ", data.CompanyCode);              // 協力会社コード
+                strcmd += string.Format(",TodayHeadCount =  {0} ", data.TodayHeadCount);        // 当日人員数
+                strcmd += string.Format(",TotalHeadCount =  {0} ", data.TotalHeadCount);        // 累計人員数
+                strcmd += string.Format(",TodayWork = '{0}'", data.TodayWork);                  // 当日作業内容
+                strcmd += string.Format(",NextdayWork = '{0}'", data.NextdayWork);              // 翌日作業内容
+                strcmd += string.Format(",NextdayHeadCount =  {0} ", data.NextdayHeadCount);    // 翌日人員数
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime DailyDataDate, int ConstructionCode, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE DailyDataDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.DailyDataDate:
+                        strcmd += string.Format(" DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.JobCategoryCode:
+                        strcmd += string.Format(" JobCategoryCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.CompanyCode:
+                        strcmd += string.Format(" CompanyCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TodayHeadCount:
+                        strcmd += string.Format(" TodayHeadCount = {0}", (double)value);
+                        break;
+                    case (int)TableColumn.TotalHeadCount:
+                        strcmd += string.Format(" TotalHeadCount = {0}", (double)value);
+                        break;
+                    case (int)TableColumn.TodayWork:
+                        strcmd += string.Format(" TodayWork = '{0}'", CommonMotions.cnvString(value));
+                        break;
+                    case (int)TableColumn.NextdayWork:
+                        strcmd += string.Format(" NextdayWork = '{0}'", CommonMotions.cnvString(value));
+                        break;
+                    case (int)TableColumn.NextdayHeadCount:
+                        strcmd += string.Format(" NextdayHeadCount = {0}", (double)value);
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, DailyDataDate, ConstructionCode, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());       // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // 明細行番号
+                wrk.JobCategoryCode = int.Parse(objwrk[(int)TableColumn.JobCategoryCode].ToString());        // 職種キー
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());                // 協力会社コード
+                wrk.TodayHeadCount = double.Parse(objwrk[(int)TableColumn.TodayHeadCount].ToString());       // 当日人員数
+                wrk.TotalHeadCount = double.Parse(objwrk[(int)TableColumn.TotalHeadCount].ToString());       // 累計人員数
+                wrk.TodayWork = objwrk[(int)TableColumn.TodayWork].ToString();                               // 当日作業内容
+                wrk.NextdayWork = objwrk[(int)TableColumn.NextdayWork].ToString();                           // 翌日作業内容
+                wrk.NextdayHeadCount = double.Parse(objwrk[(int)TableColumn.NextdayHeadCount].ToString());   // 翌日人員数
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDate, int ConstructionCode = 0, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", DailyDataDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM DailyDataDetail" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataField.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataField.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataField.cs	(revision 84)
@@ -0,0 +1,407 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (資材)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataField : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 巡回時間
+            /// </summary>
+            PatrolTime,
+            /// <summary>
+            /// 内容
+            /// </summary>
+            ContentsText,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataField()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(DailyDataDate, '%Y/%m/%d')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+
+            strcmd += " ,DATE_FORMAT(PatrolTime, '%Y/%m/%d %H:%i:%s')";     // 巡回時間
+            strcmd += " ,ContentsText";                                     // 内容
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 登録年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 更新年月日
+            strcmd += " FROM DailyDataField";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataField> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataField work = new DailyDataField();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataField data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataField work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataField";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                            , work.PatrolTime.ToString());              // 巡回時間
+                strcmd += string.Format(",'{0}'", work.ContentsText);                   // 内容
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataField> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataField work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataField data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataField";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+
+                strcmd += string.Format(",PatrolTime = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                        , data.PatrolTime.ToShortDateString());                 // 巡回時間
+                strcmd += string.Format(",ContentsText = '{0}'", data.ContentsText);            // 内容
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataField", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataField wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());       // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // 明細行番号
+
+                wrk.PatrolTime =  DateTime.Parse(objwrk[(int)TableColumn.PatrolTime].ToString());            // 巡回時間
+                wrk.ContentsText = objwrk[(int)TableColumn.ContentsText].ToString();                         // 内容
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDetailDate, int ConstructionCode, int SeqNo)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDetailDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", DailyDataDetailDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM DailyDataField" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataMaterials.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataMaterials.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataMaterials.cs	(revision 84)
@@ -0,0 +1,428 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (資材)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataMaterials : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 資材名
+            /// </summary>
+            Materials,
+            /// <summary>
+            /// 数量
+            /// </summary>
+            Quantity,
+            /// <summary>
+            /// 制作会社
+            /// </summary>
+            Production,
+            /// <summary>
+            /// 納入業者
+            /// </summary>
+            Delivery,
+            /// <summary>
+            /// 品質管理事項
+            /// </summary>
+            QualityControl,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataMaterials()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(DailyDataDate, '%Y/%m/%d')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+
+            strcmd += " ,Materials";                                        // 資材名
+            strcmd += " ,Quantity";                                         // 数量
+            strcmd += " ,Production";                                       // 制作会社
+            strcmd += " ,Delivery";                                         // 納入業者
+            strcmd += " ,QualityControl";                                   // 品質管理事項
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 登録年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 更新年月日
+            strcmd += " FROM DailyDataMaterials";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataMaterials> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataMaterials work = new DailyDataMaterials();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataMaterials data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataMaterials work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataMaterials";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                strcmd += string.Format(",'{0}'", work.Materials);                      // 資材名
+                strcmd += string.Format(",'{0}'", work.Quantity);                       // 数量
+                strcmd += string.Format(",'{0}'", work.Production);                     // 制作会社
+                strcmd += string.Format(",'{0}'", work.Delivery);                       // 納入業者
+                strcmd += string.Format(",'{0}'", work.QualityControl);                 // 品質管理事項
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataMaterials> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataMaterials work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataMaterials data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataMaterials";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+
+                strcmd += string.Format(",Materials = '{0}'", data.Materials);                  // 資材名
+                strcmd += string.Format(",Quantity = '{0}'", data.Quantity);                    // 数量
+                strcmd += string.Format(",Production = '{0}'", data.Production);                // 制作会社
+                strcmd += string.Format(",Delivery = '{0}'", data.Delivery);                    // 納入業者
+                strcmd += string.Format(",QualityControl = '{0}'", data.QualityControl);        // 品質管理事項
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataMaterials", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataMaterials wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                    // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());         // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());        // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                              // 明細行番号
+                
+                wrk.Materials = objwrk[(int)TableColumn.Materials].ToString();                                 // 	資材名
+                wrk.Quantity = objwrk[(int)TableColumn.Quantity].ToString();                                   // 	数量
+                wrk.Production = objwrk[(int)TableColumn.Production].ToString();                               // 	制作会社
+                wrk.Delivery = objwrk[(int)TableColumn.Delivery].ToString();                                   // 	納入業者
+                wrk.QualityControl = objwrk[(int)TableColumn.QualityControl].ToString();                       //  	品質管理事項
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDetailDate, int ConstructionCode, int SeqNo)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDetailDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", DailyDataDetailDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM DailyDataMaterials" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataSubcontractors.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataSubcontractors.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataSubcontractors.cs	(revision 84)
@@ -0,0 +1,405 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (協力会社指示)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataSubcontractors : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 出席者
+            /// </summary>
+            Attendee,
+            /// <summary>
+            /// 内容
+            /// </summary>
+            ContentsText,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataSubcontractors()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(DailyDataDate, '%Y/%m/%d')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+
+            strcmd += " ,Attendee";                                         // 出席者
+            strcmd += " ,ContentsText";                                         // 内容
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 登録年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 更新年月日
+            strcmd += " FROM DailyDataSubcontractors";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataSubcontractors> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataSubcontractors work = new DailyDataSubcontractors();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataSubcontractors data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataSubcontractors work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataSubcontractors";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                
+                strcmd += string.Format(",'{0}'", work.Attendee);                       // 出席者
+                strcmd += string.Format(",'{0}'", work.ContentsText);                       // 内容
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataSubcontractors> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataSubcontractors work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataSubcontractors data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataSubcontractors";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+
+                strcmd += string.Format(",Attendee = '{0}'", data.Attendee);                    // 出席者
+                strcmd += string.Format(",ContentsText = '{0}'", data.ContentsText);                    // 内容
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataSubcontractors", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataSubcontractors wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());       // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // 明細行番号
+
+                wrk.Attendee = objwrk[(int)TableColumn.Attendee].ToString();                                 //出席者
+                wrk.ContentsText = objwrk[(int)TableColumn.ContentsText].ToString();                                 //内容
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDetailDate, int ConstructionCode, int SeqNo)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDetailDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", DailyDataDetailDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM DailyDataSubcontractors" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataVehicles.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataVehicles.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataVehicles.cs	(revision 84)
@@ -0,0 +1,440 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (車両)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataVehicles : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 機種
+            /// </summary>
+            Model,
+            /// <summary>
+            /// 性能
+            /// </summary>
+            Performance,
+            /// <summary>
+            /// 所有会社
+            /// </summary>
+            Owner,
+            /// <summary>
+            /// 当日運転者
+            /// </summary>
+            Driver,
+            /// <summary>
+            /// 作業時間開始
+            /// </summary>
+            StartWorkingTime,
+            /// <summary>
+            /// 作業時間終了
+            /// </summary>
+            EndWorkingTime,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataVehicles()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,DATE_FORMAT(DailyDataDate, '%Y/%m/%d')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+
+            strcmd += " ,Model";                                            // 機種
+            strcmd += " ,Performance";                                      // 性能
+            strcmd += " ,Owner";                                            // 所有会社
+            strcmd += " ,Driver";                                           // 当日運転者
+            strcmd += " ,DATE_FORMAT(StartWorkingTime, '%Y/%m/%d %H:%i:%s')";   // 作業時間開始
+            strcmd += " ,DATE_FORMAT(EndWorkingTime, '%Y/%m/%d %H:%i:%s')";     // 作業時間終了
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 登録年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 更新年月日
+            strcmd += " FROM DailyDataVehicles";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataVehicles> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataVehicles work = new DailyDataVehicles();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataVehicles data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataVehicles work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataVehicles";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                strcmd += string.Format(",'{0}'", work.Model);                          // 機種
+                strcmd += string.Format(",'{0}'", work.Performance);                    // 性能
+                strcmd += string.Format(",'{0}'", work.Owner);                          // 所有会社
+                strcmd += string.Format(",'{0}'", work.Driver);                         // 当日運転者
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                            , work.StartWorkingTime.ToString());        // 作業時間開始
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                            , work.EndWorkingTime.ToString());          // 作業時間終了
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataVehicles> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataVehicles work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataVehicles data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataVehicles";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+
+                strcmd += string.Format(",TodayWork = '{0}'", data.Model);                       // 機種
+                strcmd += string.Format(",TodayWork = '{0}'", data.Performance);                 // 性能
+                strcmd += string.Format(",TodayWork = '{0}'", data.Owner);                       // 所有会社
+                strcmd += string.Format(",TodayWork = '{0}'", data.Driver);                      // 当日運転者
+                strcmd += string.Format(",DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                        , data.StartWorkingTime.ToString());                    // 作業時間開始
+                strcmd += string.Format(",DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')"
+                                        , data.EndWorkingTime.ToString());                      // 作業時間終了
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataVehicles", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataVehicles wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                     // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());          // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());         // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                               // 明細行番号
+                
+                wrk.Model = objwrk[(int)TableColumn.Model].ToString();                                          // 機種
+                wrk.Performance = objwrk[(int)TableColumn.Performance].ToString();                              // 性能
+                wrk.Owner = objwrk[(int)TableColumn.Owner].ToString();                                          // 所有会社
+                wrk.Driver = objwrk[(int)TableColumn.Driver].ToString();                                        // 当日運転者
+                wrk.StartWorkingTime = DateTime.Parse(objwrk[(int)TableColumn.StartWorkingTime].ToString());	// 作業時間開始
+                wrk.EndWorkingTime = DateTime.Parse(objwrk[(int)TableColumn.EndWorkingTime].ToString());	    // 作業時間終了
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDetailDate, int ConstructionCode, int SeqNo)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDetailDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", DailyDataDetailDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM DailyDataVehicles" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODeadLineMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODeadLineMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODeadLineMaster.cs	(revision 84)
@@ -0,0 +1,264 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// データアクセスクラス
+    /// </summary>
+    public class IODeadLineMaster : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LabourKind = 0,
+            DeadLine,
+            PayDay,
+            Note,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODeadLineMaster()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<DeadLineMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += "  LabourKind, DeadLine, PayDay, Note, DeleteFlg";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM DeadLineMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DeadLineMaster work = new DeadLineMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 新規登録
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<DeadLineMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DeadLineMaster work in data)
+                {
+                    strcmd = "INSERT INTO DeadLineMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.LabourKind.ToString());
+                    strcmd += string.Format(", {0}", work.DeadLine.ToString());
+                    strcmd += string.Format(", {0}", work.PayDay.ToString());
+                    strcmd += string.Format(", '{0}'", work.Note.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新登録
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, DeadLineMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DeadLineMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" LabourKind = {0}", data.LabourKind.ToString());
+                strcmd += string.Format(",DeadLine = {0}", data.DeadLine.ToString());
+                strcmd += string.Format(",PayDay = {0}", data.PayDay.ToString());
+                strcmd += string.Format(",Note = '{0}'", data.Note);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+ 
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = "Update DeadLineMaster Set DeleteFlg = 1";
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 構造体設定
+        /// </summary>
+        /// <param name="objwrk"></param>
+        /// <param name="wrk"></param>
+        public void Reader2Struct(object[] objwrk, ref DeadLineMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LabourKind = int.Parse(objwrk[(int)NameColumn.LabourKind].ToString());
+                wrk.DeadLine = int.Parse(objwrk[(int)NameColumn.DeadLine].ToString());
+                wrk.PayDay = int.Parse(objwrk[(int)NameColumn.PayDay].ToString());
+                wrk.Note = objwrk[(int)NameColumn.Note].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = objwrk[(int)NameColumn.EntryDate].ToString()=="" ? DateTime.Parse("2001/01/01") : DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = objwrk[(int)NameColumn.UpdateDate].ToString()=="" ? DateTime.Parse("2001/01/01") : DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int LabourKind)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where LabourKind = {0}", LabourKind);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        #endregion
+
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositApprovalInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositApprovalInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositApprovalInfo.cs	(revision 84)
@@ -0,0 +1,378 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 入金確認承認データアクセスクラス
+    /// </summary>
+    public class IODepositApprovalInfo : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 入金確認承認データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            OrderersDivision,
+            OrderersCode,
+            TargetDate,
+            SeqNo,
+            LineCount,
+            ApprovalNo,
+            ApprovalPerson,
+            ApprovalPersonName,
+            ApprovalAuthority,
+            ApprovalDate,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODepositApprovalInfo()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 入金確認承認データ検索文字列作成
+        /// <summary>
+        /// 入金確認承認データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">入金データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " OrderersDivision";
+            strcmd += ",OrderersCode";
+            strcmd += ",TargetDate";
+            strcmd += ",SeqNo";
+            strcmd += ",LineCount";
+            strcmd += ",ApprovalNo";
+            strcmd += ",ApprovalPerson";
+            strcmd += ",ApprovalPersonName";
+            strcmd += ",ApprovalAuthority";
+            strcmd += ",DATE_FORMAT(ApprovalDate, '%Y/%m/%d')";
+            strcmd += ",DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM DepositApprovalInfo";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 入金確認承認データ検索（複数）
+        /// <summary>
+        /// 入金確認承認データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<DepositApprovalInfo> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DepositApprovalInfo work = new DepositApprovalInfo();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 入金確認承認データ検索（1件）
+        /// <summary>
+        /// 入金確認承認データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref DepositApprovalInfo data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 入金確認承認データ追加（複数）
+        /// <summary>
+        /// 入金確認承認データ追加（複数）
+        /// </summary>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DepositApprovalInfo> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (DepositApprovalInfo work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金確認承認データ追加（1件）
+        /// <summary>
+        /// 入金確認承認データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(DepositApprovalInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO DepositApprovalInfo";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.OrderersDivision.ToString());
+                    strcmd += string.Format(", {0}", data.OrderersCode.ToString());
+                    strcmd += string.Format(", {0}", data.TargetDate.ToString());
+                    strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", data.LineCount.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalNo.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalPerson.ToString());
+                    strcmd += string.Format(", '{0}'", data.ApprovalPersonName.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalAuthority.ToString());
+                    strcmd += string.Format(", DATE_FORMAT('{0}','%Y%m%d')", data.ApprovalDate.ToString());
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金確認承認データ更新
+        /// <summary>
+        /// 入金確認承認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">入金データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DepositApprovalInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DepositApprovalInfo";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" OrderersDivision = {0}", data.OrderersDivision.ToString());
+                strcmd += string.Format(",OrderersCode = {0}", data.OrderersCode.ToString());
+                strcmd += string.Format(",TargetDate = {0}", data.TargetDate.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",LineCount = {0}", data.LineCount.ToString());
+                strcmd += string.Format(",ApprovalNo = {0}", data.ApprovalNo.ToString());
+                strcmd += string.Format(",ApprovalPerson = {0}", data.ApprovalPerson.ToString());
+                strcmd += string.Format(",ApprovalPersonName = '{0}'", data.ApprovalPersonName.ToString());
+                strcmd += string.Format(",ApprovalAuthority = {0}", data.ApprovalAuthority.ToString());
+                strcmd += string.Format(",ApprovalDate = DATE_FORMAT('{0}','%Y%m%d')", data.ApprovalDate.ToString());
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金確認承認データ削除
+        /// <summary>
+        /// 入金確認承認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">入金データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DepositApprovalInfo", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DepositApprovalInfo wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.OrderersDivision = int.Parse(objwrk[(int)ColumnName.OrderersDivision].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)ColumnName.OrderersCode].ToString());
+                wrk.TargetDate = objwrk[(int)ColumnName.TargetDate].ToString();
+                wrk.SeqNo = int.Parse(objwrk[(int)ColumnName.SeqNo].ToString());
+                wrk.LineCount = int.Parse(objwrk[(int)ColumnName.LineCount].ToString());
+                wrk.ApprovalNo = int.Parse(objwrk[(int)ColumnName.ApprovalNo].ToString());
+                wrk.ApprovalPerson = int.Parse(objwrk[(int)ColumnName.ApprovalPerson].ToString());
+                wrk.ApprovalPersonName = objwrk[(int)ColumnName.ApprovalPersonName].ToString();
+                wrk.ApprovalAuthority = int.Parse(objwrk[(int)ColumnName.ApprovalAuthority].ToString());
+                wrk.ApprovalDate = DateTime.Parse(objwrk[(int)ColumnName.ApprovalDate].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString( int OrderersDivision, int OrderersCode = 0, string TargetDate = "", int SeqNo = 0, int LineCount = 0, int ApprovalNo = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where OrderersDivision = {0}", OrderersDivision.ToString());
+                if (OrderersCode != 0)
+                    strWork += string.Format(" And OrderersCode = {0}", OrderersCode.ToString());
+                if (!TargetDate.Equals(""))
+                    strWork += " And TargetDate = " + TargetDate;
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo.ToString());
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount.ToString());
+                if (ApprovalNo != 0)
+                    strWork += string.Format(" And ApprovalNo = {0}", ApprovalNo.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositData.cs	(revision 84)
@@ -0,0 +1,368 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 入金データアクセスクラス
+    /// </summary>
+    public class IODepositData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 入金データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            OrderersDivision,
+            OrderersCode,
+            TargetDate,
+            SeqNo,
+            BusinessPeriod,
+            DepositDate,
+            DepositAmount,
+            DepositAmountCash,
+            DepositAmountBill,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODepositData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 入金データ検索文字列作成
+        /// <summary>
+        /// 入金データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">入金データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " OrderersDivision";
+            strcmd += ",OrderersCode";
+            strcmd += ",TargetDate";
+            strcmd += ",SeqNo";
+            strcmd += ",BusinessPeriod";
+            strcmd += ",DATE_FORMAT(DepositDate, '%Y/%m/%d')";
+            strcmd += ",DepositAmount";
+            strcmd += ",DepositAmountCash";
+            strcmd += ",DepositAmountBill";
+            strcmd += ",DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM DepositData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 入金データ検索（複数）
+        /// <summary>
+        /// 入金データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<DepositData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DepositData work = new DepositData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 入金データ検索（1件）
+        /// <summary>
+        /// 入金データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref DepositData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 入金データ追加（複数）
+        /// <summary>
+        /// 入金データ追加（複数）
+        /// </summary>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DepositData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (DepositData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金データ追加（1件）
+        /// <summary>
+        /// 入金データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(DepositData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO DepositData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.OrderersDivision.ToString());
+                    strcmd += string.Format(", {0}", data.OrderersCode.ToString());
+                    strcmd += string.Format(", {0}", data.TargetDate.ToString());
+                    strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", data.BusinessPeriod.ToString());
+                    strcmd += string.Format(", DATE_FORMAT('{0}','%Y/%m/%d')", data.DepositDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", data.DepositAmount.ToString());
+                    strcmd += string.Format(", {0}", data.DepositAmountCash.ToString());
+                    strcmd += string.Format(", {0}", data.DepositAmountBill.ToString());
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金データ更新
+        /// <summary>
+        /// 入金データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">入金データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DepositData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DepositData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" OrderersDivision = {0}", data.OrderersDivision.ToString());
+                strcmd += string.Format(",OrderersCode = {0}", data.OrderersCode.ToString());
+                strcmd += string.Format(",TargetDate = {0}", data.TargetDate.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",BusinessPeriod = {0}", data.BusinessPeriod.ToString());
+                strcmd += string.Format(",DepositDate = DATE_FORMAT('{0}','%Y%m%d')", data.DepositDate.ToString());
+                strcmd += string.Format(",DepositAmount = {0}", data.DepositAmount.ToString());
+                strcmd += string.Format(",DepositAmountCash = {0}", data.DepositAmountCash.ToString());
+                strcmd += string.Format(",DepositAmountBill = {0}", data.DepositAmountBill.ToString());
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金データ削除
+        /// <summary>
+        /// 入金データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">入金データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DepositData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DepositData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.OrderersDivision = int.Parse(objwrk[(int)ColumnName.OrderersDivision].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)ColumnName.OrderersCode].ToString());
+                wrk.TargetDate = objwrk[(int)ColumnName.TargetDate].ToString();
+                wrk.SeqNo = int.Parse(objwrk[(int)ColumnName.SeqNo].ToString());
+                wrk.BusinessPeriod = int.Parse(objwrk[(int)ColumnName.BusinessPeriod].ToString());
+                wrk.DepositDate = DateTime.Parse(objwrk[(int)ColumnName.DepositDate].ToString());
+                wrk.DepositAmount = int.Parse(objwrk[(int)ColumnName.DepositAmount].ToString());
+                wrk.DepositAmountCash = int.Parse(objwrk[(int)ColumnName.DepositAmountCash].ToString());
+                wrk.DepositAmountBill = int.Parse(objwrk[(int)ColumnName.DepositAmountBill].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString( int OrderersDivision, int OrderersCode = 0, string TargetDate = "", int SeqNo = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where OrderersDivision = {0}", OrderersDivision.ToString());
+                if (OrderersCode != 0)
+                    strWork += string.Format(" And OrderersCode = {0}", OrderersCode.ToString());
+                if (!TargetDate.Equals(""))
+                    strWork += " And TargetDate = " + TargetDate;
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositDataDetail.cs	(revision 84)
@@ -0,0 +1,423 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 入金明細データアクセスクラス
+    /// </summary>
+    public class IODepositDataDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 請求データフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            OrderersDivision = 0,
+            OrderersCode,
+            TargetDate,
+            SeqNo,
+            LineCount,
+            RequestNo,
+            OrderNo,
+            DepositAmount,
+            DiscountAmount,
+            CnstrPrice,
+            Fees,
+            OtherAdjustments,
+            CarryAmount,
+            ApprovalPersonCode,
+            ApprovalDate,
+            ApprovalEndFlg,
+            ENTRYDATE,
+            UPDATEDATE,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="connectionString"></param>
+        public IODepositDataDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 入金明細データ検索
+        /// <summary>
+        /// 入金明細データ検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<DepositDataDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " OrderersDivision";
+                strcmd += " ,OrderersCode";
+                strcmd += " ,CAST(TargetDate As Char)";
+                strcmd += " ,SeqNo";
+                strcmd += " ,LineCount";
+                strcmd += " ,RequestNo";
+                strcmd += " ,OrderNo";
+                strcmd += " ,DepositAmount";
+                strcmd += " ,DiscountAmount";
+                strcmd += " ,CnstrPrice";
+                strcmd += " ,Fees";
+                strcmd += " ,OtherAdjustments";
+                strcmd += " ,CarryAmount";
+                strcmd += " ,ApprovalPersonCode";
+                strcmd += " ,DATE_FORMAT(ApprovalDate, '%Y/%m/%d')";
+                strcmd += " ,ApprovalEndFlg";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM DepositDataDetail";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DepositDataDetail work = new DepositDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金明細データ複数追加
+        /// <summary>
+        /// 入金明細データ複数追加
+        /// </summary>
+        /// <param name="data">入金明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DepositDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DepositDataDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金明細データ１件追加
+        /// <summary>
+        /// 入金明細データ１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(DepositDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO DepositDataDetail";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.OrderersDivision.ToString());
+                strcmd += string.Format(", {0}", data.OrderersCode.ToString());
+                strcmd += string.Format(", {0}", data.TargetDate.ToString());
+                strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                strcmd += string.Format(", {0}", data.LineCount.ToString());
+                strcmd += string.Format(", {0}", data.RequestNo.ToString());
+                strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                strcmd += string.Format(", {0}", data.DepositAmount.ToString());
+                strcmd += string.Format(", {0}", data.DiscountAmount.ToString());
+                strcmd += string.Format(", {0}", data.CnstrPrice.ToString());
+                strcmd += string.Format(", {0}", data.Fees.ToString());
+                strcmd += string.Format(", {0}", data.OtherAdjustments.ToString());
+                strcmd += string.Format(", {0}", data.CarryAmount.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalPersonCode.ToString());
+                strcmd += string.Format(", DATE_FORMAT('{0}','%Y/%m/%d')", data.ApprovalDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.ApprovalEndFlg ? 1 : 0);
+
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金明細データ更新
+        /// <summary>
+        /// 入金明細データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">入金明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DepositDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DepositDataDetail";
+
+                strcmd += " SET";
+
+//                strcmd += string.Format(" OrderersDivision = {0}", data.OrderersDivision.ToString());
+//                strcmd += string.Format(",OrderersCode = {0}", data.OrderersCode.ToString());
+//                strcmd += string.Format(",TargetDate = '{0}'", data.TargetDate);
+//                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+//                strcmd += string.Format(",LineCount = {0}", data.LineCount.ToString());
+                strcmd += string.Format(" RequestNo = {0}", data.RequestNo.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",DepositAmount = {0}", data.DepositAmount.ToString());
+                strcmd += string.Format(",DiscountAmount = {0}", data.DiscountAmount.ToString());
+                strcmd += string.Format(",CnstrPrice = {0}", data.CnstrPrice.ToString());
+                strcmd += string.Format(",Fees = {0}", data.Fees.ToString());
+                strcmd += string.Format(",OtherAdjustments = {0}", data.OtherAdjustments.ToString());
+                strcmd += string.Format(",CarryAmount = {0}", data.CarryAmount.ToString());
+                strcmd += string.Format(",ApprovalPersonCode = {0}", data.ApprovalPersonCode.ToString());
+                strcmd += string.Format(",ApprovalDate = DATE_FORMAT('{0}','%Y/%m/%d')", data.ApprovalDate.ToShortDateString());
+                strcmd += string.Format(",ApprovalEndFlg = {0}", data.ApprovalEndFlg ? 1 : 0);
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += string.Format(" where OrderersDivision = {0} and OrderersCode = {1} and TargetDate = {2} and SeqNo = {3} and LineCount = {4} ",
+                    data.OrderersDivision, data.OrderersCode, data.TargetDate, data.SeqNo, data.LineCount);
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 入金明細データ削除
+        /// <summary>
+        /// 入金明細データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DepositDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DepositDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.OrderersDivision = int.Parse(objwrk[(int)NameColumn.OrderersDivision].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)NameColumn.OrderersCode].ToString());
+                wrk.TargetDate = objwrk[(int)NameColumn.TargetDate].ToString();
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.LineCount = int.Parse(objwrk[(int)NameColumn.LineCount].ToString());
+                wrk.RequestNo = int.Parse(objwrk[(int)NameColumn.RequestNo].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)NameColumn.OrderNo].ToString());
+                wrk.DepositAmount = int.Parse(objwrk[(int)NameColumn.DepositAmount].ToString());
+                wrk.DiscountAmount = int.Parse(objwrk[(int)NameColumn.DiscountAmount].ToString());
+                wrk.CnstrPrice = int.Parse(objwrk[(int)NameColumn.CnstrPrice].ToString());
+                wrk.Fees = int.Parse(objwrk[(int)NameColumn.Fees].ToString());
+                wrk.OtherAdjustments = int.Parse(objwrk[(int)NameColumn.OtherAdjustments].ToString());
+                wrk.CarryAmount = int.Parse(objwrk[(int)NameColumn.CarryAmount].ToString());
+                wrk.ApprovalPersonCode = int.Parse(objwrk[(int)NameColumn.ApprovalPersonCode].ToString());
+                wrk.ApprovalDate = DateTime.Parse(objwrk[(int)NameColumn.ApprovalDate].ToString());
+                wrk.ApprovalEndFlg = (int.Parse(objwrk[(int)NameColumn.ApprovalEndFlg].ToString()) != 0);
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref DepositDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.OrderersDivision = 0;
+                wrk.OrderersCode = 0;
+                wrk.TargetDate = string.Empty;
+                wrk.SeqNo = 0;
+                wrk.LineCount = 0;
+                wrk.RequestNo = 0;
+                wrk.OrderNo = 0;
+                wrk.DepositAmount = 0;
+                wrk.DiscountAmount = 0;
+                wrk.CnstrPrice = 0;
+                wrk.Fees = 0;
+                wrk.OtherAdjustments = 0;
+                wrk.CarryAmount = 0;
+                wrk.ApprovalPersonCode = 0;
+                wrk.ApprovalDate = DateTime.MinValue;
+                wrk.ApprovalEndFlg = false;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int OrderersDivision, int OrderersCode = 0, string TargetDate = "", int SeqNo = 0, int LineCount = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where OrderersDivision = {0}", OrderersDivision.ToString());
+                if (OrderersCode != 0)
+                    strWork += string.Format(" And OrderersCode = {0}", OrderersCode.ToString());
+                if (!TargetDate.Equals(""))
+                    strWork += " And TargetDate = " + TargetDate;
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo.ToString());
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region サブキー検索の文字列を返す
+        /// <summary>
+        /// サブキー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int RequestNo, int OrderNo = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RequestNo = {0}", RequestNo.ToString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And OrderNo = {0}", OrderNo.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudget.cs	(revision 84)
@@ -0,0 +1,468 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 積算予算ページデータＤＢアクセス
+    /// </summary>
+    public class IOEstimateBudget : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算予算ページデータフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	    // 工事番号
+            ConstructionTime,	        // 工期
+            IntegratedCode,	            // 積算者
+            DataCreateDate,             // データ引込日
+            RetValue1,                  // 予定価格
+            RetValue2,                  // 直接工事費
+            RetValue3,                  // 積み上げ共通仮設費
+            RetValue4,                  // 積み上げ現場管理費
+            RetPercent,                 // 一般管理費率
+            EntryDate,	                // 登録年月日
+            UpdateDate,	                // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateBudget()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 積算予算ページデータ検索文字作成
+        /// <summary>
+        /// 積算予算データ検索文字作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";                                 // 工事番号
+            strcmd += " ,ConstructionTime";                                 // 工期
+            strcmd += " ,IntegratedCode";	                                // 積算者
+            strcmd += " ,DATE_FORMAT(DataCreateDate, '%Y/%m/%d %H:%i:%s')"; // データ引込日
+            strcmd += " ,RetValue1";                                        // 予定価格
+            strcmd += " ,RetValue2";                                        // 直接工事費
+            strcmd += " ,RetValue3";                                        // 積み上げ共通仮設費
+            strcmd += " ,RetValue4";                                        // 積み上げ現場管理費
+            strcmd += " ,RetPercent";                                       // 一般管理費率
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM EstimateBudget";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 積算予算データ検索（複数）
+        /// <summary>
+        /// 積算予算データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<EstimateBudget> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateBudget work = new EstimateBudget();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ検索（1件）
+        /// <summary>
+        /// 積算予算データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref EstimateBudget data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算ページデータ追加（1件）
+        /// <summary>
+        /// 積算予算ページデータ追加（1件）
+        /// </summary>
+        /// <param name="data">積算予算ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateBudget work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO EstimateBudget";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);                    // 工事番号
+                strcmd += string.Format(", {0}", work.ConstructionTime);	                // 工期
+                strcmd += string.Format(", {0}", work.IntegratedCode);                      // 積算者
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')",
+                                                work.DataCreateDate.ToShortDateString());   // データ引込日
+                strcmd += string.Format(", {0}", work.RetValue1);                           // 予定価格
+                strcmd += string.Format(", {0}", work.RetValue2);                           // 直接工事費
+                strcmd += string.Format(", {0}", work.RetValue3);                           // 積み上げ共通仮設費
+                strcmd += string.Format(", {0}", work.RetValue4);                           // 積み上げ現場管理費
+                strcmd += string.Format(", {0}", work.RetPercent);                          // 一般管理費率
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算ページデータ追加（複数）
+        /// <summary>
+        /// 積算予算ページデータ追加（複数）
+        /// </summary>
+        /// <param name="data">積算予算ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<EstimateBudget> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (EstimateBudget work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算ページデータ更新
+        /// <summary>
+        /// 積算予算ページデータ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算予算ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateBudget data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateBudget";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	                    // 工事番号
+
+                strcmd += string.Format(",ConstructionTime = {0}", data.ConstructionTime);                      // 工期
+                strcmd += string.Format(",IntegratedCode = {0}", data.IntegratedCode);                          // 積算者
+                strcmd += string.Format(",DataCreateDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')",
+                                                                    data.DataCreateDate.ToShortDateString());   // データ引込日
+                strcmd += string.Format(",RetValue1 = {0}", data.RetValue1);                                    // 予定価格
+                strcmd += string.Format(",RetValue2 = {0}", data.RetValue2);                                    // 直接工事費
+                strcmd += string.Format(",RetValue3 = {0}", data.RetValue3);                                    // 積み上げ共通仮設費
+                strcmd += string.Format(",RetValue4 = {0}", data.RetValue4);                                    // 積み上げ現場管理費
+                strcmd += string.Format(",RetPercent = {0}", data.RetPercent);                                  // 一般管理費率
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算ページデータ削除
+        /// <summary>
+        /// 積算予算ページデータ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算予算ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateBudget", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateBudget wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	        // 工事番号
+
+                wrk.ConstructionTime = double.Parse(objwrk[(int)TableColumn.ConstructionTime].ToString());	        // 工期
+                wrk.IntegratedCode = int.Parse(objwrk[(int)TableColumn.IntegratedCode].ToString());                // 積算者
+                wrk.DataCreateDate = DateTime.Parse(objwrk[(int)TableColumn.DataCreateDate].ToString());           // 引込日
+                wrk.RetValue1 = double.Parse(objwrk[(int)TableColumn.RetValue1].ToString());	                    // 予定価格
+                wrk.RetValue2 = double.Parse(objwrk[(int)TableColumn.RetValue2].ToString());	                    // 直接工事費
+                wrk.RetValue3 = double.Parse(objwrk[(int)TableColumn.RetValue3].ToString());	                    // 積み上げ共通仮設費
+                wrk.RetValue4 = double.Parse(objwrk[(int)TableColumn.RetValue4].ToString());	                    // 積み上げ現場管理費
+                wrk.RetPercent = double.Parse(objwrk[(int)TableColumn.RetPercent].ToString());	                    // 一般管理費率
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateBudget";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	    // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionTime:	    // 工期
+                        strcmd += string.Format(" ConstructionTime = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.IntegratedCode:	    // 積算者
+                        strcmd += string.Format(" IntegratedCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DataCreateDate:       // データ引込日
+                        strcmd += string.Format(" DataCreateDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.RetValue1:            // 予定価格
+                        strcmd += string.Format(" RetValue1 = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.RetValue2:            // 直接工事費
+                        strcmd += string.Format(" RetValue2 = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.RetValue3:            // 積み上げ共通仮設費
+                        strcmd += string.Format(" RetValue3 = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.RetValue4:            // 積み上げ現場管理費
+                        strcmd += string.Format(" RetValue4 = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.RetPercent:           // 一般管理費率
+                        strcmd += string.Format(" RetPercent = {0}", ((double)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(sysdate,'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 工事番号の最大値を取得
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(ConstructionCode), 0) FROM EstimateBudget" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudgetDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudgetDetail.cs	(revision 84)
@@ -0,0 +1,467 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 積算予算データ明細ＤＢアクセス
+    /// </summary>
+    public class IOEstimateBudgetDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算予算データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+
+            GroupCount,             // グループ番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            ItemCode,		        // 工種キー
+            CompanyCode,            // 協力会社コード
+            FirstString,            // 構成名称
+            SecondString,           // 工種名称・協力会社名
+            EstimatePrice,          // 見積時金額
+            NegotiationPrice,       // 交渉時金額
+            Notes,                  // 注意事項
+            
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateBudgetDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ComponentCode";            // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", CompanyCode";              // 協力会社コード
+            strcmd += ", FirstString";              // 構成名称
+            strcmd += ", SecondString";             // 工種名称・協力会社名
+            strcmd += ", EstimatePrice";            // 見積時金額
+            strcmd += ", NegotiationPrice";         // 交渉時金額
+            strcmd += ", Notes";                    // 注意事項
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM EstimateBudgetDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 積算予算データ明細検索
+        /// <summary>
+        /// 積算予算データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<EstimateBudgetDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateBudgetDetail work = new EstimateBudgetDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        /// <summary>
+        /// 1件データ読込処理
+        /// </summary>
+        public bool SelectAction(string AddSQLString, ref EstimateBudgetDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ明細追加
+        /// <summary>
+        /// 積算予算データ明細追加
+        /// </summary>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateBudgetDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO EstimateBudgetDetail";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		        // 工種キー
+                strcmd += string.Format(", {0}", work.CompanyCode);             // 協力会社コード
+                strcmd += string.Format(",'{0}'", work.FirstString);            // 構成名称
+                strcmd += string.Format(",'{0}'", work.SecondString);           // 工種名称・協力会社名
+                strcmd += string.Format(", {0}", work.EstimatePrice);           // 見積時金額
+                strcmd += string.Format(", {0}", work.NegotiationPrice);        // 交渉時金額
+                strcmd += string.Format(",'{0}'", work.Notes);                  // 注意事項
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ明細追加
+        /// <summary>
+        /// 積算予算データ明細追加
+        /// </summary>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<EstimateBudgetDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (EstimateBudgetDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ明細更新
+        /// <summary>
+        /// 積算予算データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateBudgetDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateBudgetDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);               // 構成キー
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode);		                    // 工種キー
+                strcmd += string.Format(", CompanyCode = {0}", data.CompanyCode);                   // 協力会社コード
+                strcmd += string.Format(", FirstString = '{0}'", data.FirstString);                 // 構成名称
+                strcmd += string.Format(", SecondString = '{0}'", data.SecondString);               // 工種名称・協力会社名
+                strcmd += string.Format(", EstimatePrice = {0}", data.EstimatePrice);               // 見積時金額
+                strcmd += string.Format(", NegotiationPrice = {0}", data.NegotiationPrice);         // 交渉時金額
+                strcmd += string.Format(", Notes = '{0}'", data.Notes);                             // 注意事項
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ明細削除
+        /// <summary>
+        /// 積算予算データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateBudgetDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateBudgetDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:     // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GroupCount:           // グループ番号
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:            // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:        // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:          // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FirstString:          // 構成名称
+                        strcmd += string.Format(" FirstString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SecondString:         // 工種名称・協力会社名
+                        strcmd += string.Format(" SecondString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.EstimatePrice:        // 見積時金額
+                        strcmd += string.Format(" EstimatePrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.NegotiationPrice:     // 交渉時金額
+                        strcmd += string.Format(" NegotiationPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.Notes:                // 注意事項
+                        strcmd += string.Format(" Notes = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateBudgetDetail wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());          // 工事番号
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	            // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		                    // 工種キー
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());	                // 協力会社コード
+                wrk.FirstString = objwrk[(int)TableColumn.FirstString].ToString();	                            // 構成名称
+                wrk.SecondString = objwrk[(int)TableColumn.SecondString].ToString();	                            // 工種名称・協力会社名
+                wrk.EstimatePrice = double.Parse(objwrk[(int)TableColumn.EstimatePrice].ToString());	            // 見積時金額
+                wrk.NegotiationPrice = double.Parse(objwrk[(int)TableColumn.NegotiationPrice].ToString());	    // 交渉時金額
+
+                wrk.Notes = objwrk[(int)TableColumn.Notes].ToString();                                           // 注意事項
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="OutsourcingFlg"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int PageCount = 0, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (PageCount != 0)
+                    strWork += string.Format(" And OutsourcingFlg = {0}", PageCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="DataRec"></param>
+        public void RecClear(ref EstimateBudgetDetail DataRec)
+        {
+            DataRec.ConstructionCode = 0;	            // 工事コード
+            DataRec.GroupCount = 0;                   // グループ番号
+            DataRec.LineCount = 0;                    // 行番号
+            DataRec.ComponentCode = 0;                // 構成キー
+            DataRec.ItemCode = 0;	                    // 工種キー
+            DataRec.CompanyCode = 0;                  // 協力会社コード
+            DataRec.FirstString = string.Empty;       // 構成名称
+            DataRec.SecondString = string.Empty;      // 工種名称・協力会社名
+            DataRec.EstimatePrice = 0;                // 見積時金額
+            DataRec.NegotiationPrice = 0;             // 交渉時金額
+            DataRec.Notes = string.Empty;             // 注意事項
+            DataRec.EntryDate = DateTime.Now;        // 登録日付
+            DataRec.UpdateDate = DateTime.Now;       // 更新日付
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateData.cs	(revision 84)
@@ -0,0 +1,524 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient; 
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 積算見積データＤＢアクセス
+    /// </summary>
+    public class IOEstimateData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算見積データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,   // 工事番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            FixedItemCode,          // 固定項目キー
+            ItemName,               // 作業名称
+            SpecName,               // 品質・形状・寸法
+            PriceValue,             // 金額
+            Note,                   // 備考
+            MyExpensesFlg,
+            InputFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";     // 工事番号
+            strcmd += ", LineCount";            // 行番号
+            strcmd += ", ComponentCode";        // 構成キー
+            strcmd += ", FixedItemCode";		// 固定項目キー
+            strcmd += ", ItemName";      		// 作業名称
+            strcmd += ", SpecName";      		// 品質・形状・寸法
+            strcmd += ", PriceValue";           // 金額
+            strcmd += ", Note";			        // 備考
+            strcmd += ", MyExpensesFlg";
+            strcmd += ", InputFlg";
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM EstimateData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<EstimateData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateData work = new EstimateData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref EstimateData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 積算見積データ追加
+        /// </summary>
+        /// <param name="data">積算見積データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO EstimateData";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(",'{0}'", work.FixedItemCode);		    // 固定項目キー
+                strcmd += string.Format(",'{0}'", work.ItemName.Replace(",", "，"));     // 作業名称
+                strcmd += string.Format(",'{0}'", work.SpecName.Replace(",", "，"));     // 品質・形状・寸法
+                strcmd += string.Format(", {0}", work.PriceValue);                      // 金額
+                strcmd += string.Format(",'{0}'", work.Note.Replace(",", "，"));		// 備考
+                strcmd += string.Format(", {0}", work.MyExpensesFlg);           // 自社経費フラグ
+                strcmd += string.Format(", {0}", work.InputFlg);                // 入力フラグ
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<EstimateData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (EstimateData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 積算見積データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算見積データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ConstructionCode = {0}", data.ConstructionCode); // 工事番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);               // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);       // 構成キー
+                strcmd += string.Format(", FixedItemCode = '{0}'", data.FixedItemCode);		// 固定項目キー
+                strcmd += string.Format(", ItemName = '{0}'", data.ItemName.Replace(",", "，"));      	// 作業名称
+                strcmd += string.Format(", SpecName = '{0}'", data.SpecName.Replace(",", "，"));      	// 品質・形状・寸法
+                strcmd += string.Format(", PriceValue = {0}", data.PriceValue);             // 金額
+                strcmd += string.Format(", Note = '{0}'", data.Note.Replace(",", "，"));			    // 備考
+                strcmd += string.Format(", MyExpensesFlg = {0}", data.MyExpensesFlg);       // 自社経費フラグ
+                strcmd += string.Format(", InputFlg = {0}", data.InputFlg);                 // 入力フラグ
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 積算見積データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算見積データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:     // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:            // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:        // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FixedItemCode:        // 固定項目キー
+                        strcmd += string.Format(" FixedItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemName:             // 作業名称
+                        strcmd += string.Format(" ItemName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SpecName:             // 品質・形状・寸法
+                        strcmd += string.Format(" SpecName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.PriceValue:           // 金額
+                        strcmd += string.Format(" PriceValue = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.Note:                 // 備考
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.MyExpensesFlg:
+                        strcmd += string.Format(" MyExpensesFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.InputFlg:
+                        strcmd += string.Format(" InputFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());  // 工事番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());                // 行番号
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());        // 構成キー
+                wrk.FixedItemCode = objwrk[(int)TableColumn.FixedItemCode].ToString();		            // 固定項目キー
+                wrk.ItemName = objwrk[(int)TableColumn.ItemName].ToString();      		                // 作業名称
+                wrk.SpecName = objwrk[(int)TableColumn.SpecName].ToString();      		                // 品質・形状・寸法
+                wrk.PriceValue = double.Parse(objwrk[(int)TableColumn.PriceValue].ToString());           // 金額
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();			                            // 備考
+                wrk.MyExpensesFlg = int.Parse(objwrk[(int)TableColumn.MyExpensesFlg].ToString());        // 自社経費フラグ
+                wrk.InputFlg = int.Parse(objwrk[(int)TableColumn.InputFlg].ToString());                  // 入力フラグ
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region データクリア処理
+        /// <summary>
+        /// データクリア処理
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref EstimateData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = 0;           // 工事番号
+                wrk.LineCount = 0;                  // 行番号
+                wrk.ComponentCode = 0;              // 構成キー
+                wrk.FixedItemCode = string.Empty;	// 固定項目キー
+                wrk.ItemName = string.Empty;      	// 作業名称
+                wrk.SpecName = string.Empty;      	// 品質・形状・寸法
+                wrk.PriceValue = 0;                 // 金額
+                wrk.Note = string.Empty;			// 備考
+                wrk.MyExpensesFlg = 0;              // 自社経費フラグ
+                wrk.InputFlg = 0;                   // 入力フラグ
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 最大値取得処理
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(ConstructionCode), 0) FROM EstimateData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into EstimateData ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("DATE_FORMAT(", "").Replace(", '%Y/%m/%d')", "").Replace(", '%Y/%m/%d %H:%i:%s')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE EstimateData SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataBody.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataBody.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataBody.cs	(revision 84)
@@ -0,0 +1,489 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient; 
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 積算見積ページデータＤＢアクセス
+    /// </summary>
+    public class IOEstimateDataBody : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算見積ページデータフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+            PageCount,		        // ページ番号
+            Category,               // 頁区分
+            UnionComponentCode,		// 所属構成キー
+            ComponentCode,		    // 構成キー
+            ItemCode,		        // 工種キー
+            SelectComponent,		// 選択構成キー
+            PageTitle,              // ページ表示名
+            DetailLineCount,        // 明細行番号
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateDataBody()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ConstructionCode";         // 工事番号
+            strcmd += ", PageCount";		        // ページ番号
+            strcmd += ", Category";		            // 頁区分
+            strcmd += ", UnionComponentCode";		// 所属構成キー
+            strcmd += ", ComponentCode";		    // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", SelectComponent";		    // 選択構成キー
+            strcmd += ", PageTitle";		        // ページ表示名
+            strcmd += ", DetailLineCount";          // 明細行番号
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM EstimateDataBody";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref EstimateDataBody data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込み処理
+        /// <summary>
+        /// 積算見積ページデータ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<EstimateDataBody> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateDataBody work = new EstimateDataBody();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 積算見積ページデータ追加
+        /// </summary>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateDataBody work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO EstimateDataBody";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);    // 工事番号
+                strcmd += string.Format(", {0}", work.PageCount);		    // ページ番号
+                strcmd += string.Format(", {0}", work.Category);		    // ページ区分
+                strcmd += string.Format(", {0}", work.UnionComponentCode);	// 所属構成キー
+                strcmd += string.Format(", {0}", work.ComponentCode);	    // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		    // 工種キー
+                strcmd += string.Format(", {0}", work.SelectComponent);	    // 選択構成キー
+                strcmd += string.Format(",'{0}'", work.PageTitle);	        // ページ表示名
+                strcmd += string.Format(", {0}", work.DetailLineCount);     // 明細行番号
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        /// <summary>
+        /// 積算見積ページデータ追加
+        /// </summary>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<EstimateDataBody> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (EstimateDataBody work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 積算見積ページデータ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateDataBody data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateDataBody";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	// 工事番号
+                strcmd += string.Format(",PageCount = {0}", data.PageCount);		        // ページ番号
+                strcmd += string.Format(",Category = {0}", data.Category);		            // ページ区分
+                strcmd += string.Format(",UnionComponentCode = {0}", data.UnionComponentCode);  // 所属構成キー
+                strcmd += string.Format(",ComponentCode = {0}", data.ComponentCode);        // 構成キー
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode);		            // 工種キー
+                strcmd += string.Format(",SelectComponent = {0}", data.SelectComponent);    // 選択構成キー
+                strcmd += string.Format(",PageTitle ='{0}'", data.PageTitle);                // ページ表示名
+                strcmd += string.Format(",DetailLineCount = {0}", data.DetailLineCount);    // 明細行番号
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 積算見積ページデータ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateDataBody", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateDataBody";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:     // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PageCount:		    // ページ番号
+                        strcmd += string.Format(" PageCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.Category:             // 頁区分
+                        strcmd += string.Format(" Category = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.UnionComponentCode:	// 所属構成キー
+                        strcmd += string.Format(" UnionComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:		// 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SelectComponent:		// 選択構成キー
+                        strcmd += string.Format(" SelectComponent = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PageTitle:            // ページ表示名
+                        strcmd += string.Format(" PageTitle = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.DetailLineCount:      // 明細行番号
+                        strcmd += string.Format(" DetailLineCount = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateDataBody wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	// 工事番号
+                wrk.PageCount = int.Parse(objwrk[(int)TableColumn.PageCount].ToString());		        // ページ番号
+                wrk.Category = int.Parse(objwrk[(int)TableColumn.Category].ToString());		            // ページ区分
+                wrk.UnionComponentCode = int.Parse(objwrk[(int)TableColumn.UnionComponentCode].ToString());  // 所属構成キー
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	    // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		            // 工種キー
+                wrk.SelectComponent = int.Parse(objwrk[(int)TableColumn.SelectComponent].ToString());	// 選択構成キー
+                wrk.PageTitle = objwrk[(int)TableColumn.PageTitle].ToString();	                        // ページ表示名
+                wrk.DetailLineCount = int.Parse(objwrk[(int)TableColumn.DetailLineCount].ToString());	// 選択構成キー
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region データクリア処理
+        /// <summary>
+        /// データクリア処理
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref EstimateDataBody wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = 0;       // 工事番号
+                wrk.PageCount = 0;              // ページ番号
+                wrk.Category = 0;               // ページ区分
+                wrk.UnionComponentCode = 0;     // 所属構成キー
+                wrk.ComponentCode = 0;          // 構成キー
+                wrk.ItemCode = 0;               // 工種キー
+                wrk.SelectComponent = 0;        // 選択構成キー
+                wrk.PageTitle = string.Empty;   // ページ表示名
+                wrk.DetailLineCount = 0;        // 選択構成キー
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int PageCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (PageCount != 0)
+                    strWork += string.Format(" And PageCount = {0}", PageCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into EstimateDataBody ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("DATE_FORMAT(", "").Replace(", '%Y/%m/%d')", "").Replace(", '%Y/%m/%d %H:%i:%s')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE EstimateDataBody SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataDetail.cs	(revision 84)
@@ -0,0 +1,608 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 積算見積データ明細ＤＢアクセス
+    /// </summary>
+    public class IOEstimateDataDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算見積データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+            PageCount,		        // ページ番号
+            LineCount,		        // 行番号
+            DataType,               // データタイプ
+            ComponentCode,		    // 構成キー
+            ItemCode,		        // 工種キー
+            SpecCode,		        // 規格・寸法キー
+            ItemName,		        // 作業名称
+            SpecName,		        // 作業／品質・形状・寸法
+            UnitCount,		        // 数量
+            UnitName,		        // 単位
+            UnitPrice,		        // 単価
+            LineTotal,		        // 金額
+            Note,			        // 備考
+            CompanyCode,            // 協力会社コード
+            MyExpensesFlg,
+            InputFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateDataDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";         // 工事番号
+            strcmd += ", PageCount";		        // ページ番号
+            strcmd += ", LineCount";		        // 行番号
+            strcmd += ", DataType";                 // データイプ
+            strcmd += ", ComponentCode";		    // 構成キー（行）
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", SpecCode";		            // 規格・寸法キー
+            strcmd += ", ItemName";		            // 作業名称
+            strcmd += ", SpecName";		            // 作業／品質・形状・寸法
+            strcmd += ", UnitCount";		        // 数量
+            strcmd += ", UnitName";		            // 単位
+            strcmd += ", UnitPrice";		        // 単価
+            strcmd += ", LineTotal";		        // 金額
+            strcmd += ", Note";			            // 備考
+            strcmd += ", CompanyCode";              // 協力会社コード
+            strcmd += ", MyExpensesFlg";
+            strcmd += ", InputFlg";
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM EstimateDataDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 読込み処理
+        /// <summary>
+        /// 積算見積データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<EstimateDataDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateDataDetail work = new EstimateDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込み処理
+        public bool SelectAction(string AddSQLString, ref EstimateDataDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 積算見積データ明細追加
+        /// </summary>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateDataDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                    strcmd = "INSERT INTO EstimateDataDetail";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.ConstructionCode);    // 工事番号
+                    strcmd += string.Format(", {0}", work.PageCount);		    // ページ番号
+                    strcmd += string.Format(", {0}", work.LineCount);		    // 行番号
+                    strcmd += string.Format(", {0}", work.DataType);		    // データタイプ
+                    strcmd += string.Format(", {0}", work.ComponentCode);	    // 構成キー
+                    strcmd += string.Format(", {0}", work.ItemCode);		    // 工種キー
+                    strcmd += string.Format(", {0}", work.SpecCode);		    // 規格・寸法キー
+                    strcmd += string.Format(",'{0}'", work.ItemName.Replace(",", "，").Replace("'", "’"));		    // 作業名称
+                    strcmd += string.Format(",'{0}'", work.SpecName.Replace(",", "，").Replace("'", "’"));		    // 作業／品質・形状・寸法
+                    strcmd += string.Format(", {0}", work.UnitCount);		    // 数量
+                    strcmd += string.Format(",'{0}'", work.UnitName);		    // 単位
+                    strcmd += string.Format(", {0}", work.UnitPrice);		    // 単価
+                    strcmd += string.Format(", {0}", work.LineTotal);		    // 金額
+                    strcmd += string.Format(",'{0}'", work.Note.Replace(",", "，").Replace("'", "’"));			    // 備考
+                    strcmd += string.Format(", {0}", work.CompanyCode);		    // 協力会社コード
+                    strcmd += string.Format(", {0}", work.MyExpensesFlg);       // 自社経費フラグ
+                    strcmd += string.Format(", {0}", work.InputFlg);            // 入力フラグ
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        /// <summary>
+        /// 積算見積データ明細追加
+        /// </summary>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<EstimateDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (EstimateDataDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+             
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 積算見積データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	// 工事番号
+                strcmd += string.Format(",PageCount = {0}", data.PageCount);		        // ページ番号
+                strcmd += string.Format(",LineCount = {0}", data.LineCount);		        // 行番号
+                strcmd += string.Format(",DataType = {0}", data.DataType);		            // データタイプ
+                strcmd += string.Format(",ComponentCode = {0}", data.ComponentCode);        // 構成キー（行）
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode);		            // 工種キー
+                strcmd += string.Format(",SpecCode = {0}", data.SpecCode);		            // 規格・寸法キー
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName.Replace(",", "，").Replace("'", "’"));		        // 作業名称
+                strcmd += string.Format(",SpecName = '{0}'", data.SpecName.Replace(",", "，").Replace("'", "’"));		        // 作業／品質・形状・寸法
+                strcmd += string.Format(",UnitCount = {0}", data.UnitCount);		        // 数量
+                strcmd += string.Format(",UnitName = '{0}'", data.UnitName);		        // 単位
+                strcmd += string.Format(",UnitPrice = {0}", data.UnitPrice);		        // 単価
+                strcmd += string.Format(",LineTotal = {0}", data.LineTotal);		        // 金額
+                strcmd += string.Format(",Note = '{0}'", data.Note.Replace(",", "，").Replace("'", "’"));			            // 備考
+                strcmd += string.Format(",CompanyCode = {0}", data.CompanyCode);		    // 協力会社コード
+                strcmd += string.Format(",MyExpensesFlg = {0}", data.MyExpensesFlg);        // 自社経費フラグ
+                strcmd += string.Format(",InputFlg = {0}", data.InputFlg);                  // 入力フラグ
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 積算見積データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateDataDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	// 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PageCount:		        // ページ番号
+                        strcmd += string.Format(" PageCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:		        // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DataType:               // データタイプ
+                        strcmd += string.Format(" DataType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:		    // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SpecCode:		        // 規格・寸法キー
+                        strcmd += string.Format(" SpecCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemName:		        // 作業名称
+                        strcmd += string.Format(" ItemName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SpecName:		        // 作業／品質・形状・寸法
+                        strcmd += string.Format(" SpecName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.UnitCount:		        // 数量
+                        strcmd += string.Format(" UnitCount = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.UnitName:		        // 単位
+                        strcmd += string.Format(" UnitName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.UnitPrice:		        // 単価
+                        strcmd += string.Format(" UnitPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.LineTotal:		        // 金額
+                        strcmd += string.Format(" LineTotal = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.Note:			        // 備考
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:            // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.MyExpensesFlg:
+                        strcmd += string.Format(" MyExpensesFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.InputFlg:
+                        strcmd += string.Format(" InputFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	// 工事番号
+                wrk.PageCount = int.Parse(objwrk[(int)TableColumn.PageCount].ToString());		            // ページ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());		            // 行番号
+                wrk.DataType = int.Parse(objwrk[(int)TableColumn.DataType].ToString());	                // データタイプ
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	        // 構成キー（行）
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		            // 工種キー
+                wrk.SpecCode = int.Parse(objwrk[(int)TableColumn.SpecCode].ToString());		            // 規格・寸法キー
+                wrk.ItemName = objwrk[(int)TableColumn.ItemName].ToString();		                        // 作業名称
+                wrk.SpecName = objwrk[(int)TableColumn.SpecName].ToString();		                        // 作業／品質・形状・寸法
+                wrk.UnitCount = double.Parse(objwrk[(int)TableColumn.UnitCount].ToString());		        // 数量
+                wrk.UnitName = objwrk[(int)TableColumn.UnitName].ToString();		                        // 単位
+                wrk.UnitPrice = double.Parse(objwrk[(int)TableColumn.UnitPrice].ToString());		        // 単価
+                wrk.LineTotal = double.Parse(objwrk[(int)TableColumn.LineTotal].ToString());		        // 金額
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();			                            // 備考
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());		        // 協力会社コード
+                wrk.MyExpensesFlg = int.Parse(objwrk[(int)TableColumn.MyExpensesFlg].ToString());          // 自社経費フラグ
+                wrk.InputFlg = int.Parse(objwrk[(int)TableColumn.InputFlg].ToString());                    // 入力フラグ
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region データクリア処理
+        /// <summary>
+        /// データクリア処理
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref EstimateDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = 0;       // 工事番号
+                wrk.PageCount = 0;		        // ページ番号
+                wrk.LineCount = 0;		        // 行番号
+                wrk.DataType = 0;	            // データタイプ
+                wrk.ComponentCode = 0;	        // 構成キー（行）
+                wrk.ItemCode = 0;		        // 工種キー
+                wrk.SpecCode = 0;		        // 規格・寸法キー
+                wrk.ItemName = string.Empty;    // 作業名称
+                wrk.SpecName = string.Empty;	// 作業／品質・形状・寸法
+                wrk.UnitCount = 0;		        // 数量
+                wrk.UnitName = string.Empty;    // 単位
+                wrk.UnitPrice = 0;		        // 単価
+                wrk.LineTotal = 0;		        // 金額
+                wrk.Note = string.Empty;		// 備考
+                wrk.CompanyCode = 0;		    // 協力会社コード
+                wrk.MyExpensesFlg = 0;          // 自社経費フラグ
+                wrk.InputFlg = 0;               // 入力フラグ
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 工事番号の最大値を取得する
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxLineCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(LineCount), 0) FROM EstimateDataDetail" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int PageCount = 0, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (PageCount != 0)
+                    strWork += string.Format(" And PageCount = {0}", PageCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into EstimateDataDetail ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("DATE_FORMAT(", "").Replace(", '%Y/%m/%d')", "").Replace(", '%Y/%m/%d %H:%i:%s')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE EstimateDataDetail SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInputSearchLogData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInputSearchLogData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInputSearchLogData.cs	(revision 84)
@@ -0,0 +1,373 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 行動予定アクセスクラス
+    /// </summary>
+    public class IOInputSearchLogData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ConstructionCode = 0,
+            UsedProcessNo,
+            DisplayOrder,
+            DataType,
+            InputCode,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOInputSearchLogData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode,";
+            strcmd += " UsedProcessNo,";
+            strcmd += " DisplayOrder,";
+            strcmd += " DataType,";
+            strcmd += " InputCode";
+            strcmd += " FROM InputSearchLogData";
+            return strcmd;
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref InputSearchLogData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数件読込み処理
+        /// <summary>
+        /// 複数県読込
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<InputSearchLogData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL();
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    InputSearchLogData work = new InputSearchLogData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 複数件追加
+        /// <summary>
+        /// 複数件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<InputSearchLogData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (InputSearchLogData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加
+        /// <summary>
+        /// １件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(InputSearchLogData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO InputSearchLogData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode);
+                    strcmd += string.Format(", {0}", data.UsedProcessNo);
+                    strcmd += string.Format(", {0}", data.DisplayOrder);
+                    strcmd += string.Format(", {0}", data.DataType);
+                    strcmd += string.Format(", {0}", data.InputCode);
+                    strcmd += ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件更新
+        /// <summary>
+        /// データ更新
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, InputSearchLogData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE InputSearchLogData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(", UsedProcessNo = {0}", data.UsedProcessNo);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", DataType = {0}", data.DataType.ToString());
+                strcmd += string.Format(", InputCode = {0}", data.InputCode.ToString());
+
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ削除
+        /// <summary>
+        /// データ削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM InputSearchLogData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref InputSearchLogData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)NameColumn.ConstructionCode].ToString());
+                wrk.UsedProcessNo = int.Parse(objwrk[(int)NameColumn.UsedProcessNo].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.DataType = int.Parse(objwrk[(int)NameColumn.DataType].ToString());
+                wrk.InputCode = int.Parse(objwrk[(int)NameColumn.InputCode].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 検索キー文字列作成
+        /// <summary>
+        /// 検索キー文字列作成
+        /// </summary>
+        /// <param name="TargetDate"></param>
+        /// <param name="PersonCode"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int UsedProcessNo = 0, int DisplayOrder = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode.ToString());
+                if (UsedProcessNo != 0)
+                    strWork += string.Format(" And UsedProcessNo = {0}", UsedProcessNo.ToString());
+                if (DisplayOrder != 0)
+                    strWork += string.Format(" And UsedProcessNo = {0}", DisplayOrder.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 最大値を取得
+        /// <summary>
+        /// 対象データの件数最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DisplayOrder), 0) FROM InputSearchLogData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInvoiceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInvoiceData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInvoiceData.cs	(revision 84)
@@ -0,0 +1,560 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 請求書データアクセスクラス
+    /// </summary>
+    public class IOInvoiceData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 請求データフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            InvoiceNo = 0,
+            OrderersDivision,
+            OrderersCode,
+            RequestMonth,
+            SeqNo,
+            CretateDate,
+            RequestDate,
+            RequestName,
+            TotalAmount,
+            TaxAmount,
+            Comment1,
+            Comment2,
+            Comment3,
+            Comment4,
+            Comment5,
+            CompleteFlg,
+            ENTRYDATE,
+            UPDATEDATE,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="connectionString"></param>
+        public IOInvoiceData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+
+        #region 請求書データ検索(１件取得)
+        /// <summary>
+        /// 請求書データ検索(複数件取得)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref InvoiceData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL();
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+        #region 請求書データ検索(複数件取得)
+        /// <summary>
+        /// 請求書データ検索(複数件取得)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<InvoiceData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL();
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    InvoiceData work = new InvoiceData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求書データ複数追加
+        /// <summary>
+        /// 請求書データ複数追加
+        /// </summary>
+        /// <param name="data">請求データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<InvoiceData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (InvoiceData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求書データ１件追加
+        /// <summary>
+        /// 請求書データ１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(InvoiceData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO InvoiceData";
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.InvoiceNo.ToString());
+                strcmd += string.Format(", {0}", data.OrderersDivision.ToString());
+                strcmd += string.Format(", {0}", data.OrderersCode.ToString());
+                strcmd += string.Format(", {0}", data.RequestMonth.ToString());
+                strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.CretateDate.ToShortDateString());
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.RequestDate.ToShortDateString());
+                strcmd += string.Format(", '{0}'", data.RequestName.ToString());
+                strcmd += string.Format(", {0}", data.TotalAmount.ToString());    
+                strcmd += string.Format(", {0}", data.TaxAmount.ToString());
+                strcmd += string.Format(", '{0}'", data.Comment1.ToString());
+                strcmd += string.Format(", '{0}'", data.Comment2.ToString());
+                strcmd += string.Format(", '{0}'", data.Comment3.ToString());
+                strcmd += string.Format(", '{0}'", data.Comment4.ToString());
+                strcmd += string.Format(", '{0}'", data.Comment5.ToString());
+                strcmd += string.Format(", {0}", data.CompleteFlg.ToString());
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求書データ更新
+        /// <summary>
+        /// 請求データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">請求書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, InvoiceData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE InvoiceData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" OrderersDivision = {0}", data.OrderersDivision.ToString());
+                strcmd += string.Format(", OrderersCode = {0}", data.OrderersCode.ToString());
+                strcmd += string.Format(", RequestMonth = {0}", data.RequestMonth.ToString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(", CretateDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.CretateDate.ToShortDateString());
+                strcmd += string.Format(", RequestDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.RequestDate.ToShortDateString());
+                strcmd += string.Format(", RequestName = '{0}'", data.RequestName.ToString());
+                strcmd += string.Format(", TotalAmount = {0}", data.TotalAmount.ToString());
+                strcmd += string.Format(", TaxAmount = {0}", data.TaxAmount.ToString());
+                strcmd += string.Format(", Comment1 = '{0}'", data.Comment1.ToString());
+                strcmd += string.Format(", Comment2 = '{0}'", data.Comment2.ToString());
+                strcmd += string.Format(", Comment3 = '{0}'", data.Comment3.ToString());
+                strcmd += string.Format(", Comment4 = '{0}'", data.Comment4.ToString());
+                strcmd += string.Format(", Comment5 = '{0}'", data.Comment5.ToString());
+                strcmd += string.Format(", CompleteFlg = {0}", data.CompleteFlg.ToString());
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求書データ削除
+        /// <summary>
+        /// 請求データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM InvoiceData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref InvoiceData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.InvoiceNo = int.Parse(objwrk[(int)NameColumn.InvoiceNo].ToString());
+                
+                wrk.OrderersDivision = int.Parse(objwrk[(int)NameColumn.OrderersDivision].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)NameColumn.OrderersCode].ToString());
+                wrk.RequestMonth = int.Parse(objwrk[(int)NameColumn.RequestMonth].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+
+                wrk.CretateDate = DateTime.Parse(objwrk[(int)NameColumn.CretateDate].ToString());
+                wrk.RequestDate = DateTime.Parse(objwrk[(int)NameColumn.RequestDate].ToString());
+
+                wrk.RequestName = objwrk[(int)NameColumn.RequestName].ToString();
+
+                wrk.TotalAmount = int.Parse(objwrk[(int)NameColumn.TotalAmount].ToString());
+                wrk.TaxAmount = int.Parse(objwrk[(int)NameColumn.TaxAmount].ToString());
+
+                wrk.Comment1 = objwrk[(int)NameColumn.Comment1].ToString();
+                wrk.Comment2 = objwrk[(int)NameColumn.Comment2].ToString();
+                wrk.Comment3 = objwrk[(int)NameColumn.Comment3].ToString();
+                wrk.Comment4 = objwrk[(int)NameColumn.Comment4].ToString();
+                wrk.Comment5 = objwrk[(int)NameColumn.Comment5].ToString();
+
+                wrk.CompleteFlg = int.Parse(objwrk[(int)NameColumn.CompleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref InvoiceData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.InvoiceNo = 0;
+                
+                wrk.OrderersDivision = 0;
+                wrk.OrderersCode = 0;
+                wrk.RequestMonth = 0;
+                wrk.SeqNo = 0;
+                
+                wrk.CretateDate = DateTime.MinValue;
+                wrk.RequestDate = DateTime.MinValue;
+                
+                wrk.RequestName = "";
+                
+                wrk.TotalAmount = 0;
+                wrk.TaxAmount = 0;
+                
+                wrk.Comment1 = "";
+                wrk.Comment2 = "";
+                wrk.Comment3 = "";
+                wrk.Comment4 = "";
+                wrk.Comment5 = "";
+
+                wrk.CompleteFlg = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="InvoiceNo">請求書No</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int InvoiceNo)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where InvoiceNo = {0}", InvoiceNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region サブキー検索の文字列を返す
+        /// <summary>
+        /// サブキー検索の文字列を返す
+        /// </summary>
+        /// <param name="OrderersDivision">発注者区分</param>
+        /// <param name="OrderersCode">発注者コード</param>
+        /// <param name="RequestMonth">請求月</param>
+        /// <param name="SeqNo">連番</param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int OrderersDivision, int OrderersCode, int RequestMonth = -1, int SeqNo = -1 )
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where OrderersDivision = {0} and OrderersCode = {1}", OrderersDivision.ToString(),OrderersCode.ToString() );
+                if( RequestMonth != -1 ){
+                    strWork += string.Format(" and RequestMonth = {0}", RequestMonth.ToString() ) ;
+                }
+                if( SeqNo != -1 ){
+                    strWork += string.Format(" and SeqNo = {0}", SeqNo.ToString() ) ;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 請求書Noの採番
+        public int NumberingInvoiceNo(int RequestMonth, bool bConnect = true)
+        {
+            int ret = -1;
+
+            string sql = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                sql = string.Format("SELECT IFNULL(MAX(InvoiceNo),0) FROM InvoiceData WHERE RequestMonth = {0}", RequestMonth);
+
+                // SQL実行
+                if (!ExecuteReader(sql, ref arData, bConnect)) return -1;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ret = int.Parse(objwrk[0].ToString());
+                    break;
+                }
+
+                if (ret > 0)
+                {
+                    ret++;
+                }
+                else
+                {
+                    ret = (RequestMonth * 1000) + 1;
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, sql);
+            }
+
+            return ret;
+
+        }
+        #endregion
+
+        #region 連番の採番
+        public int NumberingSeqNo(int nOrderersDivision, int nOrderersCode, int RequestMonth, bool bConnect = true)
+        {
+            int ret = -1;
+
+            string sql = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                sql = "SELECT IFNULL(MAX(SeqNo),0) FROM InvoiceData" ;
+                sql += string.Format(" WHERE OrderersDivision = {0}", nOrderersDivision);
+                sql += string.Format(" AND OrderersCode = {0}", nOrderersCode);
+                sql += string.Format(" AND RequestMonth = {0}", RequestMonth);
+
+                // SQL実行
+                if (!ExecuteReader(sql, ref arData, bConnect)) return -1;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ret = int.Parse(objwrk[0].ToString());
+                    break;
+                }
+
+                ret++;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, sql);
+            }
+
+            return ret;
+
+        }
+        #endregion
+
+        #region SELECT　SQL作成
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " InvoiceNo";
+            strcmd += " ,OrderersDivision";
+            strcmd += " ,OrderersCode";
+            strcmd += " ,RequestMonth";
+            strcmd += " ,SeqNo";
+            strcmd += " ,DATE_FORMAT(CretateDate, '%Y/%m/%d')";
+            strcmd += " ,DATE_FORMAT(RequestDate, '%Y/%m/%d')";
+            strcmd += " ,RequestName";
+            strcmd += " ,TotalAmount";
+            strcmd += " ,TaxAmount";
+            strcmd += " ,Comment1";
+            strcmd += " ,Comment2";
+            strcmd += " ,Comment3";
+            strcmd += " ,Comment4";
+            strcmd += " ,Comment5";
+            strcmd += " ,CompleteFlg";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM InvoiceData";
+
+            return strcmd;
+        }
+        #endregion
+
+
+    }
+
+}
+
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMApproval.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMApproval.cs	(revision 84)
@@ -0,0 +1,323 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 承認経路登録マスタアクセスクラス
+    /// </summary>
+    public class IOMApproval : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認経路登録マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ApprovalCode = 0,
+            DepartmentCode,
+            SeqNo,
+            DisplayOrder,
+            ApprovalPerson,
+            ApprovalAuthority,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMApproval()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 承認経路登録マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認経路登録マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ApprovalMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " ApprovalCode";
+                strcmd += ",DepartmentCode";
+                strcmd += ",SeqNo";
+                strcmd += ",DisplayOrder";
+                strcmd += ",ApprovalPerson";
+                strcmd += ",ApprovalAuthority";
+                strcmd += ",DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += ",DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM ApprovalMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ApprovalMaster work = new ApprovalMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 承認経路登録マスタ追加
+        /// </summary>
+        /// <param name="data">承認経路登録マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ApprovalMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ApprovalMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool InsertAction(ApprovalMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ApprovalMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ApprovalCode.ToString());
+                    strcmd += string.Format(", {0}", data.DepartmentCode.ToString());
+                    strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalPerson.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalAuthority.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 承認経路登録マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認経路登録マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ApprovalMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ApprovalMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ApprovalPerson = {0}", data.ApprovalPerson.ToString());
+                strcmd += string.Format(",ApprovalAuthority = {0}", data.ApprovalAuthority.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 承認経路登録マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認経路登録マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ApprovalMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ApprovalMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ApprovalCode = int.Parse(objwrk[(int)NameColumn.ApprovalCode].ToString());
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ApprovalPerson = int.Parse(objwrk[(int)NameColumn.ApprovalPerson].ToString());
+                wrk.ApprovalAuthority = int.Parse(objwrk[(int)NameColumn.ApprovalAuthority].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ApprovalCode, int DepartmentCode = -1, int SeqNo = -1)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ApprovalCode = {0}", ApprovalCode.ToString());
+                if (DepartmentCode != -1)
+                    strWork += string.Format(" And DepartmentCode = {0}", DepartmentCode.ToString());
+                if (SeqNo != -1)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM ApprovalMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMBusinessType.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMBusinessType.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMBusinessType.cs	(revision 84)
@@ -0,0 +1,286 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 業種マスタアクセスクラス
+    /// </summary>
+    public class IOMBusinessType : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 業種マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            BusinessTypeCode = 0,
+            DisplayOrder,
+            BusinessTypeName,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMBusinessType()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 業種マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<BusinessTypeMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " BusinessTypeCode, DisplayOrder, BusinessTypeName";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM BusinessTypeMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    BusinessTypeMaster work = new BusinessTypeMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 業種マスタ追加
+        /// </summary>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<BusinessTypeMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (BusinessTypeMaster work in data)
+                {
+                    strcmd = "INSERT INTO BusinessTypeMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.BusinessTypeCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.BusinessTypeName);
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 業種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, BusinessTypeMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE BusinessTypeMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" BusinessTypeCode = {0}", data.BusinessTypeCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",BusinessTypeName = '{0}'", data.BusinessTypeName);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 業種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM BusinessTypeMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref BusinessTypeMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.BusinessTypeCode = int.Parse(objwrk[(int)NameColumn.BusinessTypeCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.BusinessTypeName=objwrk[(int)NameColumn.BusinessTypeName].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int BusinessTypeCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where BusinessTypeCode = {0}", BusinessTypeCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxBusinessTypeKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(BusinessTypeCode), 0) FROM BusinessTypeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCategoryName.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCategoryName.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCategoryName.cs	(revision 84)
@@ -0,0 +1,340 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// カテゴリ名称マスタアクセスクラス
+    /// </summary>
+    public class IOMCategoryName : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// カテゴリ名称マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            NameCode = 0,
+            CategoryCode,
+            DisplayOrder,
+            CategoryName,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCategoryName()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// カテゴリ名称マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">カテゴリ名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<CategoryNameMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+
+                strcmd += "  NameCode";
+                strcmd += " ,CategoryCode";
+                strcmd += " ,DisplayOrder";
+                strcmd += " ,CategoryName";
+                strcmd += " ,DeleteFlg";
+
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM CategoryNameMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CategoryNameMaster work = new CategoryNameMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// カテゴリ名称マスタ追加
+        /// </summary>
+        /// <param name="data">カテゴリ名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CategoryNameMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CategoryNameMaster work in data)
+                {
+                    strcmd = "INSERT INTO CategoryNameMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.NameCode.ToString());
+                    strcmd += string.Format(", {0}", work.CategoryCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(",'{0}'", work.CategoryName.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// カテゴリ名称マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">カテゴリ名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CategoryNameMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CategoryNameMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",CategoryCode = {0}", data.CategoryCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",CategoryName ='{0}'", data.CategoryName.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// カテゴリ名称マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">カテゴリ名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CategoryNameMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">カテゴリタイプ</param>
+        /// <param name="CategoryCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, int CategoryCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode, CategoryCode);
+            try
+            {
+                List<CategoryNameMaster> workList = new List<CategoryNameMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CategoryNameMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.CategoryCode = int.Parse(objwrk[(int)NameColumn.CategoryCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.CategoryName = objwrk[(int)NameColumn.CategoryName].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// カテゴリ履歴の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT MAX(CategoryCode) FROM CategoryNameMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">カテゴリタイプ</param>
+        /// <param name="CategoryCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int NameCode, int CategoryCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where NameCode = {0}", NameCode);
+
+                if (CategoryCode != 0)
+                {
+                    strWork += string.Format(" And CategoryCode = {0}", CategoryCode);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLarge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLarge.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLarge.cs	(revision 84)
@@ -0,0 +1,370 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 共通費大項目マスタアクセスクラス
+    /// </summary>
+    public class IOMCommonCostLarge : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 共通費大項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LargeCode = 0,
+            DisplayOrder,
+            LargeName,
+            CommentText,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCommonCostLarge()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 共通費大項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">共通費大項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  LargeCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,LargeName";
+            strcmd += " ,CommentText";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM CommonCostLarge";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<CommonCostLarge> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CommonCostLarge work = new CommonCostLarge();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref CommonCostLarge data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 共通費大項目マスタ追加
+        /// </summary>
+        /// <param name="data">共通費大項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CommonCostLarge> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CommonCostLarge work in data)
+                {
+                    strcmd = "INSERT INTO CommonCostLarge";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.LargeCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.LargeName);
+                    strcmd += string.Format(", '{0}'", work.CommentText);
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 共通費大項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">共通費大項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CommonCostLarge data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CommonCostLarge";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" LargeCode = {0}", data.LargeCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",LargeName = '{0}'", data.LargeName);
+                strcmd += string.Format(",CommentText = '{0}'", data.CommentText);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 共通費大項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">共通費大項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CommonCostLarge", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ItemCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ItemCode);
+            try
+            {
+                List<CommonCostLarge> workList = new List<CommonCostLarge>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CommonCostLarge wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LargeCode = int.Parse(objwrk[(int)NameColumn.LargeCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.LargeName = objwrk[(int)NameColumn.LargeName].ToString();
+                wrk.CommentText = objwrk[(int)NameColumn.CommentText].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCommonCostLargeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(LargeCode), 0) FROM CommonCostLarge" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="CommonCostLargeCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CommonCostLargeCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where LargeCode = {0}", CommonCostLargeCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLinkMS.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLinkMS.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLinkMS.cs	(revision 84)
@@ -0,0 +1,356 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 共通費工種関連マスタアクセスクラス
+    /// </summary>
+    public class IOMCommonCostLinkMS : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LargeCode = 0,
+            MiddleCode,
+            ItemCode,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCommonCostLinkMS()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 共通費工種関連マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  LargeCode";
+            strcmd += " ,MiddleCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM CommonCostLinkMS";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<CommonCostLinkMS> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CommonCostLinkMS work = new CommonCostLinkMS();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref CommonCostLinkMS data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 共通費工種関連マスタ追加
+        /// </summary>
+        /// <param name="data">共通費工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(CommonCostLinkMS work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO CommonCostLinkMS";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.LargeCode.ToString());
+                strcmd += string.Format(", {0}", work.MiddleCode.ToString());
+                strcmd += string.Format(", {0}", work.ItemCode.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 共通費工種関連マスタ追加
+        /// </summary>
+        /// <param name="data">共通費工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CommonCostLinkMS> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CommonCostLinkMS work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 共通費工種関連マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">共通費工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CommonCostLinkMS data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CommonCostLinkMS";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.LargeCode.ToString());
+                strcmd += string.Format(",MiddleCode = {0}", data.MiddleCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CommonCostLinkMS", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CommonCostLinkMS wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LargeCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.LargeCode].ToString());
+                wrk.MiddleCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.MiddleCode].ToString());
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 最大値取得
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxIDisplayOrderCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DisplsyOrder), 0) FROM CommonCostLinkMS" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 検索の文字列作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int LargeCode, int MiddleCode = 0, int ItemCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where LargeCode = {0}", LargeCode);
+                if (MiddleCode != 0) strWork += string.Format(" And MiddleCode = {0}", MiddleCode);
+                if (ItemCode != 0) strWork += string.Format(" And ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddle.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddle.cs	(revision 84)
@@ -0,0 +1,376 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 共通費中項目マスタアクセスクラス
+    /// </summary>
+    public class IOMCommonCostMiddle : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 共通費中項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LargeCode = 0,
+            MiddleCode,
+            DisplayOrder,
+            MiddleName,
+            CommentText,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCommonCostMiddle()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 共通費中項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  LargeCode";
+            strcmd += " ,MiddleCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,MiddleName";
+            strcmd += " ,CommentText";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM CommonCostMiddle";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<CommonCostMiddle> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CommonCostMiddle work = new CommonCostMiddle();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref CommonCostMiddle data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ追加
+        /// </summary>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CommonCostMiddle> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CommonCostMiddle work in data)
+                {
+                    strcmd = "INSERT INTO CommonCostMiddle";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.LargeCode.ToString());
+                    strcmd += string.Format(", {0}", work.MiddleCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.MiddleName);
+                    strcmd += string.Format(", '{0}'", work.CommentText);
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CommonCostMiddle data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CommonCostMiddle";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" LargeCode = {0}", data.LargeCode.ToString());
+                strcmd += string.Format(" MiddleCode = {0}", data.MiddleCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",MiddleName = '{0}'", data.MiddleName);
+                strcmd += string.Format(",CommentText = '{0}'", data.CommentText);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 共通費中項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CommonCostMiddle", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int LargeCode, int MiddleCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(LargeCode, MiddleCode);
+            try
+            {
+                List<CommonCostMiddle> workList = new List<CommonCostMiddle>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CommonCostMiddle wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LargeCode = int.Parse(objwrk[(int)NameColumn.LargeCode].ToString());
+                wrk.MiddleCode = int.Parse(objwrk[(int)NameColumn.MiddleCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.MiddleName = objwrk[(int)NameColumn.MiddleName].ToString();
+                wrk.CommentText = objwrk[(int)NameColumn.CommentText].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCommonCostMiddleCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(MiddleCode), 0) FROM CommonCostMiddle" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="MiddleCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int LargeCode, int MiddleCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where LargeCode = {0}", LargeCode);
+                strWork = string.Format(" And MiddleCode = {0}", MiddleCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddleSearchWord.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddleSearchWord.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddleSearchWord.cs	(revision 84)
@@ -0,0 +1,314 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 共通費中項目キーマスタアクセスクラス
+    /// </summary>
+    public class IOMCommonCostMiddleSearchWord : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 共通費中項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LargeCode = 0,
+            MiddleCode,
+            SeqNo,
+            SearchWord,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCommonCostMiddleSearchWord()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 共通費中項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  LargeCode";
+            strcmd += " ,MiddleCode";
+            strcmd += " ,SeqNo";
+            strcmd += " ,SearchWord";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM CommonCostMiddleSearchWord";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<CommonCostMiddleSearchWord> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CommonCostMiddleSearchWord work = new CommonCostMiddleSearchWord();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref CommonCostMiddleSearchWord data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ追加
+        /// </summary>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(CommonCostMiddleSearchWord work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO CommonCostMiddleSearchWord";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.LargeCode.ToString());
+                strcmd += string.Format(", {0}", work.MiddleCode.ToString());
+                strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                strcmd += string.Format(", '{0}'", work.SearchWord);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ追加
+        /// </summary>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CommonCostMiddleSearchWord> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CommonCostMiddleSearchWord work in data)
+                {
+                    if (!InsertAction(data, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CommonCostMiddleSearchWord data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CommonCostMiddleSearchWord";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" LargeCode = {0}", data.LargeCode.ToString());
+                strcmd += string.Format(" MiddleCode = {0}", data.MiddleCode.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",SearchWord = '{0}'", data.SearchWord);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 共通費中項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CommonCostMiddleSearchWord", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CommonCostMiddleSearchWord wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LargeCode = int.Parse(objwrk[(int)NameColumn.LargeCode].ToString());
+                wrk.MiddleCode = int.Parse(objwrk[(int)NameColumn.MiddleCode].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.SearchWord = objwrk[(int)NameColumn.SearchWord].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="MiddleCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int LargeCode, int MiddleCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where LargeCode = {0}", LargeCode);
+                if (MiddleCode != 0) strWork += string.Format(" And MiddleCode = {0}", MiddleCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponent.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponent.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponent.cs	(revision 84)
@@ -0,0 +1,525 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事構成マスタアクセスクラス
+    /// </summary>
+    public class IOMComponent : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事構成マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ComponentCode = 0,
+            DisplayOrder,
+            ComponentName,
+            SubitemsFlg,
+            DirectInputFlg,
+            MyExpensesFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMComponent()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 工事構成マスタ検索文字作成
+        /// <summary>
+        /// 工事構成マスタ検索文字作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ComponentCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ComponentName";
+            strcmd += " ,SubitemsFlg";
+            strcmd += " ,DirectInputFlg";
+            strcmd += " ,MyExpensesFlg";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ComponentMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事構成マスタ検索（複数）
+        /// <summary>
+        /// 工事構成マスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ComponentMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ComponentMaster work = new ComponentMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 工事構成マスタ検索（1件）
+        /// <summary>
+        /// 工事構成マスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ComponentMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 工事構成マスタ追加（1件）
+        /// <summary>
+        /// 工事構成マスタ追加（1件）
+        /// </summary>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ComponentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ComponentMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", '{0}'", data.ComponentName);
+                strcmd += string.Format(", {0}", data.SubitemsFlg.ToString());
+                strcmd += string.Format(", {0}", data.DirectInputFlg.ToString());
+                strcmd += string.Format(", {0}", data.MyExpensesFlg.ToString());
+                strcmd += string.Format(", {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事構成マスタ追加（複数）
+        /// <summary>
+        /// 工事構成マスタ追加（複数）
+        /// </summary>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ComponentMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ComponentMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事構成マスタ更新
+        /// <summary>
+        /// 工事構成マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ComponentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ComponentMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ComponentName = '{0}'", data.ComponentName);
+                strcmd += string.Format(",SubitemsFlg = {0}", data.SubitemsFlg.ToString());
+                strcmd += string.Format(",DirectInputFlg = {0}", data.DirectInputFlg.ToString());
+                strcmd += string.Format(",MyExpensesFlg = {0}", data.MyExpensesFlg.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事構成マスタ削除
+        /// <summary>
+        /// 工事構成マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ComponentMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 論理削除
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ItemCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ItemCode);
+            try
+            {
+                List<ComponentMaster> workList = new List<ComponentMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ComponentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = int.Parse(objwrk[(int)NameColumn.ComponentCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ComponentName = objwrk[(int)NameColumn.ComponentName].ToString();
+                wrk.SubitemsFlg = int.Parse(objwrk[(int)NameColumn.SubitemsFlg].ToString());
+                wrk.DirectInputFlg = int.Parse(objwrk[(int)NameColumn.DirectInputFlg].ToString());
+                wrk.MyExpensesFlg = int.Parse(objwrk[(int)NameColumn.MyExpensesFlg].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体をクリアする
+        /// <summary>
+        /// 構造体をクリアする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref ComponentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = 0;
+                wrk.DisplayOrder = 0;
+                wrk.ComponentName = string.Empty;
+                wrk.SubitemsFlg = 0;
+                wrk.DirectInputFlg = 0;
+                wrk.MyExpensesFlg = 0;
+                wrk.DeleteFlg = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 最大値を取得する
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxComponentCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(ComponentCode), 0) FROM ComponentMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0}", ComponentCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int ComponentCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ComponentMaster";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)NameColumn.ComponentCode:
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.DisplayOrder:
+                        strcmd += string.Format(" DisplayOrder = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.ComponentName:
+                        strcmd += string.Format(" ComponentName = '{0}'", value.ToString());
+                        break;
+                    case (int)NameColumn.SubitemsFlg:
+                        strcmd += string.Format(" SubitemsFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.DirectInputFlg:
+                        strcmd += string.Format(" DirectInputFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.MyExpensesFlg:
+                        strcmd += string.Format(" MyExpensesFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.DeleteFlg:
+                        strcmd += string.Format(" DeleteFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ComponentCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentLink.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentLink.cs	(revision 84)
@@ -0,0 +1,356 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 構成関連マスタアクセスクラス
+    /// </summary>
+    public class IOMComponentLink : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            DisplayOrder,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMComponentLink()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 工事項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ComponentCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ComponentLinkMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<ComponentLinkMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ComponentLinkMaster work = new ComponentLinkMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref ComponentLinkMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ComponentLinkMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ComponentLinkMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ComponentCode.ToString());
+                strcmd += string.Format(", {0}", work.ItemCode.ToString());
+                strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ComponentLinkMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ComponentLinkMaster work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ComponentLinkMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ComponentLinkMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ComponentLinkMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ComponentLinkMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ComponentCode].ToString());
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 最大値取得
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxIDisplayOrderCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DisplsyOrder), 0) FROM ComponentLinkMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 検索の文字列作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int ItemCode=0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0}", ComponentCode);
+                if (ItemCode != 0)
+                    strWork += string.Format(" And ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentToTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentToTypeMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentToTypeMaster.cs	(revision 84)
@@ -0,0 +1,336 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 構成工事種別関連マスタアクセスクラス
+    /// </summary>
+    public class IOMComponentToType : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            DisplayOrder,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMComponentToType()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 構成工事種別関連マスタ検索文字列作成
+        /// <summary>
+        /// 構成工事種別関連マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ComponentCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ComponentToTypeMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 構成工事種別関連マスタ検索（複数）
+        /// <summary>
+        /// 構成工事種別関連マスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ComponentToTypeMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ComponentToTypeMaster work = new ComponentToTypeMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 構成工事種別関連マスタ検索（1件）
+        /// <summary>
+        /// 構成工事種別関連マスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ComponentToTypeMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ComponentToTypeMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ComponentToTypeMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ComponentCode.ToString());
+                strcmd += string.Format(", {0}", work.TypeCode.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事項目マスタ追加
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ComponentToTypeMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ComponentToTypeMaster work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ComponentToTypeMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ComponentToTypeMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.TypeCode.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ComponentToTypeMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ComponentToTypeMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ComponentCode].ToString());
+                wrk.TypeCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 検索の文字列作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="TypeCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int TypeCode=0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0}", ComponentCode);
+                if (TypeCode != 0)
+                    strWork += string.Format(" And TypeCode = {0}", TypeCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionItem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionItem.cs	(revision 84)
@@ -0,0 +1,403 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事項目マスタアクセスクラス
+    /// </summary>
+    public class IOMConstructionItem : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ItemCode = 0,
+            DisplayOrder,
+            ItemName,
+            SubitemsFlg,
+            MyExpensesFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionItem()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 工事項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ItemName";
+            strcmd += " ,SubitemsFlg";
+            strcmd += " ,MyExpensesFlg";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionItemMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<ConstructionItemMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionItemMaster work = new ConstructionItemMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref ConstructionItemMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionItemMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ConstructionItemMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ItemCode.ToString());
+                strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                strcmd += string.Format(", '{0}'", work.ItemName);
+                strcmd += string.Format(", {0}", work.SubitemsFlg.ToString());
+                strcmd += string.Format(", {0}", work.MyExpensesFlg.ToString());
+                strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionItemMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionItemMaster work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionItemMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionItemMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(",SubitemsFlg = {0}", data.SubitemsFlg.ToString());
+                strcmd += string.Format(",MyExpensesFlg = {0}", data.MyExpensesFlg.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionItemMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ItemCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ItemCode);
+            try
+            {
+                List<ConstructionItemMaster> workList = new List<ConstructionItemMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionItemMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ItemName = objwrk[(int)NameColumn.ItemName].ToString();
+                wrk.SubitemsFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.SubitemsFlg].ToString());
+                wrk.MyExpensesFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.MyExpensesFlg].ToString());
+                wrk.DeleteFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxItemCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(ItemCode), 0) FROM ConstructionItemMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ItemCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpec.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpec.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpec.cs	(revision 84)
@@ -0,0 +1,454 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 施工工種マスタＤＢアクセス
+    /// </summary>
+    public class IOMConstructionSpec : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 施工工種マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ItemCode = 0,
+            SpecCode,
+            DisplayOrder,
+            ItemName,
+            SpecName,
+            UnitName,
+            UnitPrice,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionSpec()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ItemCode";
+            strcmd += ", SpecCode";
+            strcmd += ", DisplayOrder";
+            strcmd += ", ItemName";
+            strcmd += ", SpecName";
+            strcmd += ", UnitName";
+            strcmd += ", UnitPrice";
+            strcmd += ", DeleteFlg";
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionSpecMaster";
+
+            return strcmd;
+        }
+        /// <summary>
+        /// 施工工種マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionSpecMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionSpecMaster work = new ConstructionSpecMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool SelectAction(string AddSQLString, ref ConstructionSpecMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 施工工種マスタ追加
+        /// </summary>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionSpecMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ConstructionSpecMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", work.ItemCode);
+                strcmd += string.Format(",{0}", work.SpecCode);
+                strcmd += string.Format(",{0}", work.DisplayOrder);
+
+                strcmd += string.Format(",'{0}'", work.ItemName);
+                strcmd += string.Format(",'{0}'", work.SpecName);
+                strcmd += string.Format(",'{0}'", work.UnitName);
+                strcmd += string.Format(",{0}", work.UnitPrice);
+                strcmd += string.Format(",{0}", work.DeleteFlg);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 施工工種マスタ追加
+        /// </summary>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionSpecMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionSpecMaster work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 施工工種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionSpecMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionSpecMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ItemCode = {0}", data.ItemCode);
+                strcmd += string.Format(",SpecCode = {0}", data.SpecCode);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(",SpecName = '{0}'", data.SpecName);
+                strcmd += string.Format(",UnitName = '{0}'", data.UnitName);
+                strcmd += string.Format(",UnitPrice = {0}", data.UnitPrice);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 施工工種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionSpecMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ItemCode, int SpecCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ItemCode, SpecCode);
+            try
+            {
+                List<ConstructionSpecMaster> workList = new List<ConstructionSpecMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionSpecMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());
+                wrk.SpecCode = int.Parse(objwrk[(int)TableColumn.SpecCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+
+                wrk.ItemName = objwrk[(int)TableColumn.ItemName].ToString();
+                wrk.SpecName = objwrk[(int)TableColumn.SpecName].ToString();
+                wrk.UnitName = objwrk[(int)TableColumn.UnitName].ToString();
+
+                wrk.UnitPrice = double.Parse(objwrk[(int)TableColumn.UnitPrice].ToString());
+
+                wrk.DeleteFlg = int.Parse(objwrk[(int)TableColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxSpecCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SpecCode), 0) FROM ConstructionSpecMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="SpecCode">項目コード</param>
+        /// <param name="History">登録履歴</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ItemCode, int SpecCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ItemCode = {0}", ItemCode);
+                if (SpecCode != 0) strWork += string.Format(" And SpecCode = {0}", SpecCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 指定表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DisplayOrder), 0) FROM ConstructionSpecMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpecUnitPrice.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpecUnitPrice.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpecUnitPrice.cs	(revision 84)
@@ -0,0 +1,373 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 作業単価マスタＤＢアクセス
+    /// </summary>
+    public class IOMConstructionSpecUnitPrice : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 作業単価マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            SpecCode,
+            ConstructionTypeCode,
+            UnitPrice,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionSpecUnitPrice()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ComponentCode";
+            strcmd += ", ItemCode";
+            strcmd += ", SpecCode";
+            strcmd += ", ConstructionTypeCode";
+            strcmd += ", UnitPrice";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionSpecUnitPrice";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 作業単価マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionSpecUnitPrice data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 作業単価マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionSpecUnitPrice> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionSpecUnitPrice work = new ConstructionSpecUnitPrice();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 作業単価マスタ追加
+        /// </summary>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionSpecUnitPrice data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ConstructionSpecUnitPrice";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" {0}", data.ComponentCode);
+                    strcmd += string.Format(",{0}", data.ItemCode);
+                    strcmd += string.Format(",{0}", data.SpecCode);
+                    strcmd += string.Format(",{0}", data.TypeCode);
+
+                    strcmd += string.Format(",{0}", data.UnitPrice);
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool InsertAction(List<ConstructionSpecUnitPrice> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionSpecUnitPrice work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 作業単価マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionSpecUnitPrice data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionSpecUnitPrice";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode);
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode);
+                strcmd += string.Format(",SpecCode = {0}", data.SpecCode);
+                strcmd += string.Format(",ConstructionTypeCode = {0}", data.TypeCode);
+
+                strcmd += string.Format(",UnitPrice = {0}", data.UnitPrice);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 作業単価マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionSpecUnitPrice", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionSpecUnitPrice wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());
+                wrk.SpecCode = int.Parse(objwrk[(int)TableColumn.SpecCode].ToString());
+                wrk.TypeCode = int.Parse(objwrk[(int)TableColumn.ConstructionTypeCode].ToString());
+
+                wrk.UnitPrice = int.Parse(objwrk[(int)TableColumn.UnitPrice].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxWorkCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SpecCode), 0) FROM ConstructionSpecUnitPrice" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="SpecCode">項目コード</param>
+        /// <param name="History">登録履歴</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int ItemCode, int SpecCode, int ConstructionTypeCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0} And ItemCode = {1} And SpecCode = {2}", ComponentCode, ItemCode, SpecCode);
+                if (ConstructionTypeCode != 0) strWork += string.Format(" And ConstructionTypeCode = {0}", ConstructionTypeCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionTypeMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionTypeMaster.cs	(revision 84)
@@ -0,0 +1,475 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient; 
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 区分マスタアクセスクラス
+    /// </summary>
+    public class IOMConstructionType : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 名称マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            TypeCode = 0,
+            DisplayOrder,
+            NameString,
+            PublicFlg,
+            SecRank,
+            ExpensesLink,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionType()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 名称マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " TypeCode";
+            strcmd += ",DisplayOrder";
+            strcmd += ",NameString";
+            strcmd += ",PublicFlg";
+            strcmd += ",SecRank";
+            strcmd += ",ExpensesLink";
+
+            strcmd += ",DeleteFlg";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ConstructionTypeMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 検索（複数件）
+        /// <summary>
+        /// 検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionTypeMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionTypeMaster work = new ConstructionTypeMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 検索（１件）
+        /// <summary>
+        /// 検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionTypeMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加（１件）
+        /// <summary>
+        /// 追加（１件）
+        /// </summary>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionTypeMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionTypeMaster";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.TypeCode);
+                strcmd += string.Format(", {0}", work.DisplayOrder);
+                strcmd += string.Format(",'{0}'", work.NameString);
+                strcmd += string.Format(", {0}", work.PublicFlg);
+                strcmd += string.Format(", {0}", work.SecRank);
+                strcmd += string.Format(", {0}", work.ExpensesLink);
+                strcmd += string.Format(", {0}", work.DeleteFlg);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加（複数件）
+        /// <summary>
+        /// 追加（複数件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<ConstructionTypeMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionTypeMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 名称マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionTypeMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionTypeMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" TypeCode = {0}", data.TypeCode);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(",NameString = '{0}'", data.NameString);
+                strcmd += string.Format(",PublicFlg = {0}", data.PublicFlg);
+                strcmd += string.Format(",SecRank = {0}", data.SecRank);
+                strcmd += string.Format(",ExpensesLink = {0}", data.ExpensesLink);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 名称マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionTypeMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="TypeCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int TypeCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(TypeCode);
+            try
+            {
+                List<ConstructionTypeMaster> workList = new List<ConstructionTypeMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionTypeMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TypeCode = int.Parse(objwrk[(int)NameColumn.TypeCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.NameString = objwrk[(int)NameColumn.NameString].ToString();
+                wrk.PublicFlg = int.Parse(objwrk[(int)NameColumn.PublicFlg].ToString());
+                wrk.SecRank = int.Parse(objwrk[(int)NameColumn.SecRank].ToString());
+                wrk.ExpensesLink = int.Parse(objwrk[(int)NameColumn.ExpensesLink].ToString());
+
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 種別コードの最大値を取得する
+        /// <summary>
+        /// 種別コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxTypeCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(TypeCode), 0) FROM ConstructionTypeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 表示順の最大値を取得する
+        /// <summary>
+        /// 表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DisplayOrder), 0) FROM ConstructionTypeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(objwrk[0]);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int TypeCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TypeCode = {0}", TypeCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionWork.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionWork.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionWork.cs	(revision 84)
@@ -0,0 +1,400 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 施工工種マスタＤＢアクセス
+    /// </summary>
+    public class IOMConstructionWork : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 施工工種マスタフィールド並び
+        /// </summary>
+        public enum ConstructionWorkMasterColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            WorkCode,
+            DisplayOrder,
+            ItemName,
+            WorkName,
+            UnitName,
+            UnitPrice,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionWork()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 施工工種マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionWorkMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+
+                strcmd += "  ComponentCode";
+                strcmd += ", ItemCode";
+                strcmd += ", WorkCode";
+                strcmd += ", DisplayOrder";
+                strcmd += ", ItemName";
+                strcmd += ", WorkName";
+                strcmd += ", UnitName";
+                strcmd += ", UnitPrice";
+                strcmd += ", DeleteFlg";
+
+                strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM ConstructionWorkMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionWorkMaster work = new ConstructionWorkMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 施工工種マスタ追加
+        /// </summary>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionWorkMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionWorkMaster work in data)
+                {
+                    strcmd = "INSERT INTO ConstructionWorkMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" {0}", work.ComponentCode);
+                    strcmd += string.Format(",{0}", work.ItemCode);
+                    strcmd += string.Format(",{0}", work.WorkCode);
+                    strcmd += string.Format(",{0}", work.DisplayOrder);
+
+                    strcmd += string.Format(",'{0}'", work.ItemName);
+                    strcmd += string.Format(",'{0}'", work.WorkName);
+                    strcmd += string.Format(",'{0}'", work.UnitName);
+                    strcmd += string.Format(",{0}", work.UnitPrice);
+                    strcmd += string.Format(",{0}", work.DeleteFlg);
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 施工工種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionWorkMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionWorkMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode);
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode);
+                strcmd += string.Format(",WorkCode = {0}", data.WorkCode);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(",WorkName = '{0}'", data.WorkName);
+                strcmd += string.Format(",UnitName = '{0}'", data.UnitName);
+                strcmd += string.Format(",UnitPrice = {0}", data.UnitPrice);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 施工工種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionWorkMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ComponentCode, int ItemCode, int WorkCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ComponentCode, ItemCode, WorkCode);
+            try
+            {
+                List<ConstructionWorkMaster> workList = new List<ConstructionWorkMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionWorkMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.ComponentCode].ToString());
+                wrk.ItemCode = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.ItemCode].ToString());
+                wrk.WorkCode = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.WorkCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.DisplayOrder].ToString());
+
+                wrk.ItemName = objwrk[(int)ConstructionWorkMasterColumn.ItemName].ToString();
+                wrk.WorkName = objwrk[(int)ConstructionWorkMasterColumn.WorkName].ToString();
+                wrk.UnitName = objwrk[(int)ConstructionWorkMasterColumn.UnitName].ToString();
+                wrk.UnitPrice = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.UnitPrice].ToString());
+
+                wrk.DeleteFlg = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ConstructionWorkMasterColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ConstructionWorkMasterColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxWorkCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT MAX(WorkCode) FROM ConstructionWorkMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="WorkCode">項目コード</param>
+        /// <param name="History">登録履歴</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int ItemCode, int WorkCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0} And ItemCode = {1}", ComponentCode, ItemCode);
+                if (WorkCode != 0) strWork += string.Format(" And WorkCode = {0}", WorkCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 指定表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT MAX(DisplayOrder) FROM ConstructionWorkMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartment.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartment.cs	(revision 84)
@@ -0,0 +1,432 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 部署マスタアクセスクラス
+    /// </summary>
+    public class IOMDepartment : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 部署マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            DepartmentCode = 0,
+            DisplayOrder,
+            DepartmentString,
+            ActionScheduleFlg,
+            StaffAssignFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMDepartment()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 部署マスタ検索文字列作成
+        /// <summary>
+        /// 部署マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += " DepartmentCode";
+            strcmd += ",DisplayOrder";
+            strcmd += ",DepartmentString";
+            strcmd += ",ActionScheduleFlg";
+            strcmd += ",StaffAssignFlg";
+            strcmd += ",DeleteFlg";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM DepartmentMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 部署マスタ１件検索
+        /// <summary>
+        /// 部署マスタ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref DepartmentMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                    // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 部署マスタ複数検索
+        /// <summary>
+        /// 部署マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<DepartmentMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DepartmentMaster work = new DepartmentMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 部署マスタ追加
+        /// <summary>
+        /// 部署マスタ追加
+        /// </summary>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DepartmentMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DepartmentMaster work in data)
+                {
+                    strcmd = "INSERT INTO DepartmentMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.DepartmentCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(",'{0}'", work.DepartmentString.ToString());
+                    strcmd += string.Format(", {0}", work.ActionScheduleFlg.ToString());
+                    strcmd += string.Format(", {0}", work.StaffAssignFlg.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 部署マスタ更新
+        /// <summary>
+        /// 部署マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DepartmentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DepartmentMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",DepartmentString = '{0}'", data.DepartmentString.ToString());
+                strcmd += string.Format(",ActionScheduleFlg = {0}", data.ActionScheduleFlg.ToString());
+                strcmd += string.Format(",StaffAssignFlg = {0}", data.StaffAssignFlg.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 部署マスタ削除
+        /// <summary>
+        /// 部署マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DepartmentMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 論理削除
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="DepartmentCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int DepartmentCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(DepartmentCode);
+            try
+            {
+                List<DepartmentMaster> workList = new List<DepartmentMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DepartmentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.DepartmentString = objwrk[(int)NameColumn.DepartmentString].ToString();
+                wrk.ActionScheduleFlg = int.Parse(objwrk[(int)NameColumn.ActionScheduleFlg].ToString());
+                wrk.StaffAssignFlg = int.Parse(objwrk[(int)NameColumn.StaffAssignFlg].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref DepartmentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DepartmentCode = 0;
+                wrk.DisplayOrder = 0;
+                wrk.DepartmentString = string.Empty;
+                wrk.ActionScheduleFlg = 0;
+                wrk.StaffAssignFlg = 0;
+                wrk.DeleteFlg = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 部署コードの最大値を取得する
+        /// <summary>
+        /// 部署コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxDepartmentCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DepartmentCode), 0) FROM DepartmentMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="DepartmentCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int DepartmentCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                    strWork = string.Format(" Where DepartmentCode = {0}", DepartmentCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartmentExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartmentExpenses.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartmentExpenses.cs	(revision 84)
@@ -0,0 +1,465 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 部署経費率マスタアクセスクラス
+    /// </summary>
+    public class IOMDepartmentExpenses : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 経費率マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            /// <summary>
+            /// 部署コード
+            /// </summary>
+            DepartmentCode = 0,
+            /// <summary>
+            /// 事業期
+            /// </summary>
+            ExpensesPeriod,
+            /// <summary>
+            /// 経費名称コード
+            /// </summary>
+            NameCode,
+            /// <summary>
+            /// 表示順
+            /// </summary>
+            DisplayOrder,
+            /// <summary>
+            /// 経費率
+            /// </summary>
+            ExpensesRaito,
+            /// <summary>
+            /// 削除フラグ
+            /// </summary>
+            DeleteFlg,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMDepartmentExpenses()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 経費率マスタ検索SQL作成
+        /// <summary>
+        /// 経費率マスタ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " DepartmentCode";
+            strcmd += " ,ExpensesPeriod";
+            strcmd += " ,NameCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ExpensesRaito";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM DepartmentExpensesMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数件検索
+        /// <summary>
+        /// 複数件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<DepartmentExpenses> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DepartmentExpenses work = new DepartmentExpenses();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 1件検索
+        /// <summary>
+        /// 1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref DepartmentExpenses data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 1件追加
+        /// <summary>
+        /// 経費率マスタ追加
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DepartmentExpenses data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO DepartmentExpensesMaster";
+
+                strcmd += " (DepartmentCode";
+                strcmd += " ,ExpensesPeriod";
+                strcmd += " ,NameCode";
+                strcmd += " ,DisplayOrder";
+                strcmd += " ,ExpensesRaito";
+                strcmd += " ,DeleteFlg";
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+                strcmd += string.Format("  {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(", {0}", data.ExpensesPeriod.ToString());
+                strcmd += string.Format(", {0}", data.NameCode.ToString());
+                strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", {0}", data.ExpensesRatio.ToString());
+                strcmd += string.Format(", {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数件追加
+        /// <summary>
+        /// 複数件追加
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DepartmentExpenses> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DepartmentExpenses work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ更新
+        /// <summary>
+        /// 経費率マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DepartmentExpenses data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DepartmentExpensesMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(",ExpensesPeriod = {0}", data.ExpensesPeriod.ToString());
+                strcmd += string.Format(",NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ExpensesRaito = {0}", data.ExpensesRatio.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ物理削除
+        /// <summary>
+        /// 経費率マスタ物理削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DepartmentExpensesMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 論理削除
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode);
+            try
+            {
+                List<DepartmentExpenses> workList = new List<DepartmentExpenses>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DepartmentExpenses wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.ExpensesPeriod = int.Parse(objwrk[(int)NameColumn.ExpensesPeriod].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ExpensesRatio = double.Parse(objwrk[(int)NameColumn.ExpensesRaito].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 区分別の最大値を取得する
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(NameCode), 0) FROM DepartmentExpensesMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int DepartmentCode, int ExpensesPeriod = 0, int NameCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where DepartmentCode = {0}", DepartmentCode);
+                if (ExpensesPeriod != 0)
+                    strWork += string.Format(" And ExpensesPeriod = {0}", ExpensesPeriod);
+                if (NameCode != 0)
+                    strWork += string.Format(" And NameCode = {0}", NameCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDivision.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDivision.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDivision.cs	(revision 84)
@@ -0,0 +1,371 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 区分マスタアクセスクラス
+    /// </summary>
+    public class IOMDivision : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 名称マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            DivisionCode = 0,
+            NameCode,
+            DisplayOrder,
+            NameString,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMDivision()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 名称マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " DivisionCode";
+            strcmd += ",NameCode";
+            strcmd += ",DisplayOrder";
+            strcmd += ",NameString";
+            strcmd += ",DeleteFlg";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM DivisionMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<DivisionMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DivisionMaster work = new DivisionMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref DivisionMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 名称マスタ追加
+        /// </summary>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DivisionMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DivisionMaster work in data)
+                {
+                    strcmd = "INSERT INTO DivisionMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.DivisionCode.ToString());
+                    strcmd += string.Format(", {0}", work.NameCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(",'{0}'", work.NameString.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 名称マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DivisionMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DivisionMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" DivisionCode = {0}", data.DivisionCode.ToString());
+                strcmd += string.Format(",NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",NameString = '{0}'", data.NameString.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 名称マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DivisionMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode);
+            try
+            {
+                List<DivisionMaster> workList = new List<DivisionMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DivisionMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DivisionCode = int.Parse(objwrk[(int)NameColumn.DivisionCode].ToString());
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.NameString = objwrk[(int)NameColumn.NameString].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(NameCode), 0) FROM DivisionMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int DivisionCode, int NameCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where DivisionCode = {0}", DivisionCode);
+                if (NameCode != 0)
+                    strWork += string.Format(" And NameCode = {0}", NameCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMExpenses.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMExpenses.cs	(revision 84)
@@ -0,0 +1,371 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 経費率マスタアクセスクラス
+    /// </summary>
+    public class IOMExpenses : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 経費率マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            DivisionCode = 0,
+            NameCode,
+            DisplayOrder,
+            ExpensesRaito,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMExpenses()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 経費率マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " DivisionCode";
+            strcmd += " ,NameCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ExpensesRatio";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ExpensesMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<ExpensesMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ExpensesMaster work = new ExpensesMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref ExpensesMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 経費率マスタ追加
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ExpensesMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ExpensesMaster work in data)
+                {
+                    strcmd = "INSERT INTO ExpensesMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.DivisionCode.ToString());
+                    strcmd += string.Format(", {0}", work.NameCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", {0}", work.ExpensesRatio.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 経費率マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ExpensesMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ExpensesMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" DivisionCode = {0}", data.DivisionCode.ToString());
+                strcmd += string.Format(",NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ExpensesRatio = {0}", data.ExpensesRatio.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 経費率マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ExpensesMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode);
+            try
+            {
+                List<ExpensesMaster> workList = new List<ExpensesMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ExpensesMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DivisionCode = int.Parse(objwrk[(int)NameColumn.DivisionCode].ToString());
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ExpensesRatio = double.Parse(objwrk[(int)NameColumn.ExpensesRaito].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(NameCode), 0) FROM ExpensesMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int DivisionCode, int NameCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where DivisionCode = {0}", DivisionCode);
+                if (NameCode != 0)
+                    strWork += string.Format(" And NameCode = {0}", NameCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMHolidayCalender.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMHolidayCalender.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMHolidayCalender.cs	(revision 84)
@@ -0,0 +1,321 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 会社休日マスタアクセスクラス
+    /// </summary>
+    public class IOMHolidayCalender : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 会社休日マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            Holiday,
+            BusinessYear,
+            TargetMonth,
+            TargetDay,
+        }
+
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMHolidayCalender()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " DATE_FORMAT(Holiday, '%Y/%m/%d')";
+            strcmd += ",BusinessYear";
+            strcmd += ",TargetMonth";
+            strcmd += ",TargetDay";
+            strcmd += " FROM HolidayCalenderMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 会社休日マスタ検索
+        /// <summary>
+        /// 会社休日マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">会社休日マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<HolidayCalenderMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    HolidayCalenderMaster work = new HolidayCalenderMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref HolidayCalenderMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 会社休日マスタ追加
+        /// <summary>
+        /// 会社休日マスタ追加
+        /// </summary>
+        /// <param name="data">会社休日マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<HolidayCalenderMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (HolidayCalenderMaster work in data)
+                {
+                    strcmd = "INSERT INTO HolidayCalenderMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" STR_TO_DATE('{0}','%Y/%m/%d')", work.Holiday.ToShortDateString());
+                    strcmd += string.Format(" ,{0}", work.BusinessYear.ToString());
+                    strcmd += string.Format(" ,{0}", work.TargetMonth.ToString());
+                    strcmd += string.Format(" ,{0}", work.TargetDay.ToString());
+
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 会社休日マスタ更新
+        /// <summary>
+        /// 会社休日マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">会社休日マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, HolidayCalenderMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE HolidayCalenderMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" Holiday = STR_TO_DATE('{0}','%Y/%m/%d')", data.Holiday.ToShortDateString());
+                strcmd += string.Format(",BusinessYear = {0}", data.BusinessYear.ToString());
+                strcmd += string.Format(",TargetMonth = {0}", data.TargetMonth.ToString());
+                strcmd += string.Format(",TargetDay = {0}", data.TargetDay.ToString());
+
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 会社休日マスタ削除
+        /// <summary>
+        /// 会社休日マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">会社休日マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM HolidayCalenderMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref HolidayCalenderMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.Holiday = DateTime.Parse(objwrk[(int)NameColumn.Holiday].ToString());
+                wrk.BusinessYear = int.Parse(objwrk[(int)NameColumn.BusinessYear].ToString());
+                wrk.TargetMonth = int.Parse(objwrk[(int)NameColumn.TargetMonth].ToString());
+                wrk.TargetDay = int.Parse(objwrk[(int)NameColumn.TargetDay].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="HolidayCalenderCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(DateTime Holiday)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where Holiday = DATE_FORMAT('{0}','%Y/%m/%d')", Holiday.ToShortDateString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="HolidayCalenderCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int Year, int Month = 0, int Day = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where BusinessYear = {0}", Year.ToString());
+                if(Month != 0)
+                    strWork += string.Format(" And TargetMonth = {0}", Month.ToString());
+                if (Day != 0)
+                    strWork += string.Format(" And TargetDay = {0}", Day.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMOrderers.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMOrderers.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMOrderers.cs	(revision 84)
@@ -0,0 +1,530 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 発注者マスタＤＢアクセス
+    /// </summary>
+    public class IOMOrderers : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 発注者マスタフィールド並び
+        /// </summary>
+        public enum OrderersColumn
+        {
+            OrderCotegory = 0,
+            OrderersCode,
+            DisplayOrder,
+            OrderFlg,
+            CorporateStatusName,
+            CorporateStatusPoint,
+            OrderersName1,
+            OrderersName2,
+            DepartmentName,
+            ChargePersonName,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            PhoneNumber,
+            FaxNumber,
+            MailAddress,
+            Note,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMOrderers()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 発注者マスタ検索SQL作成
+        /// <summary>
+        /// 発注者マスタ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  OrderCotegory";
+            strcmd += " ,OrderersCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,OrderFlg";
+            strcmd += " ,CorporateStatusName";
+            strcmd += " ,CorporateStatusPoint";
+            strcmd += " ,OrderersName1";
+            strcmd += " ,OrderersName2";
+            strcmd += " ,DepartmentName";
+            strcmd += " ,ChargePersonName";
+            strcmd += " ,ZipCode";
+            strcmd += " ,Address1";
+            strcmd += " ,Address2";
+            strcmd += " ,Address3";
+            strcmd += " ,PhoneNumber";
+            strcmd += " ,FaxNumber";
+            strcmd += " ,MailAddress";
+            strcmd += " ,Note";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM OrderersMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 発注者マスタ検索（複数）
+        /// <summary>
+        /// 発注者マスタ検索（複数）
+        /// </summary>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<OrderersMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    OrderersMaster work = new OrderersMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ検索（1件）
+        /// <summary>
+        /// 発注者マスタ検索（1件）
+        /// </summary>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref OrderersMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ追加(複数)
+        /// <summary>
+        /// 発注者マスタ追加(複数)
+        /// </summary>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<OrderersMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (OrderersMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ追加(1件)
+        /// <summary>
+        /// 発注者マスタ追加(1件)
+        /// </summary>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(OrderersMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO OrderersMaster";
+                strcmd += " (";
+
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(OrderersColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.OrderCategory);
+                strcmd += string.Format(", {0}", work.OrderersCode);
+                strcmd += string.Format(", {0}", work.DisplayOrder);
+                strcmd += string.Format(", {0}", work.OrderFlg);
+                strcmd += string.Format(",'{0}'", work.CorporateStatusName);
+                strcmd += string.Format(", {0}", work.CorporateStatusPoint);
+                strcmd += string.Format(",'{0}'", work.OrderersName1);
+                strcmd += string.Format(",'{0}'", work.OrderersName2);
+                strcmd += string.Format(",'{0}'", work.DepartmentName);
+                strcmd += string.Format(",'{0}'", work.ChargePersonName);
+                strcmd += string.Format(",'{0}'", work.ZipCode);
+                strcmd += string.Format(",'{0}'", work.Address1);
+                strcmd += string.Format(",'{0}'", work.Address2);
+                strcmd += string.Format(",'{0}'", work.Address3);
+                strcmd += string.Format(",'{0}'", work.PhoneNumber);
+                strcmd += string.Format(",'{0}'", work.FaxNumber);
+                strcmd += string.Format(",'{0}'", work.Note);
+                strcmd += string.Format(",'{0}'", work.MailAddress);
+                strcmd += string.Format(", {0}", work.DeleteFlg);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ更新
+        /// <summary>
+        /// 発注者マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, OrderersMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE OrderersMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  OrderCotegory = {0}", data.OrderCategory);
+                strcmd += string.Format(", OrderersCode = {0}", data.OrderersCode);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(", OrderFlg = {0}", data.OrderFlg);
+                strcmd += string.Format(", CorporateStatusName = '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", CorporateStatusPoint = {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", OrderersName1 = '{0}'", data.OrderersName1);
+                strcmd += string.Format(", OrderersName2 = '{0}'", data.OrderersName2);
+                strcmd += string.Format(", DepartmentName = '{0}'", data.DepartmentName);
+                strcmd += string.Format(", ChargePersonName = '{0}'", data.ChargePersonName);
+                strcmd += string.Format(", ZipCode = '{0}'", data.ZipCode);
+                strcmd += string.Format(", Address1 = '{0}'", data.Address1);
+                strcmd += string.Format(", Address2 = '{0}'", data.Address2);
+                strcmd += string.Format(", Address3 = '{0}'", data.Address3);
+                strcmd += string.Format(", PhoneNumber = '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", FaxNumber = '{0}'", data.FaxNumber);
+                strcmd += string.Format(", Note = '{0}'", data.Note);
+                strcmd += string.Format(", MailAddress = '{0}'", data.MailAddress);
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ削除
+        /// <summary>
+        /// 発注者マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM OrderersMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref OrderersMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.OrderCategory = int.Parse(objwrk[(int)OrderersColumn.OrderCotegory].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)OrderersColumn.OrderersCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)OrderersColumn.DisplayOrder].ToString());
+                wrk.OrderFlg = int.Parse(objwrk[(int)OrderersColumn.OrderFlg].ToString());
+                wrk.CorporateStatusName = objwrk[(int)OrderersColumn.CorporateStatusName].ToString();
+                wrk.CorporateStatusPoint = int.Parse(objwrk[(int)OrderersColumn.CorporateStatusPoint].ToString());
+
+                wrk.OrderersName1 = objwrk[(int)OrderersColumn.OrderersName1].ToString();
+                wrk.OrderersName2 = objwrk[(int)OrderersColumn.OrderersName2].ToString();
+                wrk.DepartmentName = objwrk[(int)OrderersColumn.DepartmentName].ToString();
+                wrk.ChargePersonName = objwrk[(int)OrderersColumn.ChargePersonName].ToString();
+                wrk.ZipCode = objwrk[(int)OrderersColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)OrderersColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)OrderersColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)OrderersColumn.Address3].ToString();
+                wrk.PhoneNumber = objwrk[(int)OrderersColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)OrderersColumn.FaxNumber].ToString();
+                wrk.MailAddress = objwrk[(int)OrderersColumn.MailAddress].ToString();
+                wrk.Note = objwrk[(int)OrderersColumn.Note].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)OrderersColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)OrderersColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)OrderersColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 発注者コードの最大値を取得する
+        /// <summary>
+        /// 発注者コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxOrderersCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(OrderersCode), 0) FROM OrderersMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int OrderCategory, int OrderersCode =0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where OrderCotegory = {0}", OrderCategory);
+                if (OrderersCode != 0)
+                    strWork += string.Format(" And OrderersCode = {0}", OrderersCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 指定表示順の最大値を取得する
+        /// <summary>
+        /// 指定表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DisplayOrder), 0) FROM OrderersMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 指定レコードの表示順を更新する
+        /// <summary>
+        /// 指定レコードの表示順を更新する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SetDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            try
+            {
+                // SQL作成
+                strcmd = "UPDATE ORDERERSMASTER SET DisplayOrder = ROWNUM" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonDepartment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonDepartment.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonDepartment.cs	(revision 84)
@@ -0,0 +1,358 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 担当者対象部署マスタＤＢアクセス
+    /// </summary>
+    public class IOMPersonDepartment : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者対象部署マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            PersonCode = 0,
+            DepartmentCode,
+            AffiliationFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMPersonDepartment()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 担当者対象部署マスタ検索文字列作成
+        /// <summary>
+        /// 担当者対象部署マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += ", DepartmentCode";
+
+            strcmd += ", AffiliationFlg";
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM PersonDepartmentMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ複数検索
+        /// <summary>
+        /// 担当者対象部署マスタ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonDepartmentMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonDepartmentMaster work = new PersonDepartmentMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ１件検索
+        /// <summary>
+        /// 担当者対象部署マスタ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonDepartmentMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ追加
+        /// <summary>
+        /// 担当者対象部署マスタ追加
+        /// </summary>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PersonDepartmentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PersonDepartmentMaster";
+
+                strcmd += " (PersonCode";
+                strcmd += ", DepartmentCode";
+
+                strcmd += ", AffiliationFlg";
+
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode);
+                strcmd += string.Format(", {0}", data.DepartmentCode);
+
+                strcmd += string.Format(", {0}", data.AffiliationFlg.ToString());
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ追加
+        /// <summary>
+        /// 担当者対象部署マスタ追加
+        /// </summary>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonDepartmentMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PersonDepartmentMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ更新
+        /// <summary>
+        /// 担当者対象部署マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonDepartmentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonDepartmentMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(", DepartmentCode = {0}", data.DepartmentCode.ToString());
+
+                strcmd += string.Format(", AffiliationFlg = {0}", data.AffiliationFlg);
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ削除
+        /// <summary>
+        /// 担当者対象部署マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonDepartmentMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonDepartmentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+
+                wrk.AffiliationFlg = int.Parse(objwrk[(int)NameColumn.AffiliationFlg].ToString());
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref PersonDepartmentMaster wrk)
+        {
+            wrk.PersonCode = 0;                     // 担当者コード
+            wrk.DepartmentCode = 0;                 // 部署コード
+
+            wrk.AffiliationFlg = 0;                 // 所属フラグ
+            wrk.EntryDate = DateTime.MinValue;      // 登録日付
+            wrk.UpdateDate = DateTime.MinValue;     // 更新日付
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, int DepartmentCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where PersonCode = {0}", PersonCode);
+                if (DepartmentCode != 0)
+                    strWork += string.Format(" And DepartmentCode = {0}", DepartmentCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonInCharge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonInCharge.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonInCharge.cs	(revision 84)
@@ -0,0 +1,609 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 担当者マスタＤＢアクセス
+    /// </summary>
+    public class IOMPersonInCharge : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者マスタフィールド並び
+        /// </summary>
+        public enum ColumnCnt
+        {
+            PersonCode = 0,
+            DisplayOrder,
+            PersonName,
+            StartDate,
+            EndDate,
+            PassWord,
+            SecurityManagement,
+            SecCode,
+            MsgBackColor,
+            DisplayString,
+            DepartmentCode,
+            MonthlySalary,
+            YearSalary,
+            Qualification,
+            SealPrintName,
+            EmployeeClassFlg,
+            LedgerFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMPersonInCharge()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 担当者マスタ検索文字列作成
+        /// <summary>
+        /// 担当者マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">担当者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += ", DisplayOrder";
+            strcmd += ", PersonName";
+
+            strcmd += ", DATE_FORMAT(StartDate, '%Y/%m/%d')";
+            strcmd += ", DATE_FORMAT(EndDate, '%Y/%m/%d')";
+            strcmd += ", PassWord";
+            strcmd += ", SecurityManagement";
+            strcmd += ", SecCode";
+            strcmd += ", MsgBackColor";
+            strcmd += ", DisplayString";
+            strcmd += ", DepartmentCode";
+            strcmd += ", MonthlySalary";
+            strcmd += ", YearSalary";
+            strcmd += ", Qualification";
+            strcmd += ", SealPrintName";
+            strcmd += ", EmployeeClassFlg";
+            strcmd += ", LedgerFlg";
+
+            strcmd += ", DeleteFlg";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM PersonInChargeMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 担当者マスタ複数検索
+        /// <summary>
+        /// 担当者マスタ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonInChargeMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonInChargeMaster work = new PersonInChargeMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ１件検索
+        /// <summary>
+        /// 担当者マスタ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonInChargeMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ追加
+        /// <summary>
+        /// 担当者マスタ追加
+        /// </summary>
+        /// <param name="data">担当者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonInChargeMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (PersonInChargeMaster work in data)
+                {
+                    strcmd = "INSERT INTO PersonInChargeMaster";
+
+                    strcmd += " (PersonCode";
+                    strcmd += ", DisplayOrder";
+                    strcmd += ", PersonName";
+
+                    strcmd += ", StartDate";
+                    strcmd += ", EndDate";
+                    strcmd += ", PassWord";
+                    strcmd += ", SecurityManagement";
+                    strcmd += ", SecCode";
+                    strcmd += ", MsgBackColor";
+                    strcmd += ", DisplayString";
+                    strcmd += ", DepartmentCode";
+                    strcmd += ", MonthlySalary";
+                    strcmd += ", YearSalary";
+                    strcmd += ", Qualification";
+                    strcmd += ", SealPrintName";
+                    strcmd += ", EmployeeClassFlg";
+                    strcmd += ", LedgerFlg";
+
+                    strcmd += ", DeleteFlg";
+                    strcmd += ", EntryDate";
+                    strcmd += ", UpdateDate)";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.PersonCode);
+                    strcmd += string.Format(", {0}", work.DisplayOrder);
+                    strcmd += string.Format(", '{0}'", work.PersonName);
+                    strcmd += string.Format(", STR_TO_DATE('{0}' ,'%Y/%m/%d')", work.StartDate.ToShortDateString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}' ,'%Y/%m/%d')", work.EndDate.ToShortDateString());
+                    strcmd += string.Format(", '{0}'", work.PassWord);
+                    strcmd += string.Format(", {0}", work.SecurityManagement);
+                    strcmd += string.Format(", {0}", work.SecCode);
+                    strcmd += string.Format(", '{0}'", work.MsgBackColor);
+                    strcmd += string.Format(", '{0}'", work.DisplayString);
+                    strcmd += string.Format(", {0}", work.DepartmentCode);
+                    strcmd += string.Format(", {0}", work.MonthlySalary);
+                    strcmd += string.Format(", {0}", work.YearSalary);
+                    strcmd += string.Format(", '{0}'", work.Qualification);
+                    strcmd += string.Format(", '{0}'", work.SealPrintName);
+                    strcmd += string.Format(", {0}", work.EmployeeClassFlg);
+                    strcmd += string.Format(", {0}", work.LedgerFlg);
+
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ更新
+        /// <summary>
+        /// 担当者マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonInChargeMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonInChargeMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", PersonName = '{0}'", data.PersonName);
+                strcmd += string.Format(", StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", EndDate = STR_TO_DATE('{0}','%Y/%m/%d')",data.EndDate.ToShortDateString());
+                strcmd += string.Format(", PassWord = '{0}'", data.PassWord);
+                strcmd += string.Format(", SecurityManagement = {0}", data.SecurityManagement.ToString());
+                strcmd += string.Format(", SecCode = {0}", data.SecCode.ToString());
+                strcmd += string.Format(", MsgBackColor = '{0}'", data.MsgBackColor);
+                strcmd += string.Format(", DisplayString = '{0}'", data.DisplayString);
+                strcmd += string.Format(", DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(", MonthlySalary = {0}", data.MonthlySalary.ToString());
+                strcmd += string.Format(", YearSalary = {0}", data.YearSalary.ToString());
+                strcmd += string.Format(", Qualification = '{0}'", data.Qualification);
+                strcmd += string.Format(", SealPrintName = '{0}'", data.SealPrintName);
+                strcmd += string.Format(", EmployeeClassFlg = {0}", data.EmployeeClassFlg.ToString());
+                strcmd += string.Format(", LedgerFlg = {0}", data.LedgerFlg);
+                
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg);
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ削除
+        /// <summary>
+        /// 担当者マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonInChargeMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PersonInChargeMaster";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnCnt.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.DisplayOrder:
+                        strcmd += string.Format(" DisplayOrder = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.PersonName:
+                        strcmd += string.Format(" PersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.StartDate:
+                        strcmd += string.Format(" StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnCnt.EndDate:
+                        strcmd += string.Format(" EndDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnCnt.PassWord:
+                        strcmd += string.Format(" PassWord = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.SecurityManagement:
+                        strcmd += string.Format(" SecurityManagement = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.SecCode:
+                        strcmd += string.Format(" SecCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.MsgBackColor:
+                        strcmd += string.Format(" MsgBackColor = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.DisplayString:
+                        strcmd += string.Format(" DisplayString = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.DepartmentCode:
+                        strcmd += string.Format(" DepartmentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.MonthlySalary:
+                        strcmd += string.Format(" MonthlySalary = {0}", ((double)value).ToString());
+                        break;
+                    case (int)ColumnCnt.YearSalary:
+                        strcmd += string.Format(" YearSalary = {0}", ((double)value).ToString());
+                        break;
+                    case (int)ColumnCnt.Qualification:
+                        strcmd += string.Format(" Qualification = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.SealPrintName:
+                        strcmd += string.Format(" SealPrintName = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.EmployeeClassFlg:
+                        strcmd += string.Format(" EmployeeClassFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.LedgerFlg:
+                        strcmd += string.Format(" LedgerFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.DeleteFlg:
+                        strcmd += string.Format(" DeleteFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonInChargeMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnCnt.PersonCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)ColumnCnt.DisplayOrder].ToString());
+                wrk.PersonName = objwrk[(int)ColumnCnt.PersonName].ToString();
+                wrk.StartDate = DateTime.Parse(objwrk[(int)ColumnCnt.StartDate].ToString());
+                wrk.EndDate = DateTime.Parse(objwrk[(int)ColumnCnt.EndDate].ToString());
+                wrk.PassWord = objwrk[(int)ColumnCnt.PassWord].ToString();
+                wrk.SecurityManagement = int.Parse(objwrk[(int)ColumnCnt.SecurityManagement].ToString());
+                wrk.SecCode = int.Parse(objwrk[(int)ColumnCnt.SecCode].ToString());
+                wrk.MsgBackColor = objwrk[(int)ColumnCnt.MsgBackColor].ToString();
+                wrk.DisplayString = objwrk[(int)ColumnCnt.DisplayString].ToString();
+                wrk.DepartmentCode = int.Parse(objwrk[(int)ColumnCnt.DepartmentCode].ToString());
+                wrk.MonthlySalary = double.Parse(objwrk[(int)ColumnCnt.MonthlySalary].ToString());
+                wrk.YearSalary = double.Parse(objwrk[(int)ColumnCnt.YearSalary].ToString());
+                wrk.Qualification = objwrk[(int)ColumnCnt.Qualification].ToString();
+                wrk.SealPrintName = objwrk[(int)ColumnCnt.SealPrintName].ToString();
+                wrk.EmployeeClassFlg = int.Parse(objwrk[(int)ColumnCnt.EmployeeClassFlg].ToString());
+                wrk.LedgerFlg = int.Parse(objwrk[(int)ColumnCnt.LedgerFlg].ToString());
+
+                wrk.DeleteFlg = int.Parse(objwrk[(int)ColumnCnt.DeleteFlg].ToString());
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnCnt.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnCnt.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref PersonInChargeMaster wrk)
+        {
+            wrk.PersonCode = 0;                     // 担当者コード
+            wrk.DisplayOrder = 0;	                // 表示順
+            wrk.PersonName = string.Empty;          // 担当者名
+            wrk.StartDate = DateTime.MinValue;      // マスタ使用開始年月日付
+            wrk.EndDate = DateTime.MinValue;        // マスタ使用開始年月日付
+            wrk.PassWord = string.Empty;	        // パスワード
+            wrk.SecurityManagement = 0;             // 機密区分
+            wrk.SecCode = 0;                        // 保護区分番号
+            wrk.MsgBackColor = string.Empty;	    // メッセージ背景色
+            wrk.DisplayString = string.Empty;	    // 表示・印刷名称
+            wrk.DepartmentCode = 0;                 // 部署コード
+
+            wrk.MonthlySalary = 0;                  // 月給金額
+            wrk.YearSalary = 0;	                    // 年棒金額
+
+            wrk.Qualification = string.Empty;       // 資格情報
+            wrk.SealPrintName = string.Empty;       // 印鑑表示名
+
+            wrk.EmployeeClassFlg = 0;               // 社員区分
+            wrk.LedgerFlg = 0;                      // 台帳計算対象フラグ
+
+            wrk.DeleteFlg = 0;                      // 削除フラグ
+            wrk.EntryDate = DateTime.MinValue;      // 登録日付
+            wrk.UpdateDate = DateTime.MinValue;     // 更新日付
+        }
+        #endregion
+
+        #region MAX担当者番号取得
+        /// <summary>
+        /// MAX担当者番号取得
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxPersonCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(PersonCode), 0) FROM PersonInChargeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region MAX表示順番取得
+        /// <summary>
+        /// MAX表示順番取得
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxDisplayCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DisplayOrder), 0) FROM PersonInChargeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where PersonCode = {0}", PersonCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonSalary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonSalary.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonSalary.cs	(revision 84)
@@ -0,0 +1,372 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 担当者給与マスタＤＢアクセス
+    /// </summary>
+    public class IOMPersonSalary : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者給与マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            PersonCode = 0,
+            StartDate,
+            MonthlySalary,
+            YearSalary,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMPersonSalary()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 担当者給与マスタ検索文字列作成
+        /// <summary>
+        /// 担当者給与マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+
+            strcmd += ", DATE_FORMAT(StartDate, '%Y/%m/%d')";
+
+            strcmd += ", MonthlySalary";
+            strcmd += ", YearSalary";
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM PersonSalaryMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 担当者給与マスタ複数検索
+        /// <summary>
+        /// 担当者給与マスタ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonSalaryMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonSalaryMaster work = new PersonSalaryMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ１件検索
+        /// <summary>
+        /// 担当者給与マスタ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonSalaryMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ追加
+        /// <summary>
+        /// 担当者給与マスタ追加
+        /// </summary>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PersonSalaryMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PersonSalaryMaster";
+
+                strcmd += " (PersonCode";
+
+                strcmd += ", StartDate";
+
+                strcmd += ", MonthlySalary";
+                strcmd += ", YearSalary";
+
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode);
+
+                strcmd += string.Format(", STR_TO_DATE('{0}' ,'%Y/%m/%d')", data.StartDate.ToShortDateString());
+
+                strcmd += string.Format(", {0}", data.MonthlySalary);
+                strcmd += string.Format(", {0}", data.YearSalary);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ追加
+        /// <summary>
+        /// 担当者給与マスタ追加
+        /// </summary>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonSalaryMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PersonSalaryMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ更新
+        /// <summary>
+        /// 担当者給与マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonSalaryMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonSalaryMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode.ToString());
+                
+                strcmd += string.Format(", StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.StartDate.ToShortDateString());
+                
+                strcmd += string.Format(", MonthlySalary = {0}", data.MonthlySalary.ToString());
+                strcmd += string.Format(", YearSalary = {0}", data.YearSalary.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ削除
+        /// <summary>
+        /// 担当者給与マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonSalaryMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonSalaryMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                wrk.StartDate = DateTime.Parse(objwrk[(int)NameColumn.StartDate].ToString());
+                wrk.MonthlySalary = double.Parse(objwrk[(int)NameColumn.MonthlySalary].ToString());
+                wrk.YearSalary = double.Parse(objwrk[(int)NameColumn.YearSalary].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref PersonSalaryMaster wrk)
+        {
+            wrk.PersonCode = 0;                     // 担当者コード
+            wrk.StartDate = DateTime.MinValue;      // マスタ使用開始年月日付
+
+            wrk.MonthlySalary = 0;                  // 月給金額
+            wrk.YearSalary = 0;	                    // 年棒金額
+
+            wrk.EntryDate = DateTime.MinValue;      // 登録日付
+            wrk.UpdateDate = DateTime.MinValue;     // 更新日付
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime StartDate)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where PersonCode = {0}", PersonCode);
+                if (StartDate.Date != DateTime.MinValue)
+                    strWork = string.Format(" AND StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", StartDate.ToShortDateString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMProcessExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMProcessExcute.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMProcessExcute.cs	(revision 84)
@@ -0,0 +1,343 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 起動対象マスタＤＢアクセス
+    /// </summary>
+    public class IOMProcessExcute : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 起動対象マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            SecCode = 0,
+            ExecCode,
+            EditFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMProcessExcute()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 起動対象マスタ検索文字作成
+        /// <summary>
+        /// 起動対象マスタ検索文字作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">起動対象マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  SecCode";
+            strcmd += " ,ExecCode";
+            strcmd += " ,EditFlg";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ProcessExcuteMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 起動対象マスタ検索（複数）
+        /// <summary>
+        /// 起動対象マスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ProcessExcute> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProcessExcute work = new ProcessExcute();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ検索（1件）
+        /// <summary>
+        /// 起動対象マスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ProcessExcute data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ追加（１件）
+        /// <summary>
+        /// 起動対象マスタ追加（１件）
+        /// </summary>
+        /// <param name="data">起動対象マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ProcessExcute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ProcessExcuteMaster";
+                strcmd += " (SecCode";
+                strcmd += ", ExecCode";
+                strcmd += ", EditFlg";
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += data.SecCode.ToString();
+
+                strcmd += ", " + data.ExecCode.ToString();
+                strcmd += ", " + data.EditFlg.ToString();
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ複数件追加
+        /// <summary>
+        /// 起動対象マスタ複数件追加
+        /// </summary>
+        /// <param name="data">起動対象マスタ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ProcessExcute> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ProcessExcute work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ更新
+        /// <summary>
+        /// 起動対象マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">起動対象マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProcessExcute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProcessExcuteMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" SecCode = {0}", data.SecCode.ToString());
+
+                strcmd += string.Format(",ExecCode = {0}", data.ExecCode.ToString());
+
+                strcmd += string.Format(",EditFlg = {0}", data.EditFlg.ToString());
+                
+                strcmd += " ,UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ削除
+        /// <summary>
+        /// 起動対象マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">起動対象マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProcessExcuteMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProcessExcute wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.SecCode = int.Parse(objwrk[(int)TableColumn.SecCode].ToString());
+
+                wrk.ExecCode = int.Parse(objwrk[(int)TableColumn.ExecCode].ToString());
+                wrk.EditFlg = int.Parse(objwrk[(int)TableColumn.EditFlg].ToString());
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        public string CreatePrimarykeyString(int SecCode, int ExecCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where SecCode = {0}", SecCode);
+                if (ExecCode != 0)
+                    strWork = string.Format(" And ExecCode = {0}", ExecCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSecurity.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSecurity.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSecurity.cs	(revision 84)
@@ -0,0 +1,489 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 保護区分マスタＤＢアクセス
+    /// </summary>
+    public class IOMSecurity : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 保護区分マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            SecCode = 0,
+            DisplayOrder,
+            SecName,
+            SecRank,
+            SecRange,
+            GeneralAffairs,
+            SelectBackColor,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSecurity()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 保護区分マスタ検索文字作成
+        /// <summary>
+        /// 保護区分マスタ検索文字作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  SecCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,SecName";
+            strcmd += " ,SecRank";
+            strcmd += " ,SecRange";
+            strcmd += " ,GeneralAffairs";
+            strcmd += " ,SelectBackColor";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SecurityMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 保護区分マスタ検索（複数）
+        /// <summary>
+        /// 保護区分マスタ検索(複数)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SecurityMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SecurityMaster work = new SecurityMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ検索(1件)
+        /// <summary>
+        /// 保護区分マスタ検索(1件)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SecurityMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ追加（1件）
+        /// <summary>
+        /// 保護区分マスタ追加（1件）
+        /// </summary>
+        /// <param name="data">保護区分マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SecurityMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO SecurityMaster";
+                strcmd += " (SecCode";
+                strcmd += " ,DisplayOrder";
+                strcmd += " ,SecName";
+                strcmd += " ,SecRank";
+                strcmd += " ,SecRange";
+                strcmd += " ,GeneralAffairs";
+                strcmd += " ,SelectBackColor";
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += work.SecCode.ToString();
+                strcmd += string.Format(", {0}", work.DisplayOrder);
+                strcmd += string.Format(",'{0}'", work.SecName);
+                strcmd += string.Format(", {0}", work.SecRank);
+                strcmd += string.Format(", {0}", work.SecRange);
+                strcmd += string.Format(", {0}", work.GeneralAffairs);
+                strcmd += string.Format(",'{0}'", work.SelectBackColor);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ追加
+        /// <summary>
+        /// 保護区分マスタ追加
+        /// </summary>
+        /// <param name="data">保護区分マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SecurityMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SecurityMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ更新
+        /// <summary>
+        /// 保護区分マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">保護区分マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SecurityMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SecurityMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" SecCode = {0}", data.SecCode);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(",SecName = '{0}'", data.SecName);
+                strcmd += string.Format(",SecRank = {0}", data.SecRank);
+                strcmd += string.Format(",SecRange = {0}", data.SecRange);
+                strcmd += string.Format(",GeneralAffairs = {0}", data.GeneralAffairs);
+                strcmd += string.Format(",SelectBackColor = '{0}'", data.SelectBackColor);
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ削除
+        /// <summary>
+        /// 保護区分マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">保護区分マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SecurityMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="SecurityCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int SecurityCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SecurityMaster";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int) TableColumn.SecCode:
+                        strcmd += string.Format(" SecurityCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DisplayOrder:
+                        strcmd += string.Format(" DisplayOrder = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SecName:
+                        strcmd += string.Format(" SecurityName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SecRank:
+                        strcmd += string.Format(" SecurityRank = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SecRange:
+                        strcmd += string.Format(" SecurityRange = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GeneralAffairs:
+                        strcmd += string.Format(" GeneralAffairs = {0}", ((int)value).ToString());
+                        break;
+
+                    case (int)TableColumn.SelectBackColor:
+                        strcmd += string.Format(" SelectBackColor = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(SecurityCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SecurityMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.SecCode = int.Parse(objwrk[(int)TableColumn.SecCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+                wrk.SecName = objwrk[(int)TableColumn.SecName].ToString();
+                wrk.SecRank = int.Parse(objwrk[(int)TableColumn.SecRank].ToString());
+                wrk.SecRange = int.Parse(objwrk[(int)TableColumn.SecRange].ToString());
+                wrk.GeneralAffairs = int.Parse(objwrk[(int)TableColumn.GeneralAffairs].ToString());
+                wrk.SelectBackColor = objwrk[(int)TableColumn.SelectBackColor].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int SecurityCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where SecCode = {0}", SecurityCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 保護区分コードの最大値を取得する
+        /// <summary>
+        /// 保護区分コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSecurityCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SecCode), 0) FROM SecurityMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(objwrk[0]) + 1;
+
+                return iRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return -1;
+            }
+        }
+        #endregion
+
+        #region 表示順の最大値を取得する
+        /// <summary>
+        /// 表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxDisplayCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DISPLAYORDER), 0) FROM SecurityMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(objwrk[0]) + 1;
+
+                return iRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return -1;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractor.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractor.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractor.cs	(revision 84)
@@ -0,0 +1,602 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社マスタＤＢアクセス
+    /// </summary>
+    public class IOMSubContractor : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 協力会社マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            CompanyCode = 0,
+            DisplayOrder,
+            CorporateStatusName,
+            CorporateStatusPoint,
+            CompanyName,
+            CEOPositionName,
+            CEOName,
+            ContactPersonName,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            CellPhoneNumber,
+            MailAddress,
+            PhoneNumber,
+            FaxNumber,
+            JapaneseSyllabary,
+            StartDate,
+            Note,
+            labourKind,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractor()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力会社マスタ検索文字列作成
+        /// <summary>
+        /// 協力会社マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  CompanyCode";
+            strcmd += ", DisplayOrder";
+            strcmd += ", CorporateStatusName";
+            strcmd += ", CorporateStatusPoint";
+            strcmd += ", CompanyName";
+            strcmd += ", CEOPositionName";
+            strcmd += ", CEOName";
+            strcmd += ", ContactPersonName";
+            strcmd += ", ZipCode";
+            strcmd += ", Address1";
+            strcmd += ", Address2";
+            strcmd += ", Address3";
+            strcmd += ", CellPhoneNumber";
+            strcmd += ", MailAddress";
+            strcmd += ", PhoneNumber";
+            strcmd += ", FaxNumber";
+            strcmd += ", JapaneseSyllabary";
+            strcmd += ", DATE_FORMAT(StartDate, '%Y/%m/%d')";
+            strcmd += ", Note";
+            strcmd += ", labourKind";
+            strcmd += ", DeleteFlg";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SubContractorMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力会社マスタ複数検索
+        /// <summary>
+        /// 協力会社マスタ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubContractorMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorMaster work = new SubContractorMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ1件検索
+        /// <summary>
+        /// 協力会社マスタ1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubContractorMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ1件追加
+        /// <summary>
+        /// 協力会社マスタ1件追加
+        /// </summary>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SubContractorMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO SubContractorMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.CompanyCode);
+                strcmd += string.Format(", {0}", data.DisplayOrder);
+                strcmd += string.Format(",'{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(",'{0}'", data.CompanyName);
+                strcmd += string.Format(",'{0}'" ,data.CEOPositionName);
+                strcmd += string.Format(",'{0}'" ,data.CEOName);
+                strcmd += string.Format(",'{0}'" ,data.ContactPersonName);
+                strcmd += string.Format(",'{0}'" ,data.ZipCode);
+                strcmd += string.Format(",'{0}'" ,data.Address1);
+                strcmd += string.Format(",'{0}'" ,data.Address2);
+                strcmd += string.Format(",'{0}'" ,data.Address3);
+                strcmd += string.Format(",'{0}'" ,data.CellPhoneNumber);
+                strcmd += string.Format(",'{0}'" ,data.MailAddress);
+                strcmd += string.Format(",'{0}'" ,data.PhoneNumber);
+                strcmd += string.Format(",'{0}'" ,data.FaxNumber );
+                strcmd += string.Format(",'{0}'" ,data.JapaneseSyllabary);
+                strcmd += string.Format(",STR_TO_DATE('{0}','%Y/%m/%d')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(",'{0}'", data.Note);
+                strcmd += string.Format(", {0} ", data.labourKind.ToString());
+                strcmd += string.Format(", {0} ", data.DeleteFlg.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ複数追加
+        /// <summary>
+        /// 協力会社マスタ複数追加
+        /// </summary>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ更新
+        /// <summary>
+        /// 協力会社マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" CompanyCode = {0}", data.CompanyCode);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(", CorporateStatusName = '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", CorporateStatusPoint = {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", CompanyName = '{0}'", data.CompanyName);
+                strcmd += string.Format(", CEOPositionName = '{0}'", data.CEOPositionName);
+                strcmd += string.Format(", CEOName = '{0}'", data.CEOName);
+                strcmd += string.Format(", ContactPersonName = '{0}'", data.ContactPersonName);
+                strcmd += string.Format(", ZipCode = '{0}'", data.ZipCode);
+                strcmd += string.Format(", Address1 = '{0}'", data.Address1);
+                strcmd += string.Format(", Address2 = '{0}'", data.Address2);
+                strcmd += string.Format(", Address3 = '{0}'", data.Address3);
+                strcmd += string.Format(", CellPhoneNumber = '{0}'", data.CellPhoneNumber);
+                strcmd += string.Format(", MailAddress = '{0}'", data.MailAddress);
+                strcmd += string.Format(", PhoneNumber = '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", FaxNumber = '{0}'", data.FaxNumber);
+                strcmd += string.Format(", JapaneseSyllabary = '{0}'", data.JapaneseSyllabary);
+                strcmd += string.Format(", StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", Note = '{0}'", data.Note);
+                strcmd += string.Format(", labourKind = {0}", data.labourKind);
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ削除
+        /// <summary>
+        /// 協力会社マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int CompanyCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SubContractorMaster";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.CompanyCode:
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DisplayOrder:
+                        strcmd += string.Format(" DisplayOrder = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusName:
+                        strcmd += string.Format(" CorporateStatusName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusPoint:
+                        strcmd += string.Format(" CorporateStatusPoint = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyName:
+                        strcmd += string.Format(" CompanyName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CEOPositionName:
+                        strcmd += string.Format(" CEOPositionName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CEOName:
+                        strcmd += string.Format(" CEOName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ContactPersonName:
+                        strcmd += string.Format(" ContactPersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ZipCode:
+                        strcmd += string.Format(" ZipCode = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address1:
+                        strcmd += string.Format(" Address1 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address2:
+                        strcmd += string.Format(" Address2 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address3:
+                        strcmd += string.Format(" Address3 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CellPhoneNumber:
+                        strcmd += string.Format(" CellPhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.MailAddress:
+                        strcmd += string.Format(" MailAddress = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.PhoneNumber:
+                        strcmd += string.Format(" PhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.FaxNumber:
+                        strcmd += string.Format(" FaxNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.JapaneseSyllabary:
+                        strcmd += string.Format(" JapaneseSyllabary = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.StartDate:
+                        strcmd += string.Format(" StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.Note:
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.labourKind:
+                        strcmd += string.Format(" labourKind = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DeleteFlg:
+                        strcmd += string.Format(" DeleteFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(CompanyCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+                wrk.CorporateStatusName = objwrk[(int)TableColumn.CorporateStatusName].ToString();
+                wrk.CorporateStatusPoint = int.Parse(objwrk[(int)TableColumn.CorporateStatusPoint].ToString());
+                wrk.CompanyName = objwrk[(int)TableColumn.CompanyName].ToString();
+                wrk.CEOPositionName = objwrk[(int)TableColumn.CEOPositionName].ToString();
+                wrk.CEOName = objwrk[(int)TableColumn.CEOName].ToString();
+                wrk.ContactPersonName = objwrk[(int)TableColumn.ContactPersonName].ToString();
+                wrk.ZipCode = objwrk[(int)TableColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)TableColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)TableColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)TableColumn.Address3].ToString();
+                wrk.CellPhoneNumber = objwrk[(int)TableColumn.CellPhoneNumber].ToString();
+                wrk.MailAddress = objwrk[(int)TableColumn.MailAddress].ToString();
+                wrk.PhoneNumber = objwrk[(int)TableColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)TableColumn.FaxNumber].ToString();
+                wrk.JapaneseSyllabary = objwrk[(int)TableColumn.JapaneseSyllabary].ToString();
+                wrk.StartDate = DateTime.Parse(objwrk[(int)TableColumn.StartDate].ToString());
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();
+                wrk.labourKind = int.Parse(objwrk[(int)TableColumn.labourKind].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)TableColumn.DeleteFlg].ToString());
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 協力会社コードの最大値を取得する
+        /// <summary>
+        /// 協力会社コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCompanyCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(CompanyCode), 0) FROM SubContractorMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 協力会社コードの最大値を取得する
+        /// <summary>
+        /// 表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxDisplayOrderCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DisplayOrder), 0) FROM SubContractorMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CompanyCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0}", CompanyCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorItem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorItem.cs	(revision 84)
@@ -0,0 +1,330 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社工種マスタアクセスクラス
+    /// </summary>
+    public class IOMSubContractorItem : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 協力会社工種マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ItemCode = 0,
+            DisplayOrder,
+            ItemName,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractorItem()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 協力会社工種マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力会社工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ItemName";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SubContractorItemMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<SubContractorItemMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorItemMaster work = new SubContractorItemMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref SubContractorItemMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 協力会社工種マスタ追加
+        /// </summary>
+        /// <param name="data">協力会社工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorItemMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorItemMaster work in data)
+                {
+                    strcmd = "INSERT INTO SubContractorItemMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" {0}", work.ItemCode.ToString());
+                    strcmd += string.Format(" ,{0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(" ,'{0}'", work.ItemName);
+                    strcmd += string.Format(" ,{0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 協力会社工種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorItemMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorItemMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 協力会社工種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorItemMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorItemMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ItemName = objwrk[(int)NameColumn.ItemName].ToString();
+                wrk.DeleteFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxItemCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(ItemCode), 0) FROM SubContractorItemMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ItemCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork += string.Format(" Where ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobCategory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobCategory.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobCategory.cs	(revision 84)
@@ -0,0 +1,382 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社職種マスタアクセスクラス
+    /// </summary>
+    public class IOMSubContractorJobCategory : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 協力会社職種マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            JobCategoryCode = 0,
+            DisplayOrder,
+            JobCategoryName,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractorJobCategory()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力会社職種マスタ検索文字列作成
+        /// <summary>
+        /// 協力会社職種マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  JobCategoryCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,JobCategoryName";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SubContractorJobCategory";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力会社職種マスタ検索（複数）
+        /// <summary>
+        /// 協力会社職種マスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubContractorJobCategory> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorJobCategory work = new SubContractorJobCategory();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力会社職種マスタ検索（1件）
+        /// <summary>
+        /// 協力会社職種マスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubContractorJobCategory data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力会社職種マスタ追加（1件）
+        /// <summary>
+        /// 協力会社職種マスタ追加（1件）
+        /// </summary>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SubContractorJobCategory data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO SubContractorJobCategory";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.JobCategoryCode.ToString());
+                strcmd += string.Format(" ,{0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(" ,'{0}'", data.JobCategoryName);
+                strcmd += string.Format(" ,{0}", data.DeleteFlg.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種マスタ追加（複数）
+        /// <summary>
+        /// 協力会社職種マスタ追加（複数）
+        /// </summary>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorJobCategory> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorJobCategory work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種マスタ更新
+        /// <summary>
+        /// 協力会社職種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorJobCategory data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorJobCategory";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  JobCategoryCode = {0}", data.JobCategoryCode.ToString());
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", JobCategoryName = '{0}'", data.JobCategoryName);
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種マスタ削除
+        /// <summary>
+        /// 協力会社職種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorJobCategory", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorJobCategory wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.JobCategoryCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.JobCategoryCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.JobCategoryName = objwrk[(int)NameColumn.JobCategoryName].ToString();
+                wrk.DeleteFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 最大値を取得する
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxJobCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(JobCategoryCode), 0) FROM SubContractorJobCategory" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="JobCategoryCode">大職種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int JobCategoryCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork += string.Format(" Where JobCategoryCode = {0}", JobCategoryCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobItem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobItem.cs	(revision 84)
@@ -0,0 +1,289 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社工種関連マスタアクセスクラス
+    /// </summary>
+    public class IOMSubContractorJobItem : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工協力会社施工工種マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            ItemCode,
+            DisplayOrder,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractorJobItem()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 協力会社工種関連マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力会社工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  CompanyCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SubContractorJobItem";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<SubContractorJobItem> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorJobItem work = new SubContractorJobItem();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref SubContractorJobItem data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 協力会社工種関連マスタ追加
+        /// </summary>
+        /// <param name="data">協力会社工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorJobItem> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorJobItem work in data)
+                {
+                    strcmd = "INSERT INTO SubContractorJobItem";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.ItemCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 協力会社工種関連マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorJobItem data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorJobItem";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.CompanyCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 協力会社工種関連マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorJobItem", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorJobItem wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.ItemCode = int.Parse(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CompanyCode, int ItemsCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0}", CompanyCode);
+                if (ItemsCode != 0)
+                    strWork += string.Format(" And ItemsCode = {0}", ItemsCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobLink.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobLink.cs	(revision 84)
@@ -0,0 +1,314 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社職種関連マスタアクセスクラス
+    /// </summary>
+    public class IOMSubContractorJobLink : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工協力会社職種関連マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            JobCategoryCode,
+            DisplayOrder,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractorJobLink()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力会社職種関連マスタ検索
+        /// <summary>
+        /// 協力会社職種関連マスタ検索
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  CompanyCode";
+            strcmd += " ,JobCategoryCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SubContractorJobLink";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ検索
+        /// <summary>
+        /// 協力会社職種関連マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubContractorJobLink> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorJobLink work = new SubContractorJobLink();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ検索
+        /// <summary>
+        /// 協力会社職種関連マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubContractorJobLink data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ追加
+        /// <summary>
+        /// 協力会社職種関連マスタ追加
+        /// </summary>
+        /// <param name="data">協力会社職種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorJobLink> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorJobLink work in data)
+                {
+                    strcmd = "INSERT INTO SubContractorJobLink";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.JobCategoryCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ更新
+        /// <summary>
+        /// 協力会社職種関連マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社職種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorJobLink data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorJobLink";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.CompanyCode.ToString());
+                strcmd += string.Format(",JobCategoryCode = {0}", data.JobCategoryCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ削除
+        /// <summary>
+        /// 協力会社職種関連マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社職種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorJobLink", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorJobLink wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.JobCategoryCode = int.Parse(objwrk[(int)NameColumn.JobCategoryCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CompanyCode, int JobCategoryCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0}", CompanyCode);
+                if (JobCategoryCode != 0)
+                    strWork += string.Format(" And JobCategoryCode = {0}", JobCategoryCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSuppliers.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSuppliers.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSuppliers.cs	(revision 84)
@@ -0,0 +1,490 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 仕入先マスタＤＢアクセス
+    /// </summary>
+    public class IOMSuppliers : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 仕入先マスタフィールド並び
+        /// </summary>
+        public enum SuppliersColumn
+        {
+            SuppliersCode = 0,
+            DisplayOrder,
+            SuppliersName1,
+            SuppliersName2,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            PhoneNumber,
+            FaxNumber,
+            Note,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSuppliers()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 仕入先マスタ検索
+        /// <summary>
+        /// 仕入先マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  SuppliersCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,SuppliersName1";
+            strcmd += " ,SuppliersName2";
+            strcmd += " ,ZipCode";
+            strcmd += " ,Address1";
+            strcmd += " ,Address2";
+            strcmd += " ,Address3";
+            strcmd += " ,PhoneNumber";
+            strcmd += " ,FaxNumber";
+            strcmd += " ,Note";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SuppliersMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<SuppliersMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SuppliersMaster work = new SuppliersMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool SelectAction(string AddSQLString, ref SuppliersMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 仕入先マスタ追加
+        /// <summary>
+        /// 仕入先マスタ追加
+        /// </summary>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SuppliersMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO SuppliersMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += data.SuppliersCode;
+                strcmd += string.Format(", {0}", data.DisplayOrder);
+                strcmd += ", '" + data.SuppliersName1 + "'";
+                strcmd += ", '" + data.SuppliersName2 + "'";
+                strcmd += ", '" + data.ZipCode + "'";
+                strcmd += ", '" + data.Address1 + "'";
+                strcmd += ", '" + data.Address2 + "'";
+                strcmd += ", '" + data.Address3 + "'";
+                strcmd += ", '" + data.PhoneNumber + "'";
+                strcmd += ", '" + data.FaxNumber + "'";
+                strcmd += ", '" + data.Note + "'";
+                strcmd += string.Format(", {0}", data.DeleteFlg);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 仕入先マスタ追加
+        /// </summary>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SuppliersMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SuppliersMaster work in data)
+                {
+                    strcmd = "INSERT INTO SuppliersMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += work.SuppliersCode;
+                    strcmd += string.Format(", {0}", work.DisplayOrder);
+                    strcmd += ", '" + work.SuppliersName1 + "'";
+                    strcmd += ", '" + work.SuppliersName2 + "'";
+                    strcmd += ", '" + work.ZipCode + "'";
+                    strcmd += ", '" + work.Address1 + "'";
+                    strcmd += ", '" + work.Address2 + "'";
+                    strcmd += ", '" + work.Address3 + "'";
+                    strcmd += ", '" + work.PhoneNumber + "'";
+                    strcmd += ", '" + work.FaxNumber + "'";
+                    strcmd += ", '" + work.Note + "'";
+                    strcmd += string.Format(", {0}", work.DeleteFlg);
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 仕入先マスタ更新
+        /// <summary>
+        /// 仕入先マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SuppliersMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SuppliersMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" SuppliersCode = {0}", data.SuppliersCode);
+                strcmd += string.Format(" ,DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += " ,SuppliersName1 = '" + data.SuppliersName1 + "'";
+                strcmd += " ,SuppliersName2 = '" + data.SuppliersName2 + "'";
+                strcmd += " ,ZipCode = '" + data.ZipCode + "'";
+                strcmd += " ,Address1 = '" + data.Address1 + "'";
+                strcmd += " ,Address2 = '" + data.Address2 + "'";
+                strcmd += " ,Address3 = '" + data.Address3 + "'";
+                strcmd += " ,PhoneNumber = '" + data.PhoneNumber + "'";
+                strcmd += " ,FaxNumber = '" + data.FaxNumber + "'";
+                strcmd += " ,Note = '" + data.Note + "'";
+                strcmd += string.Format(" ,DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 仕入先マスタ削除
+        /// <summary>
+        /// 仕入先マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SuppliersMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SuppliersMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.SuppliersCode = int.Parse(objwrk[(int)SuppliersColumn.SuppliersCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)SuppliersColumn.DisplayOrder].ToString());
+
+                wrk.SuppliersName1 = objwrk[(int)SuppliersColumn.SuppliersName1].ToString();
+                wrk.SuppliersName2 = objwrk[(int)SuppliersColumn.SuppliersName2].ToString();
+                wrk.ZipCode = objwrk[(int)SuppliersColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)SuppliersColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)SuppliersColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)SuppliersColumn.Address3].ToString();
+                wrk.PhoneNumber = objwrk[(int)SuppliersColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)SuppliersColumn.FaxNumber].ToString();
+                wrk.Note = objwrk[(int)SuppliersColumn.Note].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)SuppliersColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)SuppliersColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)SuppliersColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 仕入先コードの最大値を取得する
+        /// <summary>
+        /// 仕入先コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSuppliersCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SuppliersCode), 0) FROM SuppliersMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int SuppliersCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork += string.Format(" WHERE SUPPLIERSCODE = {0}", SuppliersCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 指定表示順の最大値を取得する
+        /// <summary>
+        /// 指定表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(DISPLAYORDER), 0) FROM SUPPLIERSMASTER" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 指定レコードの表示順を更新する
+        /// <summary>
+        /// 指定レコードの表示順を更新する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SetDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            try
+            {
+                // SQL作成
+                strcmd = "UPDATE SUPPLIERSMASTER SET DISPLAYORDER = ROWNUM" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSystem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSystem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSystem.cs	(revision 84)
@@ -0,0 +1,470 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// システムマスタＤＢアクセス
+    /// </summary>
+    public class IOMSystem : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// システムマスタフィールド並び
+        /// </summary>
+        public enum SystemColumn
+        {
+            SYSTEMCODE = 0,
+            COMPANYNAME1,
+            COMPANYNAME2,
+            CEONAME,
+            CEOPOSITIONNAME,
+            ZIPCODE,
+            ADDRESS1,
+            ADDRESS2,
+            ADDRESS3,
+            PHONENUMBER,
+            FAXNUMBER,
+            CONSTRUCTIONEXPENSES,
+            OFFICEEXPENSES,
+            OPERATINGEXPENSES,
+            CONSUMPTIONTAX,
+            COOPERATIONRATE,
+            EXCELSAVEPATH,
+            BUSINESSPERIOD,
+            ConstructionYear,
+            BusinessBeginningDate,
+            ConstructionBeginningDate,
+            ConstructionNoBase,
+            SloganString1,
+            SloganString2,
+            SloganString3,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSystem()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region システムマスタ検索文字作成
+        /// <summary>
+        /// システムマスタ検索文字作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">システムマスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成
+            string strcmd = "SELECT";
+            strcmd += " SystemCode";
+            strcmd += ", CompanyName1";
+            strcmd += ", CompanyName2";
+            strcmd += ", CEOName";
+            strcmd += ", CEOPositionName";
+            strcmd += ", ZipCode";
+            strcmd += ", Address1";
+            strcmd += ", Address2";
+            strcmd += ", Address3";
+            strcmd += ", PhoneNumber";
+            strcmd += ", FaxNumber";
+            strcmd += ", ConstructionExpenses";
+            strcmd += ", OfficeExpenses";
+            strcmd += ", OperatingExpenses";
+            strcmd += ", ConsumptionTax";
+            strcmd += ", CooperationRate";
+            strcmd += ", ExcelSavePath";
+            strcmd += ", BusinessPeriod";
+            strcmd += ", ConstructionYear";
+            strcmd += ", BusinessBeginningDate";
+            strcmd += ", ConstructionBeginningDate";
+            strcmd += ", ConstructionNoBase";
+            strcmd += ", SloganString1";
+            strcmd += ", SloganString2";
+            strcmd += ", SloganString3";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SystemMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region システムマスタ検索（複数）
+        /// <summary>
+        /// システムマスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SystemMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SystemMaster work = new SystemMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システムマスタ検索（1件）
+        /// <summary>
+        /// システムマスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SystemMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システムマスタ追加
+        /// <summary>
+        /// システムマスタ追加
+        /// </summary>
+        /// <param name="data">システムマスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SystemMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SystemMaster work in data)
+                {
+                    strcmd = "INSERT INTO SystemMaster";
+                    strcmd += " (SystemCode";
+                    strcmd += ", CompanyName1";
+                    strcmd += ", CompanyName2";
+                    strcmd += ", CEOName";
+                    strcmd += ", CEOPositionName";
+                    strcmd += ", ZipCode";
+                    strcmd += ", Address1";
+                    strcmd += ", Address2";
+                    strcmd += ", Address3";
+                    strcmd += ", PhoneNumber";
+                    strcmd += ", FaxNumber";
+                    strcmd += ", ConstructionExpenses";
+                    strcmd += ", OfficeExpenses";
+                    strcmd += ", OperatingExpenses";
+                    strcmd += ", ConsumptionTax";
+                    strcmd += ", CooperationRate";
+                    strcmd += ", ExcelSavePath";
+                    strcmd += ", BusinessPeriod";
+                    strcmd += ", ConstructionYear";
+                    strcmd += ", BusinessBeginningDate";
+                    strcmd += ", ConstructionBeginningDate";
+                    strcmd += ", ConstructionNoBase";
+                    strcmd += ", SloganString1";
+                    strcmd += ", SloganString2";
+                    strcmd += ", SloganString3";
+                    strcmd += ", EntryDate";
+                    strcmd += ", UpdateDate)";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += work.SystemCode.ToString();
+                    strcmd += ",'" + work.CompanyName1 + "'";
+                    strcmd += ",'" + work.CompanyName2 + "'";
+                    strcmd += ",'" + work.CEOName + "'";
+                    strcmd += ",'" + work.CEOPositionName + "'";
+                    strcmd += ",'" + work.ZipCode + "'";
+                    strcmd += ",'" + work.Address1 + "'";
+                    strcmd += ",'" + work.Address2 + "'";
+                    strcmd += ",'" + work.Address3 + "'";
+                    strcmd += ",'" + work.PhoneNumber + "'";
+                    strcmd += ",'" + work.FaxNumber + "'";
+                    strcmd += ", " + work.ConstructionExpenses.ToString();
+                    strcmd += ", " + work.OfficeExpenses.ToString();
+                    strcmd += ", " + work.OperatingExpenses.ToString();
+                    strcmd += ", " + work.ConsumptionTax.ToString();
+                    strcmd += ", " + work.CooperationRate.ToString();
+                    strcmd += ",'" + work.ExcelSavePath + "'";
+
+                    strcmd += ", " + work.BusinessPeriod.ToString();
+                    strcmd += ", " + work.ConstructionYear.ToString();
+                    strcmd += ",'" + work.BusinessBeginningDate + "'";
+                    strcmd += ",'" + work.ConstructionBeginningDate + "'";
+                    strcmd += ", " + work.ConstructionNoBase.ToString();
+
+                    strcmd += ",'" + work.SloganString1 + "'";
+                    strcmd += ",'" + work.SloganString2 + "'";
+                    strcmd += ",'" + work.SloganString3 + "'";
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システムマスタ更新
+        /// <summary>
+        /// システムマスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">システムマスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SystemMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SystemMaster";
+
+                strcmd += " SET";
+
+                strcmd += "  SystemCode = " + data.SystemCode.ToString();
+                strcmd += " ,CompanyName1 = '" + data.CompanyName1 + "'";
+                strcmd += " ,CompanyName2 = '" + data.CompanyName2 + "'";
+                strcmd += " ,CEOName = '" + data.CEOName + "'";
+                strcmd += " ,CEOPositionName = '" + data.CEOPositionName + "'";
+                strcmd += " ,ZipCode = '" + data.ZipCode + "'";
+                strcmd += " ,Address1 = '" + data.Address1 + "'";
+                strcmd += " ,Address2 = '" + data.Address2 + "'";
+                strcmd += " ,Address3 = '" + data.Address3 + "'";
+                strcmd += " ,PhoneNumber = '" + data.PhoneNumber + "'";
+                strcmd += " ,FaxNumber = '" + data.FaxNumber + "'";
+                strcmd += " ,ConstructionExpenses = " + data.ConstructionExpenses.ToString();
+                strcmd += " ,OfficeExpenses = " + data.OfficeExpenses.ToString();
+                strcmd += " ,OperatingExpenses = " + data.OperatingExpenses.ToString();
+                strcmd += " ,ConsumptionTax = " + data.ConsumptionTax.ToString();
+                strcmd += " ,CooperationRate = " + data.CooperationRate.ToString();
+                strcmd += " ,ExcelSavePath = '" + data.ExcelSavePath + "'";
+                
+                strcmd += " ,BusinessPeriod = " + data.BusinessPeriod.ToString();
+                strcmd += " ,ConstructionYear = " + data.ConstructionYear.ToString();
+                strcmd += " ,BusinessBeginningDate = '" + data.BusinessBeginningDate + "'";
+                strcmd += " ,ConstructionBeginningDate = '" + data.ConstructionBeginningDate + "'";
+                strcmd += " ,ConstructionNoBase = " + data.ConstructionNoBase.ToString();
+
+                strcmd += " ,SloganString1 = '" + data.SloganString1 + "'";
+                strcmd += " ,SloganString2 = '" + data.SloganString2 + "'";
+                strcmd += " ,SloganString3 = '" + data.SloganString3 + "'";
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システムマスタ削除
+        /// <summary>
+        /// システムマスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">システムマスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SystemMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SystemMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.SystemCode = int.Parse(objwrk[(int)SystemColumn.SYSTEMCODE].ToString());
+                wrk.CompanyName1 = objwrk[(int)SystemColumn.COMPANYNAME1].ToString();
+                wrk.CompanyName2 = objwrk[(int)SystemColumn.COMPANYNAME2].ToString();
+                wrk.CEOName = objwrk[(int)SystemColumn.CEONAME].ToString();
+                wrk.CEOPositionName = objwrk[(int)SystemColumn.CEOPOSITIONNAME].ToString();
+                wrk.ZipCode = objwrk[(int)SystemColumn.ZIPCODE].ToString();
+                wrk.Address1 = objwrk[(int)SystemColumn.ADDRESS1].ToString();
+                wrk.Address2 = objwrk[(int)SystemColumn.ADDRESS2].ToString();
+                wrk.Address3 = objwrk[(int)SystemColumn.ADDRESS3].ToString();
+                wrk.PhoneNumber = objwrk[(int)SystemColumn.PHONENUMBER].ToString();
+                wrk.FaxNumber = objwrk[(int)SystemColumn.FAXNUMBER].ToString();
+                wrk.ConstructionExpenses = double.Parse(objwrk[(int)SystemColumn.CONSTRUCTIONEXPENSES].ToString());
+                wrk.OfficeExpenses = double.Parse(objwrk[(int)SystemColumn.OFFICEEXPENSES].ToString());
+                wrk.OperatingExpenses = double.Parse(objwrk[(int)SystemColumn.OPERATINGEXPENSES].ToString());
+                wrk.ConsumptionTax = double.Parse(objwrk[(int)SystemColumn.CONSUMPTIONTAX].ToString());
+                wrk.CooperationRate = double.Parse(objwrk[(int)SystemColumn.COOPERATIONRATE].ToString());
+                wrk.ExcelSavePath = objwrk[(int)SystemColumn.EXCELSAVEPATH].ToString();
+
+                wrk.BusinessPeriod = int.Parse(objwrk[(int)SystemColumn.BUSINESSPERIOD].ToString());
+                wrk.ConstructionYear = int.Parse(objwrk[(int)SystemColumn.ConstructionYear].ToString());
+                wrk.BusinessBeginningDate = objwrk[(int)SystemColumn.BusinessBeginningDate].ToString();
+                wrk.ConstructionBeginningDate = objwrk[(int)SystemColumn.ConstructionBeginningDate].ToString();
+                wrk.ConstructionNoBase = int.Parse(objwrk[(int)SystemColumn.ConstructionNoBase].ToString());
+
+                wrk.SloganString1 = objwrk[(int)SystemColumn.SloganString1].ToString();
+                wrk.SloganString2 = objwrk[(int)SystemColumn.SloganString2].ToString();
+                wrk.SloganString3 = objwrk[(int)SystemColumn.SloganString3].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)SystemColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)SystemColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region コードの最大値を取得する
+        /// <summary>
+        /// コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSystemCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SystemCode), 0) FROM SytemMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTerm.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTerm.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTerm.cs	(revision 84)
@@ -0,0 +1,342 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 期限マスタアクセスクラス
+    /// </summary>
+    public class IOMTerm : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ConstructionStatusFlg = 0,
+            FieldNo,
+            SeqNo,
+            DisplayOrder,
+            CheckSchdule,
+            TermDays,
+            SendTitile,
+            SendMessage,
+            BackColor,
+            ForeColor,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMTerm()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 行動予定検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<TermMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT";
+                strcmd += "  ConstructionStatusFlg";
+                strcmd += " ,FieldNo";
+                strcmd += " ,SeqNo";
+                strcmd += " ,DisplayOrder";
+                strcmd += " ,CheckSchdule";
+                strcmd += " ,TermDays";
+                strcmd += " ,SendTitile";
+                strcmd += " ,SendMessage";
+                strcmd += " ,BackColor";
+                strcmd += " ,ForeColor";
+                strcmd += " ,DATE_FORMAT(EntryDate,'%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate,'%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM TermMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    TermMaster work = new TermMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 行動予定追加
+        /// </summary>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool OneRecInsertAction(TermMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO TermMaster";
+
+                strcmd += " VALUES (";
+                strcmd += string.Format(" {0}", data.ConstructionStatusFlg.ToString());
+                strcmd += string.Format(",{0}", data.FieldNo.ToString());
+                strcmd += string.Format(",{0}", data.SeqNo.ToString());
+                strcmd += string.Format(",{0}", data.DisplayOrder);
+                strcmd += string.Format(",{0}", data.CheckSchdule.ToString());
+                strcmd += string.Format(",{0}", data.TermDays.ToString());
+                strcmd += string.Format(",'{0}'", data.SendTitle);
+                strcmd += string.Format(",'{0}'", data.SendMessage);
+                strcmd += string.Format(",'{0}'", data.BackColor);
+                strcmd += string.Format(",'{0}'", data.ForeColor);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool InsertAction(List<TermMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (TermMaster work in data)
+                {
+                    if (!OneRecInsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 行動予定更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, TermMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE TermMaster";
+
+                strcmd += " SET";
+                strcmd += string.Format(" ConstructionStatusFlg = {0}", data.ConstructionStatusFlg.ToString());
+                strcmd += string.Format(",FieldNo = {0}", data.FieldNo.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(",CheckSchdule = {0}", data.CheckSchdule.ToString());
+
+                strcmd += string.Format(",TermDays = {0}", data.TermDays.ToString());
+                strcmd += string.Format(",SendTitile = '{0}'", data.SendTitle);
+                strcmd += string.Format(",SendMessage = '{0}'", data.SendMessage);
+                strcmd += string.Format(",BackColor = '{0}'", data.BackColor);
+                strcmd += string.Format(",ForeColor = '{0}'", data.ForeColor);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 行動予定削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM TermMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref TermMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionStatusFlg = int.Parse(objwrk[(int)NameColumn.ConstructionStatusFlg].ToString());
+                wrk.FieldNo = int.Parse(objwrk[(int)NameColumn.FieldNo].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+
+                wrk.CheckSchdule = int.Parse(objwrk[(int)NameColumn.CheckSchdule].ToString());
+                wrk.TermDays = int.Parse(objwrk[(int)NameColumn.TermDays].ToString());
+                wrk.SendTitle = objwrk[(int)NameColumn.SendTitile].ToString();
+                wrk.SendMessage = objwrk[(int)NameColumn.SendMessage].ToString();
+                wrk.BackColor = objwrk[(int)NameColumn.BackColor].ToString();
+                wrk.ForeColor = objwrk[(int)NameColumn.ForeColor].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionStatusFlg, int FieldNo = 0, int SeqNo = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ConstructionStatusFlg = {0}", ConstructionStatusFlg.ToString());
+                if (FieldNo != 0)
+                    strWork += string.Format(" And FieldNo = {0}", FieldNo.ToString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM TermMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTypeExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTypeExpenses.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTypeExpenses.cs	(revision 84)
@@ -0,0 +1,435 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 工事種別経費率マスタアクセスクラス
+    /// </summary>
+    public class IOMTypeExpenses : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 経費率マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            TypeCode = 0,
+            ExpensesPeriod,
+            NameCode,
+            ExpensesRaito,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMTypeExpenses()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 経費率マスタ検索SQL作成
+        /// <summary>
+        /// 経費率マスタ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " TypeCode";
+            strcmd += " ,ExpensesPeriod";
+            strcmd += " ,NameCode";
+            strcmd += " ,ExpensesRaito";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM TypeExpensesMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region データ検索（複数件）
+        /// <summary>
+        /// データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<TypeExpensesMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    TypeExpensesMaster work = new TypeExpensesMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region データ検索（１件）
+        /// <summary>
+        /// データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref TypeExpensesMaster data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 経費率マスタ追加（１件）
+        /// <summary>
+        /// 経費率マスタ追加（１件）
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(TypeExpensesMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO TypeExpensesMaster";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.TypeCode.ToString());
+                strcmd += string.Format(", {0}", work.ExpensesPeriod.ToString());
+                strcmd += string.Format(", {0}", work.NameCode.ToString());
+                strcmd += string.Format(", {0}", work.ExpensesRaito.ToString());
+                strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ追加（複数件）
+        /// <summary>
+        /// 経費率マスタ追加
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<TypeExpensesMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (TypeExpensesMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ更新
+        /// <summary>
+        /// 経費率マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, TypeExpensesMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE TypeExpensesMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" TypeCode = {0}", data.TypeCode.ToString());
+                strcmd += string.Format(",ExpensesPeriod = {0}", data.ExpensesPeriod.ToString());
+                strcmd += string.Format(",NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",ExpensesRaito = {0}", data.ExpensesRaito.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ削除
+        /// <summary>
+        /// 経費率マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM TypeExpensesMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 論理削除
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode);
+            try
+            {
+                List<TypeExpensesMaster> workList = new List<TypeExpensesMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref TypeExpensesMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TypeCode = int.Parse(objwrk[(int)NameColumn.TypeCode].ToString());
+                wrk.ExpensesPeriod = int.Parse(objwrk[(int)NameColumn.ExpensesPeriod].ToString());
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.ExpensesRaito = double.Parse(objwrk[(int)NameColumn.ExpensesRaito].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 区分別の最大値を取得する
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(NameCode), 0) FROM TypeExpensesMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int TypeCode, int Period = 0, int NameCode = 0, string Alias = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+                strWork = string.Format(" Where {0}TypeCode = {1}", strAlias, TypeCode);
+                if (Period != 0)
+                    strWork += string.Format(" And {0}ExpensesPeriod = {1}", strAlias, Period);
+                if (NameCode != 0)
+                    strWork += string.Format(" And {0}NameCode = {1}", strAlias, NameCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMUnit.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMUnit.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMUnit.cs	(revision 84)
@@ -0,0 +1,285 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 単位マスタアクセスクラス
+    /// </summary>
+    public class IOMUnit : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 単位マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            UnitKey = 0,
+            DISPLAYORDER,
+            UNITNAME,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMUnit()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 単位マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">単位マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<UnitMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT";
+                strcmd += " UnitKey, DisplayOrder, UnitName";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM UnitMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    UnitMaster work = new UnitMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 単位マスタ追加
+        /// </summary>
+        /// <param name="data">単位マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<UnitMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (UnitMaster work in data)
+                {
+                    strcmd = "INSERT INTO UnitMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.UnitKey.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.UnitName);
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 単位マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">単位マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, UnitMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE UnitMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" UnitKey = {0}", data.UnitKey.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",UnitName = '{0}'", data.UnitName);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 単位マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">単位マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM UnitMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref UnitMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.UnitKey = int.Parse(objwrk[(int)NameColumn.UnitKey].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DISPLAYORDER].ToString());
+                wrk.UnitName=objwrk[(int)NameColumn.UNITNAME].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="UnitKey"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int UnitKey)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where UnitKey = {0}", UnitKey);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxUnitKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(UnitKey), 0) FROM UnitMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicle.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicle.cs	(revision 84)
@@ -0,0 +1,427 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 車両マスタアクセスクラス
+    /// </summary>
+    public class IOMVehicle : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// syaryouマスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            VehicleCode = 0,
+            DisplayOrder,
+            VehicleName,
+            RegistrationNumber,
+            IdentificationNumber,
+            ModelCode,
+            DepartmentCode,
+            VehicleScheduleFlg,
+            PurchaseDate,
+            PurchaseName,
+            PurchaseContactPersons,
+            PurchasePhone,
+            LeaseDate,
+            LeaseDestination,
+            LeaseContactPersons,
+            LeasePhone,
+            InsuranceCompany,
+            InsuranceContactPersons,
+            InsurancePhone,
+            Note,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMVehicle()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 車両マスタ検索
+        /// <summary>
+        /// 車両マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<VehicleMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT";
+
+                strcmd += " VehicleCode";
+                strcmd += ",DisplayOrder";
+                strcmd += ",VehicleName";
+                strcmd += ",RegistrationNumber";
+                strcmd += ",IdentificationNumber";
+                strcmd += ",ModelCode";
+                strcmd += ",DepartmentCode";
+                strcmd += ",VehicleScheduleFlg";
+                strcmd += ",DATE_FORMAT(PurchaseDate, '%Y/%m/%d')";
+                strcmd += ",PurchaseName";
+                strcmd += ",PurchaseContactPersons";
+                strcmd += ",PurchasePhone";
+                strcmd += ",DATE_FORMAT(LeaseDate, '%Y/%m/%d')";
+                strcmd += ",LeaseDestination";
+                strcmd += ",LeaseContactPersons";
+                strcmd += ",LeasePhone";
+                strcmd += ",InsuranceCompany";
+                strcmd += ",InsuranceContactPersons";
+                strcmd += ",InsurancePhone";
+                strcmd += ",Note";
+
+                strcmd += " ,DATE_FORMAT(EntryDate,'%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate,'%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM VehicleMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    VehicleMaster work = new VehicleMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 車両マスタ追加
+        /// <summary>
+        /// 車両マスタ追加
+        /// </summary>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<VehicleMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (VehicleMaster work in data)
+                {
+                    strcmd = "INSERT INTO VehicleMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.VehicleCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(",'{0}'", work.VehicleName);
+                    strcmd += string.Format(",'{0}'", work.RegistrationNumber.ToString());
+                    strcmd += string.Format(",'{0}'", work.IdentificationNumber.ToString());
+                    strcmd += string.Format(",'{0}'", work.ModelCode);
+                    strcmd += string.Format(", {0}", work.DepartmentCode.ToString());
+                    strcmd += string.Format(", {0}", work.VehicleScheduleFlg.ToString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%dD')", work.PurchaseDate.ToShortDateString());
+                    strcmd += string.Format(",'{0}'", work.PurchaseName);
+                    strcmd += string.Format(",'{0}'", work.PurchaseContactPersons);
+                    strcmd += string.Format(",'{0}'", work.PurchasePhone);
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.LeaseDate.ToShortDateString());
+                    strcmd += string.Format(",'{0}'", work.LeaseDestination);
+                    strcmd += string.Format(",'{0}'", work.LeaseContactPersons);
+                    strcmd += string.Format(",'{0}'", work.LeasePhone);
+                    strcmd += string.Format(",'{0}'", work.InsuranceCompany);
+                    strcmd += string.Format(",'{0}'", work.InsuranceContactPersons);
+                    strcmd += string.Format(",'{0}'", work.InsurancePhone);
+                    strcmd += string.Format(",'{0}'", work.Note);
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 車両マスタ更新
+        /// <summary>
+        /// 車両マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, VehicleMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE VehicleMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" VehicleCode = {0}", data.VehicleCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",VehicleName = '{0}'", data.VehicleName);
+                strcmd += string.Format(",RegistrationNumber = '{0}'", data.RegistrationNumber);
+                strcmd += string.Format(",IdentificationNumber = '{0}'", data.IdentificationNumber);
+                strcmd += string.Format(",ModelCode = '{0}'", data.ModelCode);
+                strcmd += string.Format(",DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(",VehicleScheduleFlg = {0}", data.VehicleScheduleFlg.ToString());
+                strcmd += string.Format(",PurchaseDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.PurchaseDate.ToShortDateString());
+                strcmd += string.Format(",PurchaseName = '{0}'", data.PurchaseName);
+                strcmd += string.Format(",PurchaseContactPersons = '{0}'", data.PurchaseContactPersons);
+                strcmd += string.Format(",PurchasePhone = '{0}'", data.PurchasePhone);
+                strcmd += string.Format(",LeaseDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.LeaseDate.ToShortDateString());
+                strcmd += string.Format(",LeaseDestination = '{0}'", data.LeaseDestination);
+                strcmd += string.Format(",LeaseContactPersons = '{0}'", data.LeaseContactPersons);
+                strcmd += string.Format(",LeasePhone = '{0}'", data.LeasePhone);
+                strcmd += string.Format(",InsuranceCompany = '{0}'", data.InsuranceCompany);
+                strcmd += string.Format(",InsuranceContactPersons = '{0}'", data.InsuranceContactPersons);
+                strcmd += string.Format(",InsurancePhone = '{0}'", data.InsurancePhone);
+                strcmd += string.Format(",Note = '{0}'", data.Note);
+
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 車両マスタ削除
+        /// <summary>
+        /// 車両マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM VehicleMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref VehicleMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.VehicleCode = int.Parse(objwrk[(int)NameColumn.VehicleCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.VehicleName = objwrk[(int)NameColumn.VehicleName].ToString();
+                wrk.RegistrationNumber = objwrk[(int)NameColumn.RegistrationNumber].ToString();
+                wrk.IdentificationNumber = objwrk[(int)NameColumn.IdentificationNumber].ToString();
+                wrk.ModelCode = objwrk[(int)NameColumn.ModelCode].ToString();
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+                wrk.VehicleScheduleFlg = int.Parse(objwrk[(int)NameColumn.VehicleScheduleFlg].ToString());
+                wrk.PurchaseDate = DateTime.Parse(objwrk[(int)NameColumn.PurchaseDate].ToString());
+                wrk.PurchaseName = objwrk[(int)NameColumn.PurchaseName].ToString();
+                wrk.PurchaseContactPersons = objwrk[(int)NameColumn.PurchaseContactPersons].ToString();
+                wrk.PurchasePhone = objwrk[(int)NameColumn.PurchasePhone].ToString();
+                wrk.LeaseDate = DateTime.Parse(objwrk[(int)NameColumn.LeaseDate].ToString());
+                wrk.LeaseDestination = objwrk[(int)NameColumn.LeaseDestination].ToString();
+                wrk.LeaseContactPersons = objwrk[(int)NameColumn.LeaseContactPersons].ToString();
+                wrk.LeasePhone = objwrk[(int)NameColumn.LeasePhone].ToString();
+                wrk.InsuranceCompany = objwrk[(int)NameColumn.InsuranceCompany].ToString();
+                wrk.InsuranceContactPersons = objwrk[(int)NameColumn.InsuranceContactPersons].ToString();
+                wrk.InsurancePhone = objwrk[(int)NameColumn.InsurancePhone].ToString();
+                wrk.Note = objwrk[(int)NameColumn.Note].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref VehicleMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.VehicleCode = 0;
+                wrk.DisplayOrder = 0;
+                wrk.VehicleName = string.Empty;
+                wrk.RegistrationNumber = string.Empty;
+                wrk.IdentificationNumber = string.Empty;
+                wrk.ModelCode = string.Empty;
+                wrk.DepartmentCode = 0;
+                wrk.VehicleScheduleFlg = 0;
+                wrk.PurchaseDate = DateTime.MinValue;
+                wrk.PurchaseName = string.Empty;
+                wrk.PurchaseContactPersons = string.Empty;
+                wrk.PurchasePhone = string.Empty;
+                wrk.LeaseDate = DateTime.MinValue;
+                wrk.LeaseDestination = string.Empty;
+                wrk.LeaseContactPersons = string.Empty;
+                wrk.LeasePhone = string.Empty;
+                wrk.InsuranceCompany = string.Empty;
+                wrk.InsuranceContactPersons = string.Empty;
+                wrk.InsurancePhone = string.Empty;
+                wrk.Note = string.Empty;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="VehicleCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int VehicleCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where VehicleCode = {0}", VehicleCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 最大値を取得する
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxVehicleKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(VehicleCode), 0) FROM VehicleMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicleRecordData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicleRecordData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicleRecordData.cs	(revision 84)
@@ -0,0 +1,312 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 車両マスタアクセスクラス
+    /// </summary>
+    public class IOMVehicleRecordData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// syaryouマスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            VehicleCode = 0,
+            DivisionCode,
+            SeqNo,
+            RecordDate,
+            Mileage,
+            Content,
+            PaymentCost,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMVehicleRecordData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 車両マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<VehicleRecordData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT";
+
+                strcmd += " VehicleCode";
+                strcmd += ",DivisionCode";
+                strcmd += ",SeqNo";
+                strcmd += ",DATE_FORMAT(RecordDate, '%Y/%m/%d')";
+                strcmd += ",Mileage";
+                strcmd += ",Content";
+                strcmd += ",PaymentCost";
+
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM VehicleRecordData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    VehicleRecordData work = new VehicleRecordData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 車両マスタ追加
+        /// </summary>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<VehicleRecordData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (VehicleRecordData work in data)
+                {
+                    strcmd = "INSERT INTO VehicleRecordData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.VehicleCode.ToString());
+                    strcmd += string.Format(", {0}", work.DivisionCode.ToString());
+                    strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.RecordDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", work.Mileage.ToString());
+                    strcmd += string.Format(",'{0}'", work.Content);
+                    strcmd += string.Format(", {0}", work.PaymentCost.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 車両マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, VehicleRecordData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE VehicleRecordData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" VehicleCode = {0}", data.VehicleCode.ToString());
+                strcmd += string.Format(",DivisionCode = {0}", data.DivisionCode.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",RecordDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.RecordDate.ToShortDateString());
+                strcmd += string.Format(",Mileage = {0}", data.Mileage.ToString());
+                strcmd += string.Format(",Content = '{0}'", data.Content);
+                strcmd += string.Format(",PaymentCost = {0}", data.PaymentCost.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 車両マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM VehicleRecordData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref VehicleRecordData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.VehicleCode = int.Parse(objwrk[(int)NameColumn.VehicleCode].ToString());
+                wrk.DivisionCode = int.Parse(objwrk[(int)NameColumn.DivisionCode].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.RecordDate = DateTime.Parse(objwrk[(int)NameColumn.RecordDate].ToString());
+                wrk.Mileage = int.Parse(objwrk[(int)NameColumn.Mileage].ToString());
+                wrk.Content = objwrk[(int)NameColumn.Content].ToString();
+                wrk.PaymentCost = int.Parse(objwrk[(int)NameColumn.PaymentCost].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="VehicleCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int VehicleCode, int DivisionCode = 0, int SeqNo = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where VehicleCode = {0}", VehicleCode);
+                if (DivisionCode != 0)
+                strWork += string.Format(" And DivisionCode = {0}", DivisionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxVehicleKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM VehicleRecordData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialInfo.cs	(revision 84)
@@ -0,0 +1,315 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.MySQLDB.IOAccess;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 資材情報アクセス
+    /// </summary>
+    public class IOMaterialInfo : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            MaterialItemCode = 0,
+            MaterialCount,
+            RentCount,
+            DeleteFlg,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMaterialInfo()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<MaterialInfo> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " MaterialItemCode, MaterialCount, RentCount, DeleteFlg";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM MaterialInfo";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MaterialInfo work = new MaterialInfo();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 追加
+        /// </summary>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<MaterialInfo> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (MaterialInfo work in data)
+                {
+                    strcmd = "INSERT INTO MaterialInfo";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.MaterialItemCode .ToString());
+                    strcmd += string.Format(", {0}", work.MaterialCount .ToString());
+                    strcmd += string.Format(", {0}", work.RentCount.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MaterialInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE MaterialInfo";
+                strcmd += " SET";
+
+                strcmd += string.Format(" MaterialCount = {0}", data.MaterialCount.ToString());
+                strcmd += string.Format(",RentCount = {0}", data.RentCount.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = "Update MaterialInfo Set DeleteFlg = 1";
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MaterialInfo wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.MaterialItemCode = int.Parse(objwrk[(int)NameColumn.MaterialItemCode].ToString());
+                wrk.MaterialCount = int.Parse(objwrk[(int)NameColumn.MaterialCount].ToString());
+                wrk.RentCount  = int.Parse(objwrk[(int)NameColumn.RentCount].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int MaterialItemCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where MaterialItemCode = {0}", MaterialItemCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+
+
+        /// <summary>
+        /// 排他行ロック
+        /// </summary>
+        /// <param name="MaterialTypesCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLockUpdate(int MaterialItemCode, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from MaterialInfo where MaterialItemCode = {0} for update;", MaterialItemCode);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+        /// <summary>
+        /// 共有行ロック
+        /// </summary>
+        /// <param name="MaterialTypesCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLockShare(int MaterialItemCode, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from MaterialInfo where MaterialItemCode = {0} lock in share mode;", MaterialItemCode);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialItem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialItem.cs	(revision 84)
@@ -0,0 +1,385 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.MySQLDB.IOAccess;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 資材品目マスタアクセスクラス
+    /// </summary>
+    public class IOMaterialItem : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 資材品目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            MaterialItemCode = 0,
+            MaterialKindCode,
+            MaterialItemName,
+            DisplayOrder,
+            DeleteFlg,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMaterialItem()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 資材品目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">資材品目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<MaterialItemMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " MaterialItemCode, MaterialKindCode, MaterialItemName, DisplayOrder, DeleteFlg";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM MaterialItemMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MaterialItemMaster work = new MaterialItemMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 資材品目マスタ追加
+        /// </summary>
+        /// <param name="data">資材品目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<MaterialItemMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (MaterialItemMaster work in data)
+                {
+                    strcmd = "INSERT INTO MaterialItemMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.MaterialItemCode.ToString());
+                    strcmd += string.Format(", {0}", work.MaterialKindCode.ToString());
+                    strcmd += string.Format(", '{0}'", work.MaterialItemName);
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 資材品目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">資材品目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MaterialItemMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE MaterialItemMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" MaterialItemCode = {0}", data.MaterialItemCode.ToString());
+                strcmd += string.Format(",MaterialKindCode = {0}", data.MaterialKindCode.ToString());
+                strcmd += string.Format(",MaterialItemName = '{0}'", data.MaterialItemName);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 資材品目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">資材品目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = "Update MaterialItemMaster Set DeleteFlg = 1,DisplayOrder = 999";
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MaterialItemMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.MaterialItemCode  = int.Parse(objwrk[(int)NameColumn.MaterialItemCode].ToString());
+                wrk.MaterialKindCode = int.Parse(objwrk[(int)NameColumn.MaterialKindCode].ToString());
+                wrk.MaterialItemName  = objwrk[(int)NameColumn.MaterialItemName].ToString();
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int MaterialItemCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where MaterialItemCode = {0}", MaterialItemCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMaterialItemKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(MaterialItemCode), 0) FROM MaterialItemMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 指定資材種類の件数を取得する
+        /// </summary>
+        /// <param name="MaterialKindCode">資材種類コード</param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectkindItemCount(int MaterialKindCode, bool bConnect = true)
+        {
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = string.Format("SELECT COUNT(*) FROM MaterialItemMaster where MaterialKindCode = {0} and Deleteflg = 0" , MaterialKindCode);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                iRet = int.Parse((((object[])arData[0])[0]).ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// タイムアウト設定
+        /// </summary>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SetTimeOut(int time, bool bConnect = true)
+        {
+            //インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("set innodb_lock_wait_timeout = {0};", time);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        /// <param name="MaterialTypesCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLock(int MaterialItemCode, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from MaterialItemMaster  where MaterialItemCode = {0} for update;", MaterialItemCode);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialRecordInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialRecordInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialRecordInfo.cs	(revision 84)
@@ -0,0 +1,334 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    public class IOMaterialRecordInfo : MySqlProcess 
+    {
+
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            MaterialItemCode = 0,
+            ProcessDate,
+            SeqNo,
+            RecKind,
+            ConstructionCode,
+            PersonCode,
+            MaterialCount,
+            RepayPlanDate,
+            CommentText,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMaterialRecordInfo()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<MaterialRecordInfo> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " MaterialItemCode,DATE_FORMAT(ProcessDate, '%Y/%m/%d %H:%i:%s'),SeqNo,RecKind,ConstructionCode,PersonCode,MaterialCount,DATE_FORMAT(RepayPlanDate, '%Y/%m/%d %H:%i:%s'),CommentText";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM MaterialRecordInfo";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MaterialRecordInfo work = new MaterialRecordInfo();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 追加
+        /// </summary>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<MaterialRecordInfo> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (MaterialRecordInfo work in data)
+                {
+                    strcmd = "INSERT INTO MaterialRecordInfo";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.MaterialItemCode.ToString());
+                    strcmd += string.Format(", DATE_FORMAT('{0}','%Y/%m/%d')", work.ProcessDate.ToString());
+                    strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", work.RecKind.ToString());
+                    strcmd += string.Format(", {0}", work.ConstructionCode.ToString());
+                    strcmd += string.Format(", {0}", work.PersonCode.ToString());
+                    strcmd += string.Format(", {0}", work.MaterialCount.ToString());
+                    strcmd += string.Format(", DATE_FORMAT('{0}','%Y/%m/%d')", work.RepayPlanDate.ToString());
+                    strcmd += string.Format(", '{0}'", work.CommentText.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MaterialRecordInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE MaterialRecordInfo";
+                strcmd += " SET";
+
+                strcmd += string.Format(" RecKind = {0}", data.RecKind.ToString());
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",MaterialCount = {0}", data.MaterialCount.ToString());
+                strcmd += string.Format(",RepayPlanDate = DATE_FORMAT('{0}','%Y/%m/%d')", data.RepayPlanDate.ToString());
+                strcmd += string.Format(",CommentText = '{0}'", data.CommentText.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM MaterialRecordInfo", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MaterialRecordInfo wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.MaterialItemCode = int.Parse(objwrk[(int)NameColumn.MaterialItemCode].ToString());
+                wrk.ProcessDate = DateTime.Parse(objwrk[(int)NameColumn.ProcessDate].ToString());
+                wrk.SeqNo  = int.Parse(objwrk[(int)NameColumn.SeqNo ].ToString());
+                wrk.RecKind = int.Parse(objwrk[(int)NameColumn.RecKind].ToString());
+                wrk.ConstructionCode = int.Parse(objwrk[(int)NameColumn.ConstructionCode].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                wrk.MaterialCount = int.Parse(objwrk[(int)NameColumn.MaterialCount].ToString());
+                wrk.RepayPlanDate = DateTime.Parse(objwrk[(int)NameColumn.RepayPlanDate].ToString());
+                wrk.CommentText = objwrk[(int)NameColumn.CommentText].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int MaterialItemCode, DateTime ProcessDate)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where MaterialItemCode = {0} and ProcessDate = DATE_FORMAT('{1}','%Y/%m/%d')", MaterialItemCode, ProcessDate);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMaterialRecordKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM MaterialRecordInfo" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        /// <param name="MaterialItemCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLock(int MaterialItemCode, DateTime ProcessDate, int SeqNo, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from MaterialrecordInfo  where MaterialItemCode = {0} and ProcessDate = DATE_FORMAT('{1}','%Y/%m/%d') and SeqNo = {2} for update;",
+                                        MaterialItemCode, ProcessDate, SeqNo);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialTypes.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialTypes.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialTypes.cs	(revision 84)
@@ -0,0 +1,325 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 資材種類マスタアクセスクラス
+    /// </summary>
+    public class IOMaterialTypes : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 資材種類マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            MaterialTypesCode = 0,
+            MaterialTypesName,
+            DisplayOrder,
+            DeleteFlg,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMaterialTypes()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 資材種類マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">資材種類マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<MaterialKindMaster> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " MaterialKindCode, MaterialKindName, DisplayOrder, DeleteFlg";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM MaterialKindMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MaterialKindMaster work = new MaterialKindMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 資材種類マスタ追加
+        /// </summary>
+        /// <param name="data">資材種類マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<MaterialKindMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (MaterialKindMaster work in data)
+                {
+                    strcmd = "INSERT INTO MaterialKindMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.MaterialKindCode.ToString());
+                    strcmd += string.Format(", '{0}'", work.MaterialKindName);
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 資材種類マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MaterialKindMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE MaterialKindMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" MaterialKindCode = {0}", data.MaterialKindCode.ToString());
+                strcmd += string.Format(",MaterialKindName = '{0}'", data.MaterialKindName);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 資材種類マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">資材種類マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = "Update MaterialKindMaster Set DeleteFlg = 1,DisplayOrder = 999";
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MaterialKindMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.MaterialKindCode  = int.Parse(objwrk[(int)NameColumn.MaterialTypesCode].ToString());
+                wrk.MaterialKindName = objwrk[(int)NameColumn.MaterialTypesName].ToString();
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = objwrk[(int)NameColumn.ENTRYDATE].ToString() == "" ? DateTime.Parse("2001/01/01") : DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = objwrk[(int)NameColumn.UPDATEDATE].ToString()=="" ? DateTime.Parse("2001/01/01") : DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int MaterialTypesCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where MaterialKindCode = {0}", MaterialTypesCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMaterialKindKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(MaterialKindCode), 0) FROM MaterialKindMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        /// <param name="MaterialTypesCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RowLock(int MaterialTypesCode, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from MaterialKindMaster  where MaterialKindCode={0} for update", MaterialTypesCode);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+             
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardData.cs	(revision 84)
@@ -0,0 +1,530 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient; 
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 掲示板データアクセスクラス
+    /// </summary>
+    public class IOMessageBoardData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 掲示板データフィールド並び
+        /// </summary>
+        public enum ColumnCnt
+        {
+            RecordNumber = 0,       // レコード番号
+            BranchNumber,           // レコード枝番
+            FromCode,               // 書込み者コード
+            FromName,               // 書込み者名
+            MessageTitile,           // 伝言タイトル
+            MessageContent,         // 伝言内容
+            LinkType,               // リンク動作タイプ
+            LinkMessage,            // リンク文字列
+            LinkCode,               // リンクキー
+            WritingDate,            // 書込み日付
+            PersonCode,             // 書込み担当者コード
+            ShareFlag,              // 管理者対象フラグ
+            MessageColor,           // 文字色
+            BackColor,              // 背景色
+            MessageFlag,            // メッセージラグ
+            EntryDate,              // 登録年月日
+            UpdateDate,             // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMessageBoardData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 掲示板データ検索文字作成
+        /// <summary>
+        /// 掲示板データ検索文字作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " RecordNumber";
+            strcmd += ",BranchNumber";
+            strcmd += ",FromCode";
+            strcmd += ",FromName";
+            strcmd += ",MessageTitile";
+            strcmd += ",MessageContent";
+            strcmd += ",LinkType";
+            strcmd += ",LinkMessage";
+            strcmd += ",LinkCode";
+            strcmd += ",DATE_FORMAT(WritingDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",PersonCode";
+            strcmd += ",ShareFlag";
+            strcmd += ",MessageColor";
+            strcmd += ",BackColor";
+            strcmd += ",MessageFlag";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM MessageBoardData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 掲示板データ複数検索
+        /// <summary>
+        /// 掲示板データ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<MessageBoardData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBoardData work = new MessageBoardData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ１件検索
+        /// <summary>
+        /// 掲示板データ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref MessageBoardData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBoardData work = new MessageBoardData();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ１件追加
+        /// <summary>
+        /// 掲示板データ１件追加
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool OneRecInsertAction(MessageBoardData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO MessageBoardData";
+
+                strcmd += " (RecordNumber,";
+                strcmd += " BranchNumber,";
+                strcmd += " FromCode,";
+                strcmd += " FromName,";
+                strcmd += " MessageTitile,";
+                strcmd += " MessageContent,";
+                strcmd += " LinkType,";
+                strcmd += " LinkMessage,";
+                strcmd += " LinkCode,";
+                strcmd += " WritingDate,";
+                strcmd += " PersonCode,";
+                strcmd += " ShareFlag,";
+                strcmd += " MessageColor,";
+                strcmd += " BackColor,";
+                strcmd += " MessageFlag,";
+                strcmd += " EntryDate,";
+                strcmd += " UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0} ", data.RecordNumber.ToString());
+                strcmd += string.Format(", {0} ", data.BranchNumber.ToString());
+                strcmd += string.Format(", {0} ", data.FromCode);
+                strcmd += string.Format(",'{0}'", data.FromName);
+                strcmd += string.Format(",'{0}'", data.MessageTitle);
+                strcmd += string.Format(",'{0}'", data.MessageContent);
+                strcmd += string.Format(", {0} ", data.LinkType);
+                strcmd += string.Format(",'{0}'", data.LinkMessage);
+                strcmd += string.Format(",'{0}'", data.LinkCode);
+
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.WritingDate.ToString());
+                strcmd += string.Format(", {0} ", data.PersonCode.ToString());
+                strcmd += string.Format(", {0} ", data.ShareFlag.ToString());
+                strcmd += string.Format(",'{0}'", data.MessageColor);
+                strcmd += string.Format(",'{0}'", data.BackColor);
+                strcmd += string.Format(", {0} ", data.MessageFlag.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ複数追加
+        /// <summary>
+        /// 掲示板データ複数追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<MessageBoardData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (MessageBoardData work in data)
+                {
+                    if (!OneRecInsertAction(work, bConnect)) break;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ更新
+        /// <summary>
+        /// 掲示板データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MessageBoardData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE MessageBoardData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" RecordNumber = {0} ", data.RecordNumber.ToString());
+                strcmd += string.Format(",BranchNumber = {0} ", data.BranchNumber.ToString());
+                strcmd += string.Format(",FromCode = {0} ", data.FromCode);
+                strcmd += string.Format(",FromName = '{0}'", data.FromName.ToString());
+                strcmd += string.Format(",MessageTitile = '{0}'", data.MessageTitle.ToString());
+                strcmd += string.Format(",MessageContent = '{0}'", data.MessageContent.ToString());
+                strcmd += string.Format(",LinkType = {0} ", data.LinkType);
+                strcmd += string.Format(",LinkMessage = '{0}'", data.LinkMessage.ToString());
+                strcmd += string.Format(",LinkCode = '{0}'", data.LinkCode.ToString());
+                strcmd += string.Format(",WritingDate = DATE_FORMAT('{0}','%Y/%m/%d %H:%i:%s')", data.WritingDate.ToString());
+                strcmd += string.Format(",PersonCode = {0} ", data.PersonCode.ToString());
+                strcmd += string.Format(",ShareFlag = {0} ", data.ShareFlag.ToString());
+                strcmd += string.Format(",MessageColor = '{0}'", data.MessageColor.ToString());
+                strcmd += string.Format(",BackColor = '{0}'", data.BackColor.ToString());
+                strcmd += string.Format(",MessageFlag = {0} ", data.MessageFlag);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ削除
+        /// <summary>
+        /// 掲示板データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM MessageBoardData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MessageBoardData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RecordNumber = int.Parse(objwrk[(int)ColumnCnt.RecordNumber].ToString());
+                wrk.BranchNumber = int.Parse(objwrk[(int)ColumnCnt.BranchNumber].ToString());
+                wrk.FromCode = int.Parse(objwrk[(int)ColumnCnt.FromCode].ToString());
+                wrk.FromName = objwrk[(int)ColumnCnt.FromName].ToString();
+                wrk.MessageTitle = objwrk[(int)ColumnCnt.MessageTitile].ToString();
+                wrk.MessageContent = objwrk[(int)ColumnCnt.MessageContent].ToString();
+                wrk.LinkType = int.Parse(objwrk[(int)ColumnCnt.LinkType].ToString());
+                wrk.LinkMessage = objwrk[(int)ColumnCnt.LinkMessage].ToString();
+                wrk.LinkCode = objwrk[(int)ColumnCnt.LinkCode].ToString();
+                wrk.WritingDate = DateTime.Parse(objwrk[(int)ColumnCnt.WritingDate].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnCnt.PersonCode].ToString());
+                wrk.ShareFlag = int.Parse(objwrk[(int)ColumnCnt.ShareFlag].ToString());
+                wrk.MessageColor = objwrk[(int)ColumnCnt.MessageColor].ToString();
+                wrk.BackColor = objwrk[(int)ColumnCnt.BackColor].ToString();
+                wrk.MessageFlag = int.Parse(objwrk[(int)ColumnCnt.MessageFlag].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnCnt.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnCnt.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region データクリア
+        /// <summary>
+        /// データクリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref MessageBoardData wrk)
+        {
+            try
+            {
+                wrk.RecordNumber = 0;                   // レコード番号
+                wrk.BranchNumber = 0;                   // レコード枝番
+                wrk.FromCode = 0;                       // 書込み者名
+                wrk.FromName = string.Empty;            // 書込み者名
+                wrk.MessageTitle = string.Empty;        // 伝言タイトル
+                wrk.MessageContent = string.Empty;      // 伝言内容
+                wrk.LinkType = 0;                       // リンク動作タイプ
+                wrk.LinkMessage = string.Empty;         // リンク文字列
+                wrk.LinkCode = string.Empty;            // リンクキー
+
+                wrk.WritingDate = DateTime.MinValue;    // 書込み日付
+                wrk.PersonCode = 0;                     // 書込み担当者コード
+                wrk.ShareFlag = 0;                      // 管理者対象フラグ
+                wrk.MessageColor = string.Empty;        // 文字色
+                wrk.BackColor = string.Empty;           // 背景色
+                wrk.MessageFlag = 0;                    // メッセージフラグ
+
+                wrk.EntryDate = DateTime.Now;           // 登録日付
+                wrk.UpdateDate = DateTime.Now;          // 更新日付
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("クリアエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="MessageBoardDataCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RecordNumber, int BranchNumber)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RecordNumber = {0}", RecordNumber);
+                strWork += string.Format(" And BranchNumber = {0}", BranchNumber);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコード番号の最大値を取得する
+        /// <summary>
+        /// レコード番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardDataKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(RecordNumber), 0) FROM MessageBoardData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardDataBranchKeyCount(int RecordNumber, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(BranchNumber), 0) FROM MessageBoardData" + string.Format(" Where RecordNumber = {0}", RecordNumber);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardDataTerget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardDataTerget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardDataTerget.cs	(revision 84)
@@ -0,0 +1,504 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 掲示板データアクセスクラス
+    /// </summary>
+    public class IOMessageBoardTerget : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 掲示板データフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            RecordNumber = 0,       // レコード番号
+            BranchNumber,           // レコード枝番
+            SeqNum,                 // 連番
+            ToCode,                 // 対象者コード
+            ToName,                 // 対象者
+            EntryDate,              // 登録年月日
+            UpdateDate,             // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMessageBoardTerget()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 掲示板データ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " RecordNumber";
+            strcmd += ",BranchNumber";
+            strcmd += ",SeqNum";
+            strcmd += ",ToCode";
+            strcmd += ",ToName";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM MessageBoardTerget";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region データ検索（複数件）
+        /// <summary>
+        /// データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<MessageBoardTerget> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBoardTerget work = new MessageBoardTerget();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ検索（１件）
+        /// <summary>
+        /// データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref MessageBoardTerget data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBoardTerget work = new MessageBoardTerget();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ追加（1件）
+        /// <summary>
+        /// 掲示板データ追加（1件）
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(MessageBoardTerget work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO MessageBoardTerget";
+
+                strcmd += " (RecordNumber";
+                strcmd += ",BranchNumber";
+                strcmd += ",SeqNum";
+                strcmd += ",ToCode";
+                strcmd += ",ToName";
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0} ", CommonMotions.cnvInt(work.RecordNumber.ToString()));
+                strcmd += string.Format(", {0} ", CommonMotions.cnvInt(work.BranchNumber.ToString()));
+                strcmd += string.Format(", {0} ", work.SeqNum);
+                strcmd += string.Format(", {0} ", work.ToCode);
+                strcmd += string.Format(",'{0}'", work.ToName.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ追加（複数件）
+        /// <summary>
+        /// 掲示板データ追加（複数件）
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<MessageBoardTerget> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (MessageBoardTerget work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ更新
+        /// <summary>
+        /// 掲示板データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MessageBoardTerget data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE MessageBoardTerget";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" RecordNumber = {0} ", CommonMotions.cnvInt(data.RecordNumber.ToString()));
+                strcmd += string.Format(",BranchNumber = {0} ", CommonMotions.cnvInt(data.BranchNumber.ToString()));
+                strcmd += string.Format(",SeqNum = {0} ", data.SeqNum);
+                strcmd += string.Format(",ToCode = {0} ", data.ToCode);
+                strcmd += string.Format(",ToName = '{0}'", data.ToName.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ削除
+        /// <summary>
+        /// 掲示板データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM MessageBoardTerget", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MessageBoardTerget wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RecordNumber = int.Parse(objwrk[(int)NameColumn.RecordNumber].ToString());
+                wrk.BranchNumber = int.Parse(objwrk[(int)NameColumn.BranchNumber].ToString());
+                wrk.SeqNum = int.Parse(objwrk[(int)NameColumn.SeqNum].ToString());
+                wrk.ToCode = int.Parse(objwrk[(int)NameColumn.ToCode].ToString());
+                wrk.ToName=objwrk[(int)NameColumn.ToName].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体をクリアする
+        /// <summary>
+        /// 構造体をクリアする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref MessageBoardTerget wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RecordNumber = 0;
+                wrk.BranchNumber = 0;
+                wrk.SeqNum = 0;
+                wrk.ToCode = 0;
+                wrk.ToName = string.Empty;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// 他のテーブルは0のキーを許さないが
+        /// このテーブルはオリジナルメッセージが0になるため
+        /// 他とは少し違う
+        /// </summary>
+        /// <param name="MessageBoardTergetCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RecordNumber, int BranchNumber, int SeqNum = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RecordNumber = {0}", RecordNumber);
+                strWork += string.Format(" And BranchNumber = {0}", BranchNumber);
+                if (SeqNum != 0)
+                    strWork += string.Format(" And SeqNum = {0}", SeqNum);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 最大値を取得する(RecordNumber)
+        /// <summary>
+        /// 最大値を取得する(RecordNumber)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardTergetKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(RecordNumber), 0) FROM MessageBoardTerget" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 最大値を取得する(BranchNumber)
+        /// <summary>
+        /// 最大値を取得する(BranchNumber)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardTergetBranchKeyCount(int RecordNumber, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(BranchNumber), 0) FROM MessageBoardTerget" + string.Format(" Where RecordNumber = {0}", RecordNumber);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 最大値を取得する(SeqNum)
+        /// <summary>
+        /// 最大値を取得する(SeqNum)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardTergetBranchKeyCount(int RecordNumber, int BranchNumber, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNum), 0) FROM MessageBoardTerget" + CreatePrimarykeyString(RecordNumber, BranchNumber);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBrowsingHistory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBrowsingHistory.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBrowsingHistory.cs	(revision 84)
@@ -0,0 +1,404 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 掲示板データアクセスクラス
+    /// </summary>
+    public class IOMessageBrowsingHistory : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 掲示板データフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            RecordNumber = 0,       // レコード番号
+            BranchNumber,           // レコード枝番
+            SeqNum,                 // 連番
+            BrowsingCode,           // 閲覧者コード
+            BrowsingDate,           // 閲覧日付
+            EntryDate,              // 登録年月日
+            UpdateDate,             // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMessageBrowsingHistory()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 掲示板データ検索SQL作成
+        /// <summary>
+        /// 掲示板データ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " RecordNumber";
+            strcmd += ",BranchNumber";
+            strcmd += ",SeqNum";
+            strcmd += ",BrowsingCode";
+            strcmd += ",DATE_FORMAT(BrowsingDate, '%Y/%m/%d %H:%i:%s')";
+
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM MessageBrowsingHistory";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数件検索
+        public bool SelectAction(string AddSQLString, ref List<MessageBrowsingHistory> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBrowsingHistory work = new MessageBrowsingHistory();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件検索
+        public bool SelectAction(string AddSQLString, ref MessageBrowsingHistory data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBrowsingHistory work = new MessageBrowsingHistory();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ追加
+        /// <summary>
+        /// 掲示板データ追加
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(MessageBrowsingHistory work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO MessageBrowsingHistory";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0} ", CommonMotions.cnvInt(work.RecordNumber.ToString()));
+                strcmd += string.Format(", {0} ", CommonMotions.cnvInt(work.BranchNumber.ToString()));
+                strcmd += string.Format(", {0} ", work.SeqNum);
+                strcmd += string.Format(", {0} ", work.BrowsingCode);
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.BrowsingDate.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数データ追加
+        /// <summary>
+        /// 掲示板データ追加
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<MessageBrowsingHistory> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (MessageBrowsingHistory work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ更新
+        /// <summary>
+        /// 掲示板データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MessageBrowsingHistory data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE MessageBrowsingHistory";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" RecordNumber = {0} ", CommonMotions.cnvInt(data.RecordNumber.ToString()));
+                strcmd += string.Format(",BranchNumber = {0} ", CommonMotions.cnvInt(data.BranchNumber.ToString()));
+                strcmd += string.Format(",SeqNum = {0} ", data.SeqNum);
+                strcmd += string.Format(",BrowsingCode = {0} ", data.BrowsingCode);
+                strcmd += string.Format(",BrowsingDate = STR_TO_DATE('{0}',, '%Y/%m/%d %H:%i:%s')", data.BrowsingDate.ToShortDateString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ削除
+        /// <summary>
+        /// 掲示板データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM MessageBrowsingHistory", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MessageBrowsingHistory wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RecordNumber = int.Parse(objwrk[(int)NameColumn.RecordNumber].ToString());
+                wrk.BranchNumber = int.Parse(objwrk[(int)NameColumn.BranchNumber].ToString());
+                wrk.SeqNum = int.Parse(objwrk[(int)NameColumn.SeqNum].ToString());
+                wrk.BrowsingCode = int.Parse(objwrk[(int)NameColumn.BrowsingCode].ToString());
+                wrk.BrowsingDate = DateTime.Parse(objwrk[(int)NameColumn.BrowsingDate].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region キー作成
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// 他のテーブルは0のキーを許さないが
+        /// このテーブルはオリジナルメッセージが0になるため
+        /// 他とは少し違う
+        /// </summary>
+        /// <param name="MessageBrowsingHistoryCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RecordNumber, int BranchNumber, int SeqNum = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RecordNumber = {0}", RecordNumber);
+                strWork += string.Format(" And BranchNumber = {0}", BranchNumber);
+                if (SeqNum != 0)
+                    strWork += string.Format(" And SeqNum = {0}", SeqNum);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        #endregion
+
+        #region SEQNO最大値取得
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNum), 0) FROM MESSAGEBROWSINGHISTORY" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region レコードクリア
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public void ClearRecord(ref MessageBrowsingHistory Rec)
+        {
+            try
+            {
+                Rec.RecordNumber = 0;                       // レコード番号
+                Rec.BranchNumber = 0;                       // レコード枝番
+                Rec.SeqNum = 0;                             // 順番
+                Rec.BrowsingCode = 0;                       // 閲覧者コード
+                Rec.BrowsingDate = DateTime.Now;            // 閲覧日付
+
+                Rec.EntryDate = DateTime.Now;                // 登録日付
+                Rec.UpdateDate = DateTime.Now;               // 更新日付
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOOrdersPriceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOOrdersPriceData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOOrdersPriceData.cs	(revision 84)
@@ -0,0 +1,463 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 受注金額データＤＢアクセス
+    /// </summary>
+    public class IOOrdersPriceData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者毎経費データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,       // 工事コード
+            ChangeNo,	                // 変更番号
+            ChangeDate,	                // 変更日
+            ChangePersonCode,           // 変更者コード
+            ChangePersonName,           // 変更者名
+            BeforeValue,                // 変更前税抜受注金額
+            BeforeValueInTax,           // 　〃　税込受注金額
+            AfterValue,                 // 変更後税抜受注金額
+            AfterValueInTax,            // 　〃　税込受注金額
+            ChangeComment,              // 変更理由
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOOrdersPriceData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";             // 工事コード
+            strcmd += " ,ChangeNo";	                    // 変更番号
+            strcmd += " ,DATE_FORMAT(ChangeDate, '%Y/%m/%d')";	// 変更日
+            strcmd += " ,ChangePersonCode";             // 変更者コード
+            strcmd += " ,ChangePersonName";             // 変更者名
+            strcmd += " ,BeforeValue";                  // 変更前税抜受注金額
+            strcmd += " ,BeforeValueInTax";             // 　〃　税込受注金額
+            strcmd += " ,AfterValue";                   // 変更後税抜受注金額
+            strcmd += " ,AfterValueInTax";              // 　〃　税込受注金額
+            strcmd += " ,ChangeComment";                // 変更理由
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM OrdersPriceData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<OrdersPriceData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    OrdersPriceData work = new OrdersPriceData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref OrdersPriceData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(OrdersPriceData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO OrdersPriceData";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);                    // 工事コード
+
+                strcmd += string.Format(", {0}", work.ChangeNo);	                        // 変更番号
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                , work.ChangeDate.ToShortDateString());	    // 変更日
+                strcmd += string.Format(", {0}", work.ChangePersonCode);                    // 変更者コード
+                strcmd += string.Format(",'{0}'", work.ChangePersonName);                   // 変更者名
+                
+                strcmd += string.Format(", {0}", work.BeforeValue);                         // 変更前税抜受注金額
+                strcmd += string.Format(", {0}", work.BeforeValueInTax);                    // 　〃　税込受注金額
+                strcmd += string.Format(", {0}", work.AfterValue);                          // 変更後税抜受注金額
+                strcmd += string.Format(", {0}", work.AfterValueInTax);                     // 　〃　税込受注金額
+
+                strcmd += string.Format(",'{0}'", work.ChangeComment);                      // 変更理由
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<OrdersPriceData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (OrdersPriceData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, OrdersPriceData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE OrdersPriceData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);                  // 工事コード
+
+                strcmd += string.Format(",ChangeNo = {0}", data.ChangeNo);	                                // 変更番号
+                strcmd += string.Format(",ChangeDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.ChangeDate.ToShortDateString());	                            // 変更日
+                strcmd += string.Format(",ChangePersonCode = {0}", data.ChangePersonCode);                  // 変更者コード
+                strcmd += string.Format(",ChangePersonName = '{0}'", data.ChangePersonName);                // 変更者名
+                
+                strcmd += string.Format(",BeforeValue = {0}", data.BeforeValue);                            // 変更前税抜受注金額
+                strcmd += string.Format(",BeforeValueInTax = {0}", data.BeforeValueInTax);                  // 　〃　税込受注金額
+                strcmd += string.Format(",AfterValue = {0}", data.AfterValue);                              // 変更後税抜受注金額
+                strcmd += string.Format(",AfterValueInTax = {0}", data.AfterValueInTax);                    // 　〃　税込受注金額
+
+                strcmd += string.Format(",ChangeComment = '{0}'", data.ChangeComment);                      // 変更理由
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM OrdersPriceData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref OrdersPriceData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());                   // 工事コード
+                wrk.ChangeNo = int.Parse(objwrk[(int)TableColumn.ChangeNo].ToString());	                                // 変更番号
+                wrk.ChangeDate = DateTime.Parse(objwrk[(int)TableColumn.ChangeDate].ToString());	                        // 変更日
+                wrk.ChangePersonCode = int.Parse(objwrk[(int)TableColumn.ChangePersonCode].ToString());                   // 変更者コード
+                wrk.ChangePersonName = objwrk[(int)TableColumn.ChangePersonName].ToString();                              // 変更者名
+
+                wrk.BeforeValue = int.Parse(objwrk[(int)TableColumn.BeforeValue].ToString());                             // 変更前税抜受注金額
+                wrk.BeforeValueInTax = int.Parse(objwrk[(int)TableColumn.BeforeValueInTax].ToString());                   // 　〃　税込受注金額
+                wrk.AfterValue = int.Parse(objwrk[(int)TableColumn.AfterValue].ToString());                               // 変更後税抜受注金額
+                wrk.AfterValueInTax = int.Parse(objwrk[(int)TableColumn.AfterValueInTax].ToString());                     // 　〃　税込受注金額
+
+                wrk.ChangeComment = objwrk[(int)TableColumn.ChangeComment].ToString();                                    // 変更理由
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE OrdersPriceData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:         // 工事コード
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ChangeNo:	                // 変更番号
+                        strcmd += string.Format(" ChangeNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ChangeDate:	            // 変更日
+                        strcmd += string.Format(" ChangeDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ChangePersonCode:         // 変更者コード
+                        strcmd += string.Format(" ChangePersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ChangePersonName:         // 変更者名
+                        strcmd += string.Format(" ChangePersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.BeforeValue:              // 変更前税抜受注金額
+                        strcmd += string.Format(" BeforeValue = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.BeforeValueInTax:         // 　〃　税込受注金額
+                        strcmd += string.Format(" BeforeValueInTax = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.AfterValue:               // 変更後税抜受注金額
+                        strcmd += string.Format(" AfterValue = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.AfterValueInTax:          // 　〃　税込受注金額
+                        strcmd += string.Format(" AfterValueInTax = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.ChangeComment:            // 変更理由
+                        strcmd += string.Format(" ChangeComment = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ChangeNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE ConstructionCode = {0}", ConstructionCode);
+                if (ChangeNo != 0)
+                    strWork += string.Format(" AND ChangeNo = {0}", ChangeNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(ChangeNo), 0) FROM OrdersPriceData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentApprovalInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentApprovalInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentApprovalInfo.cs	(revision 84)
@@ -0,0 +1,299 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 業者請求明細データアクセスクラス
+    /// </summary>
+    public class IOPaymentApprovalInfo : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            TargetDate,
+            SeqNo,
+            LineCount,
+            ApprovalNo,
+            ApprovalPerson,
+            ApprovalPersonName,
+            ApprovalAuthority,
+            ApprovalDate,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPaymentApprovalInfo()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PaymentApprovalInfo> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " CompanyCode,TargetDate,SeqNo,LineCount,ApprovalNo,ApprovalPerson,ApprovalPersonName,ApprovalAuthority";
+                strcmd += " ,DATE_FORMAT(ApprovalDate, '%Y/%m/%d')";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM PaymentApprovalInfo";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PaymentApprovalInfo work = new PaymentApprovalInfo();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 新規登録
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<PaymentApprovalInfo> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (PaymentApprovalInfo work in data)
+                {
+                    strcmd = "INSERT INTO PaymentApprovalInfo";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.TargetDate.ToString());
+                    strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", work.LineCount.ToString());
+                    strcmd += string.Format(", {0}", work.ApprovalNo.ToString());
+                    strcmd += string.Format(", {0}", work.ApprovalPerson.ToString());
+                    strcmd += string.Format(", '{0}'", work.ApprovalPersonName);
+                    strcmd += string.Format(", {0}", work.ApprovalAuthority.ToString());
+                    strcmd += string.Format(", DATE_FORMAT(DATE_FORMAT('{0}','%Y/%m/%d'),'%Y/%m/%d')", work.ApprovalDate.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新登録
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, PaymentApprovalInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PaymentApprovalInfo";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ApprovalPerson = {0}", data.ApprovalPerson.ToString());
+                strcmd += string.Format(",ApprovalPersonName = '{0}'", data.ApprovalPersonName);
+                strcmd += string.Format(",ApprovalAuthority = {0}", data.ApprovalAuthority.ToString());
+                strcmd += string.Format(",ApprovalDate = DATE_FORMAT(DATE_FORMAT('{0}','%Y/%m/%d'),'%Y/%m/%d')", data.ApprovalDate.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PaymentApprovalInfo", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 構造体設定
+        /// </summary>
+        /// <param name="objwrk"></param>
+        /// <param name="wrk"></param>
+        public void Reader2Struct(object[] objwrk, ref PaymentApprovalInfo wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.TargetDate = int.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.LineCount = int.Parse(objwrk[(int)NameColumn.LineCount].ToString());
+                wrk.ApprovalNo = int.Parse(objwrk[(int)NameColumn.ApprovalNo].ToString());
+                wrk.ApprovalPerson = int.Parse(objwrk[(int)NameColumn.ApprovalPerson].ToString());
+                wrk.ApprovalPersonName = objwrk[(int)NameColumn.ApprovalPersonName].ToString();
+                wrk.ApprovalAuthority = int.Parse(objwrk[(int)NameColumn.ApprovalAuthority].ToString());
+                wrk.ApprovalDate = DateTime.Parse(objwrk[(int)NameColumn.ApprovalDate].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        public bool RowLock(int CompanyCode, int TargetDate, int SeqNo, int LineCount, int ApprovalNo, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from PaymentApprovalInfo Where CompanyCode = {0} and TargetDate = {1} and SeqNo = {2} and LineCount = {3} and ApprovalNo = {4} for update;",
+                                        CompanyCode, TargetDate, SeqNo, LineCount, ApprovalNo);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+        public string CreatePrimarykeyString(int CompanyCode, int TargetDate, int SeqNo, int LineCount, int ApprovalNo)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0} and TargetDate = {1} and SeqNo = {2} and LineCount = {3} and ApprovalNo = {4}", CompanyCode, TargetDate, SeqNo, LineCount,ApprovalNo);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentDataDetail.cs	(revision 84)
@@ -0,0 +1,368 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 支払明細データアクセスクラス
+    /// </summary>
+    public class IOPaymentDataDetail : MySqlProcess
+    {
+                #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            TargetDate,
+            SeqNo,
+            LineCount,
+            BillPrice,
+            DiscountPrice,
+            OffsetPrice,
+            NextCoPrice,
+            HighwPrice,
+            HardwPrice,
+            IndsWasteTax,
+            CnstrPrice,
+            CnstrPriceExist,
+            ApprovalPersonCode,
+            ApprovalDate,
+            ApprovalEndFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPaymentDataDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PaymentDataDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " CompanyCode,TargetDate,SeqNo,LineCount,BillPrice,DiscountPrice,OffsetPrice,NextCoPrice,HighwPrice,HardwPrice,IndsWasteTax,CnstrPrice,CnstrPriceExist,ApprovalPersonCode,ApprovalDate,ApprovalEndFlg";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM PaymentDataDetail";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PaymentDataDetail work = new PaymentDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 新規登録
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<PaymentDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (PaymentDataDetail work in data)
+                {
+                    strcmd = "INSERT INTO PaymentDataDetail";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.TargetDate.ToString());
+                    strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", work.LineCount.ToString());
+                    strcmd += string.Format(", {0}", work.BillPrice.ToString());
+
+                    strcmd += string.Format(", {0}", work.DiscountPrice.ToString());
+                    strcmd += string.Format(", {0}", work.OffsetPrice.ToString());
+                    strcmd += string.Format(", {0}", work.NextCoPrice.ToString());
+                    strcmd += string.Format(", {0}", work.HighwPrice.ToString());
+                    strcmd += string.Format(", {0}", work.HardwPrice.ToString());
+                    strcmd += string.Format(", {0}", work.IndsWasteTax.ToString());
+                    strcmd += string.Format(", {0}", work.CnstrPrice.ToString());
+
+                    strcmd += string.Format(", {0}", work.CnstrPriceExist.ToString());
+                    strcmd += string.Format(", {0}", work.ApprovalPersonCode.ToString());
+                    strcmd += string.Format(", DATE_FORMAT(DATE_FORMAT('{0}','%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')", work.ApprovalDate.ToString());
+                    strcmd += string.Format(", {0}", work.ApprovalEndFlg.ToString());
+
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 更新登録
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, PaymentDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PaymentDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" BillPrice = {0}", data.BillPrice.ToString());
+                strcmd += string.Format(",DiscountPrice = {0}", data.DiscountPrice.ToString());
+                strcmd += string.Format(",OffsetPrice = {0}", data.OffsetPrice.ToString());
+                strcmd += string.Format(",NextCoPrice = {0}", data.NextCoPrice.ToString());
+                strcmd += string.Format(",HighwPrice = {0}", data.HighwPrice.ToString());
+                strcmd += string.Format(",HardwPrice = {0}", data.HardwPrice.ToString());
+                strcmd += string.Format(",IndsWasteTax = {0}", data.IndsWasteTax.ToString());
+
+                strcmd += string.Format(",CnstrPrice = {0}", data.CnstrPrice.ToString());
+                strcmd += string.Format(",CnstrPriceExist = {0}", data.CnstrPriceExist.ToString());
+                strcmd += string.Format(",ApprovalPersonCode = {0}", data.ApprovalPersonCode.ToString());
+                strcmd += string.Format(",ApprovalDate = DATE_FORMAT(DATE_FORMAT('{0}','%Y/%m/%d'),'%Y/%m/%d')", data.ApprovalDate.ToString());
+                strcmd += string.Format(",ApprovalEndFlg = {0}", data.ApprovalEndFlg.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PaymentDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 構造体設定
+        /// </summary>
+        /// <param name="objwrk"></param>
+        /// <param name="wrk"></param>
+        public void Reader2Struct(object[] objwrk, ref PaymentDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.TargetDate = int.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.LineCount = int.Parse(objwrk[(int)NameColumn.LineCount].ToString());
+                wrk.BillPrice = long.Parse(objwrk[(int)NameColumn.BillPrice].ToString());
+                wrk.DiscountPrice = long.Parse(objwrk[(int)NameColumn.DiscountPrice].ToString());
+
+                wrk.OffsetPrice = long.Parse(objwrk[(int)NameColumn.OffsetPrice].ToString());
+                wrk.NextCoPrice = long.Parse(objwrk[(int)NameColumn.NextCoPrice].ToString());
+                wrk.HighwPrice = long.Parse(objwrk[(int)NameColumn.HighwPrice].ToString());
+                wrk.HardwPrice = long.Parse(objwrk[(int)NameColumn.HardwPrice].ToString());
+                wrk.IndsWasteTax = long.Parse(objwrk[(int)NameColumn.IndsWasteTax].ToString());
+
+                wrk.CnstrPrice = long.Parse(objwrk[(int)NameColumn.CnstrPrice].ToString());
+                wrk.CnstrPriceExist = int.Parse(objwrk[(int)NameColumn.CnstrPriceExist].ToString());
+                wrk.ApprovalPersonCode = int.Parse(objwrk[(int)NameColumn.ApprovalPersonCode].ToString());
+
+                wrk.ApprovalDate = DateTime.Parse(objwrk[(int)NameColumn.ApprovalDate].ToString());
+                wrk.ApprovalEndFlg = int.Parse(objwrk[(int)NameColumn.ApprovalEndFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException oraex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 件数取得
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int DataCount(string AddSQLString, bool bConnect = true)
+        { 
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iReturn = 0;
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT count(CompanyCode)";
+                strcmd += " FROM PaymentDataDetail ";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return -1;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    iReturn = CommonMotions.cnvInt(objwrk[0]);
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iReturn;
+        }
+
+        public string CreatePrimarykeyString(int CompanyCode, int TargetDate, int SeqNo, int LineCount)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0} and TargetDate = {1} and SeqNo = {2} and LineCount = {3}", CompanyCode, TargetDate, SeqNo, LineCount);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 行ロック
+        /// </summary>
+        public bool RowLock(int CompanyCode, int TargetDate, int SeqNo, int LineCount, bool bConnect = true)
+        {
+
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = string.Format("select * from PaymentDataDetail where CompanyCode = {0} and TargetDate = {1} and SeqNo = {2} and LineCount = {3} for update;",
+                                        CompanyCode, TargetDate, SeqNo, LineCount);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+
+        }
+
+
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApproval.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApproval.cs	(revision 84)
@@ -0,0 +1,509 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 担当者承認データアクセスクラス
+    /// </summary>
+    public class IOPersonApproval : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            PersonCode = 0,
+            ApprovalCode,
+            OrderDate,
+            OrderNo,
+            SeqNo,
+            PersonCodeApproval,
+            PetitionApprovalDate,
+            ApprovalLimitDates,
+            ApprovalStatus,
+            EntryDate,
+            UpdateDate
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPersonApproval()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認データ検索文字列作成
+        /// <summary>
+        /// 承認データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " PersonCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",DATE_FORMAT(OrderDate, '%Y/%m/%d')";
+            strcmd += ",OrderNo";
+            strcmd += ",SeqNo";
+            strcmd += ",PersonCodeApproval";
+            strcmd += ",DATE_FORMAT(PetitionApprovalDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",DATE_FORMAT(ApprovalLimitDates, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",ApprovalStatus";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM PersonApproval";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認データ検索（複数）
+        /// <summary>
+        /// 承認データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonApproval> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonApproval work = new PersonApproval();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ検索（1件）
+        /// <summary>
+        /// 承認データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonApproval data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ追加（複数）
+        /// <summary>
+        /// 承認データ追加（複数）
+        /// </summary>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonApproval> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PersonApproval work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ追加（1件）
+        /// <summary>
+        /// 承認データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(PersonApproval data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PersonApproval";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(ColumnName)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                strcmd += string.Format(", {0}", data.PersonCodeApproval.ToString());
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.PetitionApprovalDate.ToString());
+
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.ApprovalLimitDates.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalStatus.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ更新
+        /// <summary>
+        /// 承認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonApproval data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonApproval";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",PersonCodeApproval = {0}", data.PersonCodeApproval.ToString());
+                strcmd += string.Format(",PetitionApprovalDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.PetitionApprovalDate.ToString());
+                strcmd += string.Format(",ApprovalLimitDates = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.ApprovalLimitDates.ToString());
+                strcmd += string.Format(",ApprovalStatus = {0}", data.ApprovalStatus.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ削除
+        /// <summary>
+        /// 承認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonApproval", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, int ApprovalCode, DateTime OrderDate, int FeildNo, object value, bool bConnect = true, int OrderNo = 0, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PersonApproval";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderDate:
+                        strcmd += string.Format(" OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PersonCodeApproval:
+                        strcmd += string.Format(" PersonCodeApproval = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PetitionApprovalDate:
+                        strcmd += string.Format(" PetitionApprovalDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ApprovalLimitDates:
+                        strcmd += string.Format(" ApprovalLimitDates = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ApprovalStatus:
+                        strcmd += string.Format(" ApprovalStatus = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, ApprovalCode, OrderDate, OrderNo, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonApproval wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnName.PersonCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)ColumnName.OrderDate].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)ColumnName.SeqNo].ToString());
+                wrk.PersonCodeApproval = int.Parse(objwrk[(int)ColumnName.PersonCodeApproval].ToString());
+                wrk.PetitionApprovalDate = DateTime.Parse(objwrk[(int)ColumnName.PetitionApprovalDate].ToString());
+                wrk.ApprovalLimitDates = DateTime.Parse(objwrk[(int)ColumnName.ApprovalLimitDates].ToString());
+                wrk.ApprovalStatus = int.Parse(objwrk[(int)ColumnName.ApprovalStatus].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, int ApprovalCode, DateTime OrderDate, int OrderNo = 0, int SeqNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}PersonCode = {1}", APara, PersonCode.ToString());
+                strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                strWork += string.Format(" And {0}OrderDate = STR_TO_DATE('{1}','%Y/%m/%d')", APara, OrderDate.ToShortDateString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" And {0}SeqNo = {1}", APara, SeqNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 受付番号の最大値を取得する
+        /// <summary>
+        /// 受付番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxOrderNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(OrderNo), 0) FROM PersonApproval" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] wrkobj = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(wrkobj[0]);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM PersonApproval" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApprovalCommnet.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApprovalCommnet.cs	(revision 84)
@@ -0,0 +1,451 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 担当者承認コメントデータアクセスクラス
+    /// </summary>
+    public class IOPersonApprovalComment : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認コメントデータフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            PersonCode = 0,
+            ApprovalCode,
+            OrderDate,
+            OrderNo,
+            CommentNo,
+            ParentNo,
+            ApproValComment,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPersonApprovalComment()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認コメントデータ検索文字列作成
+        /// <summary>
+        /// 承認コメントデータ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " PersonCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",DATE_FORMAT(OrderDate, '%Y/%m/%d')";
+            strcmd += ",OrderNo";
+            strcmd += ",CommentNo";
+            strcmd += ",ParentNo";
+            strcmd += ",ApproValComment";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM PersonApprovalComment";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認コメントデータ検索（複数）
+        /// <summary>
+        /// 承認コメントデータ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonApprovalComment> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonApprovalComment work = new PersonApprovalComment();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認コメントデータ検索（1件）
+        /// <summary>
+        /// 承認コメントデータ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonApprovalComment data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認コメントデータ追加（複数）
+        /// <summary>
+        /// 承認コメントデータ追加（複数）
+        /// </summary>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonApprovalComment> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PersonApprovalComment work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ追加（1件）
+        /// <summary>
+        /// 承認コメントデータ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(PersonApprovalComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO PersonApprovalComment";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(ColumnName)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                strcmd += string.Format(", {0}", data.CommentNo.ToString());
+                strcmd += string.Format(", {0}", data.ParentNo.ToString());
+                strcmd += string.Format(", '{0}'", data.ApproValComment.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ更新
+        /// <summary>
+        /// 承認コメントデータ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonApprovalComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonApprovalComment";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",CommentNo = {0}", data.CommentNo.ToString());
+                strcmd += string.Format(",ParentNo = {0}", data.ParentNo.ToString());
+                strcmd += string.Format(",ApproValComment = '{0}'", data.ApproValComment.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ削除
+        /// <summary>
+        /// 承認コメントデータ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonApprovalComment", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, int ApprovalCode, DateTime OrderDate, int FeildNo, object value, bool bConnect = true, int OrderNo = 0, int CommentNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PersonApprovalComment";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.PersonCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderDate:
+                        strcmd += string.Format(" OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.CommentNo:
+                        strcmd += string.Format(" CommentNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ParentNo:
+                        strcmd += string.Format(" ParentNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApproValComment:
+                        strcmd += string.Format(" ApproValComment = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, ApprovalCode, OrderDate, OrderNo, CommentNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonApprovalComment wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnName.PersonCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)ColumnName.OrderDate].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.CommentNo = int.Parse(objwrk[(int)ColumnName.CommentNo].ToString());
+                wrk.ParentNo = int.Parse(objwrk[(int)ColumnName.ParentNo].ToString());
+                wrk.ApproValComment = objwrk[(int)ColumnName.ApproValComment].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, int ApprovalCode, DateTime OrderDate, int OrderNo = 0, int CommentNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}PersonCode = {1}", APara, PersonCode.ToString());
+                strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                strWork += string.Format(" And {0}OrderDate = STR_TO_DATE('{1}','%Y/%m/%d')", APara, OrderDate.ToShortDateString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (CommentNo != 0)
+                    strWork += string.Format(" And {0}CommentNo = {1}", APara, CommentNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <returns></returns>
+        public int MaxCommentNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(CommentNo), 0) FROM PersonApprovalComment" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] wrkobj = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(wrkobj[0]);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPointingOutComment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPointingOutComment.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPointingOutComment.cs	(revision 84)
@@ -0,0 +1,407 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 指摘事項データＤＢアクセス
+    /// </summary>
+    public class IOPointingOutComment : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 指摘事項データフィールド並び
+        /// </summary>
+        public enum PointingOutCommentColumn
+        {
+            ConstructionCode,
+            ProcessNo,
+            SeqNo,
+            PageCount,
+            PersonCode,
+            DrowColor,
+            CommentMessage,
+            StartPointX,
+            StartPointY,
+            CurrentPointX,
+            CurrentPointY,
+            CurrentWidth,
+            CurrentHeight,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPointingOutComment()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";
+            strcmd += ",ProcessNo";
+            strcmd += ",SeqNo";
+            strcmd += ",PageCount";
+            strcmd += ",PersonCode";
+            strcmd += ",DrowColor";
+            strcmd += ",CommentMessage";
+            strcmd += ",StartPointX";
+            strcmd += ",StartPointY";
+            strcmd += ",CurrentPointX";
+            strcmd += ",CurrentPointY";
+            strcmd += ",CurrentWidth";
+            strcmd += ",CurrentHeight";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " From PointingOutComment";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数データ読込み処理
+        public bool SelectAction(string AddSQLString, ref List<PointingOutComment> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PointingOutComment work = new PointingOutComment();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref PointingOutComment data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ追加処理
+        /// <summary>
+        /// 指摘事項データ追加
+        /// </summary>
+        /// <param name="data">指摘事項データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PointingOutComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                    strcmd = "INSERT INTO PointingOutComment";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode);
+                    strcmd += string.Format(", {0}", data.ProcessNo);
+                    strcmd += string.Format(", {0}", data.SeqNo);
+                    strcmd += string.Format(", {0}", data.PageCount);
+                    strcmd += string.Format(", {0}", data.PersonCode);
+                    strcmd += string.Format(",'{0}'", data.DrowColor);
+                    strcmd += string.Format(",'{0}'", data.CommentMessage);
+                    strcmd += string.Format(", {0}", data.StartPointX);
+                    strcmd += string.Format(", {0}", data.StartPointY);
+                    strcmd += string.Format(", {0}", data.CurrentPointX);
+                    strcmd += string.Format(", {0}", data.CurrentPointY);
+                    strcmd += string.Format(", {0}", data.CurrentWidth);
+                    strcmd += string.Format(", {0}", data.CurrentHeight);
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 指摘事項データ追加
+        /// </summary>
+        /// <param name="data">指摘事項データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PointingOutComment> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PointingOutComment work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ更新処理
+        /// <summary>
+        /// 指摘事項データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">指摘事項データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PointingOutComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PointingOutComment";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);
+                strcmd += string.Format(",ProcessNo = {0}", data.ProcessNo);
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(",PageCount = {0}", data.PageCount);
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(",DrowColor = '{0}'", data.DrowColor);
+                strcmd += string.Format(",CommentMessage = '{0}'", data.CommentMessage);
+                strcmd += string.Format(",StartPointX = {0}", data.StartPointX);
+                strcmd += string.Format(",StartPointY = {0}", data.StartPointY);
+                strcmd += string.Format(",CurrentPointX = {0}", data.CurrentPointX);
+                strcmd += string.Format(",CurrentPointY = {0}", data.CurrentPointY);
+                strcmd += string.Format(",CurrentWidth = {0}", data.CurrentWidth);
+                strcmd += string.Format(",CurrentHeight = {0}", data.CurrentHeight);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ削除処理
+        /// <summary>
+        /// 指摘事項データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">指摘事項データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PointingOutComment", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込みオブジェクトセット処理
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PointingOutComment wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)PointingOutCommentColumn.ConstructionCode].ToString());
+                wrk.ProcessNo = int.Parse(objwrk[(int)PointingOutCommentColumn.ProcessNo].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)PointingOutCommentColumn.SeqNo].ToString());
+                wrk.PageCount = int.Parse(objwrk[(int)PointingOutCommentColumn.PageCount].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)PointingOutCommentColumn.PersonCode].ToString());
+                wrk.DrowColor = objwrk[(int)PointingOutCommentColumn.DrowColor].ToString();
+                wrk.CommentMessage = objwrk[(int)PointingOutCommentColumn.CommentMessage].ToString();
+                wrk.StartPointX = int.Parse(objwrk[(int)PointingOutCommentColumn.StartPointX].ToString());
+                wrk.StartPointY = int.Parse(objwrk[(int)PointingOutCommentColumn.StartPointY].ToString());
+                wrk.CurrentPointX = int.Parse(objwrk[(int)PointingOutCommentColumn.CurrentPointX].ToString());
+                wrk.CurrentPointY = int.Parse(objwrk[(int)PointingOutCommentColumn.CurrentPointY].ToString());
+                wrk.CurrentWidth = int.Parse(objwrk[(int)PointingOutCommentColumn.CurrentWidth].ToString());
+                wrk.CurrentHeight = int.Parse(objwrk[(int)PointingOutCommentColumn.CurrentHeight].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)PointingOutCommentColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)PointingOutCommentColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region 順序の最大値を取得
+        /// <summary>
+        /// 順序の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM PointingOutComment" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 指摘事項データの検索キー文字列を作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="DetailNo"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ProcessNo = 0, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (ProcessNo != 0)
+                    strWork = string.Format(" And ProcessNo = {0}", ProcessNo);
+                if (SeqNo != 0)
+                    strWork = string.Format(" And SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsData.cs	(revision 84)
@@ -0,0 +1,376 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データアクセス
+    /// </summary>
+    public class IOProceedingsData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 議事録作成日
+            /// </summary>
+            ProceedingsDataDate,
+            /// <summary>
+            /// 会議時間開始
+            /// </summary>
+            StartMeetingTime,
+            /// <summary>
+            /// 会議時間終了
+            /// </summary>
+            EndMeetingTime,
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            CreatorCode,
+            /// <summary>
+            /// 現地フラグ
+            /// </summary>
+            PalceFlag,
+            /// <summary>
+            /// 打合せ場所
+            /// </summary>
+            MeetingPalce,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProceedingsData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";                                 // 工事番号
+            strcmd += " ,DATE_FORMAT(ProceedingsDataDate, '%Y/%m/%d')";     // 議事録作成日
+            strcmd += " ,StartMeetingTime";                                 // 会議時間開始
+            strcmd += " ,EndMeetingTime";                                   // 会議時間終了
+            strcmd += " ,CreatorCode";                                      // 作成者コード
+            strcmd += " ,PalceFlag";                                        // 現地フラグ
+            strcmd += " ,MeetingPalce";                                     // 打合せ場所
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 登録年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 更新年月日
+            strcmd += " FROM ProceedingsData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<ProceedingsData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProceedingsData work = new ProceedingsData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref ProceedingsData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ProceedingsData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ProceedingsData";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("{0}", work.ConstructionCode);                      // 工事番号
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+                strcmd += string.Format(", {0}", work.StartMeetingTime);                    // 会議時間開始
+                strcmd += string.Format(", {0}", work.EndMeetingTime);                      // 会議時間終了
+                strcmd += string.Format(", {0}", work.CreatorCode);                         // 作成者コード
+                strcmd += string.Format(", {0}", work.PalceFlag);                           // 現地フラグ
+                strcmd += string.Format(",'{0}'", work.MeetingPalce);                       // 打合せ場所１
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<ProceedingsData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ProceedingsData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProceedingsData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProceedingsData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",ProceedingsDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.ProceedingsDataDate.ToShortDateString());        // 議事録作成日
+                strcmd += string.Format(",StartMeetingTime = {0}", data.StartMeetingTime);      // 会議時間開始
+                strcmd += string.Format(",EndMeetingTime = {0}", data.EndMeetingTime);          // 会議時間終了
+                strcmd += string.Format(",CreatorCode = {0}", data.CreatorCode);                // 作成者コード
+                strcmd += string.Format(",PalceFlag = {0}", data.PalceFlag);                    // 現地フラグ
+                strcmd += string.Format(",MeetingPalce = '{0}'", data.MeetingPalce);            // 打合せ場所
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProceedingsData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProceedingsData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.ProceedingsDataDate = DateTime.Parse(objwrk[(int)TableColumn.ProceedingsDataDate].ToString());       // 議事録作成日
+                wrk.StartMeetingTime = int.Parse(objwrk[(int)TableColumn.StartMeetingTime].ToString());      // 会議時間開始
+                wrk.EndMeetingTime = int.Parse(objwrk[(int)TableColumn.EndMeetingTime].ToString());          // 会議時間終了
+                wrk.CreatorCode = int.Parse(objwrk[(int)TableColumn.CreatorCode].ToString());                // 作成者コード
+                wrk.PalceFlag = int.Parse(objwrk[(int)TableColumn.PalceFlag].ToString());                    // 現地フラグ
+
+                wrk.MeetingPalce = objwrk[(int)TableColumn.MeetingPalce].ToString();                         // 打合せ場所
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="CreatorCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, DateTime ProceedingsDataDate, int StartMeetingTime = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork += string.Format(" WHERE ConstructionCode = {0}", ConstructionCode);
+                if (ProceedingsDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND ProceedingsDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", ProceedingsDataDate.ToShortDateString());
+                if (StartMeetingTime != 0)
+                    strWork += string.Format(" AND StartMeetingTime = {0}", StartMeetingTime);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataAttend.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataAttend.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataAttend.cs	(revision 84)
@@ -0,0 +1,376 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データアクセス（出席者）
+    /// </summary>
+    public class IOProceedingsDataAttend : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 議事録作成日
+            /// </summary>
+            ProceedingsDataDate,
+            /// <summary>
+            /// 会議時間開始
+            /// </summary>
+            StartMeetingTime,
+            /// <summary>
+            /// データ行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 出席者所属
+            /// </summary>
+            Department,
+            /// <summary>
+            /// 出席者氏名
+            /// </summary>
+            AttendName,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProceedingsDataAttend()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";                                  // 工事番号
+            strcmd += " ,DATE_FORMAT(ProceedingsDataDate, '%Y/%m/%d')";     // 議事録作成日
+            strcmd += " ,StartMeetingTime";                                 // 会議時間開始
+            strcmd += " ,SeqNo";                                            // データ行番号
+            strcmd += " ,Department";                                       // 出席者所属
+            strcmd += " ,AttendName";                                       // 出席者氏名
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 更新年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 登録年月日
+            strcmd += " FROM ProceedingsDataAttend";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<ProceedingsDataAttend> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProceedingsDataAttend work = new ProceedingsDataAttend();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref ProceedingsDataAttend data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ProceedingsDataAttend work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ProceedingsDataAttend";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format(" {0}", work.ConstructionCode);                     // 工事番号
+                
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+
+                strcmd += string.Format(", {0}", work.StartMeetingTime);                    // 会議時間開始
+                strcmd += string.Format(", {0}", work.SeqNo);                               // データ行番号
+
+                strcmd += string.Format(",'{0}'", work.Department);                         // 出席者所属
+                strcmd += string.Format(",'{0}'", work.AttendName);                         // 出席者氏名
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<ProceedingsDataAttend> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ProceedingsDataAttend work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProceedingsDataAttend data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProceedingsDataAttend";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                
+                strcmd += string.Format(",ProceedingsDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.ProceedingsDataDate.ToShortDateString());        // 議事録作成日
+
+                strcmd += string.Format(",StartMeetingTime = {0}", data.StartMeetingTime);      // 会議時間開始
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo);                            // データ行番号
+
+                strcmd += string.Format(",Department = '{0}'", data.Department);                // 出席者所属
+                strcmd += string.Format(",AttendName = '{0}'", data.AttendName);                // 出席者氏名
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProceedingsDataAttend", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProceedingsDataAttend wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.ProceedingsDataDate = DateTime.Parse(objwrk[(int)TableColumn.ProceedingsDataDate].ToString());       // 議事録作成日
+                wrk.StartMeetingTime = int.Parse(objwrk[(int)TableColumn.StartMeetingTime].ToString());      // 会議時間開始
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // データ行番号
+
+                wrk.Department = objwrk[(int)TableColumn.Department].ToString();                             // 出席者所属
+                wrk.AttendName = objwrk[(int)TableColumn.AttendName].ToString();                             // 出席者氏名
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, DateTime ProceedingsDataDate, int StartMeetingTime = 0, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE ConstructionCode = {0}", ConstructionCode);
+                if (ProceedingsDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND ProceedingsDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", ProceedingsDataDate.ToShortDateString());
+                if (StartMeetingTime != 0)
+                    strWork += string.Format(" AND StartMeetingTime = {0}", StartMeetingTime);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataDetail.cs	(revision 84)
@@ -0,0 +1,382 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データアクセス（明細）
+    /// </summary>
+    public class IOProceedingsDataDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 議事録作成日
+            /// </summary>
+            ProceedingsDataDate,
+            /// <summary>
+            /// 会議時間開始
+            /// </summary>
+            StartMeetingTime,
+            /// <summary>
+            /// データ行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 議題番号
+            /// </summary>
+            TitleNo,
+            /// <summary>
+            /// 議題
+            /// </summary>
+            Title,
+            /// <summary>
+            /// 内容
+            /// </summary>
+            ContentsText,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProceedingsDataDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";                                  // 工事番号
+            strcmd += " ,DATE_FORMAT(ProceedingsDataDate, '%Y/%m/%d')";     // 議事録作成日
+            strcmd += " ,StartMeetingTime";                                 // 会議時間開始
+            strcmd += " ,SeqNo";                                            // データ行番号
+            strcmd += " ,TitleNo";                                          // 議題番号
+            strcmd += " ,Title";                                            // 議題
+            strcmd += " ,ContentsText";                                     // 内容
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 更新年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 登録年月日
+            strcmd += " FROM ProceedingsDataDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<ProceedingsDataDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProceedingsDataDetail work = new ProceedingsDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref ProceedingsDataDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ProceedingsDataDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ProceedingsDataDetail";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format(" {0}", work.ConstructionCode);                     // 工事番号
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+                strcmd += string.Format(", {0}", work.StartMeetingTime);                    // 会議時間開始
+                strcmd += string.Format(", {0}", work.SeqNo);                               // データ行番号
+
+                strcmd += string.Format(",'{0}'", work.TitleNo);                            // 議題番号
+                strcmd += string.Format(",'{0}'", work.Title);                              // 議題
+                strcmd += string.Format(",'{0}'", work.ContentsText);                       // 内容
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<ProceedingsDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ProceedingsDataDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProceedingsDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProceedingsDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",ProceedingsDataDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.ProceedingsDataDate.ToShortDateString());        // 議事録作成日
+                strcmd += string.Format(",StartMeetingTime = {0}", data.StartMeetingTime);      // 会議時間開始
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo);                            // データ行番号
+
+                strcmd += string.Format(",TitleNo = '{0}'", data.TitleNo);                      // 議題番号
+                strcmd += string.Format(",Title = '{0}'", data.Title);                          // 議題
+                strcmd += string.Format(",ContentsText = '{0}'", data.ContentsText);            // 内容
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProceedingsDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProceedingsDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                
+                wrk.ProceedingsDataDate = DateTime.Parse(objwrk[(int)TableColumn.ProceedingsDataDate].ToString());   // 議事録作成日
+
+                wrk.StartMeetingTime = int.Parse(objwrk[(int)TableColumn.StartMeetingTime].ToString());      // 会議時間開始
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // データ行番号
+
+                wrk.TitleNo = objwrk[(int)TableColumn.TitleNo].ToString();                                   // 議題番号
+                wrk.Title = objwrk[(int)TableColumn.Title].ToString();                                       // 議題
+                wrk.ContentsText = objwrk[(int)TableColumn.ContentsText].ToString();                         // 内容
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, DateTime ProceedingsDataDate, int StartMeetingTime = 0, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE ConstructionCode = {0}", ConstructionCode);
+                if (ProceedingsDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND ProceedingsDataDate = STR_TO_DATE('{0}','%Y/%m/%d')", ProceedingsDataDate.ToShortDateString());
+                if (StartMeetingTime != 0)
+                    strWork += string.Format(" AND StartMeetingTime = {0}", StartMeetingTime);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApproval.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApproval.cs	(revision 84)
@@ -0,0 +1,514 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 承認データアクセスクラス
+    /// </summary>
+    public class IOProcessApproval : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            ConstructionCode,
+            ApprovalCode,
+            OrderNo,
+            SeqNo,
+            PersonCode,
+            PetitionApprovalDate,
+            ApprovalLimitDates,
+            ApprovalStatus,
+            InputComment,
+            EntryDate,
+            UpdateDate
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProcessApproval()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認データ検索文字列作成
+        /// <summary>
+        /// 承認データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成
+            string strcmd = "SELECT";
+            strcmd += " ConstructionCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",OrderNo";
+            strcmd += ",SeqNo";
+            strcmd += ",PersonCode";
+            strcmd += ",DATE_FORMAT(PetitionApprovalDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",DATE_FORMAT(ApprovalLimitDates, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",ApprovalStatus";
+            strcmd += ",InputComment";
+            strcmd += ",DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ProcessApproval";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認データ検索（複数）
+        /// <summary>
+        /// 承認データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ProcessApproval> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProcessApproval work = new ProcessApproval();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ検索（1件）
+        /// <summary>
+        /// 承認データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ProcessApproval data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ追加（複数）
+        /// <summary>
+        /// 承認データ追加（複数）
+        /// </summary>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ProcessApproval> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ProcessApproval work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ追加（1件）
+        /// <summary>
+        /// 承認データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(ProcessApproval data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ProcessApproval";
+
+                    strcmd += " (";
+                    bool bFirst = true;
+                    foreach (var gender in Enum.GetValues(typeof(ColumnName)))
+                    {
+                        if (!bFirst) strcmd += " ,";
+                        strcmd += gender.ToString();
+                        bFirst = false;
+                    }
+                    strcmd += ") VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                    strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                    strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", data.PersonCode.ToString());
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.PetitionApprovalDate.ToString());
+
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.ApprovalLimitDates.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalStatus.ToString());
+                    strcmd += string.Format(",'{0}'", data.InputComment.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ更新
+        /// <summary>
+        /// 承認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProcessApproval data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProcessApproval";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",PetitionApprovalDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.PetitionApprovalDate.ToString());
+                strcmd += string.Format(",ApprovalLimitDates = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.ApprovalLimitDates.ToString());
+                strcmd += string.Format(",ApprovalStatus = {0}", data.ApprovalStatus.ToString());
+                strcmd += string.Format(",InputComment = '{0}'", data.InputComment);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ削除
+        /// <summary>
+        /// 承認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProcessApproval", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int ApprovalCode = 0, int OrderNo = 0, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ProcessApproval";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PetitionApprovalDate:
+                        strcmd += string.Format(" PetitionApprovalDate = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ApprovalLimitDates:
+                        strcmd += string.Format(" ApprovalLimitDates = STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ApprovalStatus:
+                        strcmd += string.Format(" ApprovalStatus = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.InputComment:
+                        strcmd += string.Format(" InputComment = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, ApprovalCode, OrderNo, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProcessApproval wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)ColumnName.ConstructionCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)ColumnName.SeqNo].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnName.PersonCode].ToString());
+                wrk.PetitionApprovalDate = DateTime.Parse(objwrk[(int)ColumnName.PetitionApprovalDate].ToString());
+                wrk.ApprovalLimitDates = DateTime.Parse(objwrk[(int)ColumnName.ApprovalLimitDates].ToString());
+                wrk.ApprovalStatus = int.Parse(objwrk[(int)ColumnName.ApprovalStatus].ToString());
+                wrk.InputComment = objwrk[(int)ColumnName.InputComment].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ApprovalCode = 0, int OrderNo = 0, int SeqNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}ConstructionCode = {1}", APara, ConstructionCode.ToString());
+                if (ApprovalCode != 0)
+                    strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" And {0}SeqNo = {1}", APara, SeqNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 受付番号の最大値を取得する
+        /// <summary>
+        /// 受付番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxOrderNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(OrderNo), 0) FROM ProcessApproval" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM ProcessApproval" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalCommnet.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalCommnet.cs	(revision 84)
@@ -0,0 +1,452 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 承認コメントデータアクセスクラス
+    /// </summary>
+    public class IOProcessApprovalComment : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認コメントデータフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            ConstructionCode,
+            ApprovalCode,
+            OrderNo,
+            CommentNo,
+            ParentNo,
+            ApproValComment,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProcessApprovalComment()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認コメントデータ検索文字列作成
+        /// <summary>
+        /// 承認コメントデータ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成
+            string strcmd = "SELECT";
+            strcmd += " ConstructionCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",OrderNo";
+            strcmd += ",CommentNo";
+            strcmd += ",ParentNo";
+            strcmd += ",ApproValComment";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 更新年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 登録年月日
+            strcmd += " FROM ProcessApprovalComment";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認コメントデータ検索（複数）
+        /// <summary>
+        /// 承認コメントデータ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ProcessApprovalComment> data, bool bConnect = true)
+        {
+            //インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProcessApprovalComment work = new ProcessApprovalComment();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認コメントデータ検索（1件）
+        /// <summary>
+        /// 承認コメントデータ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ProcessApprovalComment data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認コメントデータ追加（複数）
+        /// <summary>
+        /// 承認コメントデータ追加（複数）
+        /// </summary>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ProcessApprovalComment> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ProcessApprovalComment work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ追加（1件）
+        /// <summary>
+        /// 承認コメントデータ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(ProcessApprovalComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ProcessApprovalComment";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(ColumnName)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                strcmd += string.Format(", {0}", data.CommentNo.ToString());
+                strcmd += string.Format(", {0}", data.ParentNo.ToString());
+                strcmd += string.Format(", '{0}'", data.ApproValComment.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ更新
+        /// <summary>
+        /// 承認コメントデータ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProcessApprovalComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProcessApprovalComment";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",CommentNo = {0}", data.CommentNo.ToString());
+                strcmd += string.Format(",ParentNo = {0}", data.ParentNo.ToString());
+                strcmd += string.Format(",ApproValComment = '{0}'", data.ApproValComment.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ削除
+        /// <summary>
+        /// 承認コメントデータ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProcessApprovalComment", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int ApprovalCode = 0, int OrderNo = 0, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ProcessApprovalComment";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.CommentNo:
+                        strcmd += string.Format(" CommentNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ParentNo:
+                        strcmd += string.Format(" ParentNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApproValComment:
+                        strcmd += string.Format(" ApproValComment = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, ApprovalCode, OrderNo, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProcessApprovalComment wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)ColumnName.ConstructionCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.CommentNo = int.Parse(objwrk[(int)ColumnName.CommentNo].ToString());
+                wrk.ParentNo = int.Parse(objwrk[(int)ColumnName.ParentNo].ToString());
+                wrk.ApproValComment = objwrk[(int)ColumnName.ApproValComment].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ApprovalCode = 0, int OrderNo = 0, int CommentNo = 0, int CommentSeqNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}ConstructionCode = {1}", APara, ConstructionCode.ToString());
+                if (ApprovalCode != 0)
+                    strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (CommentNo != 0)
+                    strWork += string.Format(" And {0}CommentNo = {1}", APara, CommentNo.ToString());
+                if (CommentSeqNo != 0)
+                    strWork += string.Format(" And {0}CommentSeqNo = {1}", APara, CommentSeqNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <returns></returns>
+        public int MaxSerialNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SerialNo), 0) FROM ProcessApprovalComment" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalDetail.cs	(revision 84)
@@ -0,0 +1,439 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 承認データアクセスクラス
+    /// </summary>
+    public class IOProcessApprovalDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            ConstructionCode,
+            ApprovalCode,
+            OrderNo,
+            SerialNo,
+            LinkCode,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProcessApprovalDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認データ検索文字列作成
+        /// <summary>
+        /// 承認データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成
+            string strcmd = "SELECT";
+            strcmd += " ConstructionCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",OrderNo";
+            strcmd += ",SerialNo";
+            strcmd += ",LinkCode";
+            strcmd += ",DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ",DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM ProcessApprovalDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認データ検索（複数）
+        /// <summary>
+        /// 承認データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ProcessApprovalDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProcessApprovalDetail work = new ProcessApprovalDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ検索（1件）
+        /// <summary>
+        /// 承認データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ProcessApprovalDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ追加（複数）
+        /// <summary>
+        /// 承認データ追加（複数）
+        /// </summary>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ProcessApprovalDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ProcessApprovalDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ追加（1件）
+        /// <summary>
+        /// 承認データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(ProcessApprovalDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ProcessApprovalDetail";
+                    strcmd += " (ConstructionCode";
+                    strcmd += ",ApprovalCode";
+                    strcmd += ",OrderNo";
+                    strcmd += ",SerialNo";
+                    strcmd += ",LinkCode";
+                    strcmd += ",EntryDate";
+                    strcmd += ",UpdateDate)";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                    strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                    strcmd += string.Format(", {0}", data.SerialNo.ToString());
+                    strcmd += string.Format(", {0}", data.LinkCode.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ更新
+        /// <summary>
+        /// 承認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProcessApprovalDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProcessApprovalDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",SerialNo = {0}", data.SerialNo.ToString());
+                strcmd += string.Format(",LinkCode = {0}", data.LinkCode.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ削除
+        /// <summary>
+        /// 承認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProcessApprovalDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int ApprovalCode = 0, int OrderNo = 0, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ProcessApprovalDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.SerialNo:
+                        strcmd += string.Format(" SerialNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.LinkCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, ApprovalCode, OrderNo, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// 構造体へセットする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProcessApprovalDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)ColumnName.ConstructionCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.SerialNo = int.Parse(objwrk[(int)ColumnName.SerialNo].ToString());
+                wrk.LinkCode = int.Parse(objwrk[(int)ColumnName.LinkCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ApprovalCode = 0, int OrderNo = 0, int SerialNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}ConstructionCode = {1}", APara, ConstructionCode.ToString());
+                if (ApprovalCode != 0)
+                    strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (SerialNo != 0)
+                    strWork += string.Format(" And {0}SerialNo = {1}", APara, SerialNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <returns></returns>
+        public int MaxSerialNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SerialNo), 0) FROM ProcessApprovalDetail" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrder.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrder.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrder.cs	(revision 84)
@@ -0,0 +1,660 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 注文書データＤＢアクセス
+    /// </summary>
+    public class IOPurchaseOrder : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 注文書データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	    // 工事番号
+            SeqNo,                      // 注文書枝番
+            CompanyCode,                // 協力会社コード
+            CreateDate,                 // 作成日付
+            OrderPrice,                 // 発注金額
+            LastRowStringDate,          // 最終行表示日付
+            OrderSheetType,             // 簡易・本式フラグ
+            PaymentTerms,               // 支払い条件
+            CashRatio,                  // 現金割合（％）
+            BillPeriod,                 // 手形期間
+            PrePayments,                // 前金払
+            PrePaymentsDays,            // 前金払日数
+            PrePaymentsPrice,           // 前金払金額
+            PartialPayment,             // 部分払
+            PartialPaymentMounth,       // 部分払締切月
+            PartialPaymentDay1,         // 部分払締切日
+            PartialPaymentDay2,         // 部分払支払日
+            PartialPaymentPrice,        // 部分払金額
+            CompletionPayment,          // 引渡し時の支払
+            CompletionPaymentDays,      // 引渡し時の支払日数
+            CompletionPaymentPrice,     // 引渡し時の支払金額
+            LeadEngineerCode,           // 主任技術者コード
+            LeadEngineerName,           // 主任技術者名
+            SafetyOfficerCode,          // 安全管理者コード
+            SafetyOfficerName,          // 安全管理者名
+            WorkersCount,               // 作業員数
+            PrintoutDate,               // 印刷年月日
+
+            EntryDate,	                // 登録年月日
+            UpdateDate,	                // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPurchaseOrder()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 注文書データ検索文字列作成
+        /// <summary>
+        /// 注文書データ検索文字列作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";                                  // 工事番号
+            strcmd += ",SeqNo";                                             // 注文書枝番
+            strcmd += ",CompanyCode";                                       // 協力会社コード
+            strcmd += ",DATE_FORMAT(CreateDate, '%Y/%m/%d')";                 // 作成日付
+            strcmd += ",OrderPrice";                                        // 発注金額
+            strcmd += ",DATE_FORMAT(LastRowStringDate, '%Y/%m/%d')";          // 最終行表示文字
+
+            strcmd += ",OrderSheetType";                                    // 簡易・本式フラグ
+            strcmd += ",PaymentTerms";                                      // 支払い条件
+            strcmd += ",CashRatio";                                         // 現金割合（％）
+            strcmd += ",BillPeriod";                                        // 手形期間
+
+            strcmd += ",PrePayments";                                       // 前金払
+            strcmd += ",PrePaymentsDays";                                   // 前金払日数
+            strcmd += ",PrePaymentsPrice";                                  // 前金払金額
+            strcmd += ",PartialPayment";                                    // 部分払
+            strcmd += ",PartialPaymentMounth";                              // 部分払締切月
+            strcmd += ",PartialPaymentDay1";                                // 部分払締切日
+            strcmd += ",PartialPaymentDay2";                                // 部分払支払日
+            strcmd += ",PartialPaymentPrice";                               // 部分払金額
+            strcmd += ",CompletionPayment";                                 // 引渡し時の支払
+            strcmd += ",CompletionPaymentDays";                             // 引渡し時の支払日数
+            strcmd += ",CompletionPaymentPrice";                            // 引渡し時の支払金額
+            strcmd += ",LeadEngineerCode";                                  // 主任技術者コード
+            strcmd += ",LeadEngineerName";                                  // 主任技術者名
+            strcmd += ",SafetyOfficerCode";                                 // 安全管理者コード
+            strcmd += ",SafetyOfficerName";                                 // 安全管理者名
+            strcmd += ",WorkersCount";                                      // 作業員数
+            strcmd += ",DATE_FORMAT(PrintoutDate, '%Y/%m/%d')";               // 印刷年月日
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM PurchaseOrder";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 注文書データ検索（複数）
+        /// <summary>
+        /// 注文書データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PurchaseOrder> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PurchaseOrder work = new PurchaseOrder();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ検索（1件）
+        /// <summary>
+        /// 注文書データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PurchaseOrder data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ追加（1件）
+        /// <summary>
+        /// 注文書データ追加（１件）
+        /// </summary>
+        /// <param name="data">注文書データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PurchaseOrder work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PurchaseOrder";
+                strcmd += " (";
+                strcmd += " ConstructionCode";                                  // 工事番号
+                strcmd += ",SeqNo";                                             // 注文書枝番
+                strcmd += ",CompanyCode";                                       // 協力会社コード
+                strcmd += ",CreateDate";                                        // 作成日付
+                strcmd += ",OrderPrice";                                        // 発注金額
+                strcmd += ",LastRowStringDate";                                 // 最終行表示文字
+
+                strcmd += ",OrderSheetType";                                    // 簡易・本式フラグ
+                strcmd += ",PaymentTerms";                                      // 支払い条件
+                strcmd += ",CashRatio";                                         // 現金割合（％）
+                strcmd += ",BillPeriod";                                        // 手形期間
+
+                strcmd += ",PrePayments";                                       // 前金払
+                strcmd += ",PrePaymentsDays";                                   // 前金払日数
+                strcmd += ",PrePaymentsPrice";                                  // 前金払金額
+                strcmd += ",PartialPayment";                                    // 部分払
+                strcmd += ",PartialPaymentMounth";                              // 部分払締切月
+                strcmd += ",PartialPaymentDay1";                                // 部分払締切日
+                strcmd += ",PartialPaymentDay2";                                // 部分払支払日
+                strcmd += ",PartialPaymentPrice";                               // 部分払金額
+                strcmd += ",CompletionPayment";                                 // 引渡し時の支払
+                strcmd += ",CompletionPaymentDays";                             // 引渡し時の支払日数
+                strcmd += ",CompletionPaymentPrice";                            // 引渡し時の支払金額
+                strcmd += ",LeadEngineerCode";                                  // 主任技術者コード
+                strcmd += ",LeadEngineerName";                                  // 主任技術者名
+                strcmd += ",SafetyOfficerCode";                                 // 安全管理者コード
+                strcmd += ",SafetyOfficerName";                                 // 安全管理者名
+                strcmd += ",WorkersCount";                                      // 作業員数
+                strcmd += ",PrintoutDate";                                      // 印刷年月日
+
+                strcmd += ",EntryDate";
+                strcmd += ",UpdateDate";
+                strcmd += ")";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", work.ConstructionCode);                     // 工事番号
+                strcmd += string.Format(",{0}", work.SeqNo);                                // 注文書枝番
+
+                strcmd += string.Format(",{0}", work.CompanyCode);                          // 協力会社コード
+                strcmd += string.Format(",STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                work.CreateDate.ToShortDateString());       // 作成日付
+                strcmd += string.Format(",{0}", work.OrderPrice);                           // 発注金額
+                strcmd += string.Format(",STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                work.LastRowStringDate.ToShortDateString());// 最終行表示日付
+
+                strcmd += string.Format(",{0}", work.OrderSheetType);                       // 簡易・本式フラグ
+                strcmd += string.Format(",{0}", work.PaymentTerms);                         // 支払い条件
+                strcmd += string.Format(",{0}", work.CashRatio);                            // 現金割合（％）
+                strcmd += string.Format(",{0}", work.BillPeriod);                           // 手形期間
+
+                strcmd += string.Format(",{0}", work.PrePayments);                          // 前金払
+                strcmd += string.Format(",{0}", work.PrePaymentsDays);                      // 前金払日数
+                strcmd += string.Format(",{0}", work.PrePaymentsPrice);                     // 前金払金額
+                strcmd += string.Format(",{0}", work.PartialPayment);                       // 部分払
+                strcmd += string.Format(",{0}", work.PartialPaymentMounth);                 // 部分払締切月
+                strcmd += string.Format(",{0}", work.PartialPaymentDay1);                   // 部分払締切日
+                strcmd += string.Format(",{0}", work.PartialPaymentDay2);                   // 部分払支払日
+                strcmd += string.Format(",{0}", work.PartialPaymentPrice);                  // 部分払金額
+                strcmd += string.Format(",{0}", work.CompletionPayment);                    // 引渡し時の支払
+                strcmd += string.Format(",{0}", work.CompletionPaymentDays);                // 引渡し時の支払日数
+                strcmd += string.Format(",{0}", work.CompletionPaymentPrice);               // 引渡し時の支払金額
+                strcmd += string.Format(",{0}", work.LeadEngineerCode);                     // 主任技術者コード
+                strcmd += string.Format(",'{0}'", work.LeadEngineerName);                   // 主任技術者名
+                strcmd += string.Format(",{0}", work.SafetyOfficerCode);                    // 安全管理者コード
+                strcmd += string.Format(",'{0}'", work.SafetyOfficerName);                  // 安全管理者名
+                strcmd += string.Format(",{0}", work.WorkersCount);                         // 作業員数
+                strcmd += string.Format(",STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                work.PrintoutDate.ToShortDateString());     // 印刷年月日
+
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATEE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ追加（複数）
+        /// <summary>
+        /// 注文書データ追加（複数）
+        /// </summary>
+        /// <param name="data">注文書データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PurchaseOrder> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PurchaseOrder work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ更新
+        /// <summary>
+        /// 注文書データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">注文書データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PurchaseOrder data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PurchaseOrder";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	                    // 工事番号
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo);                                            // 注文書枝番
+                strcmd += string.Format(",CompanyCode = {0}", data.CompanyCode);                                // 協力会社コード
+
+                strcmd += string.Format(",CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                                    data.CreateDate.ToShortDateString());       // 作成日付
+                strcmd += string.Format(",OrderPrice = {0}", data.OrderPrice);                                  // 発注金額
+                strcmd += string.Format(",LastRowStringDate = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                                    data.LastRowStringDate.ToShortDateString());// 最終行表示日付
+
+
+                strcmd += string.Format(",OrderSheetType = {0}", data.OrderSheetType);                          // 簡易・本式フラグ
+                strcmd += string.Format(",PaymentTerms = {0}", data.PaymentTerms);                              // 支払い条件
+                strcmd += string.Format(",CashRatio = {0}", data.CashRatio);                                    // 現金割合（％）
+                strcmd += string.Format(",BillPeriod = {0}", data.BillPeriod);                                  // 手形期間
+
+
+                strcmd += string.Format(",PrePayments = {0}", data.PrePayments);                                // 前金払
+                strcmd += string.Format(",PrePaymentsDays = {0}", data.PrePaymentsDays);                        // 前金払日数
+                strcmd += string.Format(",PrePaymentsPrice = {0}", data.PrePaymentsPrice);                      // 前金払金額
+                strcmd += string.Format(",PartialPayment = {0}", data.PartialPayment);                          // 部分払
+                strcmd += string.Format(",PartialPaymentMounth = {0}", data.PartialPaymentMounth);              // 部分払締切月
+                strcmd += string.Format(",PartialPaymentDay1 = {0}", data.PartialPaymentDay1);                  // 部分払締切日
+                strcmd += string.Format(",PartialPaymentDay2 = {0}", data.PartialPaymentDay2);                  // 部分払支払日
+                strcmd += string.Format(",PartialPaymentPrice = {0}", data.PartialPaymentPrice);                // 部分払金額
+                strcmd += string.Format(",CompletionPayment = {0}", data.CompletionPayment);                    // 引渡し時の支払
+                strcmd += string.Format(",CompletionPaymentDays = {0}", data.CompletionPaymentDays);            // 引渡し時の支払日数
+                strcmd += string.Format(",CompletionPaymentPrice = {0}", data.CompletionPaymentPrice);          // 引渡し時の支払金額
+
+                strcmd += string.Format(",LeadEngineerCode = {0}", data.LeadEngineerCode);                      // 主任技術者コード
+                strcmd += string.Format(",LeadEngineerName = '{0}'", data.LeadEngineerName);                    // 主任技術者名
+                strcmd += string.Format(",SafetyOfficerCode = {0}", data.SafetyOfficerCode);                    // 安全管理者コード
+                strcmd += string.Format(",SafetyOfficerName = '{0}'", data.SafetyOfficerName);                  // 安全管理者名
+                strcmd += string.Format(",WorkersCount = {0}", data.WorkersCount);                              // 作業員数
+                strcmd += string.Format(",PrintoutDate = STR_TO_DATE('{0}','%Y/%m/%d')",
+                                                                    data.PrintoutDate.ToShortDateString());     // 印刷年月日
+                
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ削除
+        /// <summary>
+        /// 注文書データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">注文書データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PurchaseOrder", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PurchaseOrder";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	        // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SeqNo:                    // 注文書枝番
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:              // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:               // 作成日付
+                        strcmd += string.Format(" CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderPrice:               // 発注金額
+                        strcmd += string.Format(" OrderPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.LastRowStringDate:        // 最終行表示日付
+                        strcmd += string.Format(" LastRowStringDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderSheetType:           // 簡易・本式フラグ
+                        strcmd += string.Format(" OrderSheetType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PaymentTerms:             // 支払い条件
+                        strcmd += string.Format(" PaymentTerms = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CashRatio:                // 現金割合（％）
+                        strcmd += string.Format(" CashRatio = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.BillPeriod:               // 手形期間
+                        strcmd += string.Format(" BillPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrePayments:              // 前金払
+                        strcmd += string.Format(" PrePayments = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrePaymentsDays:          // 前金払日数
+                        strcmd += string.Format(" PrePaymentsDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrePaymentsPrice:         // 前金払金額
+                        strcmd += string.Format(" PrePaymentsPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPayment:           // 部分払
+                        strcmd += string.Format(" PartialPayment = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPaymentMounth:     // 部分払締切月
+                        strcmd += string.Format(" PartialPaymentMounth = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPaymentDay1:       // 部分払締切日
+                        strcmd += string.Format(" PartialPaymentDay1 = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPaymentDay2:       // 部分払支払日
+                        strcmd += string.Format(" PartialPaymentDay2 = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPaymentPrice:      // 部分払金額
+                        strcmd += string.Format(" PartialPaymentPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.CompletionPayment:        // 引渡し時の支払
+                        strcmd += string.Format(" CompletionPayment = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompletionPaymentDays:    // 引渡し時の支払日数
+                        strcmd += string.Format(" CompletionPaymentDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompletionPaymentPrice:   // 引渡し時の支払金額
+                        strcmd += string.Format(" CompletionPaymentPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.LeadEngineerCode:         // 主任技術者コード
+                        strcmd += string.Format(" LeadEngineerCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LeadEngineerName:         // 主任技術者名
+                        strcmd += string.Format(" LeadEngineerName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SafetyOfficerCode:        // 安全管理者コード
+                        strcmd += string.Format(" SafetyOfficerCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SafetyOfficerName:        // 安全管理者名
+                        strcmd += string.Format(" SafetyOfficerName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.WorkersCount:             // 作業員数
+                        strcmd += string.Format(" WorkersCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrintoutDate:             // 印刷年月日
+                        strcmd += string.Format(" PrintoutDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PurchaseOrder wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	            // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());	                                // 注文書枝番
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());                       // 協力会社コード
+
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());	                // 作成日付
+                wrk.OrderPrice = double.Parse(objwrk[(int)TableColumn.OrderPrice].ToString());	                    // 発注金額
+                wrk.LastRowStringDate = DateTime.Parse(objwrk[(int)TableColumn.LastRowStringDate].ToString());      // 最終行表示文字
+                wrk.OrderSheetType = int.Parse(objwrk[(int)TableColumn.OrderSheetType].ToString());	                // 簡易・本式フラグ
+                wrk.PaymentTerms = int.Parse(objwrk[(int)TableColumn.PaymentTerms].ToString());	                    // 支払い条件
+                wrk.CashRatio = double.Parse(objwrk[(int)TableColumn.CashRatio].ToString());	                    // 現金割合（％）
+                wrk.BillPeriod = int.Parse(objwrk[(int)TableColumn.BillPeriod].ToString());	                        // 手形期間
+
+                wrk.PrePayments = int.Parse(objwrk[(int)TableColumn.PrePayments].ToString());                       // 前金払
+                wrk.PrePaymentsDays = int.Parse(objwrk[(int)TableColumn.PrePaymentsDays].ToString());               // 前金払日数
+                wrk.PrePaymentsPrice = int.Parse(objwrk[(int)TableColumn.PrePaymentsPrice].ToString());             // 前金払金額
+                wrk.PartialPayment = int.Parse(objwrk[(int)TableColumn.PartialPayment].ToString());                 // 部分払
+                wrk.PartialPaymentMounth = int.Parse(objwrk[(int)TableColumn.PartialPaymentMounth].ToString());     // 部分払締切月
+                wrk.PartialPaymentDay1 = int.Parse(objwrk[(int)TableColumn.PartialPaymentDay1].ToString());         // 部分払締切日
+                wrk.PartialPaymentDay2 = int.Parse(objwrk[(int)TableColumn.PartialPaymentDay2].ToString());         // 部分払支払日
+                wrk.PartialPaymentPrice = int.Parse(objwrk[(int)TableColumn.PartialPaymentPrice].ToString());       // 部分払金額
+                wrk.CompletionPayment = int.Parse(objwrk[(int)TableColumn.CompletionPayment].ToString());           // 引渡し時の支払
+                wrk.CompletionPaymentDays = int.Parse(objwrk[(int)TableColumn.CompletionPaymentDays].ToString());   // 引渡し時の支払日数
+                wrk.CompletionPaymentPrice = int.Parse(objwrk[(int)TableColumn.CompletionPaymentPrice].ToString()); // 引渡し時の支払金額
+
+                wrk.LeadEngineerCode = int.Parse(objwrk[(int)TableColumn.LeadEngineerCode].ToString());             // 主任技術者コード
+                wrk.LeadEngineerName = objwrk[(int)TableColumn.LeadEngineerName].ToString();                        // 主任技術者名
+                wrk.SafetyOfficerCode = int.Parse(objwrk[(int)TableColumn.SafetyOfficerCode].ToString());           // 安全管理者コード
+                wrk.SafetyOfficerName = objwrk[(int)TableColumn.SafetyOfficerName].ToString();                      // 安全管理者名
+                wrk.WorkersCount = int.Parse(objwrk[(int)TableColumn.WorkersCount].ToString());                     // 作業員数
+                wrk.PrintoutDate = DateTime.Parse(objwrk[(int)TableColumn.PrintoutDate].ToString());                // 印刷年月日
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        public string CreatePrimarykeyString(int ConstructionCode, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 注文書枝番の最大値を取得
+        /// <summary>
+        /// 注文書枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM PurchaseOrder" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrderDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrderDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrderDetail.cs	(revision 84)
@@ -0,0 +1,482 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 注文書明細データ明細ＤＢアクセス
+    /// </summary>
+    public class IOPurchaseOrderDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 注文書明細データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+
+            SeqNo,                  // 注文書枝番
+            GroupCount,             // グループ番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            ItemCode,		        // 工種キー
+            FirstString,            // 工種・品名
+            SecondString,           // 内容内訳
+            UnitCount,		        // 数量
+            UnitName,		        // 単位
+            UnitPrice,		        // 単価
+            OrdersLinePrice,		// 金額
+            SourceCode,             // 予算作成時工事番号
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPurchaseOrderDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", SeqNo";                    // 注文書枝番
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ComponentCode";            // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", FirstString";              // 工種品名
+            strcmd += ", SecondString";             // 内容内訳
+            strcmd += ", UnitCount";		        // 数量
+            strcmd += ", UnitName";		            // 単位
+            strcmd += ", UnitPrice";		        // 単価
+            strcmd += ", OrdersLinePrice";		    // 金額
+            strcmd += ", SourceCode";               // 予算作成時工事番号
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM PurchaseOrderDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 注文書明細データ検索（１件）
+        /// <summary>
+        /// 注文書明細データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref PurchaseOrderDetail data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ検索（複数件）
+        /// <summary>
+        /// 注文書明細データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<PurchaseOrderDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PurchaseOrderDetail work = new PurchaseOrderDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ1件追加
+        /// <summary>
+        /// 注文書明細データ追加
+        /// </summary>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PurchaseOrderDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PurchaseOrderDetail";
+                strcmd += " (";
+                strcmd += "  ConstructionCode";	        // 工事コード
+                strcmd += ", SeqNo";                    // 注文書枝番
+                strcmd += ", GroupCount";               // グループ番号
+                strcmd += ", LineCount";                // 行番号
+                strcmd += ", ComponentCode";            // 構成キー
+                strcmd += ", ItemCode";		            // 工種キー
+                strcmd += ", FirstString";              // 工種品名
+                strcmd += ", SecondString";             // 内容内訳
+                strcmd += ", UnitCount";		        // 数量
+                strcmd += ", UnitName";		            // 単位
+                strcmd += ", UnitPrice";		        // 単価
+                strcmd += ", OrdersLinePrice";		    // 金額
+                strcmd += ", SourceCode";               // 予算作成時工事番号
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate";
+                strcmd += ")";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.SeqNo);                   // 注文書枝番
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		        // 工種キー
+                strcmd += string.Format(",'{0}'", work.FirstString);            // 工種・品名
+                strcmd += string.Format(",'{0}'", work.SecondString);           // 内容内訳
+                strcmd += string.Format(", {0}", work.UnitCount);		        // 数量
+                strcmd += string.Format(",'{0}'", work.UnitName);		        // 単位
+                strcmd += string.Format(", {0}", work.UnitPrice);		        // 単価
+                strcmd += string.Format(", {0}", work.OrdersLinePrice);         // 金額
+                strcmd += string.Format(", {0}", work.SourceCode);              // 予算作成時工事番号
+
+                strcmd += ", STR_TO_DATE(TO_CHAR(sysdate,'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(TO_CHAR(sysdate,'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ追加
+        /// <summary>
+        /// 注文書明細データ追加
+        /// </summary>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PurchaseOrderDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PurchaseOrderDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ更新
+        /// <summary>
+        /// 注文書明細データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PurchaseOrderDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PurchaseOrderDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+                strcmd += string.Format(", CompanyCode = {0}", data.SeqNo);                         // 注文書枝番
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);               // 構成キー
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode);		                    // 工種キー
+                strcmd += string.Format(", FirstString = '{0}'", data.FirstString);                 // 工種・品名
+                strcmd += string.Format(", SecondString = '{0}'", data.SecondString);               // 内容内訳
+                strcmd += string.Format(", UnitCount = {0}", data.UnitCount);		                // 数量
+                strcmd += string.Format(", UnitName = '{0}'", data.UnitName);		                // 単位
+                strcmd += string.Format(", UnitPrice = {0}", data.UnitPrice);		                // 単価
+                strcmd += string.Format(", OrdersLinePrice = {0}", data.OrdersLinePrice);		    // 金額
+                strcmd += string.Format(", SourceCode = {0}", data.SourceCode);                     // 予算作成時工事番号
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ削除
+        /// <summary>
+        /// 注文書明細データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PurchaseOrderDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PurchaseOrderDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode: // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SeqNo:            // 注文書枝番
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GroupCount:       // グループ番号
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:        // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:    // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		    // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FirstString:      // 工種・品名
+                        strcmd += string.Format(" FirstString = '{0}'", value);
+                        break;
+                    case (int)TableColumn.SecondString:     // 内容内訳
+                        strcmd += string.Format(" SecondString = '{0}'", value);
+                        break;
+                    case (int)TableColumn.UnitCount:		// 数量
+                        strcmd += string.Format(" UnitCount = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.UnitName:		    // 単位
+                        strcmd += string.Format(" UnitName = '{0}'", value);
+                        break;
+                    case (int)TableColumn.UnitPrice:		// 単価
+                        strcmd += string.Format(" UnitPrice = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrdersLinePrice:	// 金額
+                        strcmd += string.Format(" OrdersLinePrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCode:       // 予算作成時工事番号
+                        strcmd += string.Format(" SourceCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PurchaseOrderDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());         // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                               // 注文書枝番
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	            // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		                    // 工種キー
+                wrk.FirstString = objwrk[(int)TableColumn.FirstString].ToString();	                            // 工種・品名
+                wrk.SecondString = objwrk[(int)TableColumn.SecondString].ToString();	                        // 内容内訳
+                wrk.UnitCount = double.Parse(objwrk[(int)TableColumn.UnitCount].ToString());		            // 数量
+                wrk.UnitName = objwrk[(int)TableColumn.UnitName].ToString();		                            // 単位
+                wrk.UnitPrice = double.Parse(objwrk[(int)TableColumn.UnitPrice].ToString());		            // 単価
+                wrk.OrdersLinePrice = double.Parse(objwrk[(int)TableColumn.OrdersLinePrice].ToString());		// 金額
+                wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());                     // 予算作成時工事番号
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="OutsourcingFlg"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int SeqNo = 0, int GroupCount = 0, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SEQNO = {0}", SeqNo);
+                if (GroupCount != 0)
+                    strWork += string.Format(" And GROUPCOUNT = {0}", GroupCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestData.cs	(revision 84)
@@ -0,0 +1,423 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 請求データアクセスクラス
+    /// </summary>
+    public class IORequestData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 請求データフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            RequestNo = 0,
+            MainConstructionCode,
+            ConstructionName,
+            ContractAmount,
+            PaidAmount,
+            RequestAmount0,
+            RequestAmount1,
+            RequestAmount2,
+            RequestAmount3,
+            RequestAmount4,
+            RequestAmount5,
+            RequestAmount6,
+            UnclaimedAmount,
+            UnpaidAmount,
+            TaxAmount,
+            Note,
+            ENTRYDATE,
+            UPDATEDATE,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="connectionString"></param>
+        public IORequestData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 請求データ検索
+        /// <summary>
+        /// 請求データ検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<RequestData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " RequestNo";
+                strcmd += " ,MainConstructionCode";
+
+                strcmd += " ,ConstructionName";
+                strcmd += " ,ContractAmount";
+                strcmd += " ,PaidAmount";
+                strcmd += " ,RequestAmount0";
+                strcmd += " ,RequestAmount1";
+                strcmd += " ,RequestAmount2";
+                strcmd += " ,RequestAmount3";
+                strcmd += " ,RequestAmount4";
+                strcmd += " ,RequestAmount5";
+                strcmd += " ,RequestAmount6";
+                strcmd += " ,UnclaimedAmount";
+                strcmd += " ,UnpaidAmount";
+                strcmd += " ,TaxAmount";
+                strcmd += " ,Note";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM RequestData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    RequestData work = new RequestData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求データ複数追加
+        /// <summary>
+        /// 請求データ複数追加
+        /// </summary>
+        /// <param name="data">請求データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<RequestData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (RequestData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求データ１件追加
+        /// <summary>
+        /// 請求データ１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(RequestData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO RequestData";
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.RequestNo.ToString());
+
+                strcmd += string.Format(", {0}", data.MainConstructionCode.ToString());
+                strcmd += string.Format(", '{0}'", data.ConstructionName.ToString());
+
+                strcmd += string.Format(", {0}", data.ContractAmount.ToString());
+                strcmd += string.Format(", {0}", data.PaidAmount.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount0.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount1.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount2.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount3.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount4.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount5.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount6.ToString());
+                strcmd += string.Format(", {0}", data.UnclaimedAmount.ToString());
+                strcmd += string.Format(", {0}", data.UnpaidAmount.ToString());
+                strcmd += string.Format(", {0}", data.TaxAmount.ToString());
+                strcmd += string.Format(", '{0}'", data.Note.ToString());
+
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求データ更新
+        /// <summary>
+        /// 請求データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">請求データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, RequestData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE RequestData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionName = '{0}'", data.ConstructionName.ToString());
+                strcmd += string.Format(",ContractAmount = {0}", data.ContractAmount.ToString());
+                strcmd += string.Format(",PaidAmount = {0}", data.PaidAmount.ToString());
+
+                strcmd += string.Format(",RequestAmount0 = {0}", data.RequestAmount0.ToString());
+                strcmd += string.Format(",RequestAmount1 = {0}", data.RequestAmount1.ToString());
+                strcmd += string.Format(",RequestAmount2 = {0}", data.RequestAmount2.ToString());
+                strcmd += string.Format(",RequestAmount3 = {0}", data.RequestAmount3.ToString());
+                strcmd += string.Format(",RequestAmount4 = {0}", data.RequestAmount4.ToString());
+                strcmd += string.Format(",RequestAmount5 = {0}", data.RequestAmount5.ToString());
+                strcmd += string.Format(",RequestAmount6 = {0}", data.RequestAmount6.ToString());
+
+                strcmd += string.Format(",UnclaimedAmount = {0}", data.UnclaimedAmount.ToString());
+                strcmd += string.Format(",UnpaidAmount = {0}", data.UnpaidAmount.ToString());
+                strcmd += string.Format(",TaxAmount = {0}", data.TaxAmount.ToString());
+                strcmd += string.Format(",Note = '{0}'", data.Note.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+
+                strcmd += string.Format(" Where RequestNo = {0} And MainConstructionCode = {1}", data.RequestNo.ToString(), data.MainConstructionCode.ToString());
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求データ更新（複数件更新）
+        /// <summary>
+        /// 請求データ更新（複数件更新）
+        /// </summary>
+        /// <param name="lst">請求データリスト</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(List<RequestData> lst, bool bConnect = true)
+        {
+            string sql;
+
+            foreach( RequestData data in lst )
+            {
+                sql = CreatePrimarykeyString( data.RequestNo, data.MainConstructionCode );
+
+                if( UpdateAction( sql, data, bConnect ) == false)
+                {
+                    return false;
+                }
+            }
+            return true;
+        }
+        #endregion
+
+        #region 請求データ削除
+        /// <summary>
+        /// 請求データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM RequestData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref RequestData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RequestNo = int.Parse(objwrk[(int)NameColumn.RequestNo].ToString());
+                wrk.MainConstructionCode = int.Parse(objwrk[(int)NameColumn.MainConstructionCode].ToString());
+
+                wrk.ConstructionName = objwrk[(int)NameColumn.ConstructionName].ToString();
+                wrk.ContractAmount = int.Parse(objwrk[(int)NameColumn.ContractAmount].ToString());
+                wrk.PaidAmount = int.Parse(objwrk[(int)NameColumn.PaidAmount].ToString());
+                wrk.RequestAmount0 = int.Parse(objwrk[(int)NameColumn.RequestAmount0].ToString());
+                wrk.RequestAmount1 = int.Parse(objwrk[(int)NameColumn.RequestAmount1].ToString());
+                wrk.RequestAmount2 = int.Parse(objwrk[(int)NameColumn.RequestAmount2].ToString());
+                wrk.RequestAmount3 = int.Parse(objwrk[(int)NameColumn.RequestAmount3].ToString());
+                wrk.RequestAmount4 = int.Parse(objwrk[(int)NameColumn.RequestAmount4].ToString());
+                wrk.RequestAmount5 = int.Parse(objwrk[(int)NameColumn.RequestAmount5].ToString());
+                wrk.RequestAmount6 = int.Parse(objwrk[(int)NameColumn.RequestAmount6].ToString());
+                wrk.UnclaimedAmount = int.Parse(objwrk[(int)NameColumn.UnclaimedAmount].ToString());
+                wrk.UnpaidAmount = int.Parse(objwrk[(int)NameColumn.UnpaidAmount].ToString());
+                wrk.TaxAmount = int.Parse(objwrk[(int)NameColumn.TaxAmount].ToString());
+                wrk.Note = objwrk[(int)NameColumn.Note].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref RequestData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RequestNo = 0;
+                wrk.MainConstructionCode = 0;
+
+                wrk.ConstructionName = "";
+
+                wrk.ContractAmount = 0;
+                wrk.PaidAmount = 0;
+                wrk.RequestAmount0 = 0;
+                wrk.RequestAmount1 = 0;
+                wrk.RequestAmount2 = 0;
+                wrk.RequestAmount3 = 0;
+                wrk.RequestAmount4 = 0;
+                wrk.RequestAmount5 = 0;
+                wrk.RequestAmount6 = 0;
+                wrk.UnclaimedAmount = 0;
+                wrk.UnpaidAmount = 0;
+                wrk.TaxAmount = 0;
+                wrk.Note = "";
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="RequestNo">請求No</param>
+        /// <param name="MainConstructionCode">本工事番号</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RequestNo, int MainConstructionCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RequestNo = {0}", RequestNo.ToString());
+                if (MainConstructionCode > 0)
+                {
+                    strWork += string.Format(" And MainConstructionCode = {0}", MainConstructionCode.ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
+
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestDataDetail.cs	(revision 84)
@@ -0,0 +1,367 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 請求データ明細アクセスクラス
+    /// </summary>
+    public class IORequestDataDetail : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 請求データ明細フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            RequestNo = 0,
+            MainConstructionCode,
+            ConstructionCode,
+            ConstructionKind,
+            RequestAmount,
+            TaxAmount,
+            ENTRYDATE,
+            UPDATEDATE,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="connectionString"></param>
+        public IORequestDataDetail()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 請求データ明細検索
+        /// <summary>
+        /// 請求データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<RequestDataDetail> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " RequestNo";
+                strcmd += " ,MainConstructionCode";
+                strcmd += " ,ConstructionCode";
+
+                strcmd += " ,ConstructionKind";
+                strcmd += " ,RequestAmount";
+                strcmd += " ,TaxAmount";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM RequestDataDetail";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    RequestDataDetail work = new RequestDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求データ明細複数追加
+        /// <summary>
+        /// 請求データ明細複数追加
+        /// </summary>
+        /// <param name="data">請求データ明細</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<RequestDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (RequestDataDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求データ明細１件追加
+        /// <summary>
+        /// 請求データ明細１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(RequestDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO RequestDataDetail";
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.RequestNo.ToString());
+                strcmd += string.Format(", {0}", data.MainConstructionCode.ToString());
+                strcmd += string.Format(", {0}", data.ConstructionCode.ToString());
+
+                strcmd += string.Format(", {0}", data.ConstructionKind.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount.ToString());
+                strcmd += string.Format(", {0}", data.TaxAmount.ToString());
+
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求データ明細更新
+        /// <summary>
+        /// 請求データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">請求データ明細</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, RequestDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE RequestDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionKind = '{0}'", data.ConstructionKind.ToString());
+                strcmd += string.Format(",RequestAmount = {0}", data.RequestAmount.ToString());
+                strcmd += string.Format(",TaxAmount = {0}", data.TaxAmount.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+
+                strcmd += string.Format(" Where RequestNo = {0}", data.RequestNo.ToString());
+                strcmd += string.Format("  And MainConstructionCode = {0}", data.MainConstructionCode.ToString());
+                strcmd += string.Format("  And ConstructionCode = {0} ", data.ConstructionCode.ToString());
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求データ明細更新（複数件更新）
+        /// <summary>
+        /// 請求データ明細更新（複数件更新）
+        /// </summary>
+        /// <param name="lst">請求データ明細リスト</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(List<RequestDataDetail> lst, bool bConnect = true)
+        {
+            string sql;
+
+            foreach (RequestDataDetail ReqDetail in lst)
+            {
+                sql = CreatePrimarykeyString(ReqDetail.RequestNo, ReqDetail.MainConstructionCode, ReqDetail.ConstructionCode);
+
+                if (UpdateAction(sql, ReqDetail, bConnect) == false)
+                {
+                    return false;
+                }
+            }
+
+            return true;
+        }
+        #endregion
+
+        #region 請求データ明細削除
+        /// <summary>
+        /// 請求データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM RequestDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref RequestDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RequestNo = int.Parse(objwrk[(int)NameColumn.RequestNo].ToString());
+                wrk.MainConstructionCode = int.Parse(objwrk[(int)NameColumn.MainConstructionCode].ToString());
+                wrk.ConstructionCode = int.Parse(objwrk[(int)NameColumn.ConstructionCode].ToString());
+
+                wrk.ConstructionKind = int.Parse(objwrk[(int)NameColumn.ConstructionKind].ToString());
+                wrk.RequestAmount = int.Parse(objwrk[(int)NameColumn.RequestAmount].ToString());
+                wrk.TaxAmount = int.Parse(objwrk[(int)NameColumn.TaxAmount].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref RequestDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RequestNo = 0;
+                wrk.MainConstructionCode = 0;
+                wrk.ConstructionCode = 0;
+
+                wrk.ConstructionKind = 0;
+                wrk.RequestAmount = 0;
+                wrk.TaxAmount = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="RequestNo">請求No</param>
+        /// <param name="MainConstructionCode">本工事番号</param>
+        /// <param name="ConstructionCode">工事番号</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RequestNo, int MainConstructionCode = 0, int ConstructionCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RequestNo = {0}", RequestNo.ToString());
+                if (MainConstructionCode > 0)
+                {
+                    strWork += string.Format(" And MainConstructionCode = {0}", MainConstructionCode.ToString());
+                }
+                if (ConstructionCode > 0)
+                {
+                    strWork += string.Format(" And ConstructionCode = {0}", ConstructionCode.ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
+
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestHead.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestHead.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestHead.cs	(revision 84)
@@ -0,0 +1,495 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 請求ヘッダアクセスクラス
+    /// </summary>
+    public class IORequestHead : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 請求データフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            RequestNo = 0,
+            ReqConstructionCode,
+            OrderNo,
+            RequestMonth,
+            OrderersDivision,
+            OrderersCode,
+            OrderersName,
+            ReqConstructionName,
+            RequestTotalAmount,
+            RequestAmount,
+            TaxAmount,
+            UnpaidAmount,
+            Note,
+            AssignedFlg,
+            InvoiceNo,
+            ENTRYDATE,
+            UPDATEDATE,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="connectionString"></param>
+        public IORequestHead()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 請求ヘッダ検索
+        /// <summary>
+        /// 請求ヘッダ検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<RequestHead> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " RequestNo";
+                strcmd += " ,ReqConstructionCode";
+                strcmd += " ,OrderNo";
+                strcmd += " ,RequestMonth";
+                strcmd += " ,OrderersDivision";
+                strcmd += " ,OrderersCode";
+                strcmd += " ,OrderersName";
+                strcmd += " ,ReqConstructionName";
+                strcmd += " ,RequestTotalAmount";
+                strcmd += " ,RequestAmount";
+                strcmd += " ,TaxAmount";
+                strcmd += " ,UnpaidAmount";
+                strcmd += " ,Note";
+                strcmd += " ,AssignedFlg";
+                strcmd += " ,InvoiceNo";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM RequestHead";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    RequestHead work = new RequestHead();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求ヘッダ複数追加
+        /// <summary>
+        /// 請求ヘッダ複数追加
+        /// </summary>
+        /// <param name="data">請求データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<RequestHead> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (RequestHead work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求ヘッダ１件追加
+        /// <summary>
+        /// 請求ヘッダ１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(RequestHead data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO RequestHead";
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.RequestNo.ToString());
+
+                strcmd += string.Format(", {0}", data.ReqConstructionCode.ToString());
+                strcmd += string.Format(", {0}", data.OrderNo.ToString());
+
+                strcmd += string.Format(", {0}", data.RequestMonth.ToString());
+                strcmd += string.Format(", {0}", data.OrderersDivision.ToString());
+                strcmd += string.Format(", {0}", data.OrderersCode.ToString());
+                strcmd += string.Format(", '{0}'", data.OrderersName.ToString());
+                strcmd += string.Format(", '{0}'", data.ReqConstructionName.ToString());
+                strcmd += string.Format(", {0}", data.RequestTotalAmount.ToString());
+                strcmd += string.Format(", {0}", data.RequestAmount.ToString());
+                strcmd += string.Format(", {0}", data.TaxAmount.ToString());
+                strcmd += string.Format(", {0}", data.UnpaidAmount.ToString());
+                strcmd += string.Format(", '{0}'", data.Note.ToString());    
+                strcmd += string.Format(", {0}", data.AssignedFlg.ToString());
+                strcmd += string.Format(", {0}", data.InvoiceNo.ToString());
+
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求ヘッダ更新（複数件更新）
+
+        /// <summary>
+        /// 請求ヘッダ更新（複数件更新）
+        /// </summary>
+        /// <param name="lstReqHead"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(List<RequestHead> lstReqHead, bool bConnect = true)
+        {
+            foreach (RequestHead ReqHead in lstReqHead)
+            {
+                string sql = CreatePrimarykeyString(ReqHead.RequestNo);
+
+                bool ret = UpdateAction(sql, ReqHead, bConnect);
+                if (ret == false)
+                {
+                    return false;
+                }
+            }
+
+            return true;
+        }
+
+        #endregion
+
+        #region 請求ヘッダ更新（１件更新）
+        /// <summary>
+        /// 請求データ更新（１件更新）
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">請求ヘッダ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, RequestHead data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE RequestHead";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ReqConstructionCode = {0}", data.ReqConstructionCode.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",RequestMonth = {0}", data.RequestMonth.ToString());
+
+                strcmd += string.Format(",OrderersDivision = {0}", data.OrderersDivision.ToString());
+                strcmd += string.Format(",OrderersCode = {0}", data.OrderersCode.ToString());
+                strcmd += string.Format(",OrderersName = '{0}'", data.OrderersName.ToString());
+
+
+                strcmd += string.Format(",ReqConstructionName = '{0}'", data.ReqConstructionName.ToString());
+                strcmd += string.Format(",RequestTotalAmount = {0}", data.RequestTotalAmount.ToString());
+                strcmd += string.Format(",RequestAmount = {0}", data.RequestAmount.ToString());
+                strcmd += string.Format(",TaxAmount = {0}", data.TaxAmount.ToString());
+                strcmd += string.Format(",UnpaidAmount = {0}", data.UnpaidAmount.ToString());
+                strcmd += string.Format(",Note = '{0}'", data.Note.ToString());
+                
+                strcmd += string.Format(",AssignedFlg = {0}", data.AssignedFlg.ToString());
+                strcmd += string.Format(",InvoiceNo = {0}", data.InvoiceNo.ToString());
+
+                strcmd += ", UpdateDate = DATE_FORMAT(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+
+                //strcmd += string.Format(" Where RequestNo = {0}", data.RequestNo.ToString());
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 請求ヘッダ削除
+        /// <summary>
+        /// 請求データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM RequestHead", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref RequestHead wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RequestNo = int.Parse(objwrk[(int)NameColumn.RequestNo].ToString());
+                
+                wrk.ReqConstructionCode = int.Parse(objwrk[(int)NameColumn.ReqConstructionCode].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)NameColumn.OrderNo].ToString());
+
+                wrk.RequestMonth = int.Parse(objwrk[(int)NameColumn.RequestMonth].ToString());
+                wrk.OrderersDivision = int.Parse(objwrk[(int)NameColumn.OrderersDivision].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)NameColumn.OrderersCode].ToString());
+                wrk.OrderersName = objwrk[(int)NameColumn.OrderersName].ToString();
+
+                wrk.ReqConstructionName = objwrk[(int)NameColumn.ReqConstructionName].ToString();
+
+                wrk.RequestTotalAmount = int.Parse(objwrk[(int)NameColumn.RequestTotalAmount].ToString());
+                wrk.RequestAmount = int.Parse(objwrk[(int)NameColumn.RequestAmount].ToString());
+                wrk.TaxAmount = int.Parse(objwrk[(int)NameColumn.TaxAmount].ToString());
+                wrk.UnpaidAmount = int.Parse(objwrk[(int)NameColumn.UnpaidAmount].ToString());
+
+                wrk.Note = objwrk[(int)NameColumn.Note].ToString();
+
+                wrk.AssignedFlg = int.Parse(objwrk[(int)NameColumn.AssignedFlg].ToString());
+                wrk.InvoiceNo = int.Parse(objwrk[(int)NameColumn.InvoiceNo].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref RequestHead wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RequestNo = 0;
+                
+                wrk.ReqConstructionCode = 0;
+                wrk.OrderNo = 0;
+                wrk.RequestMonth = 0;
+
+                wrk.OrderersDivision = 0;
+                wrk.OrderersCode = 0;
+
+                wrk.OrderersName = "";
+                wrk.ReqConstructionName = "";
+                
+                wrk.RequestTotalAmount = 0;
+                wrk.RequestAmount = 0;
+                wrk.TaxAmount = 0;
+                wrk.UnpaidAmount = 0;
+                
+                wrk.Note = "";
+
+                wrk.AssignedFlg = 0;
+                wrk.InvoiceNo = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="RequestNo">請求No</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RequestNo)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RequestNo = {0}", RequestNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region サブキー検索の文字列を返す
+        /// <summary>
+        /// サブキー検索の文字列を返す
+        /// </summary>
+        /// <param name="ReqConstructionCode">請求工事番号</param>
+        /// <param name="OrderNo">受付番号</param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int ReqConstructionCode, int OrderNo = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ReqConstructionCode = {0}", ReqConstructionCode.ToString() );
+                if (OrderNo > 0)
+                {
+                    strWork += string.Format(" And OrderNo = {0}", OrderNo.ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 請求Noの採番
+        public int NumberingRequestNo(int RequestMonth, bool bConnect = true)
+        {
+            int ret = -1;
+
+            string  sql = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                sql = string.Format("SELECT IFNULL(MAX(RequestNo),0) FROM RequestHead WHERE RequestMonth = {0}", RequestMonth) ;
+
+                // SQL実行
+                if (!ExecuteReader(sql, ref arData, bConnect)) return -1;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ret = int.Parse(objwrk[0].ToString());
+                    break;
+                }
+
+                if (ret > 0)
+                {
+                    ret++;
+                }
+                else
+                {
+                    ret = (RequestMonth * 1000) + 1;
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, sql);
+            }
+            return ret;
+
+        }
+        #endregion
+
+    }
+
+}
+
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSalesGraphData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSalesGraphData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSalesGraphData.cs	(revision 84)
@@ -0,0 +1,300 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 行動予定アクセスクラス
+    /// </summary>
+    public class IOSalesGraphData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            GraphDataCode = 0,
+            ConstructionPeriod,
+            SalesDataDays,
+            DisplayOrder,
+            DataName,
+            SalesAmount,
+            AdministrativeExpense,
+            GrossProfit,
+            NetIncome,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSalesGraphData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 行動予定検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<SalesGraphData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " GraphDataCode,";
+                strcmd += " ConstructionPeriod,";
+                strcmd += " DATE_FORMAT(SalesDataDays, '%Y/%m/%d'),";
+                strcmd += " DisplayOrder,";
+                strcmd += " DataName,";
+                strcmd += " SalesAmount,";
+                strcmd += " AdministrativeExpense,";
+                strcmd += " GrossProfit,";
+                strcmd += " NetIncome,";
+                strcmd += " DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s'),";
+                strcmd += " DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM SalesGraphData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SalesGraphData work = new SalesGraphData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 行動予定追加
+        /// </summary>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertOneAction(SalesGraphData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO SalesGraphData";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.GraphDataCode.ToString());
+                strcmd += string.Format(",{0}", data.ConstructionPeriod.ToString());
+                strcmd += string.Format(",DATE_FORMAT('{0}','%Y/%m/%d')", data.SalesDataDays.ToShortDateString());
+                strcmd += string.Format(",{0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",'{0}'", data.DataName);
+                strcmd += string.Format(",{0}", data.SalesAmount.ToString());
+                strcmd += string.Format(",{0}", data.AdministrativeExpense.ToString());
+                strcmd += string.Format(",{0}", data.GrossProfit.ToString());
+                strcmd += string.Format(",{0}", data.NetIncome.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool InsertAction(List<SalesGraphData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (SalesGraphData work in data)
+                {
+                    if (!InsertOneAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 行動予定更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SalesGraphData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SalesGraphData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" GraphDataCode = {0}", data.GraphDataCode.ToString());
+                strcmd += string.Format(",ConstructionPeriod = {0}", data.ConstructionPeriod.ToString());
+                strcmd += string.Format(",SalesDataDays = STR_TO_DATE('{0}','%Y/%m/%d')", data.SalesDataDays.ToShortDateString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",DataName = '{0}'", data.DataName);
+                strcmd += string.Format(",SalesAmount = {0}", data.SalesAmount.ToString());
+                strcmd += string.Format(",AdministrativeExpense = {0}", data.AdministrativeExpense.ToString());
+                strcmd += string.Format(",GrossProfit = {0}", data.GrossProfit.ToString());
+                strcmd += string.Format(",NetIncome = {0}", data.NetIncome.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 行動予定削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SalesGraphData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SalesGraphData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.GraphDataCode = int.Parse(objwrk[(int)NameColumn.GraphDataCode].ToString());
+                wrk.ConstructionPeriod = int.Parse(objwrk[(int)NameColumn.ConstructionPeriod].ToString());
+                wrk.SalesDataDays = DateTime.Parse(objwrk[(int)NameColumn.SalesDataDays].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.DataName = objwrk[(int)NameColumn.DataName].ToString();
+                wrk.SalesAmount = int.Parse(objwrk[(int)NameColumn.SalesAmount].ToString());
+                wrk.AdministrativeExpense = int.Parse(objwrk[(int)NameColumn.AdministrativeExpense].ToString());
+                wrk.GrossProfit = int.Parse(objwrk[(int)NameColumn.GrossProfit].ToString());
+                wrk.NetIncome = int.Parse(objwrk[(int)NameColumn.NetIncome].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int GraphDataCode, int ConstructionPeriod, DateTime SalesDataDays)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where GraphDataCode = {0}", GraphDataCode.ToString());
+                if (ConstructionPeriod != 0)
+                    strWork += string.Format(" And ConstructionPeriod = {0}", ConstructionPeriod);
+                if (SalesDataDays != DateTime.MinValue)
+                    strWork += string.Format(" And SalesDataDays = STR_TO_Date(SalesDataDays, '%Y/%m/%d')", SalesDataDays.ToShortDateString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobItemRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobItemRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobItemRegist.cs	(revision 84)
@@ -0,0 +1,360 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 協力業者施工工種登録申請データアクセスクラス
+    /// </summary>
+    public class IOSubConstrJobItemRegist : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工協力会社施工工種マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,
+            CreateDate,
+            SeqNo,
+            DisplayOrder,
+            ItemCode,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSubConstrJobItemRegist()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力業者施工工種登録申請データ検索SQL作成
+        /// <summary>
+        /// 協力業者施工工種登録申請データ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力業者施工工種登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += ", DATE_FORMAT(CreateDate,'%Y/%m/%d')";
+            strcmd += ", SeqNo";
+            strcmd += ", DisplayOrder";
+            strcmd += ", ItemCode";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SubConstrJobItemRegist";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ検索（複数件）
+        /// <summary>
+        /// 協力業者施工工種登録申請データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubConstrJobItemRegist> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubConstrJobItemRegist work = new SubConstrJobItemRegist();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ検索（１件）
+        /// <summary>
+        /// 協力業者施工工種登録申請データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubConstrJobItemRegist data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ追加（１件）
+        /// <summary>
+        /// 協力業者施工工種登録申請データ追加（１件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(SubConstrJobItemRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO SubConstrJobItemRegist";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode);
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')" + data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.SeqNo);
+                strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", {0}", data.ItemCode.ToString());
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ追加（複数件）
+        /// <summary>
+        /// 協力業者施工工種登録申請データ追加（複数件）
+        /// </summary>
+        /// <param name="data">協力業者施工工種登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubConstrJobItemRegist> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (SubConstrJobItemRegist work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ更新
+        /// <summary>
+        /// 協力業者施工工種登録申請データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力業者施工工種登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubConstrJobItemRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SubConstrJobItemRegist";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(", CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ削除
+        /// <summary>
+        /// 協力業者施工工種登録申請データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力業者施工工種登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubConstrJobItemRegist", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubConstrJobItemRegist wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime CaretaDate, int SeqNo = 0, int DisplayOrder = 0, string Alias = "")
+        {
+            string strWork = "";
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+                strWork = string.Format(" WHERE {0}PersonCode = {1}", strAlias, PersonCode);
+                if (CaretaDate != DateTime.MinValue)
+                    strWork += string.Format(" AND {0}CreateDate = STR_TO_DATE('{1}','%Y/%m/%d')", strAlias, CaretaDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND {0}SeqNo = {1}", strAlias, SeqNo);
+                if (DisplayOrder != 0)
+                    strWork += string.Format(" AND {0}DisplayOrder = {1}", strAlias, DisplayOrder);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobLinkRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobLinkRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobLinkRegist.cs	(revision 84)
@@ -0,0 +1,360 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 協力業者職種リンク登録申請データアクセスクラス
+    /// </summary>
+    public class IOSubConstrJobLinkRegist : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工協力業者職種リンク登録申請データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,
+            CreateDate,
+            SeqNo,
+            DisplayOrder,
+            JobCategoryCode,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSubConstrJobLinkRegist()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ検索SQL作成
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ検索作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += ", DATE_FORMAT(CreateDate,'%Y/%m/%d')";
+            strcmd += ", SeqNo";
+            strcmd += ", DisplayOrder";
+            strcmd += ", JobCategoryCode";
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SubConstrJobLinkRegist";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ検索（複数件）
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubConstrJobLinkRegist> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubConstrJobLinkRegist work = new SubConstrJobLinkRegist();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ検索（１件）
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubConstrJobLinkRegist data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ追加（１件）
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ追加（１件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(SubConstrJobLinkRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                    strcmd = "INSERT INTO SubConstrJobLinkRegist";
+
+                    strcmd += "(";
+                    bool bFirst = true;
+                    foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                    {
+                        if (!bFirst) strcmd += " ,";
+                        strcmd += gender.ToString();
+                        bFirst = false;
+                    }
+                    strcmd += ") VALUES (";
+
+                    strcmd += string.Format("  {0}", data.PersonCode);
+                    strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')" + data.CreateDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", data.SeqNo);
+                    strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                    strcmd += string.Format(", {0}", data.JobCategoryCode.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ追加（複数件）
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ追加（複数件）
+        /// </summary>
+        /// <param name="data">協力業者職種リンク登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubConstrJobLinkRegist> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (SubConstrJobLinkRegist work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ更新
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力業者職種リンク登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubConstrJobLinkRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubConstrJobLinkRegist";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(", CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", JobCategoryCode = {0}", data.JobCategoryCode.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ削除
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力業者職種リンク登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubConstrJobLinkRegist", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubConstrJobLinkRegist wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());
+                wrk.JobCategoryCode = int.Parse(objwrk[(int)TableColumn.JobCategoryCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime CaretaDate, int SeqNo = 0, int DisplayOrder = 0, string Alias = "")
+        {
+            string strWork = "";
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+                strWork = string.Format(" WHERE {0}PersonCode = {1}", strAlias, PersonCode);
+                if (CaretaDate != DateTime.MinValue)
+                    strWork += string.Format(" AND {0}CreateDate = STR_TO_DATE('{1}','%Y/%m/%d')", strAlias, CaretaDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND {0}SeqNo = {1}", strAlias, SeqNo);
+                if (DisplayOrder != 0)
+                    strWork += string.Format(" AND {0}DisplayOrder = {1}", strAlias, DisplayOrder);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrRegist.cs	(revision 84)
@@ -0,0 +1,620 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 協力業者登録申請データＤＢアクセス
+    /// </summary>
+    public class IOSubConstrRegist : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 協力業者登録申請データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,
+            CreateDate,
+            SeqNo,
+            DataMode,
+            SourceCode,
+            PetitionPeriod,
+            CorporateStatusName,
+            CorporateStatusPoint,
+            CompanyName,
+            CEOPositionName,
+            CEOName,
+            ContactPersonName,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            CellPhoneNumber,
+            MailAddress,
+            PhoneNumber,
+            FaxNumber,
+            JapaneseSyllabary,
+            StartDate,
+            Note,
+            labourKind,
+            OrderDate,
+            OrderNo,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSubConstrRegist()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力業者登録申請データ検索文字列作成
+        /// <summary>
+        /// 協力業者登録申請データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";
+            strcmd += ", DATE_FORMAT(CreateDate,'%Y/%m/%d')";
+            strcmd += ", SeqNo";
+            strcmd += ", DataMode";
+            strcmd += ", SourceCode";
+            strcmd += ", PetitionPeriod";
+
+            strcmd += ", CorporateStatusName";
+            strcmd += ", CorporateStatusPoint";
+            strcmd += ", CompanyName";
+            strcmd += ", CEOPositionName";
+            strcmd += ", CEOName";
+            strcmd += ", ContactPersonName";
+            strcmd += ", ZipCode";
+            strcmd += ", Address1";
+            strcmd += ", Address2";
+            strcmd += ", Address3";
+            strcmd += ", CellPhoneNumber";
+            strcmd += ", MailAddress";
+            strcmd += ", PhoneNumber";
+            strcmd += ", FaxNumber";
+            strcmd += ", JapaneseSyllabary";
+            strcmd += ", DATE_FORMAT(StartDate, '%Y/%m/%d')";
+            strcmd += ", Note";
+            strcmd += ", labourKind";
+            strcmd += " ,DATE_FORMAT(OrderDate, '%Y/%m/%d')";
+            strcmd += " ,OrderNo";
+
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SubConstrRegist";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力業者登録申請データ複数検索
+        /// <summary>
+        /// 協力業者登録申請データ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubConstrRegist> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubConstrRegist work = new SubConstrRegist();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ1件検索
+        /// <summary>
+        /// 協力業者登録申請データ1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubConstrRegist data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ1件追加
+        /// <summary>
+        /// 協力業者登録申請データ1件追加
+        /// </summary>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SubConstrRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO SubConstrRegist";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode);
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')" ,data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.SeqNo);
+                strcmd += string.Format(", {0}", data.DataMode);
+                strcmd += string.Format(", {0}", data.SourceCode);
+                strcmd += string.Format(", {0}", data.PetitionPeriod);
+
+                strcmd += string.Format(", '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", '{0}'", data.CompanyName);
+                strcmd += string.Format(", '{0}'", data.CEOPositionName);
+                strcmd += string.Format(", '{0}'", data.CEOName);
+                strcmd += string.Format(", '{0}'", data.ContactPersonName);
+                strcmd += string.Format(", '{0}'", data.ZipCode);
+                strcmd += string.Format(", '{0}'", data.Address1);
+                strcmd += string.Format(", '{0}'", data.Address2);
+                strcmd += string.Format(", '{0}'", data.Address3);
+                strcmd += string.Format(", '{0}'", data.CellPhoneNumber);
+                strcmd += string.Format(", '{0}'", data.MailAddress);
+                strcmd += string.Format(", '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", '{0}'", data.FaxNumber);
+                strcmd += string.Format(", '{0}'", data.JapaneseSyllabary);
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", '{0}'", data.Note);
+                strcmd += string.Format(",  {0} ", data.labourKind.ToString());
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.OrderNo);
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ複数追加
+        /// <summary>
+        /// 協力業者登録申請データ複数追加
+        /// </summary>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubConstrRegist> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubConstrRegist work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ更新
+        /// <summary>
+        /// 協力業者登録申請データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubConstrRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubConstrRegist";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(", CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(", DataMode = {0}", data.DataMode);
+                strcmd += string.Format(", SourceCode = {0}", data.SourceCode);
+                strcmd += string.Format(", PetitionPeriod = {0}", data.PetitionPeriod);
+
+                strcmd += string.Format(", CorporateStatusName = '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", CorporateStatusPoint = {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", CompanyName = '{0}'", data.CompanyName);
+                strcmd += string.Format(", CEOPositionName = '{0}'", data.CEOPositionName);
+                strcmd += string.Format(", CEOName = '{0}'", data.CEOName);
+                strcmd += string.Format(", ContactPersonName = '{0}'", data.ContactPersonName);
+                strcmd += string.Format(", ZipCode = '{0}'", data.ZipCode);
+                strcmd += string.Format(", Address1 = '{0}'", data.Address1);
+                strcmd += string.Format(", Address2 = '{0}'", data.Address2);
+                strcmd += string.Format(", Address3 = '{0}'", data.Address3);
+                strcmd += string.Format(", CellPhoneNumber = '{0}'", data.CellPhoneNumber);
+                strcmd += string.Format(", MailAddress = '{0}'", data.MailAddress);
+                strcmd += string.Format(", PhoneNumber = '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", FaxNumber = '{0}'", data.FaxNumber);
+                strcmd += string.Format(", JapaneseSyllabary = '{0}'", data.JapaneseSyllabary);
+                strcmd += string.Format(", StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", Note = '{0}'", data.Note);
+                strcmd += string.Format(", labourKind = {0}", data.labourKind);
+                strcmd += string.Format(", OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", OrderNo = {0}", data.OrderNo);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ削除
+        /// <summary>
+        /// 協力業者登録申請データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubConstrRegist", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime CreateDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SubConstrRegist";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format("  PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:
+                        strcmd += string.Format(" CreateDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.SeqNo:
+                        strcmd += string.Format(", SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DataMode:
+                        strcmd += string.Format(", DataMode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCode:
+                        strcmd += string.Format(", SourceCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PetitionPeriod:
+                        strcmd += string.Format(", PetitionPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusName:
+                        strcmd += string.Format(" CorporateStatusName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusPoint:
+                        strcmd += string.Format(" CorporateStatusPoint = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyName:
+                        strcmd += string.Format(" CompanyName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CEOPositionName:
+                        strcmd += string.Format(" CEOPositionName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CEOName:
+                        strcmd += string.Format(" CEOName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ContactPersonName:
+                        strcmd += string.Format(" ContactPersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ZipCode:
+                        strcmd += string.Format(" ZipCode = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address1:
+                        strcmd += string.Format(" Address1 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address2:
+                        strcmd += string.Format(" Address2 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address3:
+                        strcmd += string.Format(" Address3 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CellPhoneNumber:
+                        strcmd += string.Format(" CellPhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.MailAddress:
+                        strcmd += string.Format(" MailAddress = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.PhoneNumber:
+                        strcmd += string.Format(" PhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.FaxNumber:
+                        strcmd += string.Format(" FaxNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.JapaneseSyllabary:
+                        strcmd += string.Format(" JapaneseSyllabary = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.StartDate:
+                        strcmd += string.Format(" StartDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.Note:
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.labourKind:
+                        strcmd += string.Format(" labourKind = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderDate:
+                        strcmd += string.Format(" OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, CreateDate, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubConstrRegist wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());
+                wrk.DataMode = int.Parse(objwrk[(int)TableColumn.DataMode].ToString());
+                wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());
+                wrk.PetitionPeriod = int.Parse(objwrk[(int)TableColumn.PetitionPeriod].ToString());
+                wrk.CorporateStatusName = objwrk[(int)TableColumn.CorporateStatusName].ToString();
+                wrk.CorporateStatusPoint = int.Parse(objwrk[(int)TableColumn.CorporateStatusPoint].ToString());
+                wrk.CompanyName = objwrk[(int)TableColumn.CompanyName].ToString();
+                wrk.CEOPositionName = objwrk[(int)TableColumn.CEOPositionName].ToString();
+                wrk.CEOName = objwrk[(int)TableColumn.CEOName].ToString();
+                wrk.ContactPersonName = objwrk[(int)TableColumn.ContactPersonName].ToString();
+                wrk.ZipCode = objwrk[(int)TableColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)TableColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)TableColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)TableColumn.Address3].ToString();
+                wrk.CellPhoneNumber = objwrk[(int)TableColumn.CellPhoneNumber].ToString();
+                wrk.MailAddress = objwrk[(int)TableColumn.MailAddress].ToString();
+                wrk.PhoneNumber = objwrk[(int)TableColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)TableColumn.FaxNumber].ToString();
+                wrk.JapaneseSyllabary = objwrk[(int)TableColumn.JapaneseSyllabary].ToString();
+                wrk.StartDate = DateTime.Parse(objwrk[(int)TableColumn.StartDate].ToString());
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();
+                wrk.labourKind = int.Parse(objwrk[(int)TableColumn.labourKind].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)TableColumn.OrderNo].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 申請連番の最大値を取得する
+        /// <summary>
+        /// 申請連番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM SubConstrRegist" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime CaretaDate, int SeqNo = 0, string Alias = "")
+        {
+            string strWork = "";
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+                strWork = string.Format(" WHERE {0}PersonCode = {1}", strAlias, PersonCode);
+                if (CaretaDate != DateTime.MinValue)
+                    strWork += string.Format(" AND {0}CreateDate = STR_TO_DATE('{1}','%Y/%m/%d')", strAlias, CaretaDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND {0}SeqNo = {1}", strAlias, SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSystemExecute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSystemExecute.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSystemExecute.cs	(revision 84)
@@ -0,0 +1,413 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// システム起動確認データアクセスクラス
+    /// </summary>
+    public class IOSystemExecute : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// システム起動確認データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PrimaryCode = 0,
+            TargetDate,
+            SystemVersion,
+            UpDateCopyVersion,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSystemExecute()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region システム起動確認データ検索SQL作成
+        /// <summary>
+        /// システム起動確認データ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">システム起動確認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  PrimaryCode";
+            strcmd += " ,DATE_FORMAT(TargetDate, '%Y/%m/%d')";
+            strcmd += " ,SystemVersion";
+            strcmd += " ,UpDateCopyVersion";
+            strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+            strcmd += " FROM SystemExecute";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region システム起動確認データ複数件検索
+        /// <summary>
+        /// システム起動確認データ複数件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SystemExecute> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL();
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SystemExecute work = new SystemExecute();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ1件検索
+        /// <summary>
+        /// システム起動確認データ1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SystemExecute data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL();
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SystemExecute work = new SystemExecute();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ追加SQL作成
+        /// <summary>
+        /// システム起動確認データ追加SQL作成
+        /// </summary>
+        /// <param name="data">システム起動確認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateInsertSQL(SystemExecute work)
+        {
+            string strcmd = "INSERT INTO SystemExecute";
+
+            strcmd += "(PrimaryCode";
+            strcmd += " ,TargetDate";
+            strcmd += " ,SystemVersion";
+            strcmd += " ,UpDateCopyVersion";
+            strcmd += " ,EntryDate";
+            strcmd += " ,UpdateDate)";
+
+            strcmd += " VALUES (";
+            strcmd += string.Format("{0}", work.PrimaryCode);
+            strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')", work.TargetDate.ToShortDateString());
+            strcmd += string.Format("{0}", work.SystemVersion);
+            strcmd += string.Format("{0}", work.UpDateCopyVersion);
+
+            strcmd += ", STR_TO_DATE(DATE_FORMAT(sysdate,'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+            strcmd += ", STR_TO_DATE(DATE_FORMAT(sysdate,'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+            strcmd = strcmd + ")";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region システム起動確認データ複数件追加
+        /// <summary>
+        /// システム起動確認データ複数件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<SystemExecute> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (SystemExecute work in data)
+                {
+                    strcmd = CreateInsertSQL(work);
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ１件追加
+        /// <summary>
+        /// システム起動確認データ１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(SystemExecute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = CreateInsertSQL(data);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ更新
+        /// <summary>
+        /// システム起動確認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">システム起動確認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SystemExecute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SystemExecute";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PrimaryCode = {0}", data.PrimaryCode);
+                strcmd += string.Format(", TargetDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.TargetDate.ToShortDateString());
+                strcmd += string.Format(", SystemVersion = {0}", data.SystemVersion);
+                strcmd += string.Format(", UpDateCopyVersion = {0}", data.UpDateCopyVersion);
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(sysdate,'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ削除
+        /// <summary>
+        /// システム起動確認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">システム起動確認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SystemExecute", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="PrimaryCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PrimaryCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SystemExecute";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PrimaryCode:
+                        strcmd += string.Format(" PrimaryCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TargetDate:
+                        strcmd += string.Format(" TargetDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.SystemVersion:
+                        strcmd += string.Format(" SystemVersion = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.UpDateCopyVersion:
+                        strcmd += string.Format(" UpDateCopyVersion = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PrimaryCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SystemExecute wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PrimaryCode = int.Parse(objwrk[(int)TableColumn.PrimaryCode].ToString());
+                wrk.TargetDate = DateTime.Parse(objwrk[(int)TableColumn.TargetDate].ToString());
+                wrk.SystemVersion = int.Parse(objwrk[(int)TableColumn.SystemVersion].ToString());
+                wrk.UpDateCopyVersion = int.Parse(objwrk[(int)TableColumn.UpDateCopyVersion].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="UnitKey"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PrimaryCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where PrimaryCode = {0}", PrimaryCode.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOTranceportDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOTranceportDailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOTranceportDailyData.cs	(revision 84)
@@ -0,0 +1,511 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 出勤日報データＤＢアクセス
+    /// </summary>
+    public class IOTranceportDailyData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            AttendanceDate,
+            /// <summary>
+            /// 当日出発キロ数
+            /// </summary>
+            StartDistance,
+            /// <summary>
+            /// 当日終了キロ数
+            /// </summary>
+            ComplateDistance,
+            /// <summary>
+            /// 当日合計キロ数
+            /// </summary>
+            TotalDistance,
+            /// <summary>
+            /// 事務所出勤フラグ
+            /// </summary>
+            OfficeGoFlg,
+            /// <summary>
+            /// 事務所帰宅フラグ
+            /// </summary>
+            OfficeOutFlg,
+            /// <summary>
+            /// 有料通勤出勤フラグ
+            /// </summary>
+            TrancePayGoFlg,
+            /// <summary>
+            /// 有料通勤帰宅フラグ
+            /// </summary>
+            TrancePayOutFlg,
+            /// <summary>
+            /// 資材置場フラグ
+            /// </summary>
+            WareHouseFlg,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOTranceportDailyData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += ", DATE_FORMAT(AttendanceDate, '%Y/%m/%d')";            // 日報作成日
+            strcmd += ", StartDistance";                                    // 当日出発キロ数
+            strcmd += ", ComplateDistance";                                 // 当日終了キロ数
+            strcmd += ", TotalDistance";                                    // 当日合計キロ数
+            strcmd += ", OfficeGoFlg";                                      // 事務所出勤フラグ
+            strcmd += ", OfficeOutFlg";                                     // 事務所帰宅フラグ
+            strcmd += ", TrancePayGoFlg";                                   // 有料通勤出勤フラグ
+            strcmd += ", TrancePayOutFlg";                                  // 有料通勤帰宅フラグ
+            strcmd += ", WareHouseFlg";                                     // 資材置場フラグ
+            strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";      // 更新年月日
+            strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";     // 登録年月日
+            strcmd += " FROM TranceportDailyData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<TranceportDailyData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    TranceportDailyData work = new TranceportDailyData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref TranceportDailyData data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(TranceportDailyData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO TranceportDailyData";
+                strcmd += "  (PersonCode";          // 担当者コード
+                strcmd += ", AttendanceDate";       // 日報作成日
+                strcmd += ", StartDistance";        // 当日出発キロ数
+                strcmd += ", ComplateDistance";     // 当日終了キロ数
+                strcmd += ", TotalDistance";        // 当日合計キロ数
+                strcmd += ", OfficeGoFlg";          // 事務所出勤フラグ
+                strcmd += ", OfficeOutFlg";         // 事務所帰宅フラグ
+                strcmd += ", TrancePayGoFlg";       // 有料通勤出勤フラグ
+                strcmd += ", TrancePayOutFlg";      // 有料通勤帰宅フラグ
+                strcmd += ", WareHouseFlg";         // 資材置場フラグ
+                strcmd += ", EntryDate";            // 登録年月日
+                strcmd += ", UpdateDate)";          // 更新年月日
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.AttendanceDate.ToShortDateString()); // 日報作成日
+
+                strcmd += string.Format(", {0}", work.StartDistance);                   // 当日出発キロ数
+                strcmd += string.Format(", {0}", work.ComplateDistance);                // 当日終了キロ数
+                strcmd += string.Format(", {0}", work.TotalDistance);                   // 当日合計キロ数
+                strcmd += string.Format(", {0}", work.OfficeGoFlg);                     // 事務所出勤フラグ
+                strcmd += string.Format(", {0}", work.OfficeOutFlg);                    // 事務所帰宅フラグ
+                strcmd += string.Format(", {0}", work.TrancePayGoFlg);                  // 有料通勤出勤フラグ
+                strcmd += string.Format(", {0}", work.TrancePayOutFlg);                 // 有料通勤帰宅フラグ
+                strcmd += string.Format(", {0}", work.WareHouseFlg);                    // 資材置場フラグ
+
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<TranceportDailyData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (TranceportDailyData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, TranceportDailyData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE TranceportDailyData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",AttendanceDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.AttendanceDate.ToShortDateString());             // 日報作成日
+
+                strcmd += string.Format(",StartDistance = {0} ", data.StartDistance);           // 当日出発キロ数
+                strcmd += string.Format(",ComplateDistance = {0} ", data.ComplateDistance);     // 当日終了キロ数
+                strcmd += string.Format(",TotalDistance = {0} ", data.TotalDistance);           // 当日合計キロ数
+                strcmd += string.Format(",OfficeGoFlg = {0} ", data.OfficeGoFlg);               // 事務所出勤フラグ
+                strcmd += string.Format(",OfficeOutFlg = {0} ", data.OfficeOutFlg);             // 事務所帰宅フラグ
+                strcmd += string.Format(",TrancePayGoFlg = {0} ", data.TrancePayGoFlg);         // 有料通勤出勤フラグ
+                strcmd += string.Format(",TrancePayOutFlg = {0} ", data.TrancePayOutFlg);       // 有料通勤帰宅フラグ
+                strcmd += string.Format(",WareHouseFlg = {0} ", data.WareHouseFlg);             // 資材置場フラグ
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM TranceportDailyData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime AttendanceDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE TranceportDailyData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.AttendanceDate:
+                        strcmd += string.Format(" AttendanceDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+
+                    case (int)TableColumn.StartDistance:
+                        strcmd += string.Format(" StartDistance = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.ComplateDistance:
+                        strcmd += string.Format(" ComplateDistance = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TotalDistance:
+                        strcmd += string.Format(" TotalDistance = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.OfficeGoFlg:
+                        strcmd += string.Format(" OfficeGoFlg = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.OfficeOutFlg:
+                        strcmd += string.Format(" OfficeOutFlg = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TrancePayGoFlg:
+                        strcmd += string.Format(" TrancePayGoFlg = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TrancePayOutFlg:
+                        strcmd += string.Format(" TrancePayOutFlg = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.WareHouseFlg:
+                        strcmd += string.Format(" WareHouseFlg = {0}", (int)value);
+                        break;
+                }
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%s'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += CreatePrimarykeyString(PersonCode, AttendanceDate, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref TranceportDailyData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.AttendanceDate = DateTime.Parse(objwrk[(int)TableColumn.AttendanceDate].ToString());     // 日報作成日
+
+                wrk.StartDistance = double.Parse(objwrk[(int)TableColumn.StartDistance].ToString());         // 当日出発キロ数
+                wrk.ComplateDistance = double.Parse(objwrk[(int)TableColumn.ComplateDistance].ToString());   // 当日終了キロ数
+                wrk.TotalDistance = double.Parse(objwrk[(int)TableColumn.TotalDistance].ToString());         // 当日合計キロ数
+                wrk.OfficeGoFlg = int.Parse(objwrk[(int)TableColumn.OfficeGoFlg].ToString());                // 事務所出勤フラグ
+                wrk.OfficeOutFlg = int.Parse(objwrk[(int)TableColumn.OfficeOutFlg].ToString());              // 事務所帰宅フラグ
+                wrk.TrancePayGoFlg = int.Parse(objwrk[(int)TableColumn.TrancePayGoFlg].ToString());          // 有料通勤出勤フラグ
+                wrk.TrancePayOutFlg = int.Parse(objwrk[(int)TableColumn.TrancePayOutFlg].ToString());        // 有料通勤帰宅フラグ
+                wrk.WareHouseFlg = int.Parse(objwrk[(int)TableColumn.WareHouseFlg].ToString());              // 資材置場フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime AttendanceDate, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (AttendanceDate != DateTime.MinValue)
+                    strWork += string.Format(" AND AttendanceDate = STR_TO_DATE('{0}','%Y/%m/%d')", AttendanceDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT IFNULL(MAX(SeqNo), 0) FROM TranceportDailyData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOVehicleScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOVehicleScheduleData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOVehicleScheduleData.cs	(revision 84)
@@ -0,0 +1,367 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.MySQLDB.MySql;
+using ProcessManagement.MySQLDB.Core;
+using ProcessManagement.MySQLDB.IOAccess;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.MySQLDB.IOAccess
+{
+    /// <summary>
+    /// 車両予約アクセスクラス
+    /// </summary>
+    public class IOVehicleScheduleData : MySqlProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            TargetDate = 0,
+            VehicleCode,
+            MorningAfternoon,
+            PersonCode,
+            TargetYear,
+            TargetMonth,
+            TargetDay,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOVehicleScheduleData()
+            : base(DBCommonForMySQL.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 行動予定検索
+        /// <summary>
+        /// 行動予定検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<VehicleScheduleData> data, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（DateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " DATE_FORMAT(TargetDate, '%Y/%m/%d')";
+                strcmd += " ,VehicleCode";
+                strcmd += " ,MorningAfternoon";
+                strcmd += " ,PersonCode";
+                strcmd += " ,TargetYear";
+                strcmd += " ,TargetMonth";
+                strcmd += " ,TargetDay";
+                strcmd += " ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                strcmd += " FROM VehicleScheduleData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    VehicleScheduleData work = new VehicleScheduleData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 行動予定複数追加
+        /// <summary>
+        /// 行動予定複数追加
+        /// </summary>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<VehicleScheduleData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (VehicleScheduleData work in data)
+                {
+                    OneRecInsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定１件追加
+        /// <summary>
+        /// 行動予定１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool OneRecInsertAction(VehicleScheduleData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO VehicleScheduleData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" STR_TO_DATE('{0}','%Y/%m/%d')", data.TargetDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", data.VehicleCode.ToString());
+                    strcmd += string.Format(", {0}", data.MorningAfternoon.ToString());
+                    strcmd += string.Format(", {0}", data.PersonCode.ToString());
+                    strcmd += string.Format(", {0}", data.TargetYear.ToString());
+                    strcmd += string.Format(", {0}", data.TargetMonth.ToString());
+                    strcmd += string.Format(", {0}", data.TargetDay.ToString());
+
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd += ", STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定更新
+        /// <summary>
+        /// 行動予定更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, VehicleScheduleData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE VehicleScheduleData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" TargetDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.TargetDate.ToShortDateString());
+                strcmd += string.Format(",VehicleCode = {0}", data.VehicleCode.ToString());
+                strcmd += string.Format(",MorningAfternoon = {0}", data.MorningAfternoon.ToString());
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",TargetYear = {0}", data.TargetYear.ToString());
+                strcmd += string.Format(",TargetMonth = {0}", data.TargetMonth.ToString());
+                strcmd += string.Format(",TargetDay = {0}", data.TargetDay.ToString());
+
+                strcmd += ", UpdateDate = STR_TO_DATE(DATE_FORMAT(NOW(),'%Y/%m/%d %H:%i:%'),'%Y/%m/%d %H:%i:%s')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定削除
+        /// <summary>
+        /// 行動予定削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM VehicleScheduleData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref VehicleScheduleData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TargetDate = DateTime.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                wrk.VehicleCode = int.Parse(objwrk[(int)NameColumn.VehicleCode].ToString());
+                wrk.MorningAfternoon = int.Parse(objwrk[(int)NameColumn.MorningAfternoon].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                wrk.TargetYear = int.Parse(objwrk[(int)NameColumn.TargetYear].ToString());
+                wrk.TargetMonth = int.Parse(objwrk[(int)NameColumn.TargetMonth].ToString());
+                wrk.TargetDay = int.Parse(objwrk[(int)NameColumn.TargetDay].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref VehicleScheduleData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TargetDate = DateTime.MinValue;
+                wrk.VehicleCode = 0;
+                wrk.MorningAfternoon = 0;
+                wrk.PersonCode = 0;
+                wrk.TargetYear = 0;
+                wrk.TargetMonth = 0;
+                wrk.TargetDay = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ＭｙＳＱＬエラー：{0}：{1}", CommonMotions.GetMethodName(), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(DateTime TargetDate, int VehicleCode = 0, int MorningAfternoon = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TargetDate = STR_TO_DATE('{0}','%Y/%m/%d')", TargetDate.ToShortDateString());
+                if (VehicleCode != 0)
+                    strWork += string.Format(" And VehicleCode = {0}", VehicleCode.ToString());
+                if (MorningAfternoon != 0)
+                    strWork += string.Format(" And MorningAfternoon = {0}", MorningAfternoon.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region サブキー検索の文字列を返す
+        /// <summary>
+        /// サブキー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int TargetYear, int TargetMonth = 0, int TargetDay = 0, int PersonCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TargetYear = {0}", TargetYear.ToString());
+                if (TargetMonth != 0)
+                    strWork += string.Format(" And TargetMonth = {0}", TargetMonth.ToString());
+                if (TargetDay != 0)
+                    strWork += string.Format(" And TargetDay = {0}", TargetDay.ToString());
+                if (PersonCode != 0)
+                    strWork += string.Format(" And PersonCode = {0}", PersonCode.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/MySQLDB/MySql/MySqlProcess.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/MySql/MySqlProcess.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQLDB/MySql/MySqlProcess.cs	(revision 84)
@@ -0,0 +1,48 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Collections;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+using MySql.Data.MySqlClient;
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.MySQLDB.Core;
+
+namespace ProcessManagement.MySQLDB.MySql
+{
+    /// <summary>
+    /// MySql使用共通ラッパークラス
+    /// </summary>
+    public class MySqlProcess : ABaseDBProcessForMySQL
+    {
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ。
+        /// </summary>
+        /// <param name="connectionString">接続文字列</param>
+        public MySqlProcess(String connectionString)
+            : base(connectionString)
+        {
+        }
+        #endregion
+
+        #region メソッド
+        /// <summary>
+        /// Connectionを取得。
+        /// </summary>
+        /// <param name="connectionString"></param>
+        /// <returns>Connection</returns>
+        public override IDbConnection getConnection(String connectionString)
+        {
+            return new MySqlConnection(connectionString);
+        }
+
+        #endregion 
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/Core/ABaseDBProcessForOracle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/Core/ABaseDBProcessForOracle.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/Core/ABaseDBProcessForOracle.cs	(revision 84)
@@ -0,0 +1,425 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Collections;
+/// Oracle
+using Oracle.ManagedDataAccess.Types;
+using Oracle.ManagedDataAccess.Client;
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.Core
+{
+    /// <summary>
+    /// データベース共通抽象クラス
+    /// </summary>
+    public abstract class ABaseDBProcessForOracle : IBaseDBForOracle
+    {
+        #region ログ定義
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region メンバ変数
+        /// <summary>
+        /// DB接続
+        /// </summary>
+        protected IDbConnection m_connection = null;
+        /// <summary>
+        /// 接続有無(true:接続中)
+        /// </summary>
+        protected bool m_isConnect = false;
+        /// <summary>
+        /// トランザクション
+        /// </summary>
+        protected IDbTransaction m_transaction = null;
+        /// <summary>
+        /// 接続文字列
+        /// </summary>
+        protected String m_connectionString = null;
+
+        #endregion
+
+        #region コンストラクタ
+
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="connectionString">接続文字列</param>
+        public ABaseDBProcessForOracle(String connectionString)
+        {
+            //接続文字列セット
+            this.m_connectionString = connectionString;
+        }
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        /// DCコネクション
+        /// </summary>
+        public IDbConnection DBConnection
+        {
+            get { return m_connection; }
+            set { m_connection = value; }
+        }
+        #endregion
+
+        #region プライベートメソッド
+        /// <summary>
+        /// 接続の確立判断。
+        /// </summary>
+        /// <returns>true：接続確立 false：接続無</returns>
+        private bool isConnect()
+        {
+            //接続されていない場合
+            if (this.m_connection == null || !this.m_isConnect) return false;
+
+            return true;
+        }
+
+        /// <summary>
+        /// パラメータの値を取得する
+        /// </summary>
+        /// <param name="value">値</param>
+        /// <returns>パラメータの値</returns>
+        protected object getParamValue(object value)
+        {
+            if (value != null) return value;
+
+            return DBNull.Value;
+        }
+        #endregion
+        
+        #region コネクション接続
+        /// <summary>
+        /// Connectionを取得。
+        /// </summary>
+        /// <param name="connectionString"></param>
+        /// <returns>Connectionのオブジェクト</returns>
+        public virtual IDbConnection getConnection(String connectionString)
+        {
+            return new OracleConnection(connectionString);
+        }
+
+        #endregion
+
+        #region connect
+        /// <summary>
+        /// コネクト処理。
+        /// </summary>
+        public void connect()
+        {
+            try
+            {
+                //接続有無＝無に設定
+                this.m_isConnect = false;
+
+                //接続済みの場合
+                if (this.m_connection != null)
+                {
+                    //接続をClose
+                    this.m_connection.Close();
+                    //初期化
+                    this.m_connection = null;
+                }
+
+                //Connectionを取得
+                this.m_connection = getConnection(m_connectionString);
+
+                //Open
+                this.m_connection.Open();
+                //接続有無＝ありに設定
+                this.m_isConnect = true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, m_connectionString);
+            }
+        }
+        #endregion
+
+        #region close
+        /// <summary>
+        /// クローズ処理。
+        /// </summary>
+        /// <returns>true：切断成功 false：接続無</returns>
+        public bool close()
+        {
+            try
+            {
+                //接続が確立されていない場合は処理なし
+                if (!isConnect()) return false;
+
+                //トランザクションを破棄する
+                if (this.m_transaction != null)
+                {
+                    this.m_transaction.Dispose();
+                    this.m_transaction = null;
+                }
+
+                //接続をClose＆破棄する
+                if (this.m_connection != null)
+                {
+                    this.m_connection.Close();
+                    this.m_connection.Dispose();
+                    this.m_connection = null;
+                }
+
+                //接続有無なしに設定
+                this.m_isConnect = false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, m_connectionString);
+                return false;
+            }
+        }
+        #endregion
+
+        #region begintran
+        /// <summary>
+        /// トランザクション開始。
+        /// </summary>
+        /// <returns>true：開始成功 false：接続無</returns>
+        public bool beginTran()
+        {
+            try
+            {
+                //接続が確立されていない場合、処理なし
+                if (!isConnect()) return false;
+
+                //トランザクション開始
+                this.m_transaction = m_connection.BeginTransaction();
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, m_connectionString);
+                return false;
+            }
+        }
+        #endregion
+
+        #region commit
+        /// <summary>
+        /// コミット。
+        /// </summary>
+        /// <returns>true：Commit成功 false：トランザクション無・接続無</returns>
+        public bool commit()
+        {
+            try
+            {
+                //接続が確立されていない場合は処理なし
+                if (!isConnect()) return false;
+
+                //トランザクションが開始されていない場合、処理なし
+                if (this.m_transaction == null) return false;
+
+                //コミット
+                m_transaction.Commit();
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                //ログ出力
+                logger.ErrorFormat("{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                //トランザクションを破棄する
+                if (this.m_transaction != null)
+                {
+                    this.m_transaction.Dispose();
+                    this.m_transaction = null;
+                }
+            }
+        }
+        #endregion
+
+        #region rollback
+        /// <summary>
+        /// ロールバック。
+        /// </summary>
+        /// <returns>true：Rollback成功 false：トランザクション無・接続無</returns>
+        public bool rollback()
+        {
+            try
+            {
+                //接続が確立されていない場合は処理なし
+                if (!isConnect()) return false;
+
+                //トランザクションが開始されていない場合は処理なし
+                if (this.m_transaction == null) return false;
+
+                //ロールバック
+                this.m_transaction.Rollback();
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                //ログ出力
+                logger.ErrorFormat("{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                //トランザクションを破棄する
+                if (this.m_transaction != null)
+                {
+                    this.m_transaction.Dispose();
+                    this.m_transaction = null;
+                }
+            }
+        }
+        #endregion
+
+        #region ExecuteReader
+        /// <summary>
+        /// オラクルフリーSQLリーダー
+        /// </summary>
+        /// <param name="strSql">検索SQL</param>
+        /// <param name="arData">取得データ</param>
+        /// <returns>成功時:true 失敗時:false</returns>
+        public bool ExecuteReader(string strSql, ref ArrayList arData, bool bconnect = true)
+        {
+            //Oracle インターフェース
+            OracleCommand oracmd = new OracleCommand();
+            OracleDataReader orareader = null;
+            try
+            {
+                // 接続
+                if (bconnect) this.connect();
+
+                // OracleCommand・OracleDataReader作成
+                oracmd.Connection = (OracleConnection)m_connection;
+
+                // SQLセット
+                oracmd.CommandText = strSql;
+
+                orareader = oracmd.ExecuteReader();
+
+                int iFeildcnt = oracmd.ExecuteReader().FieldCount;
+                // 読込
+                while (orareader.Read())
+                {
+                    object[] objwrk = new object[iFeildcnt];
+
+                    orareader.GetOracleValues(objwrk);
+
+                    // null抑制
+                    int i = 0;
+                    foreach (object www in objwrk)
+                    {
+                        objwrk[i++] = www.ToString().Equals("null") ? "" : www;
+                    }
+
+                    arData.Add(objwrk);
+
+                }
+                return true;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), oraex.Message, strSql);
+                return false;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strSql);
+                return false;
+            }
+            finally
+            {
+                if (orareader != null)
+                {
+                    orareader.Close();
+                    orareader.Dispose();
+                    orareader = null;
+                }
+                oracmd.Dispose();
+                oracmd = null;
+
+                // 切断
+                if (bconnect) this.close();
+            }
+        }
+        #endregion
+
+        #region ExecuteNonQuery
+        /// <summary>
+        /// オラクルフリーExecuteNonQuery
+        /// </summary>
+        /// <param name="strSql">実行SQL</param>
+        /// <returns>成功時:true 失敗時:false</returns>
+        public bool ExecuteNonQuery(string strSql, bool bconnect = true)
+        {
+            //Oracle インターフェース
+            OracleCommand oracmd = new OracleCommand();
+
+            try
+            {
+                // 接続
+                if (bconnect) this.connect();
+
+                // コネクションセット
+                oracmd.Connection = (OracleConnection)m_connection;
+
+                // トランザクション
+                if (bconnect)
+                {
+                    if (!this.beginTran()) return false;
+                }
+
+                // SQLセット
+                oracmd.CommandText = strSql;
+                //実行
+                if (oracmd.ExecuteNonQuery() == 0)
+                {
+                    // エラー時rollbackして処理終了
+                    if (bconnect) this.rollback();
+                    return false;
+                }
+                // 成功時Commit
+                if (bconnect)
+                {
+                    if (!this.commit()) return false;
+                }
+
+                return true;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), oraex.Message, strSql);
+                return false;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strSql);
+                return false;
+            }
+            finally
+            {
+                // 切断
+                if (bconnect) this.close();
+
+                oracmd.Dispose();
+                oracmd = null;
+            }
+        }
+        #endregion
+    }
+}
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert/OracleDB/Core/DBCommonForOracle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/Core/DBCommonForOracle.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/Core/DBCommonForOracle.cs	(revision 84)
@@ -0,0 +1,72 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+using log4net;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.Core
+{
+    /// <summary>
+    /// データベース共通接続クラス
+    /// </summary>
+    public class DBCommonForOracle
+    {
+        #region 定義部
+        /// <summary>
+        /// データベース接続共通クラスインスタンスハンドル
+        /// </summary>
+        private static DBCommonForOracle m_instance = new DBCommonForOracle();
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 変数
+        /// <summary>
+        /// DB接続情報
+        /// </summary>
+        private string m_dbconnectString = string.Empty;
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// 何もしない
+        /// </summary>
+        #endregion
+
+        #region プロパティ
+        /// <summary>
+        ///インスタンス
+        /// </summary>
+        public static DBCommonForOracle Instance
+        {
+            get { return m_instance; }
+        }
+        /// <summary>
+        /// 接続文字列取得
+        /// </summary>
+        public string DBConnectString
+        {
+            get { return m_dbconnectString; }
+        }
+        #endregion
+
+        #region メソッド
+        /// <summary>
+        /// 初期化メソッド
+        /// </summary>
+        public void Initialize()
+        {
+            // DB接続情報作成
+            m_dbconnectString = string.Format("User Id={0};", CommonOracleDef.DBUser);
+            m_dbconnectString += string.Format("Password={0};", CommonOracleDef.Password);
+            m_dbconnectString += string.Format("Data Source={0};", CommonOracleDef.DBDataSource);
+            //m_dbconnectString += "Pooling=false";
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/Core/IBaseDBForOracle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/Core/IBaseDBForOracle.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/Core/IBaseDBForOracle.cs	(revision 84)
@@ -0,0 +1,40 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.OracleDB.Core
+{
+    /// <summary>
+    /// データベース共通インターフェースクラス
+    /// </summary>
+    public interface IBaseDBForOracle
+    {
+        /// <summary>
+        /// コネクト処理。
+        /// </summary>
+        void connect();
+
+        /// <summary>
+        /// クローズ処理。
+        /// </summary>
+        bool close();
+
+        /// <summary>
+        /// トランザクション開始。
+        /// </summary>
+        bool beginTran();
+
+        /// <summary>
+        /// コミット。
+        /// </summary>
+        bool commit();
+
+        /// <summary>
+        /// ロールバック。
+        /// </summary>
+        bool rollback();
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/DBCommonMotions.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/DBCommonMotions.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/DBCommonMotions.cs	(revision 84)
@@ -0,0 +1,214 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// ＤＢアクセス共通処理
+    /// </summary>
+    public class DBCommonMotions : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public DBCommonMotions()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 指定テーブルのカラムの属性桁数を取得する
+        /// <summary>
+        /// 指定テーブルのカラムの属性桁数を取得する
+        /// </summary>
+        public int GetTableColumnLength(string TabelName, string ColumnName, bool bConnect = true)
+        {
+            try
+            {
+                int RetLength = 0;
+                ArrayList arData = new ArrayList();
+
+                string strcmd = "SELECT DATA_TYPE,";
+                strcmd += " CASE WHEN DATA_TYPE = 'NUMBER' THEN DATA_PRECISION";
+                strcmd += " ELSE DATA_LENGTH END DATA_LENGTH,";
+                strcmd += " COLUMN_NAME";
+                strcmd += " FROM USER_TAB_COLUMNS";
+                strcmd += string.Format(" WHERE TABLE_NAME = '{0}'", TabelName.ToUpper());
+                strcmd += string.Format(" AND COLUMN_NAME = '{0}'", ColumnName.ToUpper());
+
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return 0;
+
+                object[] objWrk = (object[])arData[0];
+                RetLength = CommonMotions.cnvInt(objWrk[1]);
+
+                return RetLength;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 工事基本情報一括レコードコピー処理（コピータイプＡ）
+        /// <summary>
+        /// 工事基本情報レコードコピー処理（コピータイプＡ）
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyTypeA(int FromCode, int ToCode, bool bConnect = true)
+        {
+            IOConstructionBaseInfo DB1 = new IOConstructionBaseInfo();
+            IOConstructionBaseInfoDetail DB2 = new IOConstructionBaseInfoDetail();
+            try
+            {
+                if (!DB1.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+                if (!DB2.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                DB1.close(); DB1 = null;
+                DB2.close(); DB2 = null;
+            }
+        }
+        #endregion
+
+        #region 工事基本情報一括レコード削除処理（削除タイプＡ）
+        /// <summary>
+        /// 工事基本情報レコード削除処理（削除タイプＡ）
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordDeleteTypeA(int TergetCode, bool bConnect = true)
+        {
+            IOConstructionBaseInfo DB1 = new IOConstructionBaseInfo();
+            IOConstructionBaseInfoDetail DB2 = new IOConstructionBaseInfoDetail();
+            try
+            {
+                string strDelete = DB1.CreatePrimarykeyString(TergetCode);
+                if (!DB1.DeleteAction(strDelete, bConnect)) return false;
+                if (!DB2.DeleteAction(strDelete, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                DB1.close(); DB1 = null;
+                DB2.close(); DB2 = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積情報一括レコードコピー処理（コピータイプＢ）
+        /// <summary>
+        /// 積算見積情報レコードコピー処理（コピータイプＢ
+        /// ）
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyTypeB(int FromCode, int ToCode, bool bConnect = true)
+        {
+            IOEstimateData DB1 = new IOEstimateData();
+            IOEstimateDataBody DB2 = new IOEstimateDataBody();
+            IOEstimateDataDetail DB3 = new IOEstimateDataDetail();
+            try
+            {
+                if (!DB1.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+                if (!DB2.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+                if (!DB3.RecordCopyAction(FromCode, ToCode, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                DB1.close(); DB1 = null;
+                DB2.close(); DB2 = null;
+                DB3.close(); DB3 = null;
+            }
+        }
+        #endregion
+
+        #region 積算見積情報一括レコード削除処理（削除タイプＢ）
+        /// <summary>
+        /// 積算見積情報レコード削除処理（削除タイプＢ
+        /// ）
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordDeleteTypeB(int TergetCode, bool bConnect = true)
+        {
+            IOEstimateData DB1 = new IOEstimateData();
+            IOEstimateDataBody DB2 = new IOEstimateDataBody();
+            IOEstimateDataDetail DB3 = new IOEstimateDataDetail();
+            try
+            {
+                string strDelete = DB1.CreatePrimarykeyString(TergetCode);
+                if (!DB1.DeleteAction(strDelete, bConnect)) return false;
+                if (!DB2.DeleteAction(strDelete, bConnect)) return false;
+                if (!DB3.DeleteAction(strDelete, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+                return false;
+            }
+            finally
+            {
+                DB1.close(); DB1 = null;
+                DB2.close(); DB2 = null;
+                DB3.close(); DB3 = null;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOActionScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOActionScheduleData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOActionScheduleData.cs	(revision 84)
@@ -0,0 +1,358 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 行動予定アクセスクラス
+    /// </summary>
+    public class IOActionScheduleData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            TargetDate = 0,
+            PersonCode,
+            ActionSchedule,
+            TargetYear,
+            TargetMonth,
+            TargetDay,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOActionScheduleData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 行動予定検索
+        /// <summary>
+        /// 行動予定検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ActionScheduleData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " TO_CHAR(TargetDate, 'YYYY/MM/DD')";
+                strcmd += " ,PersonCode";
+                strcmd += " ,ActionSchedule";
+                strcmd += " ,TargetYear";
+                strcmd += " ,TargetMonth";
+                strcmd += " ,TargetDay";
+                strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM ActionScheduleData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ActionScheduleData work = new ActionScheduleData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 行動予定複数追加
+        /// <summary>
+        /// 行動予定複数追加
+        /// </summary>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ActionScheduleData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ActionScheduleData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定１件追加
+        /// <summary>
+        /// 行動予定１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(ActionScheduleData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ActionScheduleData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" TO_DATE('{0}','YYYY/MM/DD')", data.TargetDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", data.PersonCode.ToString());
+                    strcmd += string.Format(", '{0}'", data.ActionSchedule);
+                    strcmd += string.Format(", {0}", data.TargetYear.ToString());
+                    strcmd += string.Format(", {0}", data.TargetMonth.ToString());
+                    strcmd += string.Format(", {0}", data.TargetDay.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定更新
+        /// <summary>
+        /// 行動予定更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ActionScheduleData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ActionScheduleData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" TargetDate = TO_DATE('{0}','YYYY/MM/DD')", data.TargetDate.ToShortDateString());
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",ActionSchedule = '{0}'", data.ActionSchedule);
+                strcmd += string.Format(",TargetYear = {0}", data.TargetYear.ToString());
+                strcmd += string.Format(",TargetMonth = {0}", data.TargetMonth.ToString());
+                strcmd += string.Format(",TargetDay = {0}", data.TargetDay.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定削除
+        /// <summary>
+        /// 行動予定削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ActionScheduleData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ActionScheduleData wrk)
+        {
+            try
+            {
+                // データ取得
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.TargetDate])) wrk.TargetDate = DateTime.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.PersonCode])) wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.ActionSchedule])) wrk.ActionSchedule = objwrk[(int)NameColumn.ActionSchedule].ToString();
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.TargetYear])) wrk.TargetYear = int.Parse(objwrk[(int)NameColumn.TargetYear].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.TargetMonth])) wrk.TargetMonth = int.Parse(objwrk[(int)NameColumn.TargetMonth].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.TargetDay])) wrk.TargetDay = int.Parse(objwrk[(int)NameColumn.TargetDay].ToString());
+
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.ENTRYDATE])) wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                if (!CommonMotions.chkCellBlank(objwrk[(int)NameColumn.UPDATEDATE])) wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref ActionScheduleData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TargetDate = DateTime.MinValue;
+                wrk.PersonCode = 0;
+                wrk.ActionSchedule = string.Empty;
+                wrk.TargetYear = 0;
+                wrk.TargetMonth = 0;
+                wrk.TargetDay = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(DateTime TargetDate, int PersonCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TargetDate = TO_DATE('{0}','YYYY/MM/DD')", TargetDate.ToShortDateString());
+                if(PersonCode != 0)
+                    strWork += string.Format(" And PersonCode = {0}", PersonCode.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region サブキー検索の文字列を返す
+        /// <summary>
+        /// サブキー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int TargetYear, int TargetMonth = 0, int TargetDay = 0, int PersonCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TargetYear = {0}", TargetYear.ToString());
+                if (TargetMonth != 0)
+                    strWork += string.Format(" And TargetMonth = {0}", TargetMonth.ToString());
+                if (TargetDay != 0)
+                    strWork += string.Format(" And TargetDay = {0}", TargetDay.ToString());
+                if (PersonCode != 0)
+                    strWork += string.Format(" And PersonCode = {0}", PersonCode.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceDailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceDailyData.cs	(revision 84)
@@ -0,0 +1,459 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 出勤日報データＤＢアクセス
+    /// </summary>
+    public class IOAttendanceDailyData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            AttendanceDate,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 行動実績
+            /// </summary>
+            ActionResult,
+            /// <summary>
+            /// 残業時間
+            /// </summary>
+            OvertimeHours,
+            /// <summary>
+            /// コメント
+            /// </summary>
+            WorkingComment,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOAttendanceDailyData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(AttendanceDate, 'YYYY/MM/DD')";            // 日報作成日
+            strcmd += " ,SeqNo";                                            // 明細行番号
+            strcmd += " ,ActionResult";                                     // 行動実績
+            strcmd += " ,OvertimeHours";                                    // 残業時間
+            strcmd += " ,WorkingComment";                                   // コメント
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM AttendanceDailyData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<AttendanceDailyData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    AttendanceDailyData work = new AttendanceDailyData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref AttendanceDailyData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(AttendanceDailyData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO AttendanceDailyData";
+                strcmd += "  (PersonCode";      // 担当者コード
+                strcmd += " ,AttendanceDate";   // 日報作成日
+                strcmd += " ,SeqNo";            // 明細行番号
+                strcmd += " ,ActionResult"; // 行動実績
+                strcmd += " ,OvertimeHours";    // 残業時間
+                strcmd += " ,WorkingComment";   // コメント
+                strcmd += " ,EntryDate";        // 登録年月日
+                strcmd += " ,UpdateDate)";      // 更新年月日
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.AttendanceDate.ToShortDateString()); // 日報作成日
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                strcmd += string.Format(",'{0}'", work.ActionResult);                   // 行動実績
+                strcmd += string.Format(", {0}", work.OvertimeHours);                   // 残業時間
+                strcmd += string.Format(",'{0}'", work.WorkingComment);                 // コメント
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<AttendanceDailyData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (AttendanceDailyData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, AttendanceDailyData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE AttendanceDailyData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.AttendanceDate.ToShortDateString());             // 日報作成日
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+                strcmd += string.Format(",ActionResult = '{0}'", data.ActionResult);            // 行動実績
+                strcmd += string.Format(",OvertimeHours = {0}", data.OvertimeHours);            // 残業時間
+                strcmd += string.Format(",WorkingComment = '{0}'", data.WorkingComment);        // コメント
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM AttendanceDailyData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ActionResult"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime AttendanceDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE AttendanceDailyData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.AttendanceDate:
+                        strcmd += string.Format(" AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.ActionResult:
+                        strcmd += string.Format(" ActionResult = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.OvertimeHours:
+                        strcmd += string.Format(" OvertimeHours = {0}", (double)value);
+                        break;
+                    case (int)TableColumn.WorkingComment:
+                        strcmd += string.Format(" WorkingComment = '{0}'", CommonMotions.cnvString(value));
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, AttendanceDate, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref AttendanceDailyData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.AttendanceDate = DateTime.Parse(objwrk[(int)TableColumn.AttendanceDate].ToString());     // 日報作成日
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // 明細行番号
+                wrk.ActionResult = objwrk[(int)TableColumn.ActionResult].ToString();                         // 行動実績
+                wrk.OvertimeHours = double.Parse(objwrk[(int)TableColumn.OvertimeHours].ToString());         // 残業時間
+                wrk.WorkingComment = objwrk[(int)TableColumn.WorkingComment].ToString();                     // 当日作業内容
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime AttendanceDate, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (AttendanceDate != DateTime.MinValue)
+                    strWork += string.Format(" AND AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')", AttendanceDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM AttendanceDailyData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceData.cs	(revision 84)
@@ -0,0 +1,429 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 出勤管理データＤＢアクセス
+    /// </summary>
+    public class IOAttendanceData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 出勤管理年月
+            /// </summary>
+            AttendanceMonth,
+            /// <summary>
+            /// 当月最終日
+            /// </summary>
+            LastDays,
+            /// <summary>
+            /// 出勤日数
+            /// </summary>
+            AttendDayCount,
+            /// <summary>
+            /// 残業時間数
+            /// </summary>
+            TotalOverTimes,
+            /// <summary>
+            ///  申請日
+            /// </summary>
+            OrderDate,
+            /// <summary>
+            /// 申請受付番号
+            /// </summary>
+            OrderNo,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOAttendanceData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(AttendanceMonth, 'YYYY/MM/DD')";           // 出勤管理年月
+            strcmd += " ,LastDays";                                         // 当月最終日
+            strcmd += " ,AttendDayCount";                                   // 出勤日数
+            strcmd += " ,TotalOverTimes";                                   // 残業時間数
+            strcmd += " ,OrderDate";                                        // 申請日
+            strcmd += " ,OrderNo";                                          // 申請受付番号
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM AttendanceData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<AttendanceData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    AttendanceData work = new AttendanceData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref AttendanceData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(AttendanceData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO AttendanceData";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.AttendanceMonth.ToShortDateString());// 日報作成日
+                strcmd += string.Format(", {0}", work.LastDays);                        // 当月最終日
+                strcmd += string.Format(", {0}", work.AttendDayCount);                  // 出勤日数
+                strcmd += string.Format(", {0}", work.TotalOverTimes);                  // 残業時間数
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.OrderDate.ToShortDateString());      // 申請日
+                strcmd += string.Format(", {0}", work.OrderNo);                         // 申請受付番号
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<AttendanceData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (AttendanceData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, AttendanceData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE AttendanceData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(" ,AttendanceMonth = TO_DATE('{0}','YYYY/MM/DD')", data.AttendanceMonth.ToShortDateString());   // 出勤管理年月
+                strcmd += string.Format(" ,LastDays =  {0} ", data.LastDays);                   // 当月最終日
+                strcmd += string.Format(" ,AttendDayCount =  {0} ", data.AttendDayCount);       // 出勤日数
+                strcmd += string.Format(" ,TotalOverTimes =  {0} ", data.TotalOverTimes);       // 残業時間数
+                strcmd += string.Format(" ,OrderDate = TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());   // 申請日
+                strcmd += string.Format(" ,OrderNo =  {0} ", data.OrderNo);                     // 申請受付番号
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM AttendanceData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime AttendanceMonth, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE AttendanceData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.AttendanceMonth:
+                        strcmd += string.Format(" AttendanceMonth = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.LastDays:
+                        strcmd += string.Format(" LastDays = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.AttendDayCount:
+                        strcmd += string.Format(" AttendDayCount = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TotalOverTimes:
+                        strcmd += string.Format(" TotalOverTimes = {0}", (double)value);
+                        break;
+                    case (int)TableColumn.OrderDate:
+                        strcmd += string.Format(" OrderDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", (int)value);
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, AttendanceMonth);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref AttendanceData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.AttendanceMonth = DateTime.Parse(objwrk[(int)TableColumn.AttendanceMonth].ToString());   // 出勤管理年月
+                wrk.LastDays = int.Parse(objwrk[(int)TableColumn.LastDays].ToString());                      // 当月最終日
+                wrk.AttendDayCount = int.Parse(objwrk[(int)TableColumn.AttendDayCount].ToString());          // 出勤日数
+                wrk.TotalOverTimes = double.Parse(objwrk[(int)TableColumn.TotalOverTimes].ToString());       // 残業時間数
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());               // 申請日
+                wrk.OrderNo = int.Parse(objwrk[(int)TableColumn.OrderNo].ToString());                        // 申請受付番号
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime AttendanceMonth)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (AttendanceMonth != DateTime.MinValue)
+                    strWork += string.Format(" AND AttendanceMonth = TO_DATE('{0}','YYYY/MM/DD')", AttendanceMonth.ToShortDateString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfo.cs	(revision 84)
@@ -0,0 +1,979 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事基本情報ＤＢアクセス
+    /// </summary>
+    public class IOConstructionBaseInfo : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事基本情報フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,
+            TyingFlg,
+            JoinFlg,
+            ConstructionYear,
+            ConstructionPeriod,
+            RequestedDate,
+            EstimatessubmitDeadLine,
+            EstimatessubmittedDate,
+            ProvisionAlorderDate,
+            OrderDate,
+            OrderStartingDate,
+            OrderCompletionDate,
+            PreparationStartDate,
+            ConstructionStartingDate,
+            ConstructionCompletionDate,
+            NonOrderDate,
+            OrdersDecisionPrice,
+            OrdersDecisionPriceInTax,
+            SalesPersonCode,
+            ConstructionPersonCode,
+            ConstrSubPersonCode,
+            ConstructionInstructor,
+            TransferConstruction,
+            TransferConstructionDate,
+            OrderersDivision,
+            OrderersCode,
+            EstimatesExpirationDate,
+            ConstructionPeriodStart,
+            ConstructionPeriodEnd,
+            ConstructionPeriodStart2,
+            ConstructionPeriodEnd2,
+            StartDate,
+            EndDate,
+            PurchaseOrderMailingDate,
+            PurchaseOrderReturnDate,
+            PurchaseOrderReturnCheckDate,
+            ConsumptionTaxFlg,
+            PrimecontractorFlg,
+            SalesCostFlg,
+            ConstructionStatusFlg,
+            ConstructionType,
+            EstimateType,
+            BillingStartDate,
+            BillingDate,
+            BillingSplitFlg,
+            BillingSendDate,
+            LedgerComplateDate,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionBaseInfo()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";
+            strcmd += ", TyingFlg";
+            strcmd += ", JoinFlg";
+            strcmd += ", ConstructionYear";
+            strcmd += ", ConstructionPeriod";
+            strcmd += ", TO_CHAR(RequestedDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(EstimatesSubmitDeadline, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(EstimatesSubmittedDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(ProvisionalOrderDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(OrderDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(OrderStartingDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(OrderCompletionDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(PreparationStartDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(ConstructionStartingDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(ConstructionCompletionDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(NonOrderDate, 'YYYY/MM/DD')";
+            strcmd += ", OrdersDecisionPrice";
+            strcmd += ", OrdersDecisionPriceInTax";
+            strcmd += ", SalesPersonCode";
+            strcmd += ", ConstructionPersonCode";
+            strcmd += ", ConstrSubPersonCode";
+            strcmd += ", ConstructionInstructor";
+            strcmd += ", TransferConstruction";
+            strcmd += ", TO_CHAR(TransferConstructionDate, 'YYYY/MM/DD')";
+            strcmd += ", OrderersDivision";
+            strcmd += ", OrderersCode";
+            strcmd += ", TO_CHAR(EstimatesExpirationDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(ConstructionPeriodStart, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(ConstructionPeriodEnd, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(ConstructionPeriodStart2, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(ConstructionPeriodEnd2, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(StartDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(EndDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(PurchaseOrderMailingDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(PurchaseOrderReturnDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(PurchaseOrderReturnCheckDate, 'YYYY/MM/DD')";
+            strcmd += ", ConsumptionTaxFlg";
+            strcmd += ", PrimeContractorFlg";
+            strcmd += ", SalesCostFlg";
+            strcmd += ", ConstructionStatusFlg";
+            strcmd += ", ConstructionType";
+            strcmd += ", EstimateType";
+            strcmd += ", TO_CHAR(BillingStartDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(BillingDate, 'YYYY/MM/DD')";
+            strcmd += ", BillingSplitFlg";
+            strcmd += ", TO_CHAR(BillingSendDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(LedgerComplateDate, 'YYYY/MM/DD')";
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionBaseInfo";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数データ読込み処理
+        public bool SelectAction(string AddSQLString, ref List<ConstructionBaseInfo> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionBaseInfo work = new ConstructionBaseInfo();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref ConstructionBaseInfo data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ追加処理（1件）
+        /// <summary>
+        /// 工事基本情報追加
+        /// </summary>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionBaseInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ConstructionBaseInfo";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.ConstructionCode);
+                strcmd += string.Format(", {0}", data.TyingFlg);
+                strcmd += string.Format(", {0}", data.JoinFlg);
+                strcmd += string.Format(", {0}", data.ConstructionYear);
+                strcmd += string.Format(", {0}", data.ConstructionPeriod);
+
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.RequestedDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.EstimatesSubmitDeadline.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.EstimatesSubmittedDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.ProvisionalOrderDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.OrderStartingDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.OrderCompletionDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.PreparationStartDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionStartingDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionCompletionDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.NonOrderDate.ToShortDateString());
+
+                strcmd += string.Format(", {0}", data.OrdersDecisionPrice);
+                strcmd += string.Format(", {0}", data.OrdersDecisionPriceInTax);
+
+                strcmd += string.Format(", {0}", data.SalesPersonCode);
+                strcmd += string.Format(", {0}", data.ConstructionPersonCode);
+                strcmd += string.Format(", {0}", data.ConstrSubPersonCode);
+                strcmd += string.Format(", {0}", data.ConstructionInstructor);
+
+                strcmd += string.Format(", {0}", data.TransferConstruction);
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.TransferConstructionDate.ToShortDateString());
+
+                strcmd += string.Format(", {0}", data.OrderersDivision);
+                strcmd += string.Format(", {0}", data.OrderersCode);
+
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.EstimatesExpirationDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionPeriodStart.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionPeriodEnd.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionPeriodStart2.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionPeriodEnd2.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.EndDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.PurchaseOrderMailingDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.PurchaseOrderReturnDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.PurchaseOrderReturnCheckDate.ToShortDateString());
+
+                strcmd += string.Format(", {0}", data.ConsumptionTaxFlg);
+                strcmd += string.Format(", {0}", data.PrimeContractorFlg);
+                strcmd += string.Format(", {0}", data.SalesCostFlg);
+                strcmd += string.Format(", {0}", data.ConstructionStatusFlg);
+
+                strcmd += string.Format(", {0}", data.ConstructionType);
+                strcmd += string.Format(", {0}", data.EstimateType);
+
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.BillingStartDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.BillingDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.BillingSplitFlg);
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.BillingSendDate.ToShortDateString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.LedgerComplateDate.ToShortDateString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ追加処置（複数件）
+        /// <summary>
+        /// 工事基本情報追加
+        /// </summary>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionBaseInfo> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionBaseInfo work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ更新処理
+        /// <summary>
+        /// 工事基本情報更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionBaseInfo data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionBaseInfo";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);
+                strcmd += string.Format(", TyingFlg = {0}", data.TyingFlg);
+                strcmd += string.Format(", JoinFlg = {0}", data.JoinFlg);
+                strcmd += string.Format(", ConstructionYear = {0}", data.ConstructionYear);
+                strcmd += string.Format(", ConstructionPeriod = {0}", data.ConstructionPeriod);
+
+                strcmd += string.Format(", RequestedDate = TO_DATE('{0}','YYYY/MM/DD')", data.RequestedDate.ToShortDateString());
+                strcmd += string.Format(", EstimatesSubmitDeadline = TO_DATE('{0}','YYYY/MM/DD')", data.EstimatesSubmitDeadline.ToShortDateString());
+                strcmd += string.Format(", EstimatesSubmittedDate = TO_DATE('{0}','YYYY/MM/DD')", data.EstimatesSubmittedDate.ToShortDateString());
+                strcmd += string.Format(", ProvisionalOrderDate = TO_DATE('{0}','YYYY/MM/DD')", data.ProvisionalOrderDate.ToShortDateString());
+                strcmd += string.Format(", OrderDate = TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", OrderStartingDate = TO_DATE('{0}','YYYY/MM/DD')", data.OrderStartingDate.ToShortDateString());
+                strcmd += string.Format(", OrderCompletionDate = TO_DATE('{0}','YYYY/MM/DD')", data.OrderCompletionDate.ToShortDateString());
+                strcmd += string.Format(", PreparationStartDate = TO_DATE('{0}','YYYY/MM/DD')", data.PreparationStartDate.ToShortDateString());
+                strcmd += string.Format(", ConstructionStartingDate = TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionStartingDate.ToShortDateString());
+                strcmd += string.Format(", ConstructionCompletionDate = TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionCompletionDate.ToShortDateString());
+                strcmd += string.Format(", NonOrderDate = TO_DATE('{0}','YYYY/MM/DD')", data.NonOrderDate.ToShortDateString());
+
+                strcmd += string.Format(", OrdersDecisionPrice = {0}", data.OrdersDecisionPrice);
+                strcmd += string.Format(", OrdersDecisionPriceInTax = {0}", data.OrdersDecisionPriceInTax);
+
+                strcmd += string.Format(", SalesPersonCode = {0}", data.SalesPersonCode);
+                strcmd += string.Format(", ConstructionPersonCode = {0}", data.ConstructionPersonCode);
+                strcmd += string.Format(", ConstrSubPersonCode = {0}", data.ConstrSubPersonCode);
+                strcmd += string.Format(", ConstructionInstructor = {0}", data.ConstructionInstructor);
+
+                strcmd += string.Format(", TransferConstruction = {0}", data.TransferConstruction);
+                strcmd += string.Format(", TransferConstructionDate = TO_DATE('{0}','YYYY/MM/DD')", data.TransferConstructionDate.ToShortDateString());
+
+                strcmd += string.Format(", OrderersDivision = {0}", data.OrderersDivision);
+                strcmd += string.Format(", OrderersCode = {0}", data.OrderersCode);
+
+                strcmd += string.Format(", EstimatesExpirationDate = TO_DATE('{0}','YYYY/MM/DD')", data.EstimatesExpirationDate.ToShortDateString());
+                strcmd += string.Format(", ConstructionPeriodStart = TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionPeriodStart.ToShortDateString());
+                strcmd += string.Format(", ConstructionPeriodEnd = TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionPeriodEnd.ToShortDateString());
+                strcmd += string.Format(", ConstructionPeriodStart2 = TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionPeriodStart2.ToShortDateString());
+                strcmd += string.Format(", ConstructionPeriodEnd2 = TO_DATE('{0}','YYYY/MM/DD')", data.ConstructionPeriodEnd2.ToShortDateString());
+                strcmd += string.Format(", StartDate = TO_DATE('{0}','YYYY/MM/DD')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", EndDate = TO_DATE('{0}','YYYY/MM/DD')", data.EndDate.ToShortDateString());
+                strcmd += string.Format(", PurchaseOrderMailingDate = TO_DATE('{0}','YYYY/MM/DD')", data.PurchaseOrderMailingDate.ToShortDateString());
+                strcmd += string.Format(", PurchaseOrderReturnDate = TO_DATE('{0}','YYYY/MM/DD')", data.PurchaseOrderReturnDate.ToShortDateString());
+                strcmd += string.Format(", PurchaseOrderReturnCheckDate = TO_DATE('{0}','YYYY/MM/DD')", data.PurchaseOrderReturnCheckDate.ToShortDateString());
+
+                strcmd += string.Format(", ConsumptionTaxFlg = {0}", data.ConsumptionTaxFlg);
+                strcmd += string.Format(", PrimeContractorFlg = {0}", data.PrimeContractorFlg);
+                strcmd += string.Format(", SalesCostFlg = {0}", data.SalesCostFlg);
+                strcmd += string.Format(", ConstructionStatusFlg = {0}", data.ConstructionStatusFlg);
+
+                strcmd += string.Format(", ConstructionType = {0}", data.ConstructionType);
+                strcmd += string.Format(", EstimateType = {0}", data.EstimateType);
+
+                strcmd += string.Format(", BillingStartDate = TO_DATE('{0}','YYYY/MM/DD')", data.BillingStartDate.ToShortDateString());
+                strcmd += string.Format(", BillingDate = TO_DATE('{0}','YYYY/MM/DD')", data.BillingDate.ToShortDateString());
+                strcmd += string.Format(", BillingSplitFlg = {0}", data.BillingSplitFlg);
+                strcmd += string.Format(", BillingSendDate = TO_DATE('{0}','YYYY/MM/DD')", data.BillingSendDate.ToShortDateString());
+                strcmd += string.Format(", LedgerComplateDate = TO_DATE('{0}','YYYY/MM/DD')", data.LedgerComplateDate.ToShortDateString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ削除処理
+        /// <summary>
+        /// 工事基本情報削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionBaseInfo", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込みオブジェクトセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionBaseInfo wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());
+                wrk.TyingFlg = int.Parse(objwrk[(int)TableColumn.TyingFlg].ToString());
+                wrk.JoinFlg = int.Parse(objwrk[(int)TableColumn.JoinFlg].ToString());
+                wrk.ConstructionYear = int.Parse(objwrk[(int)TableColumn.ConstructionYear].ToString());
+                wrk.ConstructionPeriod = int.Parse(objwrk[(int)TableColumn.ConstructionPeriod].ToString());
+
+                wrk.RequestedDate = DateTime.Parse(objwrk[(int)TableColumn.RequestedDate].ToString());
+                wrk.EstimatesSubmitDeadline = DateTime.Parse(objwrk[(int)TableColumn.EstimatessubmitDeadLine].ToString());
+                wrk.EstimatesSubmittedDate = DateTime.Parse(objwrk[(int)TableColumn.EstimatessubmittedDate].ToString());
+                wrk.ProvisionalOrderDate = DateTime.Parse(objwrk[(int)TableColumn.ProvisionAlorderDate].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());
+                wrk.OrderStartingDate = DateTime.Parse(objwrk[(int)TableColumn.OrderStartingDate].ToString());
+                wrk.OrderCompletionDate = DateTime.Parse(objwrk[(int)TableColumn.OrderCompletionDate].ToString());
+                wrk.PreparationStartDate = DateTime.Parse(objwrk[(int)TableColumn.PreparationStartDate].ToString());
+                wrk.ConstructionStartingDate = DateTime.Parse(objwrk[(int)TableColumn.ConstructionStartingDate].ToString());
+                wrk.ConstructionCompletionDate = DateTime.Parse(objwrk[(int)TableColumn.ConstructionCompletionDate].ToString());
+                wrk.NonOrderDate = DateTime.Parse(objwrk[(int)TableColumn.NonOrderDate].ToString());
+
+                wrk.OrdersDecisionPrice = double.Parse(objwrk[(int)TableColumn.OrdersDecisionPrice].ToString());
+                wrk.OrdersDecisionPriceInTax = double.Parse(objwrk[(int)TableColumn.OrdersDecisionPriceInTax].ToString());
+
+                wrk.SalesPersonCode = int.Parse(objwrk[(int)TableColumn.SalesPersonCode].ToString());
+                wrk.ConstructionPersonCode = int.Parse(objwrk[(int)TableColumn.ConstructionPersonCode].ToString());
+                wrk.ConstrSubPersonCode = int.Parse(objwrk[(int)TableColumn.ConstrSubPersonCode].ToString());
+                wrk.ConstructionInstructor = int.Parse(objwrk[(int)TableColumn.ConstructionInstructor].ToString());
+
+                wrk.TransferConstruction = int.Parse(objwrk[(int)TableColumn.TransferConstruction].ToString());
+                wrk.TransferConstructionDate = DateTime.Parse(objwrk[(int)TableColumn.TransferConstructionDate].ToString());
+
+                wrk.OrderersDivision = int.Parse(objwrk[(int)TableColumn.OrderersDivision].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)TableColumn.OrderersCode].ToString());
+
+                wrk.EstimatesExpirationDate = DateTime.Parse(objwrk[(int)TableColumn.EstimatesExpirationDate].ToString());
+                wrk.ConstructionPeriodStart = DateTime.Parse(objwrk[(int)TableColumn.ConstructionPeriodStart].ToString());
+                wrk.ConstructionPeriodEnd = DateTime.Parse(objwrk[(int)TableColumn.ConstructionPeriodEnd].ToString());
+                wrk.ConstructionPeriodStart2 = DateTime.Parse(objwrk[(int)TableColumn.ConstructionPeriodStart2].ToString());
+                wrk.ConstructionPeriodEnd2 = DateTime.Parse(objwrk[(int)TableColumn.ConstructionPeriodEnd2].ToString());
+
+                wrk.StartDate = DateTime.Parse(objwrk[(int)TableColumn.StartDate].ToString());
+                wrk.EndDate = DateTime.Parse(objwrk[(int)TableColumn.EndDate].ToString());
+
+                wrk.PurchaseOrderMailingDate = DateTime.Parse(objwrk[(int)TableColumn.PurchaseOrderMailingDate].ToString());
+                wrk.PurchaseOrderReturnDate = DateTime.Parse(objwrk[(int)TableColumn.PurchaseOrderReturnDate].ToString());
+                wrk.PurchaseOrderReturnCheckDate = DateTime.Parse(objwrk[(int)TableColumn.PurchaseOrderReturnCheckDate].ToString());
+
+                wrk.ConsumptionTaxFlg = int.Parse(objwrk[(int)TableColumn.ConsumptionTaxFlg].ToString());
+                wrk.PrimeContractorFlg = int.Parse(objwrk[(int)TableColumn.PrimecontractorFlg].ToString());
+                wrk.SalesCostFlg = int.Parse(objwrk[(int)TableColumn.SalesCostFlg].ToString());
+                wrk.ConstructionStatusFlg = int.Parse(objwrk[(int)TableColumn.ConstructionStatusFlg].ToString());
+
+                wrk.ConstructionType = int.Parse(objwrk[(int)TableColumn.ConstructionType].ToString());
+                wrk.EstimateType = int.Parse(objwrk[(int)TableColumn.EstimateType].ToString());
+
+                wrk.BillingStartDate = DateTime.Parse(objwrk[(int)TableColumn.BillingStartDate].ToString());
+                wrk.BillingDate = DateTime.Parse(objwrk[(int)TableColumn.BillingDate].ToString());
+                wrk.BillingSplitFlg = int.Parse(objwrk[(int)TableColumn.BillingSplitFlg].ToString());
+                wrk.BillingSendDate = DateTime.Parse(objwrk[(int)TableColumn.BillingSendDate].ToString());
+                wrk.LedgerComplateDate = DateTime.Parse(objwrk[(int)TableColumn.LedgerComplateDate].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionBaseInfo";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TyingFlg:
+                        strcmd += string.Format(" TyingFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.JoinFlg:
+                        strcmd += string.Format(" JoinFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionYear:
+                        strcmd += string.Format(" ConstructionYear = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriod:
+                        strcmd += string.Format(" ConstructionPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.RequestedDate:
+                        strcmd += string.Format(" RequestedDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.EstimatessubmitDeadLine:
+                        strcmd += string.Format(" EstimatesSubmitDeadline = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.EstimatessubmittedDate:
+                        strcmd += string.Format(" EstimatesSubmittedDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ProvisionAlorderDate:
+                        strcmd += string.Format(" ProvisionalOrderDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderDate:
+                        strcmd += string.Format(" OrderDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderStartingDate:
+                        strcmd += string.Format(" OrderStartingDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderCompletionDate:
+                        strcmd += string.Format(" OrderCompletionDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.PreparationStartDate:
+                        strcmd += string.Format(" PreparationStartDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionStartingDate:
+                        strcmd += string.Format(" ConstructionStartingDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionCompletionDate:
+                        strcmd += string.Format(" ConstructionCompletionDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.NonOrderDate:
+                        strcmd += string.Format(" NonOrderDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrdersDecisionPrice:
+                        strcmd += string.Format(" OrdersDecisionPrice = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrdersDecisionPriceInTax:
+                        strcmd += string.Format(" OrdersDecisionPriceInTax = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalesPersonCode:
+                        strcmd += string.Format(" SalesPersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionPersonCode:
+                        strcmd += string.Format(" ConstructionPersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstrSubPersonCode:
+                        strcmd += string.Format(" ConstrSubPersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionInstructor:
+                        strcmd += string.Format(" ConstructionInstructor = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TransferConstruction:
+                        strcmd += string.Format(" TransferConstruction = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TransferConstructionDate:
+                        strcmd += string.Format(" TransferConstructionDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderersDivision:
+                        strcmd += string.Format(" OrderersDivision = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderersCode:
+                        strcmd += string.Format(" OrderersCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.EstimatesExpirationDate:
+                        strcmd += string.Format(" EstimatesExpirationDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriodStart:
+                        strcmd += string.Format(" ConstructionPeriodStart = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriodEnd:
+                        strcmd += string.Format(" ConstructionPeriodEnd = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriodStart2:
+                        strcmd += string.Format(" ConstructionPeriodStart2 = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriodEnd2:
+                        strcmd += string.Format(" ConstructionPeriodEnd2 = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.StartDate:
+                        strcmd += string.Format(" StartDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.EndDate:
+                        strcmd += string.Format(" EndDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.PurchaseOrderMailingDate:
+                        strcmd += string.Format(" PurchaseOrderMailingDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.PurchaseOrderReturnDate:
+                        strcmd += string.Format(" PurchaseOrderReturnDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.PurchaseOrderReturnCheckDate:
+                        strcmd += string.Format(" PurchaseOrderReturnCheckDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConsumptionTaxFlg:
+                        strcmd += string.Format(" ConsumptionTaxFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrimecontractorFlg:
+                        strcmd += string.Format(" PrimeContractorFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalesCostFlg:
+                        strcmd += string.Format(" SalesCostFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionStatusFlg:
+                        strcmd += string.Format(" ConstructionStatusFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionType:
+                        strcmd += string.Format(" ConstructionType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.EstimateType:
+                        strcmd += string.Format(" EstimateType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.BillingStartDate:
+                        strcmd += string.Format(" BillingStartDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.BillingDate:
+                        strcmd += string.Format(" BillingDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.BillingSplitFlg:
+                        strcmd += string.Format(" BillingSplitFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.BillingSendDate:
+                        strcmd += string.Format(" BillingSendDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.LedgerComplateDate:
+                        strcmd += string.Format(" LedgerComplateDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事番号の最大値を取得
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = -1;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(ConstructionCode), 0) FROM ConstructionBaseInfo" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = -1;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+                return iRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return -1;
+            }
+        }
+        #endregion
+
+        #region 工事基本情報の検索キー文字列を作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="DetailNo"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into ConstructionBaseInfo ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("TO_CHAR(", "").Replace(", 'YYYY/MM/DD')", "").Replace(", 'YYYY/MM/DD HH24:MI:ss')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE ConstructionBaseInfo SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事番号の年取得
+        /// <summary>
+        /// 工事番号の基になる年を求める
+        /// </summary>
+        /// <param name="bPeriod"></param>
+        /// <param name="MinCode"></param>
+        /// <param name="MaxCode"></param>
+        private void GetBaseCounstructionCode(bool bPeriod, int PeriodValue, ref int MinCode, ref int MaxCode)
+        {
+            try
+            {
+                int Beginning = 0;
+                int diffwork = 0;
+                string strwork = string.Empty;
+                if (bPeriod)
+                {   // ----- 営業期ベースの時
+
+                    // 現在期との差分を求める
+                    diffwork = PeriodValue - CommonMotions.SystemMasterData.BusinessPeriod;
+
+                    // 期首月を取得する
+                    strwork = CommonMotions.SystemMasterData.BusinessBeginningDate;
+                    strwork = strwork.Substring(0, strwork.IndexOf("/"));
+                }
+                else
+                {   // ----- 営業年度ベースの時
+
+                    // 現在期との差分を求める
+                    diffwork = PeriodValue - CommonMotions.SystemMasterData.ConstructionYear;
+
+                    // 期首月を取得する
+                    strwork = CommonMotions.SystemMasterData.ConstructionBeginningDate;
+                    strwork = strwork.Substring(0, strwork.IndexOf("/"));
+                }
+
+                // 期首月を数値変換
+                Beginning = CommonMotions.cnvInt(strwork);
+
+                // 年数を求める
+                DateTime dateWork = DateTime.Now;
+                int nowMounth = DateTime.Now.Month;
+                // 期首月を境に年度を計算する
+                int iYear = 0;
+                if (nowMounth < Beginning)
+                    iYear = dateWork.AddYears(-1).Year;
+                else
+                    iYear = dateWork.Year;
+
+                // ベース年を求める
+                MinCode = iYear + diffwork;
+                // ベース年の翌年を求める
+                MaxCode = MinCode + 1;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 新規の工事番号を作成する
+        /// <summary>
+        /// 新規の工事番号を作成する
+        /// </summary>
+        /// <returns></returns>
+        public int CreateNewCounstructionCode(int PeriodValue)
+        {
+            try
+            {
+                int iRetCode = 0;
+                int MinCode = 0;
+                int MaxCode = 0;
+                // 営業期・工事年は管理マスタの選択により設定する
+                string strWhere = "";
+                if (CommonMotions.SystemMasterData.ConstructionNoBase == (int)CommonDefine.SystemConstructionNoBase.BusinessPeriod)
+                {   // 営業期
+                    GetBaseCounstructionCode(true, PeriodValue,ref MinCode, ref  MaxCode);
+                }
+                else
+                {   // 工事年度
+                    GetBaseCounstructionCode(false, PeriodValue, ref MinCode, ref  MaxCode);
+                }
+                strWhere = string.Format(" WHERE {0} <= CONSTRUCTIONCODE AND CONSTRUCTIONCODE < {1}", (MinCode * 1000000), (MaxCode * 1000000));
+
+                int icnt = SelectMaxConstructionCodeCount(strWhere);
+                if (icnt != 0)
+                {   // ----- データがある時
+                    // 年度の連番を取得する
+                    int ConstructionNo = CommonMotions.cnvTruncate((double)icnt / 100.0);       // 2015010001 -> 20150100
+                    ConstructionNo++;                                                           // 20150100   -> 20150101
+                    ConstructionNo *= 100;                                                      // 20150101   -> 2015010100
+                    ConstructionNo++;                                                           // 2015010100 -> 2015010101
+                    // 工事番号セット
+                    iRetCode = ConstructionNo;
+                }
+                else
+                {   // ----- データが無い時
+                    // 工事番号セット
+                    iRetCode = (MinCode * 1000000) + 101;
+                }
+                return iRetCode;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 工事番号の枝番が最大値のものを取得する
+        /// <summary>
+        /// 工事番号の枝番が最大値のものを取得する
+        /// </summary>
+        /// <param name="NowCode"></param>
+        /// <returns></returns>
+        public int CreateNextBranchCounstructionCode(int NowCode)
+        {
+            IOConstructionBaseInfo cbDB = new IOConstructionBaseInfo();                // 工事基本情報
+            try
+            {
+                int ConstructionCode = -1;
+                
+                // 枝番最大値の工事番号取得
+                string strSQL = "SELECT NVL(MAX(CONSTRUCTIONCODE), -1) FROM CONSTRUCTIONBASEINFO";
+                strSQL += string.Format(" WHERE TRUNC(CONSTRUCTIONCODE / 100) = {0}", CommonMotions.cnvTruncate(NowCode / 100));
+                ArrayList arList = new ArrayList();
+
+                // データが無ければ抜ける
+                if (!cbDB.ExecuteReader(strSQL, ref arList)) return ConstructionCode;
+                
+                object[] wrkobj = (object[])arList[0];
+                ConstructionCode = CommonMotions.cnvInt(wrkobj[0]);
+                if (ConstructionCode > 1) ConstructionCode++;
+
+                return ConstructionCode;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return -1;
+            }
+            finally
+            {
+                cbDB.close(); cbDB = null;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfoDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfoDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfoDetail.cs	(revision 84)
@@ -0,0 +1,412 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事基本情報明細ＤＢアクセス
+    /// </summary>
+    public class IOConstructionBaseInfoDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事基本情報フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            CONSTRUCTIONCODE = 0,
+            DETAILNO,
+            DETAILSTRING,
+            ENTRYDATE,
+            UPDATEDATE,
+        }
+
+        #endregion
+
+        #region プロパティ
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionBaseInfoDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ConstructionCode, DetailNo";
+            strcmd += ", DetailString";
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionBaseInfoDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 読込み処理（1件）
+        /// <summary>
+        /// 工事基本情報明細検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionBaseInfoDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込み処理（複数件）
+        /// <summary>
+        /// 工事基本情報明細検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionBaseInfoDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionBaseInfoDetail work = new ConstructionBaseInfoDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 工事基本情報明細追加
+        /// </summary>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionBaseInfoDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionBaseInfoDetail";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.ConstructionCode);
+                strcmd += string.Format(", {0}", data.DetailNo);
+                strcmd += string.Format(",'{0}'", data.DetailString);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 工事基本情報明細追加
+        /// </summary>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionBaseInfoDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionBaseInfoDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事基本情報明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionBaseInfoDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionBaseInfoDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ConstructionCode = {0}", data.ConstructionCode);
+                strcmd += string.Format(" ,DetailNo = {0}", data.DetailNo);
+                strcmd += string.Format(" ,DetailString = '{0}'", data.DetailString);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 工事基本情報削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事基本情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionBaseInfoDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionBaseInfoDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.CONSTRUCTIONCODE].ToString());
+                wrk.DetailNo = int.Parse(objwrk[(int)TableColumn.DETAILNO].ToString());
+                wrk.DetailString = objwrk[(int)TableColumn.DETAILSTRING].ToString();
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int DetailNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionBaseInfoDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.CONSTRUCTIONCODE:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DETAILNO:
+                        strcmd += string.Format(" DetailNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DETAILSTRING:
+                        strcmd += string.Format(" DetailString = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, DetailNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 検索の文字列を返す
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="DetailNo"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int DetailNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (DetailNo != 0)
+                    strWork += string.Format(" And DetailNo = {0}", DetailNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into ConstructionBaseInfoDetail ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("TO_CHAR(", "").Replace(", 'YYYY/MM/DD')", "").Replace(", 'YYYY/MM/DD HH24:MI:ss')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE ConstructionBaseInfoDetail SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudget.cs	(revision 84)
@@ -0,0 +1,573 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事予算書データＤＢアクセス
+    /// </summary>
+    public class IOConstructionBudget : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事予算書データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	    // 工事番号
+
+            CreatorCode,                // 作成者コード
+            CreatorName,    	        // 作成者名
+            CreatorCosts,	            // 作成者給与
+
+            AssistantCode,              // 副担当者コード
+            AssistantName,              // 副担当者名
+            AssistantCosts,             // 副担当者給与
+
+            InstructorCode,	            // 工事指導員コード
+            InstructorName,	            // 工事指導員名
+            InstructorCosts,	        // 工事指導員給与
+
+            CreateDate,	                // 作成日
+            ConstructionTimes,	        // 工期（単位・月）
+            ConstructionStart,          // 契約工期開始
+            ConstructionEnd,            // 契約工期完了
+
+            InstructorTimes,	        // 指導員稼働月数
+            
+            SalaryFlg,                  // 給与振分区分
+            SalaryDays,                 // 振分日数
+            A_SalaryFlg,                // 副担当者給与振分区分
+            A_SalaryDays,               // 副担当者振分日数
+            I_SalaryFlg,                // 指導員給与振分区分
+            I_SalaryDays,               // 指導員振分日数
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionBudget()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 工事予算書データ検索ＳＱＬ作成
+        /// <summary>
+        /// 工事予算書データ検索ＳＱＬ作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";                          // 工事番号
+
+            strcmd += " ,CreatorCode";                              // 作成者コード
+            strcmd += " ,CreatorName";    	                        // 作成者名
+            strcmd += " ,CreatorCosts";	                            // 作成者給与
+            strcmd += " ,AssistantCode";                            // 副担当者コード
+            strcmd += " ,AssistantName";                            // 副担当者名
+            strcmd += " ,AssistantCosts";                           // 副担当者給与
+            strcmd += " ,InstructorCode";	                        // 工事指導員コード
+            strcmd += " ,InstructorName";	                        // 工事指導員名
+            strcmd += " ,InstructorCosts";                          // 工事指導員給与
+            strcmd += " ,TO_CHAR(CreateDate, 'YYYY/MM/DD')";	    // 作成日
+            strcmd += " ,ConstructionTimes";	                    // 工期（単位・月）
+            strcmd += " ,TO_CHAR(ConstructionStart, 'YYYY/MM/DD')"; // 契約工期開始
+            strcmd += " ,TO_CHAR(ConstructionEnd, 'YYYY/MM/DD')";   // 契約工期完了
+            strcmd += " ,InstructorTimes";                          // 指導員稼働月数
+            strcmd += " ,SalaryFlg";                                // 給与振分区分
+            strcmd += " ,SalaryDays";                               // 振分日数
+            strcmd += " ,A_SalaryFlg";                              // 副担当者給与振分区分
+            strcmd += " ,A_SalaryDays";                             // 副担当者振分日数
+            strcmd += " ,I_SalaryFlg";                              // 指導員給与振分区分
+            strcmd += " ,I_SalaryDays";                             // 指導員振分日数
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionBudget";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事予算書データ複数件検索
+        /// <summary>
+        /// 工事予算書データ複数件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionBudget> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionBudget work = new ConstructionBudget();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ１件検索
+        /// <summary>
+        /// 工事予算書データ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionBudget data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ１件追加
+        /// <summary>
+        /// 工事予算書データ１件追加
+        /// </summary>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionBudget work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionBudget";
+                strcmd += "(ConstructionCode";                          // 工事番号
+                strcmd += " ,CreatorCode";                              // 作成者コード
+                strcmd += " ,CreatorName";    	                        // 作成者名
+                strcmd += " ,CreatorCosts";	                            // 作成者給与
+                strcmd += " ,AssistantCode";                            // 副担当者コード
+                strcmd += " ,AssistantName";                            // 副担当者名
+                strcmd += " ,AssistantCosts";                           // 副担当者給与
+                strcmd += " ,InstructorCode";	                        // 工事指導員コード
+                strcmd += " ,InstructorName";	                        // 工事指導員名
+                strcmd += " ,InstructorCosts";                          // 工事指導員給与
+                strcmd += " ,CreateDate";	                            // 作成日
+                strcmd += " ,ConstructionTimes";	                    // 工期（単位・月）
+                strcmd += " ,ConstructionStart";                        // 契約工期開始
+                strcmd += " ,ConstructionEnd";                          // 契約工期完了
+                strcmd += " ,InstructorTimes";                          // 指導員稼働月数
+                strcmd += " ,SalaryFlg";                                // 給与振分区分
+                strcmd += " ,SalaryDays";                               // 振分日数
+                strcmd += " ,A_SalaryFlg";                              // 副担当者給与振分区分
+                strcmd += " ,A_SalaryDays";                             // 副担当者振分日数
+                strcmd += " ,I_SalaryFlg";                              // 指導員給与振分区分
+                strcmd += " ,I_SalaryDays";                             // 指導員振分日数
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);                // 工事番号
+
+                strcmd += string.Format(", {0}", work.CreatorCode);                     // 作成者コード
+                strcmd += string.Format(",'{0}'", work.CreatorName);                    // 作成者名
+                strcmd += string.Format(", {0}", work.CreatorCosts);                    // 作成者給与
+
+                strcmd += string.Format(", {0}", work.AssistantCode);                   // 副担当者コード
+                strcmd += string.Format(",'{0}'", work.AssistantName);                  // 副担当者名
+                strcmd += string.Format(", {0}", work.AssistantCosts);                  // 副担当者給与
+
+                strcmd += string.Format(", {0}", work.InstructorCode);                  // 工事指導員コード
+                strcmd += string.Format(",'{0}'", work.InstructorName);                 // 工事指導員名
+                strcmd += string.Format(", {0}", work.InstructorCosts);                 // 工事指導員給与
+                
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')",
+                                        work.CreateDate.ToShortDateString());           // 作成日
+                strcmd += string.Format(", {0}", work.ConstructionTimes);               // 工期（単位・月）
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')",
+                                        work.ConstructionStart.ToShortDateString());    // 契約工期開始
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')",
+                                        work.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                strcmd += string.Format(", {0}", work.InstructorTimes);                 // 指導員稼働月数
+                strcmd += string.Format(", {0}", work.SalaryFlg);                       // 給与振分区分
+                strcmd += string.Format(", {0}", work.SalaryDays);                      // 振分日数
+                strcmd += string.Format(", {0}", work.A_SalaryFlg);                     // 副担当者給与振分区分
+                strcmd += string.Format(", {0}", work.A_SalaryDays);                    // 副担当者振分日数
+                strcmd += string.Format(", {0}", work.I_SalaryFlg);                     // 指導員給与振分区分
+                strcmd += string.Format(", {0}", work.I_SalaryDays);                    // 指導員振分日数
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ複数件追加
+        /// <summary>
+        /// 工事予算書データ複数件追加
+        /// </summary>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionBudget> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionBudget work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ更新
+        /// <summary>
+        /// 工事予算書データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionBudget data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionBudget";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	            // 工事番号
+
+                strcmd += string.Format(", CreatorCode = {0}", data.CreatorCode);                       // 作成者コード
+                strcmd += string.Format(", CreatorName = '{0}'", data.CreatorName);                     // 作成者名
+                strcmd += string.Format(", CreatorCosts = {0}", data.CreatorCosts);                     // 作成者給与
+
+                strcmd += string.Format(", AssistantCode = {0}", data.AssistantCode);                   // 副担当者コード
+                strcmd += string.Format(", AssistantName = '{0}'", data.AssistantName);                 // 副担当者名
+                strcmd += string.Format(", AssistantCosts = {0}", data.AssistantCosts);                 // 副担当者給与
+
+                strcmd += string.Format(", InstructorCode = {0}", data.InstructorCode);                 // 工事指導員コード
+                strcmd += string.Format(", InstructorName = '{0}'", data.InstructorName);               // 工事指導員名
+                strcmd += string.Format(", InstructorCosts = {0}", data.InstructorCosts);               // 工事指導員給与
+                strcmd += string.Format(", CreateDate = TO_DATE('{0}','YYYY/MM/DD')",
+                                                        data.CreateDate.ToShortDateString());           // 作成日
+                strcmd += string.Format(", ConstructionTimes = {0}", data.ConstructionTimes);           // 工期（単位・月）
+                strcmd += string.Format(", ConstructionStart = TO_DATE('{0}','YYYY/MM/DD')",
+                                                        data.ConstructionStart.ToShortDateString());    // 契約工期開始
+                strcmd += string.Format(", ConstructionEnd = TO_DATE('{0}','YYYY/MM/DD')",
+                                                        data.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                strcmd += string.Format(", InstructorTimes = {0}", data.InstructorTimes);               // 指導員稼働月数
+
+                strcmd += string.Format(", SalaryFlg = {0}", data.SalaryFlg);                           // 給与振分区分
+                strcmd += string.Format(", SalaryDays = {0}", data.SalaryDays);                         // 振分日数
+                strcmd += string.Format(", A_SalaryFlg = {0}", data.A_SalaryFlg);                       // 副担当者給与振分区分
+                strcmd += string.Format(", A_SalaryDays = {0}", data.A_SalaryDays);                     // 副担当者振分日数
+                strcmd += string.Format(", I_SalaryFlg = {0}", data.I_SalaryFlg);                       // 指導員給与振分区分
+                strcmd += string.Format(", I_SalaryDays = {0}", data.I_SalaryDays);                     // 指導員振分日数
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算書データ削除
+        /// <summary>
+        /// 工事予算書データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事予算書データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionBudget", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionBudget";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	    // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreatorCode:          // 作成者コード
+                        strcmd += string.Format(" CreatorCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreatorName:    	    // 作成者名
+                        strcmd += string.Format(" CreatorName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CreatorCosts:	        // 作成者給与
+                        strcmd += string.Format(" CreatorCosts = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.AssistantCode:        // 副担当者コード
+                        strcmd += string.Format(" AssistantCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.AssistantName:        // 副担当者名
+                        strcmd += string.Format(" AssistantName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.AssistantCosts:       // 副担当者給与
+                        strcmd += string.Format(" AssistantCosts = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.InstructorCode:	    // 工事指導員コード
+                        strcmd += string.Format(" InstructorCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.InstructorName:	    // 工事指導員名
+                        strcmd += string.Format(" InstructorName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.InstructorCosts:	    // 工事指導員給与
+                        strcmd += string.Format(" InstructorCosts = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:	        // 作成日
+                        strcmd += string.Format(" CreateDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionTimes:	// 工期（単位・月）
+                        strcmd += string.Format(" ConstructionTimes = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionStart:    // 契約工期開始
+                        strcmd += string.Format(" ConstructionStart = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionEnd:      // 契約工期完了
+                        strcmd += string.Format(" ConstructionEnd = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.InstructorTimes:	    // 指導員稼働月数
+                        strcmd += string.Format(" InstructorTimes = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryFlg:            // 給与振分区分
+                        strcmd += string.Format(" SalaryFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryDays:           // 振分日数
+                        strcmd += string.Format(" SalaryDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.A_SalaryFlg:          // 副担当者給与振分区分
+                        strcmd += string.Format(" A_SalaryFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.A_SalaryDays:         // 副担当者振分日数
+                        strcmd += string.Format(" A_SalaryDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.I_SalaryFlg:          // 指導員給与振分区分
+                        strcmd += string.Format(" I_SalaryFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.I_SalaryDays:         // 指導員振分日数
+                        strcmd += string.Format(" I_SalaryDays = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionBudget wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	// 工事番号
+
+                wrk.CreatorCode = int.Parse(objwrk[(int)TableColumn.CreatorCode].ToString());                  // 作成者コード
+                wrk.CreatorName = objwrk[(int)TableColumn.CreatorName].ToString();                             // 作成者名
+                wrk.CreatorCosts = double.Parse(objwrk[(int)TableColumn.CreatorCosts].ToString());             // 作成者給与
+                wrk.AssistantCode = int.Parse(objwrk[(int)TableColumn.AssistantCode].ToString());              // 副担当者コード
+                wrk.AssistantName = objwrk[(int)TableColumn.AssistantName].ToString();                         // 副担当者名
+                wrk.AssistantCosts = int.Parse(objwrk[(int)TableColumn.AssistantCosts].ToString());            // 副担当者給与
+                wrk.InstructorCode = int.Parse(objwrk[(int)TableColumn.InstructorCode].ToString());            // 工事指導員コード
+                wrk.InstructorName = objwrk[(int)TableColumn.InstructorName].ToString();                       // 工事指導員名
+                wrk.InstructorCosts = double.Parse(objwrk[(int)TableColumn.InstructorCosts].ToString());       // 工事指導員給与
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());               // 作成日
+                wrk.ConstructionTimes = double.Parse(objwrk[(int)TableColumn.ConstructionTimes].ToString());   // 工期（単位・月）
+                wrk.ConstructionStart = DateTime.Parse(objwrk[(int)TableColumn.ConstructionStart].ToString()); // 契約工期開始
+                wrk.ConstructionEnd = DateTime.Parse(objwrk[(int)TableColumn.ConstructionEnd].ToString());     // 契約工期完了
+
+                wrk.InstructorTimes = double.Parse(objwrk[(int)TableColumn.InstructorTimes].ToString());       // 指導員稼働月数
+
+                wrk.SalaryFlg = int.Parse(objwrk[(int)TableColumn.SalaryFlg].ToString());                      // 給与振分区分
+                wrk.SalaryDays = int.Parse(objwrk[(int)TableColumn.SalaryDays].ToString());                    // 振分日数
+                wrk.A_SalaryFlg = int.Parse(objwrk[(int)TableColumn.A_SalaryFlg].ToString());                  // 副担当者給与振分区分
+                wrk.A_SalaryDays = int.Parse(objwrk[(int)TableColumn.A_SalaryDays].ToString());                // 副担当者振分日数
+                wrk.I_SalaryFlg = int.Parse(objwrk[(int)TableColumn.I_SalaryFlg].ToString());                  // 指導員給与振分区分
+                wrk.I_SalaryDays = int.Parse(objwrk[(int)TableColumn.I_SalaryDays].ToString());                // 指導員振分日数
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudgetDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudgetDetail.cs	(revision 84)
@@ -0,0 +1,484 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事予算データ明細ＤＢアクセス
+    /// </summary>
+    public class IOConstructionBudgetDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事予算データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+
+            GroupCount,             // グループ番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            ItemCode,		        // 工種キー
+            FirstString,            // 項目名称
+            SecondString,           // 工事内容
+            CompanyType,            // 協力会社コードタイプ
+            CompanyCode,            // 協力会社コード
+            CompanyName,            // 協力会社名称
+            EstimatePrice,          // 見積時金額
+            NegotiationPrice,       // 交渉時金額
+            OrderDesiredAmount,     // 発注希望金額
+            ExecutionAmount,        // 実行金額
+            AmountConfigRate,       // 金額構成率
+            NegotiateFlg,           // 協力業者交渉フラグ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionBudgetDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ComponentCode";            // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", FirstString";              // 項目名称
+            strcmd += ", SecondString";             // 工事内容
+            strcmd += ", CompanyType";              // 協力会社コードタイプ
+            strcmd += ", CompanyCode";              // 協力会社コード
+            strcmd += ", CompanyName";              // 協力会社名称
+            strcmd += ", EstimatePrice";            // 見積時金額
+            strcmd += ", NegotiationPrice";         // 交渉時金額
+            strcmd += ", OrderDesiredAmount";       // 発注希望金額
+            strcmd += ", ExecutionAmount";          // 実行金額
+            strcmd += ", AmountConfigRate";         // 金額構成率
+            strcmd += ", NegotiateFlg";             // 協力業者交渉フラグ
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionBudgetDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数データ読込み処理
+        /// <summary>
+        /// 工事予算データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionBudgetDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionBudgetDetail work = new ConstructionBudgetDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref ConstructionBudgetDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算データ明細追加（1件）
+        /// <summary>
+        /// 工事予算データ明細追加
+        /// </summary>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionBudgetDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionBudgetDetail";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		        // 工種キー
+                strcmd += string.Format(",'{0}'", work.FirstString);            // 項目名称
+                strcmd += string.Format(",'{0}'", work.SecondString);           // 工事内容
+                strcmd += string.Format(", {0}", work.CompanyType);             // 協力会社コードタイプ
+                strcmd += string.Format(", {0}", work.CompanyCode);             // 協力会社コード
+                strcmd += string.Format(",'{0}'", work.CompanyName);            // 協力会社名称
+                strcmd += string.Format(", {0}", work.EstimatePrice);           // 見積時金額
+                strcmd += string.Format(", {0}", work.NegotiationPrice);        // 交渉時金額
+                strcmd += string.Format(", {0}", work.OrderDesiredAmount);      // 発注希望金額
+                strcmd += string.Format(", {0}", work.ExecutionAmount);         // 実行金額
+                strcmd += string.Format(", {0}", work.AmountConfigRate);        // 金額構成率
+                strcmd += string.Format(", {0}", work.NegotiateFlg);            // 協力業者交渉フラグ
+
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算データ明細追加（複数件）
+        /// <summary>
+        /// 工事予算データ明細追加
+        /// </summary>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionBudgetDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionBudgetDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算データ明細更新
+        /// <summary>
+        /// 工事予算データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionBudgetDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionBudgetDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);               // 構成キー
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode);		                    // 工種キー
+                strcmd += string.Format(", FirstString = '{0}'", data.FirstString);                 // 項目名称名称
+                strcmd += string.Format(", SecondString = '{0}'", data.SecondString);               // 工事内容
+                strcmd += string.Format(", CompanyType = {0}", data.CompanyType);                   // 協力会社コードタイプ
+                strcmd += string.Format(", CompanyCode = {0}", data.CompanyCode);                   // 協力会社コード
+                strcmd += string.Format(", CompanyName = '{0}'", data.CompanyName);                 // 協力会社名称
+                strcmd += string.Format(", EstimatePrice = {0}", data.EstimatePrice);               // 見積時金額
+                strcmd += string.Format(", NegotiationPrice = {0}", data.NegotiationPrice);         // 交渉時金額
+                strcmd += string.Format(", OrderDesiredAmount = {0}", data.OrderDesiredAmount);     // 発注希望金額
+                strcmd += string.Format(", ExecutionAmount = {0}", data.ExecutionAmount);           // 実行金額
+                strcmd += string.Format(", AmountConfigRate = {0}", data.AmountConfigRate);         // 金額構成率
+                strcmd += string.Format(", NegotiateFlg = {0}", data.NegotiateFlg);                 // 協力業者交渉フラグ
+
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事予算データ明細削除
+        /// <summary>
+        /// 工事予算データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionBudgetDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionBudgetDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:      // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GroupCount:             // グループ番号
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:              // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:          // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FirstString:            // 項目名称
+                        strcmd += string.Format(" FirstString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SecondString:           // 工事内容
+                        strcmd += string.Format(" SecondString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CompanyType:            // 協力会社コードタイプ
+                        strcmd += string.Format(" CompanyType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:            // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyName:            // 協力会社名称
+                        strcmd += string.Format(" CompanyName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.EstimatePrice:          // 見積時金額
+                        strcmd += string.Format(" EstimatePrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.NegotiationPrice:       // 交渉時金額
+                        strcmd += string.Format(" NegotiationPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderDesiredAmount:     // 発注希望金額
+                        strcmd += string.Format(" OrderDesiredAmount = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.ExecutionAmount:        // 実行金額
+                        strcmd += string.Format(" ExecutionAmount = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.AmountConfigRate:       // 金額構成率
+                        strcmd += string.Format(" AmountConfigRate = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.NegotiateFlg:           // 協力業者交渉フラグ
+                        strcmd += string.Format(" NegotiateFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionBudgetDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());          // 工事番号
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	            // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		                    // 工種キー
+                wrk.FirstString = objwrk[(int)TableColumn.FirstString].ToString();	                            // 項目名称
+                wrk.SecondString = objwrk[(int)TableColumn.SecondString].ToString();	                            // 工事内容
+                wrk.CompanyType = int.Parse(objwrk[(int)TableColumn.CompanyType].ToString());	                // 協力会社コードタイプ
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());	                // 協力会社コード
+                wrk.CompanyName = objwrk[(int)TableColumn.CompanyName].ToString();                               // 協力会社名称
+                wrk.EstimatePrice = double.Parse(objwrk[(int)TableColumn.EstimatePrice].ToString());	            // 見積時金額
+                wrk.NegotiationPrice = double.Parse(objwrk[(int)TableColumn.NegotiationPrice].ToString());	    // 交渉時金額
+                wrk.OrderDesiredAmount = double.Parse(objwrk[(int)TableColumn.OrderDesiredAmount].ToString());	// 発注希望金額
+                wrk.ExecutionAmount = double.Parse(objwrk[(int)TableColumn.ExecutionAmount].ToString());	        // 実行金額
+                wrk.AmountConfigRate = double.Parse(objwrk[(int)TableColumn.AmountConfigRate].ToString());	    // 金額構成率
+                wrk.NegotiateFlg = int.Parse(objwrk[(int)TableColumn.NegotiateFlg].ToString());                  // 協力業者交渉フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="GroupCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int GroupCount = 0, int LineCount = 0, string Alias = "")
+        {
+            string strWork = "";
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+
+                strWork = string.Format(" Where {0}ConstructionCode = {1}", strAlias, ConstructionCode);
+                if (GroupCount != 0)
+                    strWork += string.Format(" And {0}GroupCount = {1}", strAlias, GroupCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And {0}LineCount = {1}", strAlias, LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedger.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedger.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedger.cs	(revision 84)
@@ -0,0 +1,541 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事詳細台帳データＤＢアクセス
+    /// </summary>
+    public class IOConstructionLedger : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事詳細台帳データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	    // 工事番号
+
+            ConstructionPeriod,         // 事業期
+            CreatorCode,                // 作成者コード
+            CreatorName,    	        // 作成者名
+            CreateDate,	                // 作成日
+            ConstructionTimes,          // 工期（単位・月）
+            ConstructionStart,          // 契約工期開始
+            ConstructionEnd,            // 契約工期完了
+            OrdersDecisionPrice,        // 税抜受注決定金額
+            CompanyExpenses,            // 会社経費合計
+            DepartmentExpenses,         // 部署経費合計
+            SalesExpenses,              // 営業経費合計
+            TotalPayment,               // 総支払額
+            GrossProfit,                // 粗利
+            Allowance,                  // 給与
+            NetProfit,                  // 純利益
+            ComplateFlg,                // 入力完了フラグ
+            IntegrationFlg,             // 受注金額積算フラグ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionLedger()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 工事詳細台帳データ検索SQL作成
+        /// <summary>
+        /// 工事詳細台帳データ検索SQL作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";      // 工事番号
+
+            strcmd += " ,ConstructionPeriod";   // 事業期
+            strcmd += " ,CreatorCode";          // 作成者コード
+            strcmd += " ,CreatorName";    	    // 作成者名
+            strcmd += " ,CreateDate";	        // 作成日
+            strcmd += " ,ConstructionTimes";    // 工期（単位・月）
+            strcmd += " ,TO_CHAR(ConstructionStart, 'YYYY/MM/DD')"; // 契約工期開始
+            strcmd += " ,TO_CHAR(ConstructionEnd, 'YYYY/MM/DD')";   // 契約工期完了
+            strcmd += " ,OrdersDecisionPrice";  // 税抜受注決定金額
+            strcmd += " ,CompanyExpenses";      // 会社経費合計
+            strcmd += " ,DepartmentExpenses";   // 部署経費合計
+            strcmd += " ,SalesExpenses";        // 営業経費合計
+            strcmd += " ,TotalPayment";         // 総支払額
+            strcmd += " ,GrossProfit";          // 粗利
+            strcmd += " ,Allowance";            // 給与
+            strcmd += " ,NetProfit";            // 純利益
+            strcmd += " ,ComplateFlg";          // 入力完了フラグ
+            strcmd += " ,IntegrationFlg";       // 受注金額積算フラグ
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionLedger";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事詳細台帳データ複数検索
+        /// <summary>
+        /// 工事詳細台帳データ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionLedger> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLedger work = new ConstructionLedger();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ1件検索
+        /// <summary>
+        /// 工事詳細台帳データ1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionLedger data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ1件追加
+        /// <summary>
+        /// 工事詳細台帳データ1件追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionLedger work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionLedger";
+                strcmd += " (ConstructionCode";         // 工事番号
+                strcmd += " ,ConstructionPeriod";       // 事業期
+                strcmd += " ,CreatorCode";              // 作成者コード
+                strcmd += " ,CreatorName";              // 作成者名
+                strcmd += " ,CreateDate";               // 作成日
+                strcmd += " ,ConstructionTimes";        // 工期（単位・月）
+                strcmd += " ,ConstructionStart";        // 契約工期開始
+                strcmd += " ,ConstructionEnd";          // 契約工期完了
+                strcmd += " ,OrdersDecisionPrice";      // 税抜受注決定金額
+                strcmd += " ,CompanyExpenses";          // 会社経費合計
+                strcmd += " ,DepartmentExpenses";       // 部署経費合計
+                strcmd += " ,SalesExpenses";            // 営業経費合計
+                strcmd += " ,TotalPayment";             // 総支払額
+                strcmd += " ,GrossProfit";              // 粗利
+                strcmd += " ,Allowance";                // 給与
+                strcmd += " ,NetProfit";                // 純利益
+                strcmd += " ,ComplateFlg";              // 入力完了フラグ
+                strcmd += " ,IntegrationFlg";           // 受注金額積算フラグ
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);                // 工事番号
+
+                strcmd += string.Format(", {0}", work.ConstructionPeriod);              // 事業期
+                strcmd += string.Format(", {0}", work.CreatorCode);                     // 作成者コード
+                strcmd += string.Format(",'{0}'", work.CreatorName);                    // 作成者名
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')",
+                                        work.CreateDate.ToShortDateString());           // 作成日
+                strcmd += string.Format(", {0}", work.ConstructionTimes);               // 工期（単位・月）
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')",
+                                        work.ConstructionStart.ToShortDateString());    // 契約工期開始
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')",
+                                        work.ConstructionEnd.ToShortDateString());      // 契約工期完了
+
+                strcmd += string.Format(",{0}", work.OrdersDecisionPrice);              // 税抜受注決定金額
+                strcmd += string.Format(",{0}", work.CompanyExpenses);                  // 会社経費合計
+                strcmd += string.Format(",{0}", work.DepartmentExpenses);               // 部署経費合計
+                strcmd += string.Format(",{0}", work.SalesExpenses);                    // 営業経費合計
+                strcmd += string.Format(",{0}", work.TotalPayment);                     // 総支払額
+                strcmd += string.Format(",{0}", work.GrossProfit);                      // 粗利
+                strcmd += string.Format(",{0}", work.Allowance);                        // 給与
+                strcmd += string.Format(",{0}", work.NetProfit);                        // 純利益
+                strcmd += string.Format(",{0}", work.ComplateFlg);                      // 入力完了フラグ
+                strcmd += string.Format(",{0}", work.IntegrationFlg);                   // 受注金額積算フラグ
+
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ複数追加
+        /// <summary>
+        /// 工事詳細台帳データ複数追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionLedger> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionLedger work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ更新
+        /// <summary>
+        /// 工事詳細台帳データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionLedger data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionLedger";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", ConstructionPeriod = {0}", data.ConstructionPeriod);     // 事業期
+                strcmd += string.Format(", CreatorCode = {0}", data.CreatorCode);                   // 作成者コード
+                strcmd += string.Format(", CreatorName = '{0}'", data.CreatorName);                 // 作成者名
+                strcmd += string.Format(", CreateDate = TO_DATE('{0}','YYYY/MM/DD')",
+                                                        data.CreateDate.ToShortDateString());       // 作成日
+                strcmd += string.Format(", ConstructionTimes = {0}", data.ConstructionTimes);       // 工期（単位・月）
+                strcmd += string.Format(", ConstructionStart = TO_DATE('{0}','YYYY/MM/DD')",
+                                                        data.ConstructionStart.ToShortDateString());// 契約工期開始
+                strcmd += string.Format(", ConstructionEnd = TO_DATE('{0}','YYYY/MM/DD')",
+                                                        data.ConstructionEnd.ToShortDateString());  // 契約工期完了
+
+                strcmd += string.Format(", OrdersDecisionPrice = {0}", data.OrdersDecisionPrice);   // 税抜受注決定金額
+                strcmd += string.Format(", CompanyExpenses = {0}", data.CompanyExpenses);           // 会社経費合計
+                strcmd += string.Format(", DepartmentExpenses = {0}", data.DepartmentExpenses);     // 部署経費合計
+                strcmd += string.Format(", SalesExpenses = {0}", data.SalesExpenses);               // 営業経費合計
+                strcmd += string.Format(", TotalPayment = {0}", data.TotalPayment);                 // 総支払額
+                strcmd += string.Format(", GrossProfit = {0}", data.GrossProfit);                   // 粗利
+                strcmd += string.Format(", Allowance = {0}", data.Allowance);                       // 給与
+                strcmd += string.Format(", NetProfit = {0}", data.NetProfit);                       // 純利益
+                strcmd += string.Format(", ComplateFlg = {0}", data.ComplateFlg);                   // 入力完了フラグ
+                strcmd += string.Format(", IntegrationFlg = {0}", data.IntegrationFlg);             // 受注金額積算フラグ
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ削除
+        /// <summary>
+        /// 工事詳細台帳データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionLedger", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目の更新を行う
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="GroupCount"></param>
+        /// <param name="LineCount"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedger";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:          // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionPeriod:        // 事業期
+                        strcmd += string.Format(" ConstructionPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreatorCode:               // 作成者コード
+                        strcmd += string.Format(" CreatorCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreatorName:    	        // 作成者名
+                        strcmd += string.Format(" CreatorName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:	            // 作成日
+                        strcmd += string.Format(" CreateDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionTimes:         // 工期（単位・月）
+                        strcmd += string.Format(" ConstructionTimes = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionStart:         // 契約工期開始
+                        strcmd += string.Format(" ConstructionStart = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionEnd:           // 契約工期完了
+                        strcmd += string.Format(" ConstructionEnd = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrdersDecisionPrice:       // 税抜受注決定金額
+                        strcmd += string.Format(" OrdersDecisionPrice = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyExpenses:           // 会社経費合計
+                        strcmd += string.Format(" CompanyExpenses = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DepartmentExpenses:        // 部署経費合計
+                        strcmd += string.Format(" DepartmentExpenses = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalesExpenses:             // 営業経費合計
+                        strcmd += string.Format(" SalesExpenses = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TotalPayment:              // 総支払額
+                        strcmd += string.Format(" TotalPayment = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GrossProfit:               // 粗利
+                        strcmd += string.Format(" GrossProfit = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.Allowance:                 // 給与
+                        strcmd += string.Format(" Allowance = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.NetProfit:                 // 純利益
+                        strcmd += string.Format(" NetProfit = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComplateFlg:               // 入力完了フラグ
+                        strcmd += string.Format(" ComplateFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.IntegrationFlg:            // 受注金額積算フラグ
+                        strcmd += string.Format(" IntegrationFlg = {0}", ((int)value).ToString());
+                        break;
+                    default:
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionLedger wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	        // 工事番号
+
+                wrk.ConstructionPeriod = int.Parse(objwrk[(int)TableColumn.ConstructionPeriod].ToString());        // 事業期
+                wrk.CreatorCode = int.Parse(objwrk[(int)TableColumn.CreatorCode].ToString());                      // 作成者コード
+                wrk.CreatorName = objwrk[(int)TableColumn.CreatorName].ToString();                                 // 作成者名
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());                   // 作成日
+                wrk.ConstructionTimes = double.Parse(objwrk[(int)TableColumn.ConstructionTimes].ToString());       // 工期（単位・月）
+                wrk.ConstructionStart = DateTime.Parse(objwrk[(int)TableColumn.ConstructionStart].ToString());     // 契約工期開始
+                wrk.ConstructionEnd = DateTime.Parse(objwrk[(int)TableColumn.ConstructionEnd].ToString());         // 契約工期完了
+
+                wrk.OrdersDecisionPrice = double.Parse(objwrk[(int)TableColumn.OrdersDecisionPrice].ToString());   // 税抜受注決定金額
+                wrk.CompanyExpenses = double.Parse(objwrk[(int)TableColumn.CompanyExpenses].ToString());           // 会社経費合計
+                wrk.DepartmentExpenses = double.Parse(objwrk[(int)TableColumn.DepartmentExpenses].ToString());     // 部署経費合計
+                wrk.SalesExpenses = double.Parse(objwrk[(int)TableColumn.SalesExpenses].ToString());               // 営業経費合計
+                wrk.TotalPayment = double.Parse(objwrk[(int)TableColumn.TotalPayment].ToString());                 // 総支払額
+                wrk.GrossProfit = double.Parse(objwrk[(int)TableColumn.GrossProfit].ToString());                   // 粗利
+                wrk.Allowance = double.Parse(objwrk[(int)TableColumn.Allowance].ToString());                       // 給与
+                wrk.NetProfit = double.Parse(objwrk[(int)TableColumn.NetProfit].ToString());                       // 純利益
+                wrk.ComplateFlg = int.Parse(objwrk[(int)TableColumn.ComplateFlg].ToString());                       // 入力完了フラグ
+                wrk.IntegrationFlg = int.Parse(objwrk[(int)TableColumn.IntegrationFlg].ToString());                 // 受注金額積算フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerDetail.cs	(revision 84)
@@ -0,0 +1,668 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事詳細台帳データ明細ＤＢアクセス
+    /// </summary>
+    public class IOConstructionLedgerDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事詳細台帳データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+
+            GroupCount,             // グループ番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            ItemCode,		        // 工種キー
+            FirstString,            // 項目名称
+            SecondString,           // 工事内容
+            CompanyType,            // 協力会社コードタイプ
+            CompanyCode,            // 協力会社コード
+            CompanyName,            // 協力会社名称
+            EstimatePrice,          // 予算（見積）金額
+            ExecutionAmount,        // 実行金額
+            AmountConfigRate,       // 金額構成率
+            PaymentBurden,          // 支払補填額
+            FixDataFlg,             // 固定データフラグ
+            IndependentFlg,         // 独立データフラグ
+            FluctuationFlg,         // 増減データフラグ
+            SalaryFlg,              // 給与振分区分
+            SalaryDays,             // 給与振分日数
+            OperatingFlg,           // 担当中フラグ
+            SourceCode,             // 元工事番号
+            JoinTitleFlg,           // 工事名称タイトル
+            SalaryOnRegist,         // 登録時月額給与
+            PurchaseOrderFlg,       // 注文書発行フラグ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionLedgerDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ComponentCode";            // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", FirstString";              // 項目名称
+            strcmd += ", SecondString";             // 工事内容
+            strcmd += ", CompanyType";              // 協力会社コードタイプ
+            strcmd += ", CompanyCode";              // 協力会社コード
+            strcmd += ", CompanyName";              // 協力会社名称
+            strcmd += ", EstimatePrice";            // 予算（見積）金額
+            strcmd += ", ExecutionAmount";          // 実行金額
+            strcmd += ", AmountConfigRate";         // 金額構成率
+            strcmd += ", PaymentBurden";            // 支払補填額
+            strcmd += ", FixDataFlg";               // 固定データフラグ
+            strcmd += ", IndependentFlg";           // 独立データフラグ
+            strcmd += ", FluctuationFlg";           // 増減データフラグ
+            strcmd += ", SalaryFlg";                // 給与振分区分
+            strcmd += ", SalaryDays";               // 給与振分日数
+            strcmd += ", OperatingFlg";             // 担当中フラグ
+            strcmd += ", SourceCode";               // 元工事番号
+            strcmd += ", JoinTitleFlg";             // 工事名称タイトル
+            strcmd += ", SalaryOnRegist";           // 登録時月額給与
+            strcmd += ", PurchaseOrderFlg";         // 注文書発行フラグ
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionLedgerDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細検索
+        /// <summary>
+        /// 工事詳細台帳データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionLedgerDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLedgerDetail work = new ConstructionLedgerDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref ConstructionLedgerDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細追加
+        /// <summary>
+        /// 工事詳細台帳データ明細追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionLedgerDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionLedgerDetail";
+
+                strcmd += " (ConstructionCode";	        // 工事コード
+                strcmd += ", GroupCount";               // グループ番号
+                strcmd += ", LineCount";                // 行番号
+                strcmd += ", ComponentCode";            // 構成キー
+                strcmd += ", ItemCode";		            // 工種キー
+                strcmd += ", FirstString";              // 項目名称
+                strcmd += ", SecondString";             // 工事内容
+                strcmd += ", CompanyType";              // 協力会社コードタイプ
+                strcmd += ", CompanyCode";              // 協力会社コード
+                strcmd += ", CompanyName";              // 協力会社名称
+                strcmd += ", EstimatePrice";            // 予算（見積）金額
+                strcmd += ", ExecutionAmount";          // 実行金額
+                strcmd += ", AmountConfigRate";         // 金額構成率
+                strcmd += ", PaymentBurden";            // 支払補填額
+                strcmd += ", FixDataFlg";               // 固定データフラグ
+                strcmd += ", IndependentFlg";           // 独立データフラグ
+                strcmd += ", FluctuationFlg";           // 増減データフラグ
+                strcmd += ", SalaryFlg";                // 給与振分区分
+                strcmd += ", SalaryDays";               // 給与振分日数
+                strcmd += ", OperatingFlg";             // 担当中フラグ
+                strcmd += ", SourceCode";               // 元工事番号
+                strcmd += ", JoinTitleFlg";             // 工事名称タイトル
+                strcmd += ", SalaryOnRegist";           // 登録時月額給与
+                strcmd += ", PurchaseOrderFlg";         // 注文書発行フラグ
+
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		        // 工種キー
+                strcmd += string.Format(",'{0}'", work.FirstString);            // 項目名称
+                strcmd += string.Format(",'{0}'", work.SecondString);           // 工事内容
+                strcmd += string.Format(", {0}", work.CompanyType);             // 協力会社コードタイプ
+                strcmd += string.Format(", {0}", work.CompanyCode);             // 協力会社コード
+                strcmd += string.Format(",'{0}'", work.CompanyName);            // 協力会社名称
+                strcmd += string.Format(", {0}", work.EstimatePrice);           // 予算（見積）金額
+                strcmd += string.Format(", {0}", work.ExecutionAmount);         // 実行金額
+                strcmd += string.Format(", {0}", work.AmountConfigRate);        // 金額構成率
+                strcmd += string.Format(", {0}", work.PaymentBurden);           // 支払補填額
+                
+                strcmd += string.Format(", {0}", work.FixDataFlg);              // 固定データフラグ
+                strcmd += string.Format(", {0}", work.IndependentFlg);          // 独立データフラグ
+                strcmd += string.Format(", {0}", work.FluctuationFlg);          // 増減データフラグ
+
+                strcmd += string.Format(", {0}", work.SalaryFlg);               // 給与振分区分
+                strcmd += string.Format(", {0}", work.SalaryDays);              // 給与振分日数
+                strcmd += string.Format(", {0}", work.OperatingFlg);            // 担当中フラグ
+                strcmd += string.Format(", {0}", work.SourceCode);              // 元工事番号
+                strcmd += string.Format(", {0}", work.JoinTitleFlg);            // 工事名称タイトル
+                strcmd += string.Format(", {0}", work.SalaryOnRegist);          // 登録時月額給与
+                strcmd += string.Format(", {0}", work.PurchaseOrderFlg);        // 注文書発行フラグ
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細追加
+        /// <summary>
+        /// 工事詳細台帳データ明細追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionLedgerDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionLedgerDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細更新
+        /// <summary>
+        /// 工事詳細台帳データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionLedgerDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionLedgerDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);               // 構成キー
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode);		                    // 工種キー
+                strcmd += string.Format(", FirstString = '{0}'", data.FirstString);                 // 項目名称名称
+                strcmd += string.Format(", SecondString = '{0}'", data.SecondString);               // 工事内容
+                strcmd += string.Format(", CompanyType = {0}", data.CompanyType);                   // 協力会社コードタイプ
+                strcmd += string.Format(", CompanyCode = {0}", data.CompanyCode);                   // 協力会社コード
+                strcmd += string.Format(", CompanyName = '{0}'", data.CompanyName);                 // 協力会社名称
+                strcmd += string.Format(", EstimatePrice = {0}", data.EstimatePrice);               // 予算（見積）金額
+                strcmd += string.Format(", ExecutionAmount = {0}", data.ExecutionAmount);           // 実行金額
+                strcmd += string.Format(", AmountConfigRate = {0}", data.AmountConfigRate);         // 金額構成率
+                strcmd += string.Format(", PaymentBurden = {0}", data.PaymentBurden);               // 支払補填額
+
+                strcmd += string.Format(", FixDataFlg = {0}", data.FixDataFlg);                     // 固定データフラグ
+                strcmd += string.Format(", IndependentFlg = {0}", data.IndependentFlg);             // 独立データフラグ
+                strcmd += string.Format(", FluctuationFlg = {0}", data.FluctuationFlg);             // 増減データフラグ
+
+                strcmd += string.Format(", SalaryFlg = {0}", data.SalaryFlg);                       // 給与振分区分
+                strcmd += string.Format(", SalaryDays = {0}", data.SalaryDays);                     // 給与振分日数
+                strcmd += string.Format(", OperatingFlg = {0}", data.OperatingFlg);                 // 担当中フラグ
+                strcmd += string.Format(", SourceCode = {0}", data.SourceCode);                     // 元工事番号
+                strcmd += string.Format(", JoinTitleFlg = {0}", data.JoinTitleFlg);                 // 工事名称タイトルフラグ
+                strcmd += string.Format(", SalaryOnRegist = {0}", data.SalaryOnRegist);             // 登録時月額給与
+                strcmd += string.Format(", PurchaseOrderFlg = {0}", data.PurchaseOrderFlg);         // 注文書発行フラグ
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳データ明細削除
+        /// <summary>
+        /// 工事詳細台帳データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionLedgerDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionLedgerDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());          // 工事番号
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	            // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		                    // 工種キー
+                wrk.FirstString = objwrk[(int)TableColumn.FirstString].ToString();	                            // 項目名称
+                wrk.SecondString = objwrk[(int)TableColumn.SecondString].ToString();	                            // 工事内容
+                wrk.CompanyType = int.Parse(objwrk[(int)TableColumn.CompanyType].ToString());	                // 協力会社コードタイプ
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());	                // 協力会社コード
+                wrk.CompanyName = objwrk[(int)TableColumn.CompanyName].ToString();                               // 協力会社名称
+                wrk.EstimatePrice = double.Parse(objwrk[(int)TableColumn.EstimatePrice].ToString());	            // 予算（見積）金額
+                wrk.ExecutionAmount = double.Parse(objwrk[(int)TableColumn.ExecutionAmount].ToString());	        // 実行金額
+                wrk.AmountConfigRate = double.Parse(objwrk[(int)TableColumn.AmountConfigRate].ToString());	    // 金額構成率
+                wrk.PaymentBurden = double.Parse(objwrk[(int)TableColumn.PaymentBurden].ToString());             // 支払補填額
+                
+                wrk.FixDataFlg = int.Parse(objwrk[(int)TableColumn.FixDataFlg].ToString());                      // 固定データフラグ
+                wrk.IndependentFlg = int.Parse(objwrk[(int)TableColumn.IndependentFlg].ToString());              // 独立データフラグ
+                wrk.FluctuationFlg = int.Parse(objwrk[(int)TableColumn.FluctuationFlg].ToString());              // 増減データフラグ
+
+                wrk.SalaryFlg = int.Parse(objwrk[(int)TableColumn.SalaryFlg].ToString());                        // 給与振分区分
+                wrk.SalaryDays = int.Parse(objwrk[(int)TableColumn.SalaryDays].ToString());                      // 給与振分日数
+                wrk.OperatingFlg = int.Parse(objwrk[(int)TableColumn.OperatingFlg].ToString());                  // 担当中フラグ
+                wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());                      // 元工事番号
+                wrk.JoinTitleFlg = int.Parse(objwrk[(int)TableColumn.JoinTitleFlg].ToString());                  // 工事名称タイトルフラグ
+                wrk.SalaryOnRegist = double.Parse(objwrk[(int)TableColumn.SalaryOnRegist].ToString());           // 登録時月額給与
+                wrk.PurchaseOrderFlg = int.Parse(objwrk[(int)TableColumn.PurchaseOrderFlg].ToString());          // 注文書発行フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1項目の更新を行う（キー指定）
+        /// <summary>
+        /// 1項目の更新を行う（キー指定）
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, int GroupCount = 0, int LineCount = 0, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerDetail";
+
+                strcmd += " SET";
+
+                UpdateFeildSQL(FeildNo, value, ref strcmd);
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, GroupCount, LineCount);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目の更新を行う
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(string strWhere, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerDetail";
+
+                strcmd += " SET";
+                
+                UpdateFeildSQL(FeildNo, value, ref strcmd);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += strWhere;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新SQL作成処理
+        /// <summary>
+        /// 1項目更新SQL作成処理
+        /// </summary>
+        public void UpdateFeildSQL(int FeildNo, object value, ref string strcmd)
+        {
+            try
+            {
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	    // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GroupCount:            // グループ番号
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:             // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:         // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FirstString:           // 項目名称
+                        strcmd += string.Format(" FirstString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SecondString:          // 工事内容
+                        strcmd += string.Format(" SecondString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CompanyType:           // 協力会社コードタイプ
+                        strcmd += string.Format(" CompanyType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:           // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyName:           // 協力会社名称
+                        strcmd += string.Format(" CompanyName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.EstimatePrice:         // 予算（見積）金額
+                        strcmd += string.Format(" EstimatePrice = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ExecutionAmount:       // 実行金額
+                        strcmd += string.Format(" ExecutionAmount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.AmountConfigRate:      // 金額構成率
+                        strcmd += string.Format(" AmountConfigRate = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.PaymentBurden:         // 支払補填額
+                        strcmd += string.Format(" PaymentBurden = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FixDataFlg:            // 固定データフラグ
+                        strcmd += string.Format(" FixDataFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.IndependentFlg:        // 独立データフラグ
+                        strcmd += string.Format(" IndependentFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FluctuationFlg:        // 増減データフラグ
+                        strcmd += string.Format(" FluctuationFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryFlg:             // 給与振分区分
+                        strcmd += string.Format(" SalaryFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryDays:            // 給与振分日数
+                        strcmd += string.Format(" SalaryDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OperatingFlg:          // 担当中フラグ
+                        strcmd += string.Format(" OperatingFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCode:            // 元工事番号
+                        strcmd += string.Format(" SourceCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.JoinTitleFlg:          // 工事名称タイトルフラグ
+                        strcmd += string.Format(" JoinTitleFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SalaryOnRegist:        // 登録時月額給与
+                        strcmd += string.Format(" SalaryOnRegist = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.PurchaseOrderFlg:      // 注文書発行フラグ
+                        strcmd += string.Format(" PurchaseOrderFlg = {0}", ((int)value).ToString());
+                        break;
+
+                    default:
+                        break;
+                }
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+        }
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="OutsourcingFlg"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int GroupCount = 0, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (GroupCount != 0)
+                    strWork += string.Format(" And GroupCount = {0}", GroupCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 行番号の最大値を取得
+        /// <summary>
+        /// 行番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxLineCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(LineCount), 0) FROM ConstructionLedgerDetail" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerExcute.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerExcute.cs	(revision 84)
@@ -0,0 +1,506 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事詳細台帳実行データＤＢアクセス
+    /// </summary>
+    public class IOConstructionLedgerExcute : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事詳細台帳実行データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode = 0,
+            /// <summary>
+            /// グループ番号
+            /// </summary>
+            GroupCount,
+            /// <summary>
+            /// 行番号
+            /// </summary>
+            LineCount,
+            /// <summary>
+            /// 列番号
+            /// </summary>
+            ColumnCount,
+            /// <summary>
+            /// 支払金額
+            /// </summary>
+            PaymentAmount,
+            /// <summary>
+            /// 対象年月
+            /// </summary>
+            TargetMonth,
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionLedgerExcute()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ColumnCount";              // 列番号
+
+            strcmd += ", PaymentAmount";            // 支払金額
+            strcmd += ", TO_CHAR(TargetMonth, 'YYYY/MM/DD HH24:MI:ss')";    // 対象年月
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionLedgerExcute";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ検索
+        /// <summary>
+        /// 工事詳細台帳実行データ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionLedgerExcute> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLedgerExcute work = new ConstructionLedgerExcute();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ検索
+        /// <summary>
+        /// 工事詳細台帳実行データ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionLedgerExcute data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ追加
+        /// <summary>
+        /// 工事詳細台帳実行データ追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionLedgerExcute work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionLedgerExcute";
+                strcmd += "(ConstructionCode";	        // 工事コード
+                strcmd += ", GroupCount";               // グループ番号
+                strcmd += ", LineCount";                // 行番号
+                strcmd += ", ColumnCount";              // 列番号
+                strcmd += ", PaymentAmount";            // 支払金額
+                strcmd += ", TargetMonth";              // 対象年月
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ColumnCount);             // 列番号
+
+                strcmd += string.Format(", {0}", work.PaymentAmount);           // 支払金額
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')",work.TargetMonth.ToShortDateString());  // 対象年月
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ追加
+        /// <summary>
+        /// 工事詳細台帳実行データ追加
+        /// </summary>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionLedgerExcute> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionLedgerExcute work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ更新
+        /// <summary>
+        /// 工事詳細台帳実行データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionLedgerExcute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerExcute";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ColumnCount = {0}", data.ColumnCount);                   // 列番号
+                strcmd += string.Format(", PaymentAmount = {0}", data.PaymentAmount);               // 支払金額
+                strcmd += string.Format(", TargetMonth = TO_DATE('{0}','YYYY/MM/DD')", data.TargetMonth.ToShortDateString());   // 対象年月
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事詳細台帳実行データ削除
+        /// <summary>
+        /// 工事詳細台帳実行データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事詳細台帳実行データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionLedgerExcute", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerExcute";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    // 工事番号
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    // グループ番号
+                    case (int)TableColumn.GroupCount:
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    // 行番号
+                    case (int)TableColumn.LineCount:
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    // 列番号
+                    case (int)TableColumn.ColumnCount:
+                        strcmd += string.Format(" ColumnCount = {0}", ((int)value).ToString());
+                        break;
+                    // 支払金額
+                    case (int)TableColumn.PaymentAmount:
+                        strcmd += string.Format(" PaymentAmount = {0}", ((double)value).ToString());
+                        break;
+                    // 対象年月
+                    case (int)TableColumn.TargetMonth:
+                        strcmd += string.Format(" TargetMonth = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionLedgerExcute wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());          // 工事番号
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+                wrk.ColumnCount = int.Parse(objwrk[(int)TableColumn.ColumnCount].ToString());                    // 列番号
+                wrk.PaymentAmount = double.Parse(objwrk[(int)TableColumn.PaymentAmount].ToString());             // 支払金額
+                wrk.TargetMonth = DateTime.Parse(objwrk[(int)TableColumn.TargetMonth].ToString());               // 対象年月
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="GroupCount"></param>
+        /// <param name="LineCount"></param>
+        /// <param name="ColumnCount"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int GroupCount, int LineCount, int ColumnCount
+                                    , int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLedgerExcute";
+
+                strcmd += " SET";
+
+                switch (FeildNo)
+                {
+                    // 工事番号
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", (int)value);
+                        break;
+                    // グループ番号
+                    case (int)TableColumn.GroupCount:
+                        strcmd += string.Format(" GroupCount = {0}", (int)value);
+                        break;
+                    // 行番号
+                    case (int)TableColumn.LineCount:
+                        strcmd += string.Format(" LineCount = {0}", (int)value);
+                        break;
+                    // 列番号
+                    case (int)TableColumn.ColumnCount:
+                        strcmd += string.Format(" ColumnCount = {0}", (int)value);
+                        break;
+                    // 支払金額
+                    case (int)TableColumn.PaymentAmount:
+                        strcmd += string.Format(" PaymentAmount = {0}", (int)value);
+                        break;
+                    // 対象年月
+                    case (int)TableColumn.TargetMonth:
+                        strcmd += string.Format(" TargetMonth = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    default:
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, GroupCount, LineCount, ColumnCount);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="OutsourcingFlg"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int GroupCount = 0, int LineCount = 0, int ColumnCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (GroupCount != 0)
+                    strWork += string.Format(" And GroupCount = {0}", GroupCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+                if (ColumnCount != 0)
+                    strWork += string.Format(" And ColumnCount = {0}", ColumnCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLink.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLink.cs	(revision 84)
@@ -0,0 +1,421 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事増減情報ＤＢアクセス
+    /// </summary>
+    public class IOConstructionLink : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事増減情報フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,
+            FluctuationCode,
+            LinkType,
+            EntryDate,
+            UpdateDate,
+        }
+
+        #endregion
+
+        #region プロパティ
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionLink()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ConstructionCode, FluctuationCode, LinkType";
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionLink";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 読込み処理（1件読込み）
+        /// <summary>
+        /// 工事増減情報検索（1件読込み）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionLink data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLink work = new ConstructionLink();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込み処理（複数件読込み）
+        /// <summary>
+        /// 工事増減情報検索（複数件読込み）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionLink> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionLink work = new ConstructionLink();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加処理（1件追加）
+        /// <summary>
+        /// 工事増減情報追加（1件追加）
+        /// </summary>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionLink data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionLink";
+                strcmd += " (ConstructionCode,";
+                strcmd += " FluctuationCode,";
+                strcmd += " LinkType,";
+                strcmd += " EntryDate,";
+                strcmd += " UpdateDate)";
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.ConstructionCode);
+                strcmd += string.Format(", {0}", data.FluctuationCode);
+                strcmd += string.Format(", {0}", data.LinkType);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加処理（複数件追加）
+        /// <summary>
+        /// 工事増減情報追加（複数件追加）
+        /// </summary>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        /// <summary>
+        /// 工事増減情報追加
+        /// </summary>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionLink> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionLink work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事増減情報更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionLink data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionLink";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ConstructionCode = {0}", data.ConstructionCode);
+                strcmd += string.Format(", DetailNo = {0}", data.FluctuationCode);
+                strcmd += string.Format(", LinkType = {0}", data.LinkType);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 工事増減情報削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事増減情報データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionLink", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionLink wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());
+                wrk.FluctuationCode = int.Parse(objwrk[(int)TableColumn.FluctuationCode].ToString());
+                wrk.LinkType = int.Parse(objwrk[(int)TableColumn.LinkType].ToString());
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region 1項目更新処理（親コードでの更新）
+        /// <summary>
+        /// 1項目の更新を行う（親コードでの更新）
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLink";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FluctuationCode:
+                        strcmd += string.Format(" FluctuationCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理（子コードでの更新）
+        /// <summary>
+        /// 1項目の更新を行う（子コードでの更新）
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild2(int FluctuationCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionLink";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FluctuationCode:
+                        strcmd += string.Format(" FluctuationCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += string.Format(" WHERE FluctuationCode = {0}", FluctuationCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 検索の文字列を返す
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="DetailNo"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int FluctuationCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (FluctuationCode != 0)
+                    strWork += string.Format(" And FluctuationCode = {0}", FluctuationCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionProgressDate.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionProgressDate.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionProgressDate.cs	(revision 84)
@@ -0,0 +1,346 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 案件進捗日付データアクセスクラス
+    /// </summary>
+    public class IOConstructionProgressDate : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 案件進捗日付データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            ConstructionCode,
+            ConstructionStatusFlg,
+            PreviousStatusFlg,
+            ChangeDate,
+            ChangePersonCode,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOConstructionProgressDate()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " ConstructionCode";
+            strcmd += ",ConstructionStatusFlg";
+            strcmd += ",PreviousStatusFlg";
+            strcmd += ",TO_CHAR(ChangeDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",ChangePersonCode";
+
+            strcmd += ",TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionProgressDate";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 読込み処理
+        /// <summary>
+        /// 案件進捗日付データ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">案件進捗日付データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionProgressDate> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionProgressDate work = new ConstructionProgressDate();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 複数追加処理
+        /// <summary>
+        /// 案件進捗日付データ追加
+        /// </summary>
+        /// <param name="data">案件進捗日付データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionProgressDate> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionProgressDate work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        public bool InsertAction(ConstructionProgressDate data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ConstructionProgressDate";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode.ToString());
+                    strcmd += string.Format(", {0}", data.ConstructionStatusFlg.ToString());
+                    strcmd += string.Format(", {0}", data.PreviousStatusFlg.ToString());
+                    strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.ChangeDate.ToString());
+                    strcmd += string.Format(", {0}", data.ChangePersonCode.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 案件進捗日付データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">案件進捗日付データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionProgressDate data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionProgressDate";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",ConstructionStatusFlg = {0}", data.ConstructionStatusFlg.ToString());
+                strcmd += string.Format(",PreviousStatusFlg = {0}", data.PreviousStatusFlg.ToString());
+                strcmd += string.Format(",ChangeDate = TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.ChangeDate.ToString());
+                strcmd += string.Format(",ChangePersonCode = {0}", data.ChangePersonCode.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 案件進捗日付データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">案件進捗日付データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionProgressDate", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ConstructionProgressDate";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ConstructionStatusFlg:
+                        strcmd += string.Format(" ConstructionStatusFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PreviousStatusFlg:
+                        strcmd += string.Format(" PreviousStatusFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ChangeDate:
+                        strcmd += string.Format(" ChangeDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ChangePersonCode:
+                        strcmd += string.Format(" ChangePersonCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionProgressDate wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)ColumnName.ConstructionCode].ToString());
+                wrk.ConstructionStatusFlg = int.Parse(objwrk[(int)ColumnName.ConstructionStatusFlg].ToString());
+                wrk.PreviousStatusFlg = int.Parse(objwrk[(int)ColumnName.PreviousStatusFlg].ToString());
+                wrk.ChangeDate = DateTime.Parse(objwrk[(int)ColumnName.ChangeDate].ToString());
+                wrk.ChangePersonCode = int.Parse(objwrk[(int)ColumnName.ChangePersonCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ConstructionStatusFlg = -1)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode.ToString());
+                if (ConstructionStatusFlg != -1)
+                    strWork += string.Format(" And ConstructionStatusFlg = {0}", ConstructionStatusFlg.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostDataOfPerson.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostDataOfPerson.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostDataOfPerson.cs	(revision 84)
@@ -0,0 +1,443 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 担当者毎経費データＤＢアクセス
+    /// </summary>
+    public class IOCostDataOfPerson : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者毎経費データフィールド並び
+        /// </summary>
+        public enum CostDataOfPersonColumn
+        {
+            PersonCode = 0,     // 担当者コード
+            ActionDate,         // 対象日付
+            DataType,	        // データ区分
+            DataAddCount,       // データ追加番号
+            TargetMonth,        // 対象年月
+            ConstructionCode,   // 工事番号
+            SuppliersCode,      // 支払先コード
+            SuppliersName,      // 支払先名称
+            PaymentContent,     // 支払内容
+            PaymentType,        // 支払方法フラグ
+            EntryPrice,	        // 金額（税抜）
+            EntryPriceInTax,    // 金額（税込）
+            SlipNumber,         // 伝票番号
+
+            ComplateFlg,        // 引込済みフラグ
+            ApprovalFlg,        // 承認フラグ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOCostDataOfPerson()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                           // 担当者コード
+            strcmd += " ,TO_CHAR(ActionDate, 'YYYY/MM/DD')";    // 対象日付
+            strcmd += " ,DataType";                             // データ区分
+            strcmd += " ,DataAddCount";                         // データ追加番号
+            strcmd += " ,TargetMonth";                          // 対象年月
+            strcmd += " ,ConstructionCode";                     // 工事番号
+            strcmd += " ,SuppliersCode";                        // 支払先コード
+            strcmd += " ,SuppliersName";                        // 支払先名称
+            strcmd += " ,PaymentContent";                       // 支払内容
+            strcmd += " ,PaymentType";                          // 支払方法フラグ
+            strcmd += " ,EntryPrice";	                        // 金額（税抜）
+            strcmd += " ,EntryPriceInTax";                      // 金額（税込）
+            strcmd += " ,SlipNumber";                           // 伝票番号
+
+            strcmd += " ,ComplateFlg";                          // 引込済みフラグ
+            strcmd += " ,ApprovalFlg";                          // 承認フラグ
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM CostDataOfPerson";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<CostDataOfPerson> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CostDataOfPerson work = new CostDataOfPerson();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref CostDataOfPerson data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(CostDataOfPerson work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO CostDataOfPerson";
+                strcmd += "  (PersonCode";                          // 担当者コード
+                strcmd += " ,ActionDate";                           // 対象日付
+                strcmd += " ,DataType";                             // データ区分
+                strcmd += " ,DataAddCount";                         // データ追加番号
+                strcmd += " ,TargetMonth";                          // 対象年月
+                strcmd += " ,ConstructionCode";                     // 工事番号
+                strcmd += " ,SuppliersCode";                        // 支払先コード
+                strcmd += " ,SuppliersName";                        // 支払先名称
+                strcmd += " ,PaymentContent";                       // 支払内容
+                strcmd += " ,PaymentType";                          // 支払方法フラグ
+                strcmd += " ,EntryPrice";	                        // 金額（税抜）
+                strcmd += " ,EntryPriceInTax";                      // 金額（税込）
+                strcmd += " ,SlipNumber";                           // 伝票番号
+                strcmd += " ,ComplateFlg";                          // 引込済みフラグ
+                strcmd += " ,ApprovalFlg";                          // 承認フラグ
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.ActionDate.ToShortDateString());     // 対象日付
+                strcmd += string.Format(", {0}", work.DataType);                        // データ区分
+                strcmd += string.Format(", {0}", work.DataAddCount);                    // データ追加番号
+                strcmd += string.Format(",'{0}'", work.TargetMonth);                    // 対象年月
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SuppliersCode);                   // 支払先コード
+                strcmd += string.Format(",'{0}'", work.SuppliersName);                  // 支払先名称
+                strcmd += string.Format(",'{0}'", work.PaymentContent);                 // 支払内容
+                strcmd += string.Format(", {0}", work.PaymentType);                     // 支払方法フラグ
+                strcmd += string.Format(", {0}", work.EntryPrice);	                    // 金額（税抜）
+                strcmd += string.Format(", {0}", work.EntryPriceInTax);	                // 金額（税込）
+                strcmd += string.Format(",'{0}'", work.SlipNumber);                     // 伝票番号
+
+                strcmd += string.Format(", {0}", work.ComplateFlg);                     // 引込済みフラグ
+                strcmd += string.Format(", {0}", work.ApprovalFlg);                     // 承認フラグ
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<CostDataOfPerson> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CostDataOfPerson work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CostDataOfPerson data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CostDataOfPerson";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",ActionDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.ActionDate.ToShortDateString());                  // 対象日付
+                strcmd += string.Format(",DataType = {0}", data.DataType);                      // データ区分
+                strcmd += string.Format(",DataAddCount = {0}", data.DataAddCount);              // データ追加番号
+                strcmd += string.Format(",TargetMonth = '{0}'", data.TargetMonth);              // 対象年月
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SuppliersCode = {0}", data.SuppliersCode);            // 支払先コード
+                strcmd += string.Format(",SuppliersName = '{0}'", data.SuppliersName);          // 支払先名称
+                strcmd += string.Format(",PaymentContent = '{0}'", data.PaymentContent);        // 支払内容
+                strcmd += string.Format(",PaymentType = {0}", data.PaymentType);                // 支払方法フラグ
+                strcmd += string.Format(",EntryPrice = {0}", data.EntryPrice);                  // 金額（税抜）
+                strcmd += string.Format(",EntryPriceInTax = {0}", data.EntryPriceInTax);        // 金額（税込）
+                strcmd += string.Format(",SlipNumber = '{0}'", data.SlipNumber);                // 伝票番号
+                strcmd += string.Format(",ComplateFlg = {0}", data.ComplateFlg);                // 引込済みフラグ
+                strcmd += string.Format(",ApprovalFlg = {0}", data.ApprovalFlg);                // 承認フラグ
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CostDataOfPerson", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CostDataOfPerson wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)CostDataOfPersonColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.ActionDate = DateTime.Parse(objwrk[(int)CostDataOfPersonColumn.ActionDate].ToString());             // 対象日付
+                wrk.DataType = int.Parse(objwrk[(int)CostDataOfPersonColumn.DataType].ToString());                      // データ区分
+                wrk.DataAddCount = int.Parse(objwrk[(int)CostDataOfPersonColumn.DataAddCount].ToString());              // データ追加番号
+                wrk.TargetMonth = objwrk[(int)CostDataOfPersonColumn.TargetMonth].ToString();                           // 対象年月
+                wrk.ConstructionCode = int.Parse(objwrk[(int)CostDataOfPersonColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.SuppliersCode = int.Parse(objwrk[(int)CostDataOfPersonColumn.SuppliersCode].ToString());            // 支払先コード
+                wrk.SuppliersName = objwrk[(int)CostDataOfPersonColumn.SuppliersName].ToString();                       // 支払先名称
+                wrk.PaymentContent = objwrk[(int)CostDataOfPersonColumn.PaymentContent].ToString();                     // 支払内容
+                wrk.PaymentType = int.Parse(objwrk[(int)CostDataOfPersonColumn.PaymentType].ToString());                // 支払方法フラグ
+                wrk.EntryPrice = double.Parse(objwrk[(int)CostDataOfPersonColumn.EntryPrice].ToString());               // 金額（税抜）
+                wrk.EntryPriceInTax = double.Parse(objwrk[(int)CostDataOfPersonColumn.EntryPriceInTax].ToString());     // 金額（税込）
+                wrk.SlipNumber = objwrk[(int)CostDataOfPersonColumn.SlipNumber].ToString();                             // 伝票番号
+                wrk.ComplateFlg = int.Parse(objwrk[(int)CostDataOfPersonColumn.ComplateFlg].ToString());                // 引込済みフラグ
+                wrk.ApprovalFlg = int.Parse(objwrk[(int)CostDataOfPersonColumn.ApprovalFlg].ToString());                // 承認フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)CostDataOfPersonColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)CostDataOfPersonColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime ActionDate, int DataType = 0, int DataAddCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (ActionDate != DateTime.MinValue)
+                    strWork += string.Format(" AND ActionDate = TO_DATE('{0}','YYYY/MM/DD')", ActionDate.ToShortDateString());
+                if (DataType != 0)
+                    strWork += string.Format(" AND DataType = {0}", DataType);
+                if (DataAddCount != 0)
+                    strWork += string.Format(" AND DataAddCount = {0}", DataAddCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DataAddCount), 0) FROM CostDataOfPerson" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostomerRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostomerRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostomerRegist.cs	(revision 84)
@@ -0,0 +1,605 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 発注者登録申請データＤＢアクセス
+    /// </summary>
+    public class IOCostomerRegist : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 発注者登録申請データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,
+            CreateDate,
+            SeqNo,
+            DataMode,
+            SourceCotegory,
+            SourceCode,
+            PetitionPeriod,
+            OrderFlg,
+            CorporateStatusName,
+            CorporateStatusPoint,
+            OrderersName1,
+            OrderersName2,
+            DepartmentName,
+            ChargePersonName,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            PhoneNumber,
+            FaxNumber,
+            MailAddress,
+            Note,
+            OrderCotegory,
+            OrderDate,
+            OrderNo,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOCostomerRegist()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 発注者登録申請データ検索SQL作成
+        /// <summary>
+        /// 発注者登録申請データ検索作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">発注者登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += " ,TO_CHAR(CreateDate, 'YYYY/MM/DD')";
+            strcmd += " ,SeqNo";
+
+            strcmd += " ,DataMode";
+            strcmd += " ,SourceCotegory";
+            strcmd += " ,SourceCode";
+            strcmd += " ,PetitionPeriod";
+            strcmd += " ,OrderFlg";
+            strcmd += " ,CorporateStatusName";
+            strcmd += " ,CorporateStatusPoint";
+            strcmd += " ,OrderersName1";
+            strcmd += " ,OrderersName2";
+            strcmd += " ,DepartmentName";
+            strcmd += " ,ChargePersonName";
+            strcmd += " ,ZipCode";
+            strcmd += " ,Address1";
+            strcmd += " ,Address2";
+            strcmd += " ,Address3";
+            strcmd += " ,PhoneNumber";
+            strcmd += " ,FaxNumber";
+            strcmd += " ,MailAddress";
+            strcmd += " ,Note";
+            strcmd += " ,OrderCotegory";
+            strcmd += " ,TO_CHAR(OrderDate, 'YYYY/MM/DD')";
+            strcmd += " ,OrderNo";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM CostomerRegist";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 発注者登録申請データ検索（複数）
+        /// <summary>
+        /// 発注者登録申請データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<CostomerRegist> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CostomerRegist work = new CostomerRegist();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ検索（1件）
+        /// <summary>
+        /// 発注者登録申請データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref CostomerRegist data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ追加（1件）
+        /// <summary>
+        /// 発注者登録申請データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(CostomerRegist work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO CostomerRegist";
+                strcmd += " (";
+
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", work.CreateDate.ToShortDateString());
+                strcmd += string.Format(", {0}", work.SeqNo);
+                strcmd += string.Format(", {0}", work.DataMode);
+                strcmd += string.Format(", {0}", work.SourceCotegory);
+                strcmd += string.Format(", {0}", work.SourceCode);
+                strcmd += string.Format(", {0}", work.PetitionPeriod);
+                strcmd += string.Format(", {0}", work.OrderFlg);
+                strcmd += string.Format(", '{0}'", work.CorporateStatusName);
+                strcmd += string.Format(", {0}", work.CorporateStatusPoint);
+                strcmd += string.Format(", '{0}'", work.OrderersName1);
+                strcmd += string.Format(", '{0}'", work.OrderersName2);
+                strcmd += string.Format(", '{0}'", work.DepartmentName);
+                strcmd += string.Format(", '{0}'", work.ChargePersonName);
+                strcmd += string.Format(", '{0}'", work.ZipCode);
+                strcmd += string.Format(", '{0}'", work.Address1);
+                strcmd += string.Format(", '{0}'", work.Address2);
+                strcmd += string.Format(", '{0}'", work.Address3);
+                strcmd += string.Format(", '{0}'", work.PhoneNumber);
+                strcmd += string.Format(", '{0}'", work.FaxNumber);
+                strcmd += string.Format(", '{0}'", work.MailAddress);
+                strcmd += string.Format(", '{0}'", work.Note);
+                strcmd += string.Format(", {0}", work.OrderCotegory);
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", work.OrderDate.ToShortDateString());
+                strcmd += string.Format(", {0}", work.OrderNo);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ追加（複数）
+        /// <summary>
+        /// 発注者登録申請データ追加（複数）
+        /// </summary>
+        /// <param name="data">発注者登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CostomerRegist> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (CostomerRegist work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ更新
+        /// <summary>
+        /// 発注者登録申請データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">発注者登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CostomerRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CostomerRegist";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(", CreateDate = TO_DATE('{0}','YYYY/MM/DD')", data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(", DataMode = {0}", data.DataMode);
+                strcmd += string.Format(", SourceCotegory = {0}", data.SourceCotegory);
+                strcmd += string.Format(", SourceCode = {0}", data.SourceCode);
+                strcmd += string.Format(", PetitionPeriod = {0}", data.PetitionPeriod);
+                strcmd += string.Format(", OrderFlg = {0}", data.OrderFlg);
+                strcmd += string.Format(", CorporateStatusName = '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", CorporateStatusPoint = {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", OrderersName1 = '{0}'", data.OrderersName1);
+                strcmd += string.Format(", OrderersName2 = '{0}'", data.OrderersName2);
+                strcmd += string.Format(", DepartmentName = '{0}'", data.DepartmentName);
+                strcmd += string.Format(", ChargePersonName = '{0}'", data.ChargePersonName);
+                strcmd += string.Format(", ZipCode = '{0}'", data.ZipCode);
+                strcmd += string.Format(", Address1 = '{0}'", data.Address1);
+                strcmd += string.Format(", Address2 = '{0}'", data.Address2);
+                strcmd += string.Format(", Address3 = '{0}'", data.Address3);
+                strcmd += string.Format(", PhoneNumber = '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", FaxNumber = '{0}'", data.FaxNumber);
+                strcmd += string.Format(", MailAddress = '{0}'", data.MailAddress);
+                strcmd += string.Format(", Note = '{0}'", data.Note);
+                strcmd += string.Format(", OrderCotegory = {0}", data.OrderCotegory);
+                strcmd += string.Format(", OrderDate = TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", OrderNo = {0}", data.OrderNo);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者登録申請データ削除
+        /// <summary>
+        /// 発注者登録申請データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">発注者登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CostomerRegist", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目の更新を行う
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime CreateDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE CostomerRegist";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:
+                        strcmd += string.Format(" CreateDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DataMode:
+                        strcmd += string.Format(" DataMode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCotegory:
+                        strcmd += string.Format(" SourceCotegory = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCode:
+                        strcmd += string.Format(" SourceCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PetitionPeriod:
+                        strcmd += string.Format(" PetitionPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderFlg:
+                        strcmd += string.Format(" OrderFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusName:
+                        strcmd += string.Format(" CorporateStatusName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusPoint:
+                        strcmd += string.Format(" CorporateStatusPoint = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.OrderersName1:
+                        strcmd += string.Format(" OrderersName1 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.OrderersName2:
+                        strcmd += string.Format(" OrderersName2 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.DepartmentName:
+                        strcmd += string.Format(" DepartmentName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ChargePersonName:
+                        strcmd += string.Format(" ChargePersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ZipCode:
+                        strcmd += string.Format(" ZipCode = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address1:
+                        strcmd += string.Format(" Address1 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address2:
+                        strcmd += string.Format(" Address2 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address3:
+                        strcmd += string.Format(" Address3 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.PhoneNumber:
+                        strcmd += string.Format(" PhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.FaxNumber:
+                        strcmd += string.Format(" FaxNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.MailAddress:
+                        strcmd += string.Format(" MailAddress = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Note:
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.OrderCotegory:
+                        strcmd += string.Format(" OrderCotegory = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderDate:
+                        strcmd += string.Format(" OrderDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, CreateDate, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CostomerRegist wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());
+
+                wrk.DataMode = int.Parse(objwrk[(int)TableColumn.DataMode].ToString());
+                wrk.SourceCotegory = int.Parse(objwrk[(int)TableColumn.SourceCotegory].ToString());
+                wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());
+                wrk.PetitionPeriod = int.Parse(objwrk[(int)TableColumn.PetitionPeriod].ToString());
+                wrk.OrderFlg = int.Parse(objwrk[(int)TableColumn.OrderFlg].ToString());
+                wrk.CorporateStatusName = objwrk[(int)TableColumn.CorporateStatusName].ToString();
+                wrk.CorporateStatusPoint = int.Parse(objwrk[(int)TableColumn.CorporateStatusPoint].ToString());
+
+                wrk.OrderersName1 = objwrk[(int)TableColumn.OrderersName1].ToString();
+                wrk.OrderersName2 = objwrk[(int)TableColumn.OrderersName2].ToString();
+                wrk.DepartmentName = objwrk[(int)TableColumn.DepartmentName].ToString();
+                wrk.ChargePersonName = objwrk[(int)TableColumn.ChargePersonName].ToString();
+                wrk.ZipCode = objwrk[(int)TableColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)TableColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)TableColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)TableColumn.Address3].ToString();
+                wrk.PhoneNumber = objwrk[(int)TableColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)TableColumn.FaxNumber].ToString();
+                wrk.MailAddress = objwrk[(int)TableColumn.MailAddress].ToString();
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();
+                wrk.OrderCotegory = int.Parse(objwrk[(int)TableColumn.OrderCotegory].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)TableColumn.OrderNo].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 登録申請コードの最大値を取得する
+        /// <summary>
+        /// 登録申請コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNo(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM CostomerRegist" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime CaretaDate, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (CaretaDate != DateTime.MinValue)
+                    strWork += string.Format(" AND CreateDate = TO_DATE('{0}','YYYY/MM/DD')", CaretaDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyData.cs	(revision 84)
@@ -0,0 +1,352 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 日報データＤＢアクセス
+    /// </summary>
+    public class IODailyData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 行番号
+            /// </summary>
+            LineCount,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 作業内容
+            /// </summary>
+            WorkContentsText,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(DailyDataDate, 'YYYY/MM/DD')";             // 日報作成日
+            strcmd += " ,LineCount";                                        // 行番号
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,WorkContentsText";                                 // 作業内容
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM DailyData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyData work = new DailyData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyData";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.LineCoount);                      // 行番号
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(",'{0}'", work.WorkContentsText);               // 作業内容
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",LineCoount = {0}", data.LineCoount);                  // 行番号
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",WorkContentsText = '{0}'", data.WorkContentsText);    // 作業内容
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());       // 日報作成日
+                wrk.LineCoount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());                   // 行番号
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.WorkContentsText = objwrk[(int)TableColumn.WorkContentsText].ToString();                 // 作業内容
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDate, int LineCount)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", DailyDataDate.ToShortDateString());
+                if (LineCount != 0)
+                    strWork += string.Format(" AND LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataConstruction.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataConstruction.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataConstruction.cs	(revision 84)
@@ -0,0 +1,392 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ(工事)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataConstruction : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 天気
+            /// </summary>
+            Weather,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataConstruction()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(DailyDataDate, 'YYYY/MM/DD')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,Weather";                                          // 天気
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM DailyDataConstruction";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataConstruction> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataConstruction work = new DailyDataConstruction();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataConstruction data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataConstruction work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataConstruction";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(",'{0}'", work.Weather);                        // 天気
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataConstruction> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataConstruction work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataConstruction data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataConstruction";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",Weather = '{0}'", data.Weather);                      // 天気
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime DailyDataDate, int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE DailyDataConstruction";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DailyDataDate:
+                        strcmd += string.Format(" DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.Weather:
+                        strcmd += string.Format(" Weather = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, DailyDataDate, ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataConstruction", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataConstruction wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                 // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());      // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());     // 工事番号
+                wrk.Weather = objwrk[(int)TableColumn.Weather].ToString();                                  // 天気
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDate, int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", DailyDataDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataDetail.cs	(revision 84)
@@ -0,0 +1,522 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (明細)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 職種キー
+            /// </summary>
+            JobCategoryCode,
+            /// <summary>
+            /// 協力会社コード
+            /// </summary>
+            CompanyCode,
+            /// <summary>
+            /// 当日人員数
+            /// </summary>
+            TodayHeadCount,
+            /// <summary>
+            /// 累計人員数
+            /// </summary>
+            TotalHeadCount,
+            /// <summary>
+            /// 当日作業内容
+            /// </summary>
+            TodayWork,
+            /// <summary>
+            /// 翌日作業内容
+            /// </summary>
+            NextdayWork,
+            /// <summary>
+            /// 翌日人員数
+            /// </summary>
+            NextdayHeadCount,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(DailyDataDate, 'YYYY/MM/DD')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+            strcmd += " ,JobCategoryCode";                                  // 職種キー
+            strcmd += " ,CompanyCode";                                      // 協力会社コード
+            strcmd += " ,TodayHeadCount";                                   // 当日人員数
+            strcmd += " ,TotalHeadCount";                                   // 累計人員数
+            strcmd += " ,TodayWork";                                        // 当日作業内容
+            strcmd += " ,NextdayWork";                                      // 翌日作業内容
+            strcmd += " ,NextdayHeadCount";                                 // 翌日人員数
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM DailyDataDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataDetail work = new DailyDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataDetail";
+                strcmd += "  (PersonCode";      // 担当者コード
+                strcmd += " ,DailyDataDate";    // 日報作成日
+                strcmd += " ,ConstructionCode"; // 工事番号
+                strcmd += " ,SeqNo";            // 明細行番号
+                strcmd += " ,JobCategoryCode";  // 職種キー
+                strcmd += " ,CompanyCode";      // 協力会社コード
+                strcmd += " ,TodayHeadCount";   // 当日人員数
+                strcmd += " ,TotalHeadCount";   // 累計人員数
+                strcmd += " ,TodayWork";        // 当日作業内容
+                strcmd += " ,NextdayWork";      // 翌日作業内容
+                strcmd += " ,NextdayHeadCount"; // 翌日人員数
+                strcmd += " ,EntryDate";        // 登録年月日
+                strcmd += " ,UpdateDate)";      // 更新年月日
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                strcmd += string.Format(", {0}", work.JobCategoryCode);                 // 職種キー
+                strcmd += string.Format(", {0}", work.CompanyCode);                     // 協力会社コード
+                strcmd += string.Format(", {0}", work.TodayHeadCount);                  // 当日人員数
+                strcmd += string.Format(", {0}", work.TotalHeadCount);                  // 累計人員数
+                strcmd += string.Format(",'{0}'", work.TodayWork);                      // 当日作業内容
+                strcmd += string.Format(",'{0}'", work.NextdayWork);                    // 翌日作業内容
+                strcmd += string.Format(", {0}", work.NextdayHeadCount);                // 翌日人員数
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+                strcmd += string.Format(",JobCategoryCode =  {0} ", data.JobCategoryCode);      // 職種キー
+                strcmd += string.Format(",CompanyCode =  {0} ", data.CompanyCode);              // 協力会社コード
+                strcmd += string.Format(",TodayHeadCount =  {0} ", data.TodayHeadCount);        // 当日人員数
+                strcmd += string.Format(",TotalHeadCount =  {0} ", data.TotalHeadCount);        // 累計人員数
+                strcmd += string.Format(",TodayWork = '{0}'", data.TodayWork);                  // 当日作業内容
+                strcmd += string.Format(",NextdayWork = '{0}'", data.NextdayWork);              // 翌日作業内容
+                strcmd += string.Format(",NextdayHeadCount =  {0} ", data.NextdayHeadCount);    // 翌日人員数
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime DailyDataDate, int ConstructionCode, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE DailyDataDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.DailyDataDate:
+                        strcmd += string.Format(" DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.JobCategoryCode:
+                        strcmd += string.Format(" JobCategoryCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.CompanyCode:
+                        strcmd += string.Format(" CompanyCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TodayHeadCount:
+                        strcmd += string.Format(" TodayHeadCount = {0}", (double)value);
+                        break;
+                    case (int)TableColumn.TotalHeadCount:
+                        strcmd += string.Format(" TotalHeadCount = {0}", (double)value);
+                        break;
+                    case (int)TableColumn.TodayWork:
+                        strcmd += string.Format(" TodayWork = '{0}'", CommonMotions.cnvString(value));
+                        break;
+                    case (int)TableColumn.NextdayWork:
+                        strcmd += string.Format(" NextdayWork = '{0}'", CommonMotions.cnvString(value));
+                        break;
+                    case (int)TableColumn.NextdayHeadCount:
+                        strcmd += string.Format(" NextdayHeadCount = {0}", (double)value);
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, DailyDataDate, ConstructionCode, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());       // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // 明細行番号
+                wrk.JobCategoryCode = int.Parse(objwrk[(int)TableColumn.JobCategoryCode].ToString());        // 職種キー
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());                // 協力会社コード
+                wrk.TodayHeadCount = double.Parse(objwrk[(int)TableColumn.TodayHeadCount].ToString());       // 当日人員数
+                wrk.TotalHeadCount = double.Parse(objwrk[(int)TableColumn.TotalHeadCount].ToString());       // 累計人員数
+                wrk.TodayWork = objwrk[(int)TableColumn.TodayWork].ToString();                               // 当日作業内容
+                wrk.NextdayWork = objwrk[(int)TableColumn.NextdayWork].ToString();                           // 翌日作業内容
+                wrk.NextdayHeadCount = double.Parse(objwrk[(int)TableColumn.NextdayHeadCount].ToString());   // 翌日人員数
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDate, int ConstructionCode = 0, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", DailyDataDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM DailyDataDetail" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataField.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataField.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataField.cs	(revision 84)
@@ -0,0 +1,407 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (資材)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataField : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 巡回時間
+            /// </summary>
+            PatrolTime,
+            /// <summary>
+            /// 内容
+            /// </summary>
+            ContentsText,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataField()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(DailyDataDate, 'YYYY/MM/DD')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+
+            strcmd += " ,TO_CHAR(PatrolTime, 'YYYY/MM/DD HH24:MI:ss')";     // 巡回時間
+            strcmd += " ,ContentsText";                                     // 内容
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM DailyDataField";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataField> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataField work = new DailyDataField();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataField data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataField work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataField";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:ss')"
+                                            , work.PatrolTime.ToString());              // 巡回時間
+                strcmd += string.Format(",'{0}'", work.ContentsText);                   // 内容
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataField> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataField work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataField data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataField";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+
+                strcmd += string.Format(",PatrolTime = TO_DATE('{0}','YYYY/MM/DD HH24:MI:ss')"
+                                        , data.PatrolTime.ToShortDateString());                 // 巡回時間
+                strcmd += string.Format(",ContentsText = '{0}'", data.ContentsText);            // 内容
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataField", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataField wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());       // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // 明細行番号
+
+                wrk.PatrolTime =  DateTime.Parse(objwrk[(int)TableColumn.PatrolTime].ToString());            // 巡回時間
+                wrk.ContentsText = objwrk[(int)TableColumn.ContentsText].ToString();                         // 内容
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDetailDate, int ConstructionCode, int SeqNo)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDetailDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", DailyDataDetailDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM DailyDataField" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataMaterials.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataMaterials.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataMaterials.cs	(revision 84)
@@ -0,0 +1,428 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (資材)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataMaterials : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 資材名
+            /// </summary>
+            Materials,
+            /// <summary>
+            /// 数量
+            /// </summary>
+            Quantity,
+            /// <summary>
+            /// 制作会社
+            /// </summary>
+            Production,
+            /// <summary>
+            /// 納入業者
+            /// </summary>
+            Delivery,
+            /// <summary>
+            /// 品質管理事項
+            /// </summary>
+            QualityControl,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataMaterials()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(DailyDataDate, 'YYYY/MM/DD')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+
+            strcmd += " ,Materials";                                        // 資材名
+            strcmd += " ,Quantity";                                         // 数量
+            strcmd += " ,Production";                                       // 制作会社
+            strcmd += " ,Delivery";                                         // 納入業者
+            strcmd += " ,QualityControl";                                   // 品質管理事項
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM DailyDataMaterials";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataMaterials> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataMaterials work = new DailyDataMaterials();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataMaterials data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataMaterials work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataMaterials";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                strcmd += string.Format(",'{0}'", work.Materials);                      // 資材名
+                strcmd += string.Format(",'{0}'", work.Quantity);                       // 数量
+                strcmd += string.Format(",'{0}'", work.Production);                     // 制作会社
+                strcmd += string.Format(",'{0}'", work.Delivery);                       // 納入業者
+                strcmd += string.Format(",'{0}'", work.QualityControl);                 // 品質管理事項
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataMaterials> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataMaterials work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataMaterials data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataMaterials";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+
+                strcmd += string.Format(",Materials = '{0}'", data.Materials);                  // 資材名
+                strcmd += string.Format(",Quantity = '{0}'", data.Quantity);                    // 数量
+                strcmd += string.Format(",Production = '{0}'", data.Production);                // 制作会社
+                strcmd += string.Format(",Delivery = '{0}'", data.Delivery);                    // 納入業者
+                strcmd += string.Format(",QualityControl = '{0}'", data.QualityControl);        // 品質管理事項
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataMaterials", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataMaterials wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                    // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());         // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());        // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                              // 明細行番号
+                
+                wrk.Materials = objwrk[(int)TableColumn.Materials].ToString();                                 // 	資材名
+                wrk.Quantity = objwrk[(int)TableColumn.Quantity].ToString();                                   // 	数量
+                wrk.Production = objwrk[(int)TableColumn.Production].ToString();                               // 	制作会社
+                wrk.Delivery = objwrk[(int)TableColumn.Delivery].ToString();                                   // 	納入業者
+                wrk.QualityControl = objwrk[(int)TableColumn.QualityControl].ToString();                       //  	品質管理事項
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDetailDate, int ConstructionCode, int SeqNo)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDetailDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", DailyDataDetailDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM DailyDataMaterials" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataSubcontractors.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataSubcontractors.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataSubcontractors.cs	(revision 84)
@@ -0,0 +1,405 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (資材)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataSubcontractors : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 出席者
+            /// </summary>
+            Attendee,
+            /// <summary>
+            /// 内容
+            /// </summary>
+            ContentsText,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataSubcontractors()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(DailyDataDate, 'YYYY/MM/DD')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+
+            strcmd += " ,Attendee";                                         // 出席者
+            strcmd += " ,ContentsText";                                         // 内容
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM DailyDataSubcontractors";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataSubcontractors> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataSubcontractors work = new DailyDataSubcontractors();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataSubcontractors data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataSubcontractors work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataSubcontractors";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                
+                strcmd += string.Format(",'{0}'", work.Attendee);                       // 出席者
+                strcmd += string.Format(",'{0}'", work.ContentsText);                       // 内容
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataSubcontractors> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataSubcontractors work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataSubcontractors data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataSubcontractors";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+
+                strcmd += string.Format(",Attendee = '{0}'", data.Attendee);                    // 出席者
+                strcmd += string.Format(",ContentsText = '{0}'", data.ContentsText);                    // 内容
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataSubcontractors", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataSubcontractors wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());       // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // 明細行番号
+
+                wrk.Attendee = objwrk[(int)TableColumn.Attendee].ToString();                                 //出席者
+                wrk.ContentsText = objwrk[(int)TableColumn.ContentsText].ToString();                                 //内容
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDetailDate, int ConstructionCode, int SeqNo)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDetailDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", DailyDataDetailDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM DailyDataSubcontractors" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataVehicles.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataVehicles.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataVehicles.cs	(revision 84)
@@ -0,0 +1,440 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 日報データ (車両)ＤＢアクセス
+    /// </summary>
+    public class IODailyDataVehicles : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            DailyDataDate,
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 明細行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 機種
+            /// </summary>
+            Model,
+            /// <summary>
+            /// 性能
+            /// </summary>
+            Performance,
+            /// <summary>
+            /// 所有会社
+            /// </summary>
+            Owner,
+            /// <summary>
+            /// 当日運転者
+            /// </summary>
+            Driver,
+            /// <summary>
+            /// 作業時間開始
+            /// </summary>
+            StartWorkingTime,
+            /// <summary>
+            /// 作業時間終了
+            /// </summary>
+            EndWorkingTime,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IODailyDataVehicles()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += " ,TO_CHAR(DailyDataDate, 'YYYY/MM/DD')";             // 日報作成日
+            strcmd += " ,ConstructionCode";                                 // 工事番号
+            strcmd += " ,SeqNo";                                            // 明細行番号
+
+            strcmd += " ,Model";                                            // 機種
+            strcmd += " ,Performance";                                      // 性能
+            strcmd += " ,Owner";                                            // 所有会社
+            strcmd += " ,Driver";                                           // 当日運転者
+            strcmd += " ,TO_CHAR(StartWorkingTime, 'YYYY/MM/DD HH24:MI:ss')";   // 作業時間開始
+            strcmd += " ,TO_CHAR(EndWorkingTime, 'YYYY/MM/DD HH24:MI:ss')";     // 作業時間終了
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM DailyDataVehicles";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<DailyDataVehicles> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DailyDataVehicles work = new DailyDataVehicles();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref DailyDataVehicles data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DailyDataVehicles work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO DailyDataVehicles";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.DailyDataDate.ToShortDateString());  // 日報作成日
+                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
+                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
+                strcmd += string.Format(",'{0}'", work.Model);                          // 機種
+                strcmd += string.Format(",'{0}'", work.Performance);                    // 性能
+                strcmd += string.Format(",'{0}'", work.Owner);                          // 所有会社
+                strcmd += string.Format(",'{0}'", work.Driver);                         // 当日運転者
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:ss')"
+                                            , work.StartWorkingTime.ToString());        // 作業時間開始
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:ss')"
+                                            , work.EndWorkingTime.ToString());          // 作業時間終了
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<DailyDataVehicles> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DailyDataVehicles work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DailyDataVehicles data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DailyDataVehicles";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.DailyDataDate.ToShortDateString());              // 日報作成日
+                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
+
+                strcmd += string.Format(",TodayWork = '{0}'", data.Model);                       // 機種
+                strcmd += string.Format(",TodayWork = '{0}'", data.Performance);                 // 性能
+                strcmd += string.Format(",TodayWork = '{0}'", data.Owner);                       // 所有会社
+                strcmd += string.Format(",TodayWork = '{0}'", data.Driver);                      // 当日運転者
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD HH24:MI:ss')"
+                                        , data.StartWorkingTime.ToString());                    // 作業時間開始
+                strcmd += string.Format(",DailyDataDate = TO_DATE('{0}','YYYY/MM/DD HH24:MI:ss')"
+                                        , data.EndWorkingTime.ToString());                      // 作業時間終了
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DailyDataVehicles", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DailyDataVehicles wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                     // 担当者コード
+                wrk.DailyDataDate = DateTime.Parse(objwrk[(int)TableColumn.DailyDataDate].ToString());          // 日報作成日
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());         // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                               // 明細行番号
+                
+                wrk.Model = objwrk[(int)TableColumn.Model].ToString();                                          // 機種
+                wrk.Performance = objwrk[(int)TableColumn.Performance].ToString();                              // 性能
+                wrk.Owner = objwrk[(int)TableColumn.Owner].ToString();                                          // 所有会社
+                wrk.Driver = objwrk[(int)TableColumn.Driver].ToString();                                        // 当日運転者
+                wrk.StartWorkingTime = DateTime.Parse(objwrk[(int)TableColumn.StartWorkingTime].ToString());	// 作業時間開始
+                wrk.EndWorkingTime = DateTime.Parse(objwrk[(int)TableColumn.EndWorkingTime].ToString());	    // 作業時間終了
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime DailyDataDetailDate, int ConstructionCode, int SeqNo)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (DailyDataDetailDate != DateTime.MinValue)
+                    strWork += string.Format(" AND DailyDataDate = TO_DATE('{0}','YYYY/MM/DD')", DailyDataDetailDate.ToShortDateString());
+                if (ConstructionCode != 0)
+                    strWork += string.Format(" AND ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM DailyDataVehicles" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudget.cs	(revision 84)
@@ -0,0 +1,468 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 積算予算ページデータＤＢアクセス
+    /// </summary>
+    public class IOEstimateBudget : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算予算ページデータフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	    // 工事番号
+            ConstructionTime,	        // 工期
+            IntegratedCode,	            // 積算者
+            DataCreateDate,             // データ引込日
+            RetValue1,                  // 予定価格
+            RetValue2,                  // 直接工事費
+            RetValue3,                  // 積み上げ共通仮設費
+            RetValue4,                  // 積み上げ現場管理費
+            RetPercent,                 // 一般管理費率
+            EntryDate,	                // 登録年月日
+            UpdateDate,	                // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateBudget()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 積算予算ページデータ検索文字作成
+        /// <summary>
+        /// 積算予算データ検索文字作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";                                 // 工事番号
+            strcmd += " ,ConstructionTime";                                 // 工期
+            strcmd += " ,IntegratedCode";	                                // 積算者
+            strcmd += " ,TO_CHAR(DataCreateDate, 'YYYY/MM/DD HH24:MI:ss')"; // データ引込日
+            strcmd += " ,RetValue1";                                        // 予定価格
+            strcmd += " ,RetValue2";                                        // 直接工事費
+            strcmd += " ,RetValue3";                                        // 積み上げ共通仮設費
+            strcmd += " ,RetValue4";                                        // 積み上げ現場管理費
+            strcmd += " ,RetPercent";                                       // 一般管理費率
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM EstimateBudget";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 積算予算データ検索（複数）
+        /// <summary>
+        /// 積算予算データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<EstimateBudget> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateBudget work = new EstimateBudget();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ検索（1件）
+        /// <summary>
+        /// 積算予算データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref EstimateBudget data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算ページデータ追加（1件）
+        /// <summary>
+        /// 積算予算ページデータ追加（1件）
+        /// </summary>
+        /// <param name="data">積算予算ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateBudget work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO EstimateBudget";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);                    // 工事番号
+                strcmd += string.Format(", {0}", work.ConstructionTime);	                // 工期
+                strcmd += string.Format(", {0}", work.IntegratedCode);                      // 積算者
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:ss')",
+                                                work.DataCreateDate.ToShortDateString());   // データ引込日
+                strcmd += string.Format(", {0}", work.RetValue1);                           // 予定価格
+                strcmd += string.Format(", {0}", work.RetValue2);                           // 直接工事費
+                strcmd += string.Format(", {0}", work.RetValue3);                           // 積み上げ共通仮設費
+                strcmd += string.Format(", {0}", work.RetValue4);                           // 積み上げ現場管理費
+                strcmd += string.Format(", {0}", work.RetPercent);                          // 一般管理費率
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算ページデータ追加（複数）
+        /// <summary>
+        /// 積算予算ページデータ追加（複数）
+        /// </summary>
+        /// <param name="data">積算予算ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<EstimateBudget> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (EstimateBudget work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算ページデータ更新
+        /// <summary>
+        /// 積算予算ページデータ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算予算ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateBudget data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateBudget";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	                    // 工事番号
+
+                strcmd += string.Format(",ConstructionTime = {0}", data.ConstructionTime);                      // 工期
+                strcmd += string.Format(",IntegratedCode = {0}", data.IntegratedCode);                          // 積算者
+                strcmd += string.Format(",DataCreateDate = TO_DATE('{0}','YYYY/MM/DD HH24:MI:ss')",
+                                                                    data.DataCreateDate.ToShortDateString());   // データ引込日
+                strcmd += string.Format(",RetValue1 = {0}", data.RetValue1);                                    // 予定価格
+                strcmd += string.Format(",RetValue2 = {0}", data.RetValue2);                                    // 直接工事費
+                strcmd += string.Format(",RetValue3 = {0}", data.RetValue3);                                    // 積み上げ共通仮設費
+                strcmd += string.Format(",RetValue4 = {0}", data.RetValue4);                                    // 積み上げ現場管理費
+                strcmd += string.Format(",RetPercent = {0}", data.RetPercent);                                  // 一般管理費率
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算ページデータ削除
+        /// <summary>
+        /// 積算予算ページデータ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算予算ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateBudget", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateBudget wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	        // 工事番号
+
+                wrk.ConstructionTime = double.Parse(objwrk[(int)TableColumn.ConstructionTime].ToString());	        // 工期
+                wrk.IntegratedCode = int.Parse(objwrk[(int)TableColumn.IntegratedCode].ToString());                // 積算者
+                wrk.DataCreateDate = DateTime.Parse(objwrk[(int)TableColumn.DataCreateDate].ToString());           // 引込日
+                wrk.RetValue1 = double.Parse(objwrk[(int)TableColumn.RetValue1].ToString());	                    // 予定価格
+                wrk.RetValue2 = double.Parse(objwrk[(int)TableColumn.RetValue2].ToString());	                    // 直接工事費
+                wrk.RetValue3 = double.Parse(objwrk[(int)TableColumn.RetValue3].ToString());	                    // 積み上げ共通仮設費
+                wrk.RetValue4 = double.Parse(objwrk[(int)TableColumn.RetValue4].ToString());	                    // 積み上げ現場管理費
+                wrk.RetPercent = double.Parse(objwrk[(int)TableColumn.RetPercent].ToString());	                    // 一般管理費率
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateBudget";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	    // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ConstructionTime:	    // 工期
+                        strcmd += string.Format(" ConstructionTime = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.IntegratedCode:	    // 積算者
+                        strcmd += string.Format(" IntegratedCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DataCreateDate:       // データ引込日
+                        strcmd += string.Format(" DataCreateDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.RetValue1:            // 予定価格
+                        strcmd += string.Format(" RetValue1 = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.RetValue2:            // 直接工事費
+                        strcmd += string.Format(" RetValue2 = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.RetValue3:            // 積み上げ共通仮設費
+                        strcmd += string.Format(" RetValue3 = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.RetValue4:            // 積み上げ現場管理費
+                        strcmd += string.Format(" RetValue4 = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.RetPercent:           // 一般管理費率
+                        strcmd += string.Format(" RetPercent = {0}", ((double)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 工事番号の最大値を取得
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(ConstructionCode), 0) FROM EstimateBudget" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudgetDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudgetDetail.cs	(revision 84)
@@ -0,0 +1,467 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 積算予算データ明細ＤＢアクセス
+    /// </summary>
+    public class IOEstimateBudgetDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算予算データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+
+            GroupCount,             // グループ番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            ItemCode,		        // 工種キー
+            CompanyCode,            // 協力会社コード
+            FirstString,            // 構成名称
+            SecondString,           // 工種名称・協力会社名
+            EstimatePrice,          // 見積時金額
+            NegotiationPrice,       // 交渉時金額
+            Notes,                  // 注意事項
+            
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateBudgetDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ComponentCode";            // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", CompanyCode";              // 協力会社コード
+            strcmd += ", FirstString";              // 構成名称
+            strcmd += ", SecondString";             // 工種名称・協力会社名
+            strcmd += ", EstimatePrice";            // 見積時金額
+            strcmd += ", NegotiationPrice";         // 交渉時金額
+            strcmd += ", Notes";                    // 注意事項
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM EstimateBudgetDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 積算予算データ明細検索
+        /// <summary>
+        /// 積算予算データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<EstimateBudgetDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateBudgetDetail work = new EstimateBudgetDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        /// <summary>
+        /// 1件データ読込処理
+        /// </summary>
+        public bool SelectAction(string AddSQLString, ref EstimateBudgetDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ明細追加
+        /// <summary>
+        /// 積算予算データ明細追加
+        /// </summary>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateBudgetDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO EstimateBudgetDetail";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		        // 工種キー
+                strcmd += string.Format(", {0}", work.CompanyCode);             // 協力会社コード
+                strcmd += string.Format(",'{0}'", work.FirstString);            // 構成名称
+                strcmd += string.Format(",'{0}'", work.SecondString);           // 工種名称・協力会社名
+                strcmd += string.Format(", {0}", work.EstimatePrice);           // 見積時金額
+                strcmd += string.Format(", {0}", work.NegotiationPrice);        // 交渉時金額
+                strcmd += string.Format(",'{0}'", work.Notes);                  // 注意事項
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ明細追加
+        /// <summary>
+        /// 積算予算データ明細追加
+        /// </summary>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<EstimateBudgetDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (EstimateBudgetDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ明細更新
+        /// <summary>
+        /// 積算予算データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateBudgetDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateBudgetDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);               // 構成キー
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode);		                    // 工種キー
+                strcmd += string.Format(", CompanyCode = {0}", data.CompanyCode);                   // 協力会社コード
+                strcmd += string.Format(", FirstString = '{0}'", data.FirstString);                 // 構成名称
+                strcmd += string.Format(", SecondString = '{0}'", data.SecondString);               // 工種名称・協力会社名
+                strcmd += string.Format(", EstimatePrice = {0}", data.EstimatePrice);               // 見積時金額
+                strcmd += string.Format(", NegotiationPrice = {0}", data.NegotiationPrice);         // 交渉時金額
+                strcmd += string.Format(", Notes = '{0}'", data.Notes);                             // 注意事項
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 積算予算データ明細削除
+        /// <summary>
+        /// 積算予算データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算予算データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateBudgetDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateBudgetDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:     // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GroupCount:           // グループ番号
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:            // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:        // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:          // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FirstString:          // 構成名称
+                        strcmd += string.Format(" FirstString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SecondString:         // 工種名称・協力会社名
+                        strcmd += string.Format(" SecondString = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.EstimatePrice:        // 見積時金額
+                        strcmd += string.Format(" EstimatePrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.NegotiationPrice:     // 交渉時金額
+                        strcmd += string.Format(" NegotiationPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.Notes:                // 注意事項
+                        strcmd += string.Format(" Notes = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateBudgetDetail wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());          // 工事番号
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	            // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		                    // 工種キー
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());	                // 協力会社コード
+                wrk.FirstString = objwrk[(int)TableColumn.FirstString].ToString();	                            // 構成名称
+                wrk.SecondString = objwrk[(int)TableColumn.SecondString].ToString();	                            // 工種名称・協力会社名
+                wrk.EstimatePrice = double.Parse(objwrk[(int)TableColumn.EstimatePrice].ToString());	            // 見積時金額
+                wrk.NegotiationPrice = double.Parse(objwrk[(int)TableColumn.NegotiationPrice].ToString());	    // 交渉時金額
+
+                wrk.Notes = objwrk[(int)TableColumn.Notes].ToString();                                           // 注意事項
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="OutsourcingFlg"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int PageCount = 0, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (PageCount != 0)
+                    strWork += string.Format(" And OutsourcingFlg = {0}", PageCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="DataRec"></param>
+        public void RecClear(ref EstimateBudgetDetail DataRec)
+        {
+            DataRec.ConstructionCode = 0;	            // 工事コード
+            DataRec.GroupCount = 0;                   // グループ番号
+            DataRec.LineCount = 0;                    // 行番号
+            DataRec.ComponentCode = 0;                // 構成キー
+            DataRec.ItemCode = 0;	                    // 工種キー
+            DataRec.CompanyCode = 0;                  // 協力会社コード
+            DataRec.FirstString = string.Empty;       // 構成名称
+            DataRec.SecondString = string.Empty;      // 工種名称・協力会社名
+            DataRec.EstimatePrice = 0;                // 見積時金額
+            DataRec.NegotiationPrice = 0;             // 交渉時金額
+            DataRec.Notes = string.Empty;             // 注意事項
+            DataRec.EntryDate = DateTime.Now;        // 登録日付
+            DataRec.UpdateDate = DateTime.Now;       // 更新日付
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateData.cs	(revision 84)
@@ -0,0 +1,524 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 積算見積データＤＢアクセス
+    /// </summary>
+    public class IOEstimateData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算見積データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,   // 工事番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            FixedItemCode,          // 固定項目キー
+            ItemName,               // 作業名称
+            WorkName,               // 品質・形状・寸法
+            PriceValue,             // 金額
+            Note,                   // 備考
+            MyExpensesFlg,
+            InputFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";     // 工事番号
+            strcmd += ", LineCount";            // 行番号
+            strcmd += ", ComponentCode";        // 構成キー
+            strcmd += ", FixedItemCode";		// 固定項目キー
+            strcmd += ", ItemName";      		// 作業名称
+            strcmd += ", WorkName";      		// 品質・形状・寸法
+            strcmd += ", PriceValue";           // 金額
+            strcmd += ", Note";			        // 備考
+            strcmd += ", MyExpensesFlg";
+            strcmd += ", InputFlg";
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM EstimateData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<EstimateData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateData work = new EstimateData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref EstimateData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 積算見積データ追加
+        /// </summary>
+        /// <param name="data">積算見積データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO EstimateData";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(",'{0}'", work.FixedItemCode);		    // 固定項目キー
+                strcmd += string.Format(",'{0}'", work.ItemName.Replace(",", "，"));     // 作業名称
+                strcmd += string.Format(",'{0}'", work.SpecName.Replace(",", "，"));     // 品質・形状・寸法
+                strcmd += string.Format(", {0}", work.PriceValue);                      // 金額
+                strcmd += string.Format(",'{0}'", work.Note.Replace(",", "，"));		// 備考
+                strcmd += string.Format(", {0}", work.MyExpensesFlg);           // 自社経費フラグ
+                strcmd += string.Format(", {0}", work.InputFlg);                // 入力フラグ
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<EstimateData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (EstimateData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 積算見積データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算見積データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ConstructionCode = {0}", data.ConstructionCode); // 工事番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);               // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);       // 構成キー
+                strcmd += string.Format(", FixedItemCode = '{0}'", data.FixedItemCode);		// 固定項目キー
+                strcmd += string.Format(", ItemName = '{0}'", data.ItemName.Replace(",", "，"));      	// 作業名称
+                strcmd += string.Format(", WorkName = '{0}'", data.SpecName.Replace(",", "，"));      	// 品質・形状・寸法
+                strcmd += string.Format(", PriceValue = {0}", data.PriceValue);             // 金額
+                strcmd += string.Format(", Note = '{0}'", data.Note.Replace(",", "，"));			    // 備考
+                strcmd += string.Format(", MyExpensesFlg = {0}", data.MyExpensesFlg);       // 自社経費フラグ
+                strcmd += string.Format(", InputFlg = {0}", data.InputFlg);                 // 入力フラグ
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 積算見積データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算見積データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:     // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:            // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:        // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FixedItemCode:        // 固定項目キー
+                        strcmd += string.Format(" FixedItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemName:             // 作業名称
+                        strcmd += string.Format(" ItemName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.WorkName:             // 品質・形状・寸法
+                        strcmd += string.Format(" WorkName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.PriceValue:           // 金額
+                        strcmd += string.Format(" PriceValue = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.Note:                 // 備考
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.MyExpensesFlg:
+                        strcmd += string.Format(" MyExpensesFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.InputFlg:
+                        strcmd += string.Format(" InputFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());  // 工事番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());                // 行番号
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());        // 構成キー
+                wrk.FixedItemCode = objwrk[(int)TableColumn.FixedItemCode].ToString();		            // 固定項目キー
+                wrk.ItemName = objwrk[(int)TableColumn.ItemName].ToString();      		                // 作業名称
+                wrk.SpecName = objwrk[(int)TableColumn.WorkName].ToString();      		                // 品質・形状・寸法
+                wrk.PriceValue = double.Parse(objwrk[(int)TableColumn.PriceValue].ToString());           // 金額
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();			                            // 備考
+                wrk.MyExpensesFlg = int.Parse(objwrk[(int)TableColumn.MyExpensesFlg].ToString());        // 自社経費フラグ
+                wrk.InputFlg = int.Parse(objwrk[(int)TableColumn.InputFlg].ToString());                  // 入力フラグ
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region データクリア処理
+        /// <summary>
+        /// データクリア処理
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref EstimateData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = 0;           // 工事番号
+                wrk.LineCount = 0;                  // 行番号
+                wrk.ComponentCode = 0;              // 構成キー
+                wrk.FixedItemCode = string.Empty;	// 固定項目キー
+                wrk.ItemName = string.Empty;      	// 作業名称
+                wrk.SpecName = string.Empty;      	// 品質・形状・寸法
+                wrk.PriceValue = 0;                 // 金額
+                wrk.Note = string.Empty;			// 備考
+                wrk.MyExpensesFlg = 0;              // 自社経費フラグ
+                wrk.InputFlg = 0;                   // 入力フラグ
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 最大値取得処理
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(ConstructionCode), 0) FROM EstimateData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into EstimateData ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("TO_CHAR(", "").Replace(", 'YYYY/MM/DD')", "").Replace(", 'YYYY/MM/DD HH24:MI:ss')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE EstimateData SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataBody.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataBody.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataBody.cs	(revision 84)
@@ -0,0 +1,489 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 積算見積ページデータＤＢアクセス
+    /// </summary>
+    public class IOEstimateDataBody : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算見積ページデータフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+            PageCount,		        // ページ番号
+            Category,               // 頁区分
+            UnionComponentCode,		// 所属構成キー
+            ComponentCode,		    // 構成キー
+            ItemCode,		        // 工種キー
+            SelectComponent,		// 選択構成キー
+            PageTitle,              // ページ表示名
+            DetailLineCount,        // 明細行番号
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateDataBody()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ConstructionCode";         // 工事番号
+            strcmd += ", PageCount";		        // ページ番号
+            strcmd += ", Category";		            // 頁区分
+            strcmd += ", UnionComponentCode";		// 所属構成キー
+            strcmd += ", ComponentCode";		    // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", SelectComponent";		    // 選択構成キー
+            strcmd += ", PageTitle";		        // ページ表示名
+            strcmd += ", DetailLineCount";          // 明細行番号
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM EstimateDataBody";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref EstimateDataBody data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込み処理
+        /// <summary>
+        /// 積算見積ページデータ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<EstimateDataBody> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateDataBody work = new EstimateDataBody();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 積算見積ページデータ追加
+        /// </summary>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateDataBody work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO EstimateDataBody";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);    // 工事番号
+                strcmd += string.Format(", {0}", work.PageCount);		    // ページ番号
+                strcmd += string.Format(", {0}", work.Category);		    // ページ区分
+                strcmd += string.Format(", {0}", work.UnionComponentCode);	// 所属構成キー
+                strcmd += string.Format(", {0}", work.ComponentCode);	    // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		    // 工種キー
+                strcmd += string.Format(", {0}", work.SelectComponent);	    // 選択構成キー
+                strcmd += string.Format(",'{0}'", work.PageTitle);	        // ページ表示名
+                strcmd += string.Format(", {0}", work.DetailLineCount);     // 明細行番号
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        /// <summary>
+        /// 積算見積ページデータ追加
+        /// </summary>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<EstimateDataBody> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (EstimateDataBody work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 積算見積ページデータ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateDataBody data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateDataBody";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	// 工事番号
+                strcmd += string.Format(",PageCount = {0}", data.PageCount);		        // ページ番号
+                strcmd += string.Format(",Category = {0}", data.Category);		            // ページ区分
+                strcmd += string.Format(",UnionComponentCode = {0}", data.UnionComponentCode);  // 所属構成キー
+                strcmd += string.Format(",ComponentCode = {0}", data.ComponentCode);        // 構成キー
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode);		            // 工種キー
+                strcmd += string.Format(",SelectComponent = {0}", data.SelectComponent);    // 選択構成キー
+                strcmd += string.Format(",PageTitle ='{0}'", data.PageTitle);                // ページ表示名
+                strcmd += string.Format(",DetailLineCount = {0}", data.DetailLineCount);    // 明細行番号
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 積算見積ページデータ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算見積ページデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateDataBody", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateDataBody";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:     // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PageCount:		    // ページ番号
+                        strcmd += string.Format(" PageCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.Category:             // 頁区分
+                        strcmd += string.Format(" Category = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.UnionComponentCode:	// 所属構成キー
+                        strcmd += string.Format(" UnionComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:		// 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SelectComponent:		// 選択構成キー
+                        strcmd += string.Format(" SelectComponent = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PageTitle:            // ページ表示名
+                        strcmd += string.Format(" PageTitle = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.DetailLineCount:      // 明細行番号
+                        strcmd += string.Format(" DetailLineCount = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateDataBody wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	// 工事番号
+                wrk.PageCount = int.Parse(objwrk[(int)TableColumn.PageCount].ToString());		        // ページ番号
+                wrk.Category = int.Parse(objwrk[(int)TableColumn.Category].ToString());		            // ページ区分
+                wrk.UnionComponentCode = int.Parse(objwrk[(int)TableColumn.UnionComponentCode].ToString());  // 所属構成キー
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	    // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		            // 工種キー
+                wrk.SelectComponent = int.Parse(objwrk[(int)TableColumn.SelectComponent].ToString());	// 選択構成キー
+                wrk.PageTitle = objwrk[(int)TableColumn.PageTitle].ToString();	                        // ページ表示名
+                wrk.DetailLineCount = int.Parse(objwrk[(int)TableColumn.DetailLineCount].ToString());	// 選択構成キー
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region データクリア処理
+        /// <summary>
+        /// データクリア処理
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref EstimateDataBody wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = 0;       // 工事番号
+                wrk.PageCount = 0;              // ページ番号
+                wrk.Category = 0;               // ページ区分
+                wrk.UnionComponentCode = 0;     // 所属構成キー
+                wrk.ComponentCode = 0;          // 構成キー
+                wrk.ItemCode = 0;               // 工種キー
+                wrk.SelectComponent = 0;        // 選択構成キー
+                wrk.PageTitle = string.Empty;   // ページ表示名
+                wrk.DetailLineCount = 0;        // 選択構成キー
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int PageCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (PageCount != 0)
+                    strWork += string.Format(" And PageCount = {0}", PageCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into EstimateDataBody ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("TO_CHAR(", "").Replace(", 'YYYY/MM/DD')", "").Replace(", 'YYYY/MM/DD HH24:MI:ss')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE EstimateDataBody SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataDetail.cs	(revision 84)
@@ -0,0 +1,608 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 積算見積データ明細ＤＢアクセス
+    /// </summary>
+    public class IOEstimateDataDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 積算見積データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+            PageCount,		        // ページ番号
+            LineCount,		        // 行番号
+            DataType,               // データタイプ
+            ComponentCode,		    // 構成キー
+            ItemCode,		        // 工種キー
+            SpecCode,		        // 規格・寸法キー
+            ItemName,		        // 作業名称
+            SpecName,		        // 作業／品質・形状・寸法
+            UnitCount,		        // 数量
+            UnitName,		        // 単位
+            UnitPrice,		        // 単価
+            LineTotal,		        // 金額
+            Note,			        // 備考
+            CompanyCode,            // 協力会社コード
+            MyExpensesFlg,
+            InputFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOEstimateDataDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";         // 工事番号
+            strcmd += ", PageCount";		        // ページ番号
+            strcmd += ", LineCount";		        // 行番号
+            strcmd += ", DataType";                 // データイプ
+            strcmd += ", ComponentCode";		    // 構成キー（行）
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", SpecCode";		            // 規格・寸法キー
+            strcmd += ", ItemName";		            // 作業名称
+            strcmd += ", SpecName";		            // 作業／品質・形状・寸法
+            strcmd += ", UnitCount";		        // 数量
+            strcmd += ", UnitName";		            // 単位
+            strcmd += ", UnitPrice";		        // 単価
+            strcmd += ", LineTotal";		        // 金額
+            strcmd += ", Note";			            // 備考
+            strcmd += ", CompanyCode";              // 協力会社コード
+            strcmd += ", MyExpensesFlg";
+            strcmd += ", InputFlg";
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM EstimateDataDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 読込み処理
+        /// <summary>
+        /// 積算見積データ明細検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<EstimateDataDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    EstimateDataDetail work = new EstimateDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込み処理
+        public bool SelectAction(string AddSQLString, ref EstimateDataDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 積算見積データ明細追加
+        /// </summary>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(EstimateDataDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                    strcmd = "INSERT INTO EstimateDataDetail";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.ConstructionCode);    // 工事番号
+                    strcmd += string.Format(", {0}", work.PageCount);		    // ページ番号
+                    strcmd += string.Format(", {0}", work.LineCount);		    // 行番号
+                    strcmd += string.Format(", {0}", work.DataType);		    // データタイプ
+                    strcmd += string.Format(", {0}", work.ComponentCode);	    // 構成キー
+                    strcmd += string.Format(", {0}", work.ItemCode);		    // 工種キー
+                    strcmd += string.Format(", {0}", work.SpecCode);		    // 規格・寸法キー
+                    strcmd += string.Format(",'{0}'", work.ItemName.Replace(",", "，").Replace("'", "’"));		    // 作業名称
+                    strcmd += string.Format(",'{0}'", work.SpecName.Replace(",", "，").Replace("'", "’"));		    // 作業／品質・形状・寸法
+                    strcmd += string.Format(", {0}", work.UnitCount);		    // 数量
+                    strcmd += string.Format(",'{0}'", work.UnitName);		    // 単位
+                    strcmd += string.Format(", {0}", work.UnitPrice);		    // 単価
+                    strcmd += string.Format(", {0}", work.LineTotal);		    // 金額
+                    strcmd += string.Format(",'{0}'", work.Note.Replace(",", "，").Replace("'", "’"));			    // 備考
+                    strcmd += string.Format(", {0}", work.CompanyCode);		    // 協力会社コード
+                    strcmd += string.Format(", {0}", work.MyExpensesFlg);       // 自社経費フラグ
+                    strcmd += string.Format(", {0}", work.InputFlg);            // 入力フラグ
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        /// <summary>
+        /// 積算見積データ明細追加
+        /// </summary>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<EstimateDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (EstimateDataDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+             
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 積算見積データ明細更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, EstimateDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE EstimateDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	// 工事番号
+                strcmd += string.Format(",PageCount = {0}", data.PageCount);		        // ページ番号
+                strcmd += string.Format(",LineCount = {0}", data.LineCount);		        // 行番号
+                strcmd += string.Format(",DataType = {0}", data.DataType);		            // データタイプ
+                strcmd += string.Format(",ComponentCode = {0}", data.ComponentCode);        // 構成キー（行）
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode);		            // 工種キー
+                strcmd += string.Format(",SpecCode = {0}", data.SpecCode);		            // 規格・寸法キー
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName.Replace(",", "，").Replace("'", "’"));		        // 作業名称
+                strcmd += string.Format(",SpecName = '{0}'", data.SpecName.Replace(",", "，").Replace("'", "’"));		        // 作業／品質・形状・寸法
+                strcmd += string.Format(",UnitCount = {0}", data.UnitCount);		        // 数量
+                strcmd += string.Format(",UnitName = '{0}'", data.UnitName);		        // 単位
+                strcmd += string.Format(",UnitPrice = {0}", data.UnitPrice);		        // 単価
+                strcmd += string.Format(",LineTotal = {0}", data.LineTotal);		        // 金額
+                strcmd += string.Format(",Note = '{0}'", data.Note.Replace(",", "，").Replace("'", "’"));			            // 備考
+                strcmd += string.Format(",CompanyCode = {0}", data.CompanyCode);		    // 協力会社コード
+                strcmd += string.Format(",MyExpensesFlg = {0}", data.MyExpensesFlg);        // 自社経費フラグ
+                strcmd += string.Format(",InputFlg = {0}", data.InputFlg);                  // 入力フラグ
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 積算見積データ明細削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">積算見積データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM EstimateDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE EstimateDataDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	// 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PageCount:		        // ページ番号
+                        strcmd += string.Format(" PageCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:		        // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DataType:               // データタイプ
+                        strcmd += string.Format(" DataType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:		    // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		        // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SpecCode:		        // 規格・寸法キー
+                        strcmd += string.Format(" SpecCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemName:		        // 作業名称
+                        strcmd += string.Format(" ItemName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SpecName:		        // 作業／品質・形状・寸法
+                        strcmd += string.Format(" SpecName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.UnitCount:		        // 数量
+                        strcmd += string.Format(" UnitCount = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.UnitName:		        // 単位
+                        strcmd += string.Format(" UnitName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.UnitPrice:		        // 単価
+                        strcmd += string.Format(" UnitPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.LineTotal:		        // 金額
+                        strcmd += string.Format(" LineTotal = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.Note:			        // 備考
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:            // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.MyExpensesFlg:
+                        strcmd += string.Format(" MyExpensesFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.InputFlg:
+                        strcmd += string.Format(" InputFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref EstimateDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	// 工事番号
+                wrk.PageCount = int.Parse(objwrk[(int)TableColumn.PageCount].ToString());		            // ページ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());		            // 行番号
+                wrk.DataType = int.Parse(objwrk[(int)TableColumn.DataType].ToString());	                // データタイプ
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	        // 構成キー（行）
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		            // 工種キー
+                wrk.SpecCode = int.Parse(objwrk[(int)TableColumn.SpecCode].ToString());		            // 規格・寸法キー
+                wrk.ItemName = objwrk[(int)TableColumn.ItemName].ToString();		                        // 作業名称
+                wrk.SpecName = objwrk[(int)TableColumn.SpecName].ToString();		                        // 作業／品質・形状・寸法
+                wrk.UnitCount = double.Parse(objwrk[(int)TableColumn.UnitCount].ToString());		        // 数量
+                wrk.UnitName = objwrk[(int)TableColumn.UnitName].ToString();		                        // 単位
+                wrk.UnitPrice = double.Parse(objwrk[(int)TableColumn.UnitPrice].ToString());		        // 単価
+                wrk.LineTotal = double.Parse(objwrk[(int)TableColumn.LineTotal].ToString());		        // 金額
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();			                            // 備考
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());		        // 協力会社コード
+                wrk.MyExpensesFlg = int.Parse(objwrk[(int)TableColumn.MyExpensesFlg].ToString());          // 自社経費フラグ
+                wrk.InputFlg = int.Parse(objwrk[(int)TableColumn.InputFlg].ToString());                    // 入力フラグ
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region データクリア処理
+        /// <summary>
+        /// データクリア処理
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref EstimateDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+
+                wrk.ConstructionCode = 0;       // 工事番号
+                wrk.PageCount = 0;		        // ページ番号
+                wrk.LineCount = 0;		        // 行番号
+                wrk.DataType = 0;	            // データタイプ
+                wrk.ComponentCode = 0;	        // 構成キー（行）
+                wrk.ItemCode = 0;		        // 工種キー
+                wrk.SpecCode = 0;		        // 規格・寸法キー
+                wrk.ItemName = string.Empty;    // 作業名称
+                wrk.SpecName = string.Empty;	// 作業／品質・形状・寸法
+                wrk.UnitCount = 0;		        // 数量
+                wrk.UnitName = string.Empty;    // 単位
+                wrk.UnitPrice = 0;		        // 単価
+                wrk.LineTotal = 0;		        // 金額
+                wrk.Note = string.Empty;		// 備考
+                wrk.CompanyCode = 0;		    // 協力会社コード
+                wrk.MyExpensesFlg = 0;          // 自社経費フラグ
+                wrk.InputFlg = 0;               // 入力フラグ
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 工事番号の最大値を取得する
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxLineCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(LineCount), 0) FROM EstimateDataDetail" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="PageCount"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int PageCount = 0, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (PageCount != 0)
+                    strWork += string.Format(" And PageCount = {0}", PageCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコードをコピーする
+        /// <summary>
+        /// 指定番号のレコードを別指定番号へコピーする
+        /// </summary>
+        /// <param name="FromCode"></param>
+        /// <param name="ToCode"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool RecordCopyAction(int FromCode, int ToCode, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "Insert Into EstimateDataDetail ";
+                strcmd += CreateSelectSQL().Replace("ConstructionCode", ToCode.ToString()).Replace("TO_CHAR(", "").Replace(", 'YYYY/MM/DD')", "").Replace(", 'YYYY/MM/DD HH24:MI:ss')", "");
+                strcmd += CreatePrimarykeyString(FromCode);
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                //strcmd = "UPDATE EstimateDataDetail SET EntryDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                //strcmd += CreatePrimarykeyString(FromCode);
+
+                //// SQL実行
+                //if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOInputSearchLogData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOInputSearchLogData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOInputSearchLogData.cs	(revision 84)
@@ -0,0 +1,373 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 行動予定アクセスクラス
+    /// </summary>
+    public class IOInputSearchLogData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ConstructionCode = 0,
+            UsedProcessNo,
+            DisplayOrder,
+            DataType,
+            InputCode,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOInputSearchLogData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode,";
+            strcmd += " UsedProcessNo,";
+            strcmd += " DisplayOrder,";
+            strcmd += " DataType,";
+            strcmd += " InputCode";
+            strcmd += " FROM InputSearchLogData";
+            return strcmd;
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref InputSearchLogData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数件読込み処理
+        /// <summary>
+        /// 複数県読込
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<InputSearchLogData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL();
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    InputSearchLogData work = new InputSearchLogData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 複数件追加
+        /// <summary>
+        /// 複数件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<InputSearchLogData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (InputSearchLogData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加
+        /// <summary>
+        /// １件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(InputSearchLogData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO InputSearchLogData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode);
+                    strcmd += string.Format(", {0}", data.UsedProcessNo);
+                    strcmd += string.Format(", {0}", data.DisplayOrder);
+                    strcmd += string.Format(", {0}", data.DataType);
+                    strcmd += string.Format(", {0}", data.InputCode);
+                    strcmd += ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件更新
+        /// <summary>
+        /// データ更新
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateAction(string AddSQLString, InputSearchLogData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE InputSearchLogData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(", UsedProcessNo = {0}", data.UsedProcessNo);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", DataType = {0}", data.DataType.ToString());
+                strcmd += string.Format(", InputCode = {0}", data.InputCode.ToString());
+
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ削除
+        /// <summary>
+        /// データ削除
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM InputSearchLogData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref InputSearchLogData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)NameColumn.ConstructionCode].ToString());
+                wrk.UsedProcessNo = int.Parse(objwrk[(int)NameColumn.UsedProcessNo].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.DataType = int.Parse(objwrk[(int)NameColumn.DataType].ToString());
+                wrk.InputCode = int.Parse(objwrk[(int)NameColumn.InputCode].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 検索キー文字列作成
+        /// <summary>
+        /// 検索キー文字列作成
+        /// </summary>
+        /// <param name="TargetDate"></param>
+        /// <param name="PersonCode"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int UsedProcessNo = 0, int DisplayOrder = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode.ToString());
+                if (UsedProcessNo != 0)
+                    strWork += string.Format(" And UsedProcessNo = {0}", UsedProcessNo.ToString());
+                if (DisplayOrder != 0)
+                    strWork += string.Format(" And UsedProcessNo = {0}", DisplayOrder.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 最大値を取得
+        /// <summary>
+        /// 対象データの件数最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DisplayOrder), 0) FROM InputSearchLogData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMApproval.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMApproval.cs	(revision 84)
@@ -0,0 +1,323 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 承認経路登録マスタアクセスクラス
+    /// </summary>
+    public class IOMApproval : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認経路登録マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ApprovalCode = 0,
+            DepartmentCode,
+            SeqNo,
+            DisplayOrder,
+            ApprovalPerson,
+            ApprovalAuthority,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMApproval()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 承認経路登録マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認経路登録マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ApprovalMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " ApprovalCode";
+                strcmd += ",DepartmentCode";
+                strcmd += ",SeqNo";
+                strcmd += ",DisplayOrder";
+                strcmd += ",ApprovalPerson";
+                strcmd += ",ApprovalAuthority";
+                strcmd += ",TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += ",TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM ApprovalMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ApprovalMaster work = new ApprovalMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 承認経路登録マスタ追加
+        /// </summary>
+        /// <param name="data">承認経路登録マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ApprovalMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ApprovalMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool InsertAction(ApprovalMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ApprovalMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ApprovalCode.ToString());
+                    strcmd += string.Format(", {0}", data.DepartmentCode.ToString());
+                    strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalPerson.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalAuthority.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 承認経路登録マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認経路登録マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ApprovalMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ApprovalMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ApprovalPerson = {0}", data.ApprovalPerson.ToString());
+                strcmd += string.Format(",ApprovalAuthority = {0}", data.ApprovalAuthority.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 承認経路登録マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認経路登録マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ApprovalMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ApprovalMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ApprovalCode = int.Parse(objwrk[(int)NameColumn.ApprovalCode].ToString());
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ApprovalPerson = int.Parse(objwrk[(int)NameColumn.ApprovalPerson].ToString());
+                wrk.ApprovalAuthority = int.Parse(objwrk[(int)NameColumn.ApprovalAuthority].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ApprovalCode, int DepartmentCode = -1, int SeqNo = -1)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ApprovalCode = {0}", ApprovalCode.ToString());
+                if (DepartmentCode != -1)
+                    strWork += string.Format(" And DepartmentCode = {0}", DepartmentCode.ToString());
+                if (SeqNo != -1)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM ApprovalMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMBusinessType.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMBusinessType.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMBusinessType.cs	(revision 84)
@@ -0,0 +1,286 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 業種マスタアクセスクラス
+    /// </summary>
+    public class IOMBusinessType : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 業種マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            BusinessTypeCode = 0,
+            DisplayOrder,
+            BusinessTypeName,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMBusinessType()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 業種マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<BusinessTypeMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " BusinessTypeCode, DisplayOrder, BusinessTypeName";
+                strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM BusinessTypeMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    BusinessTypeMaster work = new BusinessTypeMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 業種マスタ追加
+        /// </summary>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<BusinessTypeMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (BusinessTypeMaster work in data)
+                {
+                    strcmd = "INSERT INTO BusinessTypeMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.BusinessTypeCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.BusinessTypeName);
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 業種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, BusinessTypeMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE BusinessTypeMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" BusinessTypeCode = {0}", data.BusinessTypeCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",BusinessTypeName = '{0}'", data.BusinessTypeName);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 業種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">業種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM BusinessTypeMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref BusinessTypeMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.BusinessTypeCode = int.Parse(objwrk[(int)NameColumn.BusinessTypeCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.BusinessTypeName=objwrk[(int)NameColumn.BusinessTypeName].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int BusinessTypeCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where BusinessTypeCode = {0}", BusinessTypeCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxBusinessTypeKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(BusinessTypeCode), 0) FROM BusinessTypeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCategoryName.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCategoryName.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCategoryName.cs	(revision 84)
@@ -0,0 +1,340 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// カテゴリ名称マスタアクセスクラス
+    /// </summary>
+    public class IOMCategoryName : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// カテゴリ名称マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            NameCode = 0,
+            CategoryCode,
+            DisplayOrder,
+            CategoryName,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCategoryName()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// カテゴリ名称マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">カテゴリ名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<CategoryNameMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+
+                strcmd += "  NameCode";
+                strcmd += " ,CategoryCode";
+                strcmd += " ,DisplayOrder";
+                strcmd += " ,CategoryName";
+                strcmd += " ,DeleteFlg";
+
+                strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM CategoryNameMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CategoryNameMaster work = new CategoryNameMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// カテゴリ名称マスタ追加
+        /// </summary>
+        /// <param name="data">カテゴリ名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CategoryNameMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CategoryNameMaster work in data)
+                {
+                    strcmd = "INSERT INTO CategoryNameMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.NameCode.ToString());
+                    strcmd += string.Format(", {0}", work.CategoryCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(",'{0}'", work.CategoryName.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// カテゴリ名称マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">カテゴリ名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CategoryNameMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CategoryNameMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",CategoryCode = {0}", data.CategoryCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",CategoryName ='{0}'", data.CategoryName.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// カテゴリ名称マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">カテゴリ名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CategoryNameMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">カテゴリタイプ</param>
+        /// <param name="CategoryCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, int CategoryCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode, CategoryCode);
+            try
+            {
+                List<CategoryNameMaster> workList = new List<CategoryNameMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CategoryNameMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.CategoryCode = int.Parse(objwrk[(int)NameColumn.CategoryCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.CategoryName = objwrk[(int)NameColumn.CategoryName].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// カテゴリ履歴の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT MAX(CategoryCode) FROM CategoryNameMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">カテゴリタイプ</param>
+        /// <param name="CategoryCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int NameCode, int CategoryCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where NameCode = {0}", NameCode);
+
+                if (CategoryCode != 0)
+                {
+                    strWork += string.Format(" And CategoryCode = {0}", CategoryCode);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLarge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLarge.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLarge.cs	(revision 84)
@@ -0,0 +1,370 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 共通費大項目マスタアクセスクラス
+    /// </summary>
+    public class IOMCommonCostLarge : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 共通費大項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LargeCode = 0,
+            DisplayOrder,
+            LargeName,
+            CommentText,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCommonCostLarge()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 共通費大項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">共通費大項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  LargeCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,LargeName";
+            strcmd += " ,CommentText";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM CommonCostLarge";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<CommonCostLarge> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CommonCostLarge work = new CommonCostLarge();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref CommonCostLarge data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 共通費大項目マスタ追加
+        /// </summary>
+        /// <param name="data">共通費大項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CommonCostLarge> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CommonCostLarge work in data)
+                {
+                    strcmd = "INSERT INTO CommonCostLarge";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.LargeCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.LargeName);
+                    strcmd += string.Format(", '{0}'", work.CommentText);
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 共通費大項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">共通費大項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CommonCostLarge data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CommonCostLarge";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" LargeCode = {0}", data.LargeCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",LargeName = '{0}'", data.LargeName);
+                strcmd += string.Format(",CommentText = '{0}'", data.CommentText);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 共通費大項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">共通費大項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CommonCostLarge", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ItemCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ItemCode);
+            try
+            {
+                List<CommonCostLarge> workList = new List<CommonCostLarge>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CommonCostLarge wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LargeCode = int.Parse(objwrk[(int)NameColumn.LargeCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.LargeName = objwrk[(int)NameColumn.LargeName].ToString();
+                wrk.CommentText = objwrk[(int)NameColumn.CommentText].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCommonCostLargeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(LargeCode), 0) FROM CommonCostLarge" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="CommonCostLargeCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CommonCostLargeCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where LargeCode = {0}", CommonCostLargeCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLinkMS.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLinkMS.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLinkMS.cs	(revision 84)
@@ -0,0 +1,356 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 共通費工種関連マスタアクセスクラス
+    /// </summary>
+    public class IOMCommonCostLinkMS : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LargeCode = 0,
+            MiddleCode,
+            ItemCode,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCommonCostLinkMS()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 共通費工種関連マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  LargeCode";
+            strcmd += " ,MiddleCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM CommonCostLinkMS";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<CommonCostLinkMS> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CommonCostLinkMS work = new CommonCostLinkMS();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref CommonCostLinkMS data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 共通費工種関連マスタ追加
+        /// </summary>
+        /// <param name="data">共通費工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(CommonCostLinkMS work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO CommonCostLinkMS";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.LargeCode.ToString());
+                strcmd += string.Format(", {0}", work.MiddleCode.ToString());
+                strcmd += string.Format(", {0}", work.ItemCode.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 共通費工種関連マスタ追加
+        /// </summary>
+        /// <param name="data">共通費工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CommonCostLinkMS> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CommonCostLinkMS work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 共通費工種関連マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">共通費工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CommonCostLinkMS data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CommonCostLinkMS";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.LargeCode.ToString());
+                strcmd += string.Format(",MiddleCode = {0}", data.MiddleCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CommonCostLinkMS", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CommonCostLinkMS wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LargeCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.LargeCode].ToString());
+                wrk.MiddleCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.MiddleCode].ToString());
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 最大値取得
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxIDisplayOrderCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DisplsyOrder), 0) FROM CommonCostLinkMS" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 検索の文字列作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int LargeCode, int MiddleCode = 0, int ItemCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where LargeCode = {0}", LargeCode);
+                if (MiddleCode != 0) strWork += string.Format(" And MiddleCode = {0}", MiddleCode);
+                if (ItemCode != 0) strWork += string.Format(" And ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddle.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddle.cs	(revision 84)
@@ -0,0 +1,376 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 共通費中項目マスタアクセスクラス
+    /// </summary>
+    public class IOMCommonCostMiddle : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 共通費中項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LargeCode = 0,
+            MiddleCode,
+            DisplayOrder,
+            MiddleName,
+            CommentText,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCommonCostMiddle()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 共通費中項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  LargeCode";
+            strcmd += " ,MiddleCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,MiddleName";
+            strcmd += " ,CommentText";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM CommonCostMiddle";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<CommonCostMiddle> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CommonCostMiddle work = new CommonCostMiddle();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref CommonCostMiddle data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ追加
+        /// </summary>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CommonCostMiddle> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CommonCostMiddle work in data)
+                {
+                    strcmd = "INSERT INTO CommonCostMiddle";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.LargeCode.ToString());
+                    strcmd += string.Format(", {0}", work.MiddleCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.MiddleName);
+                    strcmd += string.Format(", '{0}'", work.CommentText);
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CommonCostMiddle data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CommonCostMiddle";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" LargeCode = {0}", data.LargeCode.ToString());
+                strcmd += string.Format(" MiddleCode = {0}", data.MiddleCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",MiddleName = '{0}'", data.MiddleName);
+                strcmd += string.Format(",CommentText = '{0}'", data.CommentText);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 共通費中項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CommonCostMiddle", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int LargeCode, int MiddleCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(LargeCode, MiddleCode);
+            try
+            {
+                List<CommonCostMiddle> workList = new List<CommonCostMiddle>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CommonCostMiddle wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LargeCode = int.Parse(objwrk[(int)NameColumn.LargeCode].ToString());
+                wrk.MiddleCode = int.Parse(objwrk[(int)NameColumn.MiddleCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.MiddleName = objwrk[(int)NameColumn.MiddleName].ToString();
+                wrk.CommentText = objwrk[(int)NameColumn.CommentText].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCommonCostMiddleCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(MiddleCode), 0) FROM CommonCostMiddle" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="MiddleCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int LargeCode, int MiddleCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where LargeCode = {0}", LargeCode);
+                strWork = string.Format(" And MiddleCode = {0}", MiddleCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddleSearchWord.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddleSearchWord.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddleSearchWord.cs	(revision 84)
@@ -0,0 +1,314 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 共通費中項目キーマスタアクセスクラス
+    /// </summary>
+    public class IOMCommonCostMiddleSearchWord : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 共通費中項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            LargeCode = 0,
+            MiddleCode,
+            SeqNo,
+            SearchWord,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMCommonCostMiddleSearchWord()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 共通費中項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  LargeCode";
+            strcmd += " ,MiddleCode";
+            strcmd += " ,SeqNo";
+            strcmd += " ,SearchWord";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM CommonCostMiddleSearchWord";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<CommonCostMiddleSearchWord> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    CommonCostMiddleSearchWord work = new CommonCostMiddleSearchWord();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref CommonCostMiddleSearchWord data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ追加
+        /// </summary>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(CommonCostMiddleSearchWord work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO CommonCostMiddleSearchWord";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.LargeCode.ToString());
+                strcmd += string.Format(", {0}", work.MiddleCode.ToString());
+                strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                strcmd += string.Format(", '{0}'", work.SearchWord);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ追加
+        /// </summary>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<CommonCostMiddleSearchWord> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (CommonCostMiddleSearchWord work in data)
+                {
+                    if (!InsertAction(data, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 共通費中項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, CommonCostMiddleSearchWord data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE CommonCostMiddleSearchWord";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" LargeCode = {0}", data.LargeCode.ToString());
+                strcmd += string.Format(" MiddleCode = {0}", data.MiddleCode.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",SearchWord = '{0}'", data.SearchWord);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 共通費中項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">共通費中項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM CommonCostMiddleSearchWord", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref CommonCostMiddleSearchWord wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.LargeCode = int.Parse(objwrk[(int)NameColumn.LargeCode].ToString());
+                wrk.MiddleCode = int.Parse(objwrk[(int)NameColumn.MiddleCode].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.SearchWord = objwrk[(int)NameColumn.SearchWord].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="MiddleCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int LargeCode, int MiddleCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where LargeCode = {0}", LargeCode);
+                if (MiddleCode != 0) strWork += string.Format(" And MiddleCode = {0}", MiddleCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponent.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponent.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponent.cs	(revision 84)
@@ -0,0 +1,525 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事構成マスタアクセスクラス
+    /// </summary>
+    public class IOMComponent : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事構成マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ComponentCode = 0,
+            DisplayOrder,
+            ComponentName,
+            SubitemsFlg,
+            DirectInputFlg,
+            MyExpensesFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMComponent()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 工事構成マスタ検索文字作成
+        /// <summary>
+        /// 工事構成マスタ検索文字作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ComponentCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ComponentName";
+            strcmd += " ,SubitemsFlg";
+            strcmd += " ,DirectInputFlg";
+            strcmd += " ,MyExpensesFlg";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ComponentMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 工事構成マスタ検索（複数）
+        /// <summary>
+        /// 工事構成マスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ComponentMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ComponentMaster work = new ComponentMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 工事構成マスタ検索（1件）
+        /// <summary>
+        /// 工事構成マスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ComponentMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 工事構成マスタ追加（1件）
+        /// <summary>
+        /// 工事構成マスタ追加（1件）
+        /// </summary>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ComponentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ComponentMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", '{0}'", data.ComponentName);
+                strcmd += string.Format(", {0}", data.SubitemsFlg.ToString());
+                strcmd += string.Format(", {0}", data.DirectInputFlg.ToString());
+                strcmd += string.Format(", {0}", data.MyExpensesFlg.ToString());
+                strcmd += string.Format(", {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事構成マスタ追加（複数）
+        /// <summary>
+        /// 工事構成マスタ追加（複数）
+        /// </summary>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ComponentMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ComponentMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事構成マスタ更新
+        /// <summary>
+        /// 工事構成マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ComponentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ComponentMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ComponentName = '{0}'", data.ComponentName);
+                strcmd += string.Format(",SubitemsFlg = {0}", data.SubitemsFlg.ToString());
+                strcmd += string.Format(",DirectInputFlg = {0}", data.DirectInputFlg.ToString());
+                strcmd += string.Format(",MyExpensesFlg = {0}", data.MyExpensesFlg.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事構成マスタ削除
+        /// <summary>
+        /// 工事構成マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事構成マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ComponentMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 論理削除
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ItemCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ItemCode);
+            try
+            {
+                List<ComponentMaster> workList = new List<ComponentMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ComponentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = int.Parse(objwrk[(int)NameColumn.ComponentCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ComponentName = objwrk[(int)NameColumn.ComponentName].ToString();
+                wrk.SubitemsFlg = int.Parse(objwrk[(int)NameColumn.SubitemsFlg].ToString());
+                wrk.DirectInputFlg = int.Parse(objwrk[(int)NameColumn.DirectInputFlg].ToString());
+                wrk.MyExpensesFlg = int.Parse(objwrk[(int)NameColumn.MyExpensesFlg].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体をクリアする
+        /// <summary>
+        /// 構造体をクリアする
+        /// </summary>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref ComponentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = 0;
+                wrk.DisplayOrder = 0;
+                wrk.ComponentName = string.Empty;
+                wrk.SubitemsFlg = 0;
+                wrk.DirectInputFlg = 0;
+                wrk.MyExpensesFlg = 0;
+                wrk.DeleteFlg = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 最大値を取得する
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxComponentCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(ComponentCode), 0) FROM ComponentMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0}", ComponentCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int ComponentCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ComponentMaster";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)NameColumn.ComponentCode:
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.DisplayOrder:
+                        strcmd += string.Format(" DisplayOrder = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.ComponentName:
+                        strcmd += string.Format(" ComponentName = '{0}'", value.ToString());
+                        break;
+                    case (int)NameColumn.SubitemsFlg:
+                        strcmd += string.Format(" SubitemsFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.DirectInputFlg:
+                        strcmd += string.Format(" DirectInputFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.MyExpensesFlg:
+                        strcmd += string.Format(" MyExpensesFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.DeleteFlg:
+                        strcmd += string.Format(" DeleteFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ComponentCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentLink.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentLink.cs	(revision 84)
@@ -0,0 +1,356 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 構成関連マスタアクセスクラス
+    /// </summary>
+    public class IOMComponentLink : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            DisplayOrder,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMComponentLink()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 工事項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ComponentCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ComponentLinkMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<ComponentLinkMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ComponentLinkMaster work = new ComponentLinkMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref ComponentLinkMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ComponentLinkMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ComponentLinkMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ComponentCode.ToString());
+                strcmd += string.Format(", {0}", work.ItemCode.ToString());
+                strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ComponentLinkMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ComponentLinkMaster work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ComponentLinkMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ComponentLinkMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ComponentLinkMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ComponentLinkMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ComponentCode].ToString());
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 最大値取得
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxIDisplayOrderCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DisplsyOrder), 0) FROM ComponentLinkMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 検索の文字列作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int ItemCode=0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0}", ComponentCode);
+                if (ItemCode != 0)
+                    strWork += string.Format(" And ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentToTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentToTypeMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentToTypeMaster.cs	(revision 84)
@@ -0,0 +1,336 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 構成工事種別関連マスタアクセスクラス
+    /// </summary>
+    public class IOMComponentToType : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            DisplayOrder,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMComponentToType()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 構成工事種別関連マスタ検索文字列作成
+        /// <summary>
+        /// 構成工事種別関連マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ComponentCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ComponentToTypeMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 構成工事種別関連マスタ検索（複数）
+        /// <summary>
+        /// 構成工事種別関連マスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ComponentToTypeMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ComponentToTypeMaster work = new ComponentToTypeMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 構成工事種別関連マスタ検索（1件）
+        /// <summary>
+        /// 構成工事種別関連マスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ComponentToTypeMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ComponentToTypeMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ComponentToTypeMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ComponentCode.ToString());
+                strcmd += string.Format(", {0}", work.TypeCode.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 工事項目マスタ追加
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ComponentToTypeMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ComponentToTypeMaster work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ComponentToTypeMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ComponentToTypeMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.TypeCode.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ComponentToTypeMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ComponentToTypeMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ComponentCode].ToString());
+                wrk.TypeCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 検索の文字列作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="TypeCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int TypeCode=0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0}", ComponentCode);
+                if (TypeCode != 0)
+                    strWork += string.Format(" And TypeCode = {0}", TypeCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItem.cs	(revision 84)
@@ -0,0 +1,403 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事項目マスタアクセスクラス
+    /// </summary>
+    public class IOMConstructionItem : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ItemCode = 0,
+            DisplayOrder,
+            ItemName,
+            SubitemsFlg,
+            MyExpensesFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionItem()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 工事項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ItemName";
+            strcmd += " ,SubitemsFlg";
+            strcmd += " ,MyExpensesFlg";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionItemMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<ConstructionItemMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionItemMaster work = new ConstructionItemMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref ConstructionItemMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionItemMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ConstructionItemMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ItemCode.ToString());
+                strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                strcmd += string.Format(", '{0}'", work.ItemName);
+                strcmd += string.Format(", {0}", work.SubitemsFlg.ToString());
+                strcmd += string.Format(", {0}", work.MyExpensesFlg.ToString());
+                strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionItemMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionItemMaster work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 工事項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionItemMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionItemMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(",SubitemsFlg = {0}", data.SubitemsFlg.ToString());
+                strcmd += string.Format(",MyExpensesFlg = {0}", data.MyExpensesFlg.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionItemMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ItemCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ItemCode);
+            try
+            {
+                List<ConstructionItemMaster> workList = new List<ConstructionItemMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionItemMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ItemName = objwrk[(int)NameColumn.ItemName].ToString();
+                wrk.SubitemsFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.SubitemsFlg].ToString());
+                wrk.MyExpensesFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.MyExpensesFlg].ToString());
+                wrk.DeleteFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxItemCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(ItemCode), 0) FROM ConstructionItemMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ItemCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItemOLD.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItemOLD.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItemOLD.cs	(revision 84)
@@ -0,0 +1,378 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事項目マスタアクセスクラス
+    /// </summary>
+    public class IOMConstructionItemOLD : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工事項目マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            DisplayOrder,
+            ItemName,
+            SubitemsFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionItemOLD()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 工事項目マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ComponentCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ItemName";
+            strcmd += " ,SubitemsFlg";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionItemMaster_OLD";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<ConstructionItemOLDMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionItemOLDMaster work = new ConstructionItemOLDMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref ConstructionItemOLDMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 工事項目マスタ追加
+        /// </summary>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionItemOLDMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionItemOLDMaster work in data)
+                {
+                    strcmd = "INSERT INTO ConstructionItemMaster_OLD";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.ComponentCode.ToString());
+                    strcmd += string.Format(", {0}", work.ItemCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.ItemName);
+                    strcmd += string.Format(", {0}", work.SubitemsFlg.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 工事項目マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionItemOLDMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionItemMaster_OLD";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(",SubitemsFlg = {0}", data.SubitemsFlg.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 工事項目マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">工事項目マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionItemMaster_OLD", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ComponentCode, int ItemCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ComponentCode, ItemCode);
+            try
+            {
+                List<ConstructionItemOLDMaster> workList = new List<ConstructionItemOLDMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionItemOLDMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ComponentCode].ToString());
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ItemName = objwrk[(int)NameColumn.ItemName].ToString();
+                wrk.SubitemsFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.SubitemsFlg].ToString());
+                wrk.DeleteFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxItemCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT MAX(ItemCode) FROM ConstructionItemMaster_OLD" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int ItemCode=0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0}", ComponentCode);
+                if (ItemCode != 0)
+                    strWork += string.Format(" And ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpec.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpec.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpec.cs	(revision 84)
@@ -0,0 +1,454 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 施工工種マスタＤＢアクセス
+    /// </summary>
+    public class IOMConstructionSpec : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 施工工種マスタフィールド並び
+        /// </summary>
+        public enum ConstructionSpecMasterColumn
+        {
+            ItemCode = 0,
+            SpecCode,
+            DisplayOrder,
+            ItemName,
+            SpecName,
+            UnitName,
+            UnitPrice,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionSpec()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ItemCode";
+            strcmd += ", SpecCode";
+            strcmd += ", DisplayOrder";
+            strcmd += ", ItemName";
+            strcmd += ", SpecName";
+            strcmd += ", UnitName";
+            strcmd += ", UnitPrice";
+            strcmd += ", DeleteFlg";
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionSpecMaster";
+
+            return strcmd;
+        }
+        /// <summary>
+        /// 施工工種マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionSpecMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionSpecMaster work = new ConstructionSpecMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool SelectAction(string AddSQLString, ref ConstructionSpecMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 施工工種マスタ追加
+        /// </summary>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionSpecMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ConstructionSpecMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", work.ItemCode);
+                strcmd += string.Format(",{0}", work.SpecCode);
+                strcmd += string.Format(",{0}", work.DisplayOrder);
+
+                strcmd += string.Format(",'{0}'", work.ItemName);
+                strcmd += string.Format(",'{0}'", work.SpecName);
+                strcmd += string.Format(",'{0}'", work.UnitName);
+                strcmd += string.Format(",{0}", work.UnitPrice);
+                strcmd += string.Format(",{0}", work.DeleteFlg);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 施工工種マスタ追加
+        /// </summary>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionSpecMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionSpecMaster work in data)
+                {
+                    InsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 施工工種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionSpecMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionSpecMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ItemCode = {0}", data.ItemCode);
+                strcmd += string.Format(",SpecCode = {0}", data.SpecCode);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(",SpecName = '{0}'", data.SpecName);
+                strcmd += string.Format(",UnitName = '{0}'", data.UnitName);
+                strcmd += string.Format(",UnitPrice = {0}", data.UnitPrice);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 施工工種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionSpecMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ItemCode, int SpecCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ItemCode, SpecCode);
+            try
+            {
+                List<ConstructionSpecMaster> workList = new List<ConstructionSpecMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionSpecMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ItemCode = int.Parse(objwrk[(int)ConstructionSpecMasterColumn.ItemCode].ToString());
+                wrk.SpecCode = int.Parse(objwrk[(int)ConstructionSpecMasterColumn.SpecCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)ConstructionSpecMasterColumn.DisplayOrder].ToString());
+
+                wrk.ItemName = objwrk[(int)ConstructionSpecMasterColumn.ItemName].ToString();
+                wrk.SpecName = objwrk[(int)ConstructionSpecMasterColumn.SpecName].ToString();
+                wrk.UnitName = objwrk[(int)ConstructionSpecMasterColumn.UnitName].ToString();
+
+                wrk.UnitPrice = double.Parse(objwrk[(int)ConstructionSpecMasterColumn.UnitPrice].ToString());
+
+                wrk.DeleteFlg = int.Parse(objwrk[(int)ConstructionSpecMasterColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ConstructionSpecMasterColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ConstructionSpecMasterColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxSpecCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SpecCode), 0) FROM ConstructionSpecMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="SpecCode">項目コード</param>
+        /// <param name="History">登録履歴</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ItemCode, int SpecCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ItemCode = {0}", ItemCode);
+                if (SpecCode != 0) strWork += string.Format(" And SpecCode = {0}", SpecCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 指定表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DisplayOrder), 0) FROM ConstructionSpecMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpecUnitPrice.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpecUnitPrice.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpecUnitPrice.cs	(revision 84)
@@ -0,0 +1,373 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 作業単価マスタＤＢアクセス
+    /// </summary>
+    public class IOMConstructionSpecUnitPrice : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 作業単価マスタフィールド並び
+        /// </summary>
+        public enum ConstructionSpecUnitPriceMasterColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            SpecCode,
+            ConstructionTypeCode,
+            UnitPrice,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionSpecUnitPrice()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  ComponentCode";
+            strcmd += ", ItemCode";
+            strcmd += ", SpecCode";
+            strcmd += ", ConstructionTypeCode";
+            strcmd += ", UnitPrice";
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionSpecUnitPrice";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 検索処理
+        /// <summary>
+        /// 作業単価マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionSpecUnitPrice data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 作業単価マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionSpecUnitPrice> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionSpecUnitPrice work = new ConstructionSpecUnitPrice();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 追加処理
+        /// <summary>
+        /// 作業単価マスタ追加
+        /// </summary>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionSpecUnitPrice data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ConstructionSpecUnitPrice";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" {0}", data.ComponentCode);
+                    strcmd += string.Format(",{0}", data.ItemCode);
+                    strcmd += string.Format(",{0}", data.SpecCode);
+                    strcmd += string.Format(",{0}", data.TypeCode);
+
+                    strcmd += string.Format(",{0}", data.UnitPrice);
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool InsertAction(List<ConstructionSpecUnitPrice> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionSpecUnitPrice work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 作業単価マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionSpecUnitPrice data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionSpecUnitPrice";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode);
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode);
+                strcmd += string.Format(",SpecCode = {0}", data.SpecCode);
+                strcmd += string.Format(",ConstructionTypeCode = {0}", data.TypeCode);
+
+                strcmd += string.Format(",UnitPrice = {0}", data.UnitPrice);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 作業単価マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">作業単価マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionSpecUnitPrice", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionSpecUnitPrice wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = int.Parse(objwrk[(int)ConstructionSpecUnitPriceMasterColumn.ComponentCode].ToString());
+                wrk.ItemCode = int.Parse(objwrk[(int)ConstructionSpecUnitPriceMasterColumn.ItemCode].ToString());
+                wrk.SpecCode = int.Parse(objwrk[(int)ConstructionSpecUnitPriceMasterColumn.SpecCode].ToString());
+                wrk.TypeCode = int.Parse(objwrk[(int)ConstructionSpecUnitPriceMasterColumn.ConstructionTypeCode].ToString());
+
+                wrk.UnitPrice = int.Parse(objwrk[(int)ConstructionSpecUnitPriceMasterColumn.UnitPrice].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ConstructionSpecUnitPriceMasterColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ConstructionSpecUnitPriceMasterColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxWorkCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SpecCode), 0) FROM ConstructionSpecUnitPrice" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="SpecCode">項目コード</param>
+        /// <param name="History">登録履歴</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int ItemCode, int SpecCode, int ConstructionTypeCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0} And ItemCode = {1} And SpecCode = {2}", ComponentCode, ItemCode, SpecCode);
+                if (ConstructionTypeCode != 0) strWork += string.Format(" And ConstructionTypeCode = {0}", ConstructionTypeCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionTypeMaster.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionTypeMaster.cs	(revision 84)
@@ -0,0 +1,480 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 区分マスタアクセスクラス
+    /// </summary>
+    public class IOMConstructionType : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 名称マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            TypeCode = 0,
+            DisplayOrder,
+            NameString,
+            PublicFlg,
+            SecRank,
+            ExpensesLink,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionType()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 名称マスタ検索ＳＱＬ作成
+        /// <summary>
+        /// 名称マスタ検索ＳＱＬ作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " TypeCode";
+            strcmd += ",DisplayOrder";
+            strcmd += ",NameString";
+            strcmd += ",PublicFlg";
+            strcmd += ",SecRank";
+            strcmd += ",ExpensesLink";
+
+            strcmd += ",DeleteFlg";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ConstructionTypeMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 名称マスタ検索（複数件）
+        /// <summary>
+        /// 名称マスタ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionTypeMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionTypeMaster work = new ConstructionTypeMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 名称マスタ検索（１件）
+        /// <summary>
+        /// 名称マスタ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ConstructionTypeMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 名称マスタ追加（１件）
+        /// <summary>
+        /// 名称マスタ追加
+        /// </summary>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ConstructionTypeMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ConstructionTypeMaster";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.TypeCode);
+                strcmd += string.Format(", {0}", work.DisplayOrder);
+                strcmd += string.Format(",'{0}'", work.NameString);
+                strcmd += string.Format(", {0}", work.PublicFlg);
+                strcmd += string.Format(", {0}", work.SecRank);
+                strcmd += string.Format(", {0}", work.ExpensesLink);
+                strcmd += string.Format(", {0}", work.DeleteFlg);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 名称マスタ追加（複数件）
+        /// <summary>
+        /// 名称マスタ追加（複数件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<ConstructionTypeMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ConstructionTypeMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 名称マスタ更新
+        /// <summary>
+        /// 名称マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionTypeMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionTypeMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" TypeCode = {0}", data.TypeCode);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(",NameString = '{0}'", data.NameString);
+                strcmd += string.Format(",PublicFlg = {0}", data.PublicFlg);
+                strcmd += string.Format(",SecRank = {0}", data.SecRank);
+                strcmd += string.Format(",ExpensesLink = {0}", data.ExpensesLink);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 名称マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionTypeMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="TypeCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int TypeCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(TypeCode);
+            try
+            {
+                List<ConstructionTypeMaster> workList = new List<ConstructionTypeMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionTypeMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TypeCode = int.Parse(objwrk[(int)NameColumn.TypeCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.NameString = objwrk[(int)NameColumn.NameString].ToString();
+                wrk.PublicFlg = int.Parse(objwrk[(int)NameColumn.PublicFlg].ToString());
+                wrk.SecRank = int.Parse(objwrk[(int)NameColumn.SecRank].ToString());
+                wrk.ExpensesLink = int.Parse(objwrk[(int)NameColumn.ExpensesLink].ToString());
+
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 種別コードの最大値を取得する
+        /// <summary>
+        /// 種別コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxTypeCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(TypeCode), 0) FROM ConstructionTypeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 表示順の最大値を取得する
+        /// <summary>
+        /// 表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DisplayOrder), 0) FROM ConstructionTypeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int TypeCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TypeCode = {0}", TypeCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionWork.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionWork.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionWork.cs	(revision 84)
@@ -0,0 +1,400 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 施工工種マスタＤＢアクセス
+    /// </summary>
+    public class IOMConstructionWork : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 施工工種マスタフィールド並び
+        /// </summary>
+        public enum ConstructionWorkMasterColumn
+        {
+            ComponentCode = 0,
+            ItemCode,
+            WorkCode,
+            DisplayOrder,
+            ItemName,
+            WorkName,
+            UnitName,
+            UnitPrice,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMConstructionWork()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 施工工種マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<ConstructionWorkMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+
+                strcmd += "  ComponentCode";
+                strcmd += ", ItemCode";
+                strcmd += ", WorkCode";
+                strcmd += ", DisplayOrder";
+                strcmd += ", ItemName";
+                strcmd += ", WorkName";
+                strcmd += ", UnitName";
+                strcmd += ", UnitPrice";
+                strcmd += ", DeleteFlg";
+
+                strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM ConstructionWorkMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ConstructionWorkMaster work = new ConstructionWorkMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 施工工種マスタ追加
+        /// </summary>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ConstructionWorkMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ConstructionWorkMaster work in data)
+                {
+                    strcmd = "INSERT INTO ConstructionWorkMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" {0}", work.ComponentCode);
+                    strcmd += string.Format(",{0}", work.ItemCode);
+                    strcmd += string.Format(",{0}", work.WorkCode);
+                    strcmd += string.Format(",{0}", work.DisplayOrder);
+
+                    strcmd += string.Format(",'{0}'", work.ItemName);
+                    strcmd += string.Format(",'{0}'", work.WorkName);
+                    strcmd += string.Format(",'{0}'", work.UnitName);
+                    strcmd += string.Format(",{0}", work.UnitPrice);
+                    strcmd += string.Format(",{0}", work.DeleteFlg);
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 施工工種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ConstructionWorkMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ConstructionWorkMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.ComponentCode);
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode);
+                strcmd += string.Format(",WorkCode = {0}", data.WorkCode);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+
+                strcmd += string.Format(",ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(",WorkName = '{0}'", data.WorkName);
+                strcmd += string.Format(",UnitName = '{0}'", data.UnitName);
+                strcmd += string.Format(",UnitPrice = {0}", data.UnitPrice);
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 施工工種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">施工工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ConstructionWorkMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="ItemCode">カテゴリタイプ</param>
+        /// <param name="Key2">名称コード</param>
+        /// <param name="Key3">登録履歴</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int ComponentCode, int ItemCode, int WorkCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(ComponentCode, ItemCode, WorkCode);
+            try
+            {
+                List<ConstructionWorkMaster> workList = new List<ConstructionWorkMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ConstructionWorkMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ComponentCode = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.ComponentCode].ToString());
+                wrk.ItemCode = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.ItemCode].ToString());
+                wrk.WorkCode = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.WorkCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.DisplayOrder].ToString());
+
+                wrk.ItemName = objwrk[(int)ConstructionWorkMasterColumn.ItemName].ToString();
+                wrk.WorkName = objwrk[(int)ConstructionWorkMasterColumn.WorkName].ToString();
+                wrk.UnitName = objwrk[(int)ConstructionWorkMasterColumn.UnitName].ToString();
+                wrk.UnitPrice = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.UnitPrice].ToString());
+
+                wrk.DeleteFlg = int.Parse(objwrk[(int)ConstructionWorkMasterColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ConstructionWorkMasterColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ConstructionWorkMasterColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxWorkCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT MAX(WorkCode) FROM ConstructionWorkMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="WorkCode">項目コード</param>
+        /// <param name="History">登録履歴</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ComponentCode, int ItemCode, int WorkCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ComponentCode = {0} And ItemCode = {1}", ComponentCode, ItemCode);
+                if (WorkCode != 0) strWork += string.Format(" And WorkCode = {0}", WorkCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 指定表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT MAX(DisplayOrder) FROM ConstructionWorkMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartment.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartment.cs	(revision 84)
@@ -0,0 +1,432 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 部署マスタアクセスクラス
+    /// </summary>
+    public class IOMDepartment : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 部署マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            DepartmentCode = 0,
+            DisplayOrder,
+            DepartmentString,
+            ActionScheduleFlg,
+            StaffAssignFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMDepartment()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 部署マスタ検索文字列作成
+        /// <summary>
+        /// 部署マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += " DepartmentCode";
+            strcmd += ",DisplayOrder";
+            strcmd += ",DepartmentString";
+            strcmd += ",ActionScheduleFlg";
+            strcmd += ",StaffAssignFlg";
+            strcmd += ",DeleteFlg";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM DepartmentMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 部署マスタ１件検索
+        /// <summary>
+        /// 部署マスタ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref DepartmentMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                    // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 部署マスタ複数検索
+        /// <summary>
+        /// 部署マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<DepartmentMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DepartmentMaster work = new DepartmentMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 部署マスタ追加
+        /// <summary>
+        /// 部署マスタ追加
+        /// </summary>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DepartmentMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DepartmentMaster work in data)
+                {
+                    strcmd = "INSERT INTO DepartmentMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.DepartmentCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(",'{0}'", work.DepartmentString.ToString());
+                    strcmd += string.Format(", {0}", work.ActionScheduleFlg.ToString());
+                    strcmd += string.Format(", {0}", work.StaffAssignFlg.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 部署マスタ更新
+        /// <summary>
+        /// 部署マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DepartmentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DepartmentMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",DepartmentString = '{0}'", data.DepartmentString.ToString());
+                strcmd += string.Format(",ActionScheduleFlg = {0}", data.ActionScheduleFlg.ToString());
+                strcmd += string.Format(",StaffAssignFlg = {0}", data.StaffAssignFlg.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 部署マスタ削除
+        /// <summary>
+        /// 部署マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DepartmentMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 論理削除
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="DepartmentCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int DepartmentCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(DepartmentCode);
+            try
+            {
+                List<DepartmentMaster> workList = new List<DepartmentMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DepartmentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.DepartmentString = objwrk[(int)NameColumn.DepartmentString].ToString();
+                wrk.ActionScheduleFlg = int.Parse(objwrk[(int)NameColumn.ActionScheduleFlg].ToString());
+                wrk.StaffAssignFlg = int.Parse(objwrk[(int)NameColumn.StaffAssignFlg].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref DepartmentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DepartmentCode = 0;
+                wrk.DisplayOrder = 0;
+                wrk.DepartmentString = string.Empty;
+                wrk.ActionScheduleFlg = 0;
+                wrk.StaffAssignFlg = 0;
+                wrk.DeleteFlg = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 部署コードの最大値を取得する
+        /// <summary>
+        /// 部署コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxDepartmentCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DepartmentCode), 0) FROM DepartmentMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="DepartmentCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int DepartmentCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                    strWork = string.Format(" Where DepartmentCode = {0}", DepartmentCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartmentExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartmentExpenses.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartmentExpenses.cs	(revision 84)
@@ -0,0 +1,465 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 部署経費率マスタアクセスクラス
+    /// </summary>
+    public class IOMDepartmentExpenses : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 経費率マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            /// <summary>
+            /// 部署コード
+            /// </summary>
+            DepartmentCode = 0,
+            /// <summary>
+            /// 事業期
+            /// </summary>
+            ExpensesPeriod,
+            /// <summary>
+            /// 経費名称コード
+            /// </summary>
+            NameCode,
+            /// <summary>
+            /// 表示順
+            /// </summary>
+            DisplayOrder,
+            /// <summary>
+            /// 経費率
+            /// </summary>
+            ExpensesRaito,
+            /// <summary>
+            /// 削除フラグ
+            /// </summary>
+            DeleteFlg,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMDepartmentExpenses()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 経費率マスタ検索SQL作成
+        /// <summary>
+        /// 経費率マスタ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " DepartmentCode";
+            strcmd += " ,ExpensesPeriod";
+            strcmd += " ,NameCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ExpensesRatio";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM DepartmentExpensesMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数件検索
+        /// <summary>
+        /// 複数件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<DepartmentExpenses> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DepartmentExpenses work = new DepartmentExpenses();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 1件検索
+        /// <summary>
+        /// 1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref DepartmentExpenses data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 1件追加
+        /// <summary>
+        /// 経費率マスタ追加
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(DepartmentExpenses data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO DepartmentExpensesMaster";
+
+                strcmd += " (DepartmentCode";
+                strcmd += " ,ExpensesPeriod";
+                strcmd += " ,NameCode";
+                strcmd += " ,DisplayOrder";
+                strcmd += " ,ExpensesRatio";
+                strcmd += " ,DeleteFlg";
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+                strcmd += string.Format("  {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(", {0}", data.ExpensesPeriod.ToString());
+                strcmd += string.Format(", {0}", data.NameCode.ToString());
+                strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", {0}", data.ExpensesRatio.ToString());
+                strcmd += string.Format(", {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数件追加
+        /// <summary>
+        /// 複数件追加
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DepartmentExpenses> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DepartmentExpenses work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ更新
+        /// <summary>
+        /// 経費率マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DepartmentExpenses data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DepartmentExpensesMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(",ExpensesPeriod = {0}", data.ExpensesPeriod.ToString());
+                strcmd += string.Format(",NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",ExpensesRatio = {0}", data.ExpensesRatio.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ物理削除
+        /// <summary>
+        /// 経費率マスタ物理削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DepartmentExpensesMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 論理削除
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode);
+            try
+            {
+                List<DepartmentExpenses> workList = new List<DepartmentExpenses>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DepartmentExpenses wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.ExpensesPeriod = int.Parse(objwrk[(int)NameColumn.ExpensesPeriod].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ExpensesRatio = double.Parse(objwrk[(int)NameColumn.ExpensesRaito].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 区分別の最大値を取得する
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(NameCode), 0) FROM DepartmentExpensesMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int DepartmentCode, int ExpensesPeriod = 0, int NameCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where DepartmentCode = {0}", DepartmentCode);
+                if (ExpensesPeriod != 0)
+                    strWork += string.Format(" And ExpensesPeriod = {0}", ExpensesPeriod);
+                if (NameCode != 0)
+                    strWork += string.Format(" And NameCode = {0}", NameCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDivision.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDivision.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDivision.cs	(revision 84)
@@ -0,0 +1,371 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 区分マスタアクセスクラス
+    /// </summary>
+    public class IOMDivision : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 名称マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            DivisionCode = 0,
+            NameCode,
+            DisplayOrder,
+            NameString,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMDivision()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 名称マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " DivisionCode";
+            strcmd += ",NameCode";
+            strcmd += ",DisplayOrder";
+            strcmd += ",NameString";
+            strcmd += ",DeleteFlg";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM DivisionMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<DivisionMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    DivisionMaster work = new DivisionMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref DivisionMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 名称マスタ追加
+        /// </summary>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<DivisionMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (DivisionMaster work in data)
+                {
+                    strcmd = "INSERT INTO DivisionMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.DivisionCode.ToString());
+                    strcmd += string.Format(", {0}", work.NameCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(",'{0}'", work.NameString.ToString());
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 名称マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, DivisionMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE DivisionMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" DivisionCode = {0}", data.DivisionCode.ToString());
+                strcmd += string.Format(",NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",NameString = '{0}'", data.NameString.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 名称マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">名称マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM DivisionMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode);
+            try
+            {
+                List<DivisionMaster> workList = new List<DivisionMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref DivisionMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.DivisionCode = int.Parse(objwrk[(int)NameColumn.DivisionCode].ToString());
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.NameString = objwrk[(int)NameColumn.NameString].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(NameCode), 0) FROM DivisionMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int DivisionCode, int NameCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where DivisionCode = {0}", DivisionCode);
+                if (NameCode != 0)
+                    strWork += string.Format(" And NameCode = {0}", NameCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMHolidayCalender.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMHolidayCalender.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMHolidayCalender.cs	(revision 84)
@@ -0,0 +1,321 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 会社休日マスタアクセスクラス
+    /// </summary>
+    public class IOMHolidayCalender : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 会社休日マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            Holiday,
+            BusinessYear,
+            TargetMonth,
+            TargetDay,
+        }
+
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMHolidayCalender()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " TO_CHAR(Holiday, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",BusinessYear";
+            strcmd += ",TargetMonth";
+            strcmd += ",TargetDay";
+            strcmd += " FROM HolidayCalenderMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 会社休日マスタ検索
+        /// <summary>
+        /// 会社休日マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">会社休日マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<HolidayCalenderMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    HolidayCalenderMaster work = new HolidayCalenderMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref HolidayCalenderMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 会社休日マスタ追加
+        /// <summary>
+        /// 会社休日マスタ追加
+        /// </summary>
+        /// <param name="data">会社休日マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<HolidayCalenderMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (HolidayCalenderMaster work in data)
+                {
+                    strcmd = "INSERT INTO HolidayCalenderMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" TO_DATE('{0}','YYYY/MM/DD')", work.Holiday.ToShortDateString());
+                    strcmd += string.Format(" ,{0}", work.BusinessYear.ToString());
+                    strcmd += string.Format(" ,{0}", work.TargetMonth.ToString());
+                    strcmd += string.Format(" ,{0}", work.TargetDay.ToString());
+
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 会社休日マスタ更新
+        /// <summary>
+        /// 会社休日マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">会社休日マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, HolidayCalenderMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE HolidayCalenderMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" Holiday = TO_DATE('{0}','YYYY/MM/DD')", data.Holiday.ToShortDateString());
+                strcmd += string.Format(",BusinessYear = {0}", data.BusinessYear.ToString());
+                strcmd += string.Format(",TargetMonth = {0}", data.TargetMonth.ToString());
+                strcmd += string.Format(",TargetDay = {0}", data.TargetDay.ToString());
+
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 会社休日マスタ削除
+        /// <summary>
+        /// 会社休日マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">会社休日マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM HolidayCalenderMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref HolidayCalenderMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.Holiday = DateTime.Parse(objwrk[(int)NameColumn.Holiday].ToString());
+                wrk.BusinessYear = int.Parse(objwrk[(int)NameColumn.BusinessYear].ToString());
+                wrk.TargetMonth = int.Parse(objwrk[(int)NameColumn.TargetMonth].ToString());
+                wrk.TargetDay = int.Parse(objwrk[(int)NameColumn.TargetDay].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="HolidayCalenderCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(DateTime Holiday)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where Holiday = TO_DATE('{0}','YYYY/MM/DD')", Holiday.ToShortDateString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="HolidayCalenderCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int Year, int Month = 0, int Day = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where BusinessYear = {0}", Year.ToString());
+                if(Month != 0)
+                    strWork += string.Format(" And TargetMonth = {0}", Month.ToString());
+                if (Day != 0)
+                    strWork += string.Format(" And TargetDay = {0}", Day.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMOrderers.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMOrderers.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMOrderers.cs	(revision 84)
@@ -0,0 +1,530 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 発注者マスタＤＢアクセス
+    /// </summary>
+    public class IOMOrderers : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 発注者マスタフィールド並び
+        /// </summary>
+        public enum OrderersColumn
+        {
+            OrderCotegory = 0,
+            OrderersCode,
+            DisplayOrder,
+            OrderFlg,
+            CorporateStatusName,
+            CorporateStatusPoint,
+            OrderersName1,
+            OrderersName2,
+            DepartmentName,
+            ChargePersonName,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            PhoneNumber,
+            FaxNumber,
+            MailAddress,
+            Note,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMOrderers()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 発注者マスタ検索SQL作成
+        /// <summary>
+        /// 発注者マスタ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  OrderCotegory";
+            strcmd += " ,OrderersCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,OrderFlg";
+            strcmd += " ,CorporateStatusName";
+            strcmd += " ,CorporateStatusPoint";
+            strcmd += " ,OrderersName1";
+            strcmd += " ,OrderersName2";
+            strcmd += " ,DepartmentName";
+            strcmd += " ,ChargePersonName";
+            strcmd += " ,ZipCode";
+            strcmd += " ,Address1";
+            strcmd += " ,Address2";
+            strcmd += " ,Address3";
+            strcmd += " ,PhoneNumber";
+            strcmd += " ,FaxNumber";
+            strcmd += " ,MailAddress";
+            strcmd += " ,Note";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM OrderersMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 発注者マスタ検索（複数）
+        /// <summary>
+        /// 発注者マスタ検索（複数）
+        /// </summary>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<OrderersMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    OrderersMaster work = new OrderersMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ検索（1件）
+        /// <summary>
+        /// 発注者マスタ検索（1件）
+        /// </summary>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref OrderersMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ追加(複数)
+        /// <summary>
+        /// 発注者マスタ追加(複数)
+        /// </summary>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<OrderersMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (OrderersMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ追加(1件)
+        /// <summary>
+        /// 発注者マスタ追加(1件)
+        /// </summary>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(OrderersMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO OrderersMaster";
+                strcmd += " (";
+
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(OrderersColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.OrderCategory);
+                strcmd += string.Format(", {0}", work.OrderersCode);
+                strcmd += string.Format(", {0}", work.DisplayOrder);
+                strcmd += string.Format(", {0}", work.OrderFlg);
+                strcmd += string.Format(",'{0}'", work.CorporateStatusName);
+                strcmd += string.Format(", {0}", work.CorporateStatusPoint);
+                strcmd += string.Format(",'{0}'", work.OrderersName1);
+                strcmd += string.Format(",'{0}'", work.OrderersName2);
+                strcmd += string.Format(",'{0}'", work.DepartmentName);
+                strcmd += string.Format(",'{0}'", work.ChargePersonName);
+                strcmd += string.Format(",'{0}'", work.ZipCode);
+                strcmd += string.Format(",'{0}'", work.Address1);
+                strcmd += string.Format(",'{0}'", work.Address2);
+                strcmd += string.Format(",'{0}'", work.Address3);
+                strcmd += string.Format(",'{0}'", work.PhoneNumber);
+                strcmd += string.Format(",'{0}'", work.FaxNumber);
+                strcmd += string.Format(",'{0}'", work.Note);
+                strcmd += string.Format(",'{0}'", work.MailAddress);
+                strcmd += string.Format(", {0}", work.DeleteFlg);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ更新
+        /// <summary>
+        /// 発注者マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, OrderersMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE OrderersMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  OrderCotegory = {0}", data.OrderCategory);
+                strcmd += string.Format(", OrderersCode = {0}", data.OrderersCode);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(", OrderFlg = {0}", data.OrderFlg);
+                strcmd += string.Format(", CorporateStatusName = '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", CorporateStatusPoint = {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", OrderersName1 = '{0}'", data.OrderersName1);
+                strcmd += string.Format(", OrderersName2 = '{0}'", data.OrderersName2);
+                strcmd += string.Format(", DepartmentName = '{0}'", data.DepartmentName);
+                strcmd += string.Format(", ChargePersonName = '{0}'", data.ChargePersonName);
+                strcmd += string.Format(", ZipCode = '{0}'", data.ZipCode);
+                strcmd += string.Format(", Address1 = '{0}'", data.Address1);
+                strcmd += string.Format(", Address2 = '{0}'", data.Address2);
+                strcmd += string.Format(", Address3 = '{0}'", data.Address3);
+                strcmd += string.Format(", PhoneNumber = '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", FaxNumber = '{0}'", data.FaxNumber);
+                strcmd += string.Format(", Note = '{0}'", data.Note);
+                strcmd += string.Format(", MailAddress = '{0}'", data.MailAddress);
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 発注者マスタ削除
+        /// <summary>
+        /// 発注者マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">発注者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM OrderersMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref OrderersMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.OrderCategory = int.Parse(objwrk[(int)OrderersColumn.OrderCotegory].ToString());
+                wrk.OrderersCode = int.Parse(objwrk[(int)OrderersColumn.OrderersCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)OrderersColumn.DisplayOrder].ToString());
+                wrk.OrderFlg = int.Parse(objwrk[(int)OrderersColumn.OrderFlg].ToString());
+                wrk.CorporateStatusName = objwrk[(int)OrderersColumn.CorporateStatusName].ToString();
+                wrk.CorporateStatusPoint = int.Parse(objwrk[(int)OrderersColumn.CorporateStatusPoint].ToString());
+
+                wrk.OrderersName1 = objwrk[(int)OrderersColumn.OrderersName1].ToString();
+                wrk.OrderersName2 = objwrk[(int)OrderersColumn.OrderersName2].ToString();
+                wrk.DepartmentName = objwrk[(int)OrderersColumn.DepartmentName].ToString();
+                wrk.ChargePersonName = objwrk[(int)OrderersColumn.ChargePersonName].ToString();
+                wrk.ZipCode = objwrk[(int)OrderersColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)OrderersColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)OrderersColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)OrderersColumn.Address3].ToString();
+                wrk.PhoneNumber = objwrk[(int)OrderersColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)OrderersColumn.FaxNumber].ToString();
+                wrk.MailAddress = objwrk[(int)OrderersColumn.MailAddress].ToString();
+                wrk.Note = objwrk[(int)OrderersColumn.Note].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)OrderersColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)OrderersColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)OrderersColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 発注者コードの最大値を取得する
+        /// <summary>
+        /// 発注者コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxOrderersCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(OrderersCode), 0) FROM OrderersMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int OrderCotegory, int OrderersCode =0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where OrderCotegory = {0}", OrderCotegory);
+                if (OrderersCode != 0)
+                    strWork += string.Format(" And OrderersCode = {0}", OrderersCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 指定表示順の最大値を取得する
+        /// <summary>
+        /// 指定表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DisplayOrder), 0) FROM OrderersMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 指定レコードの表示順を更新する
+        /// <summary>
+        /// 指定レコードの表示順を更新する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SetDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            try
+            {
+                // SQL作成
+                strcmd = "UPDATE ORDERERSMASTER SET DisplayOrder = ROWNUM" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonDepartment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonDepartment.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonDepartment.cs	(revision 84)
@@ -0,0 +1,358 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 担当者対象部署マスタＤＢアクセス
+    /// </summary>
+    public class IOMPersonDepartment : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者対象部署マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            PersonCode = 0,
+            DepartmentCode,
+            AffiliationFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMPersonDepartment()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 担当者対象部署マスタ検索文字列作成
+        /// <summary>
+        /// 担当者対象部署マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += ", DepartmentCode";
+
+            strcmd += ", AffiliationFlg";
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM PersonDepartmentMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ複数検索
+        /// <summary>
+        /// 担当者対象部署マスタ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonDepartmentMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonDepartmentMaster work = new PersonDepartmentMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ１件検索
+        /// <summary>
+        /// 担当者対象部署マスタ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonDepartmentMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ追加
+        /// <summary>
+        /// 担当者対象部署マスタ追加
+        /// </summary>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PersonDepartmentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PersonDepartmentMaster";
+
+                strcmd += " (PersonCode";
+                strcmd += ", DepartmentCode";
+
+                strcmd += ", AffiliationFlg";
+
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode);
+                strcmd += string.Format(", {0}", data.DepartmentCode);
+
+                strcmd += string.Format(", {0}", data.AffiliationFlg.ToString());
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ追加
+        /// <summary>
+        /// 担当者対象部署マスタ追加
+        /// </summary>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonDepartmentMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PersonDepartmentMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ更新
+        /// <summary>
+        /// 担当者対象部署マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonDepartmentMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonDepartmentMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(", DepartmentCode = {0}", data.DepartmentCode.ToString());
+
+                strcmd += string.Format(", AffiliationFlg = {0}", data.AffiliationFlg);
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者対象部署マスタ削除
+        /// <summary>
+        /// 担当者対象部署マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者対象部署マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonDepartmentMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonDepartmentMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+
+                wrk.AffiliationFlg = int.Parse(objwrk[(int)NameColumn.AffiliationFlg].ToString());
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref PersonDepartmentMaster wrk)
+        {
+            wrk.PersonCode = 0;                     // 担当者コード
+            wrk.DepartmentCode = 0;                 // 部署コード
+
+            wrk.AffiliationFlg = 0;                 // 所属フラグ
+            wrk.EntryDate = DateTime.MinValue;      // 登録日付
+            wrk.UpdateDate = DateTime.MinValue;     // 更新日付
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, int DepartmentCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where PersonCode = {0}", PersonCode);
+                if (DepartmentCode != 0)
+                    strWork += string.Format(" And DepartmentCode = {0}", DepartmentCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonInCharge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonInCharge.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonInCharge.cs	(revision 84)
@@ -0,0 +1,609 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 担当者マスタＤＢアクセス
+    /// </summary>
+    public class IOMPersonInCharge : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者マスタフィールド並び
+        /// </summary>
+        public enum ColumnCnt
+        {
+            PersonCode = 0,
+            DisplayOrder,
+            PersonName,
+            StartDate,
+            EndDate,
+            PassWord,
+            SecurityManagement,
+            SecCode,
+            MsgBackColor,
+            DisplayString,
+            DepartmentCode,
+            MonthlySalary,
+            YearSalary,
+            Qualification,
+            SealPrintName,
+            EmployeeClassFlg,
+            LedgerFlg,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMPersonInCharge()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 担当者マスタ検索文字列作成
+        /// <summary>
+        /// 担当者マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">担当者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += ", DisplayOrder";
+            strcmd += ", PersonName";
+
+            strcmd += ", TO_CHAR(StartDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(EndDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", PassWord";
+            strcmd += ", SecurityManagement";
+            strcmd += ", SecCode";
+            strcmd += ", MsgBackColor";
+            strcmd += ", DisplayString";
+            strcmd += ", DepartmentCode";
+            strcmd += ", MonthlySalary";
+            strcmd += ", YearSalary";
+            strcmd += ", Qualification";
+            strcmd += ", SealPrintName";
+            strcmd += ", EmployeeClassFlg";
+            strcmd += ", LedgerFlg";
+
+            strcmd += ", DeleteFlg";
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM PersonInChargeMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 担当者マスタ複数検索
+        /// <summary>
+        /// 担当者マスタ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonInChargeMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonInChargeMaster work = new PersonInChargeMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ１件検索
+        /// <summary>
+        /// 担当者マスタ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonInChargeMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ追加
+        /// <summary>
+        /// 担当者マスタ追加
+        /// </summary>
+        /// <param name="data">担当者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonInChargeMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (PersonInChargeMaster work in data)
+                {
+                    strcmd = "INSERT INTO PersonInChargeMaster";
+
+                    strcmd += " (PersonCode";
+                    strcmd += ", DisplayOrder";
+                    strcmd += ", PersonName";
+
+                    strcmd += ", StartDate";
+                    strcmd += ", EndDate";
+                    strcmd += ", PassWord";
+                    strcmd += ", SecurityManagement";
+                    strcmd += ", SecCode";
+                    strcmd += ", MsgBackColor";
+                    strcmd += ", DisplayString";
+                    strcmd += ", DepartmentCode";
+                    strcmd += ", MonthlySalary";
+                    strcmd += ", YearSalary";
+                    strcmd += ", Qualification";
+                    strcmd += ", SealPrintName";
+                    strcmd += ", EmployeeClassFlg";
+                    strcmd += ", LedgerFlg";
+
+                    strcmd += ", DeleteFlg";
+                    strcmd += ", EntryDate";
+                    strcmd += ", UpdateDate)";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.PersonCode);
+                    strcmd += string.Format(", {0}", work.DisplayOrder);
+                    strcmd += string.Format(", '{0}'", work.PersonName);
+                    strcmd += string.Format(", TO_DATE('{0}' ,'YYYY/MM/DD')", work.StartDate.ToShortDateString());
+                    strcmd += string.Format(", TO_DATE('{0}' ,'YYYY/MM/DD')", work.EndDate.ToShortDateString());
+                    strcmd += string.Format(", '{0}'", work.PassWord);
+                    strcmd += string.Format(", {0}", work.SecurityManagement);
+                    strcmd += string.Format(", {0}", work.SecCode);
+                    strcmd += string.Format(", '{0}'", work.MsgBackColor);
+                    strcmd += string.Format(", '{0}'", work.DisplayString);
+                    strcmd += string.Format(", {0}", work.DepartmentCode);
+                    strcmd += string.Format(", {0}", work.MonthlySalary);
+                    strcmd += string.Format(", {0}", work.YearSalary);
+                    strcmd += string.Format(", '{0}'", work.Qualification);
+                    strcmd += string.Format(", '{0}'", work.SealPrintName);
+                    strcmd += string.Format(", {0}", work.EmployeeClassFlg);
+                    strcmd += string.Format(", {0}", work.LedgerFlg);
+
+                    strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ更新
+        /// <summary>
+        /// 担当者マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonInChargeMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonInChargeMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", PersonName = '{0}'", data.PersonName);
+                strcmd += string.Format(", StartDate = TO_DATE('{0}','YYYY/MM/DD')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", EndDate = TO_DATE('{0}','YYYY/MM/DD')",data.EndDate.ToShortDateString());
+                strcmd += string.Format(", PassWord = '{0}'", data.PassWord);
+                strcmd += string.Format(", SecurityManagement = {0}", data.SecurityManagement.ToString());
+                strcmd += string.Format(", SecCode = {0}", data.SecCode.ToString());
+                strcmd += string.Format(", MsgBackColor = '{0}'", data.MsgBackColor);
+                strcmd += string.Format(", DisplayString = '{0}'", data.DisplayString);
+                strcmd += string.Format(", DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(", MonthlySalary = {0}", data.MonthlySalary.ToString());
+                strcmd += string.Format(", YearSalary = {0}", data.YearSalary.ToString());
+                strcmd += string.Format(", Qualification = '{0}'", data.Qualification);
+                strcmd += string.Format(", SealPrintName = '{0}'", data.SealPrintName);
+                strcmd += string.Format(", EmployeeClassFlg = {0}", data.EmployeeClassFlg.ToString());
+                strcmd += string.Format(", LedgerFlg = {0}", data.LedgerFlg);
+                
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg);
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者マスタ削除
+        /// <summary>
+        /// 担当者マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonInChargeMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PersonInChargeMaster";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnCnt.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.DisplayOrder:
+                        strcmd += string.Format(" DisplayOrder = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.PersonName:
+                        strcmd += string.Format(" PersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.StartDate:
+                        strcmd += string.Format(" StartDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnCnt.EndDate:
+                        strcmd += string.Format(" EndDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnCnt.PassWord:
+                        strcmd += string.Format(" PassWord = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.SecurityManagement:
+                        strcmd += string.Format(" SecurityManagement = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.SecCode:
+                        strcmd += string.Format(" SecCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.MsgBackColor:
+                        strcmd += string.Format(" MsgBackColor = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.DisplayString:
+                        strcmd += string.Format(" DisplayString = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.DepartmentCode:
+                        strcmd += string.Format(" DepartmentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.MonthlySalary:
+                        strcmd += string.Format(" MonthlySalary = {0}", ((double)value).ToString());
+                        break;
+                    case (int)ColumnCnt.YearSalary:
+                        strcmd += string.Format(" YearSalary = {0}", ((double)value).ToString());
+                        break;
+                    case (int)ColumnCnt.Qualification:
+                        strcmd += string.Format(" Qualification = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.SealPrintName:
+                        strcmd += string.Format(" SealPrintName = '{0}'", value.ToString());
+                        break;
+                    case (int)ColumnCnt.EmployeeClassFlg:
+                        strcmd += string.Format(" EmployeeClassFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.LedgerFlg:
+                        strcmd += string.Format(" LedgerFlg = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnCnt.DeleteFlg:
+                        strcmd += string.Format(" DeleteFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonInChargeMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnCnt.PersonCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)ColumnCnt.DisplayOrder].ToString());
+                wrk.PersonName = objwrk[(int)ColumnCnt.PersonName].ToString();
+                wrk.StartDate = DateTime.Parse(objwrk[(int)ColumnCnt.StartDate].ToString());
+                wrk.EndDate = DateTime.Parse(objwrk[(int)ColumnCnt.EndDate].ToString());
+                wrk.PassWord = objwrk[(int)ColumnCnt.PassWord].ToString();
+                wrk.SecurityManagement = int.Parse(objwrk[(int)ColumnCnt.SecurityManagement].ToString());
+                wrk.SecCode = int.Parse(objwrk[(int)ColumnCnt.SecCode].ToString());
+                wrk.MsgBackColor = objwrk[(int)ColumnCnt.MsgBackColor].ToString();
+                wrk.DisplayString = objwrk[(int)ColumnCnt.DisplayString].ToString();
+                wrk.DepartmentCode = int.Parse(objwrk[(int)ColumnCnt.DepartmentCode].ToString());
+                wrk.MonthlySalary = double.Parse(objwrk[(int)ColumnCnt.MonthlySalary].ToString());
+                wrk.YearSalary = double.Parse(objwrk[(int)ColumnCnt.YearSalary].ToString());
+                wrk.Qualification = objwrk[(int)ColumnCnt.Qualification].ToString();
+                wrk.SealPrintName = objwrk[(int)ColumnCnt.SealPrintName].ToString();
+                wrk.EmployeeClassFlg = int.Parse(objwrk[(int)ColumnCnt.EmployeeClassFlg].ToString());
+                wrk.LedgerFlg = int.Parse(objwrk[(int)ColumnCnt.LedgerFlg].ToString());
+
+                wrk.DeleteFlg = int.Parse(objwrk[(int)ColumnCnt.DeleteFlg].ToString());
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnCnt.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnCnt.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref PersonInChargeMaster wrk)
+        {
+            wrk.PersonCode = 0;                     // 担当者コード
+            wrk.DisplayOrder = 0;	                // 表示順
+            wrk.PersonName = string.Empty;          // 担当者名
+            wrk.StartDate = DateTime.MinValue;      // マスタ使用開始年月日付
+            wrk.EndDate = DateTime.MinValue;        // マスタ使用開始年月日付
+            wrk.PassWord = string.Empty;	        // パスワード
+            wrk.SecurityManagement = 0;             // 機密区分
+            wrk.SecCode = 0;                        // 保護区分番号
+            wrk.MsgBackColor = string.Empty;	    // メッセージ背景色
+            wrk.DisplayString = string.Empty;	    // 表示・印刷名称
+            wrk.DepartmentCode = 0;                 // 部署コード
+
+            wrk.MonthlySalary = 0;                  // 月給金額
+            wrk.YearSalary = 0;	                    // 年棒金額
+
+            wrk.Qualification = string.Empty;       // 資格情報
+            wrk.SealPrintName = string.Empty;       // 印鑑表示名
+
+            wrk.EmployeeClassFlg = 0;               // 社員区分
+            wrk.LedgerFlg = 0;                      // 台帳計算対象フラグ
+
+            wrk.DeleteFlg = 0;                      // 削除フラグ
+            wrk.EntryDate = DateTime.MinValue;      // 登録日付
+            wrk.UpdateDate = DateTime.MinValue;     // 更新日付
+        }
+        #endregion
+
+        #region MAX担当者番号取得
+        /// <summary>
+        /// MAX担当者番号取得
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxPersonCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(PersonCode), 0) FROM PersonInChargeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region MAX表示順番取得
+        /// <summary>
+        /// MAX表示順番取得
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxDisplayCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DisplayOrder), 0) FROM PersonInChargeMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where PersonCode = {0}", PersonCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonSalary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonSalary.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonSalary.cs	(revision 84)
@@ -0,0 +1,372 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 担当者給与マスタＤＢアクセス
+    /// </summary>
+    public class IOMPersonSalary : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者給与マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            PersonCode = 0,
+            StartDate,
+            MonthlySalary,
+            YearSalary,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMPersonSalary()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 担当者給与マスタ検索文字列作成
+        /// <summary>
+        /// 担当者給与マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+
+            strcmd += ", TO_CHAR(StartDate, 'YYYY/MM/DD HH24:MI:ss')";
+
+            strcmd += ", MonthlySalary";
+            strcmd += ", YearSalary";
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM PersonSalaryMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 担当者給与マスタ複数検索
+        /// <summary>
+        /// 担当者給与マスタ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonSalaryMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonSalaryMaster work = new PersonSalaryMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ１件検索
+        /// <summary>
+        /// 担当者給与マスタ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonSalaryMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ追加
+        /// <summary>
+        /// 担当者給与マスタ追加
+        /// </summary>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PersonSalaryMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PersonSalaryMaster";
+
+                strcmd += " (PersonCode";
+
+                strcmd += ", StartDate";
+
+                strcmd += ", MonthlySalary";
+                strcmd += ", YearSalary";
+
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode);
+
+                strcmd += string.Format(", TO_DATE('{0}' ,'YYYY/MM/DD')", data.StartDate.ToShortDateString());
+
+                strcmd += string.Format(", {0}", data.MonthlySalary);
+                strcmd += string.Format(", {0}", data.YearSalary);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ追加
+        /// <summary>
+        /// 担当者給与マスタ追加
+        /// </summary>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonSalaryMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PersonSalaryMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ更新
+        /// <summary>
+        /// 担当者給与マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonSalaryMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonSalaryMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode.ToString());
+                
+                strcmd += string.Format(", StartDate = TO_DATE('{0}','YYYY/MM/DD')", data.StartDate.ToShortDateString());
+                
+                strcmd += string.Format(", MonthlySalary = {0}", data.MonthlySalary.ToString());
+                strcmd += string.Format(", YearSalary = {0}", data.YearSalary.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 担当者給与マスタ削除
+        /// <summary>
+        /// 担当者給与マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者給与マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonSalaryMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonSalaryMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                wrk.StartDate = DateTime.Parse(objwrk[(int)NameColumn.StartDate].ToString());
+                wrk.MonthlySalary = double.Parse(objwrk[(int)NameColumn.MonthlySalary].ToString());
+                wrk.YearSalary = double.Parse(objwrk[(int)NameColumn.YearSalary].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref PersonSalaryMaster wrk)
+        {
+            wrk.PersonCode = 0;                     // 担当者コード
+            wrk.StartDate = DateTime.MinValue;      // マスタ使用開始年月日付
+
+            wrk.MonthlySalary = 0;                  // 月給金額
+            wrk.YearSalary = 0;	                    // 年棒金額
+
+            wrk.EntryDate = DateTime.MinValue;      // 登録日付
+            wrk.UpdateDate = DateTime.MinValue;     // 更新日付
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime StartDate)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where PersonCode = {0}", PersonCode);
+                if (StartDate.Date != DateTime.MinValue)
+                    strWork = string.Format(" AND StartDate = TO_DATE('{0}','YYYY/MM/DD')", StartDate.ToShortDateString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMProcessExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMProcessExcute.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMProcessExcute.cs	(revision 84)
@@ -0,0 +1,343 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 起動対象マスタＤＢアクセス
+    /// </summary>
+    public class IOMProcessExcute : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 起動対象マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            SecCode = 0,
+            ExecCode,
+            EditFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMProcessExcute()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 起動対象マスタ検索文字作成
+        /// <summary>
+        /// 起動対象マスタ検索文字作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">起動対象マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  SecCode";
+            strcmd += " ,ExecCode";
+            strcmd += " ,EditFlg";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ProcessExcuteMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 起動対象マスタ検索（複数）
+        /// <summary>
+        /// 起動対象マスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ProcessExcute> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProcessExcute work = new ProcessExcute();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ検索（1件）
+        /// <summary>
+        /// 起動対象マスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ProcessExcute data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ追加（１件）
+        /// <summary>
+        /// 起動対象マスタ追加（１件）
+        /// </summary>
+        /// <param name="data">起動対象マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ProcessExcute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ProcessExcuteMaster";
+                strcmd += " (SecCode";
+                strcmd += ", ExecCode";
+                strcmd += ", EditFlg";
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += data.SecCode.ToString();
+
+                strcmd += ", " + data.ExecCode.ToString();
+                strcmd += ", " + data.EditFlg.ToString();
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ複数件追加
+        /// <summary>
+        /// 起動対象マスタ複数件追加
+        /// </summary>
+        /// <param name="data">起動対象マスタ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ProcessExcute> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ProcessExcute work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ更新
+        /// <summary>
+        /// 起動対象マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">起動対象マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProcessExcute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProcessExcuteMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" SecCode = {0}", data.SecCode.ToString());
+
+                strcmd += string.Format(",ExecCode = {0}", data.ExecCode.ToString());
+
+                strcmd += string.Format(",EditFlg = {0}", data.EditFlg.ToString());
+                
+                strcmd += " ,UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 起動対象マスタ削除
+        /// <summary>
+        /// 起動対象マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">起動対象マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProcessExcuteMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProcessExcute wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.SecCode = int.Parse(objwrk[(int)TableColumn.SecCode].ToString());
+
+                wrk.ExecCode = int.Parse(objwrk[(int)TableColumn.ExecCode].ToString());
+                wrk.EditFlg = int.Parse(objwrk[(int)TableColumn.EditFlg].ToString());
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("起動対象エラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        public string CreatePrimarykeyString(int SecCode, int ExecCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where SecCode = {0}", SecCode);
+                if (ExecCode != 0)
+                    strWork = string.Format(" And ExecCode = {0}", ExecCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSecurity.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSecurity.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSecurity.cs	(revision 84)
@@ -0,0 +1,489 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 保護区分マスタＤＢアクセス
+    /// </summary>
+    public class IOMSecurity : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 保護区分マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            SecCode = 0,
+            DisplayOrder,
+            SecName,
+            SecRank,
+            SecRange,
+            GeneralAffairs,
+            SelectBackColor,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSecurity()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 保護区分マスタ検索文字作成
+        /// <summary>
+        /// 保護区分マスタ検索文字作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  SecCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,SecName";
+            strcmd += " ,SecRank";
+            strcmd += " ,SecRange";
+            strcmd += " ,GeneralAffairs";
+            strcmd += " ,SelectBackColor";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SecurityMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 保護区分マスタ検索（複数）
+        /// <summary>
+        /// 保護区分マスタ検索(複数)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SecurityMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SecurityMaster work = new SecurityMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ検索(1件)
+        /// <summary>
+        /// 保護区分マスタ検索(1件)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SecurityMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ追加（1件）
+        /// <summary>
+        /// 保護区分マスタ追加（1件）
+        /// </summary>
+        /// <param name="data">保護区分マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SecurityMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO SecurityMaster";
+                strcmd += " (SecCode";
+                strcmd += " ,DisplayOrder";
+                strcmd += " ,SecName";
+                strcmd += " ,SecRank";
+                strcmd += " ,SecRange";
+                strcmd += " ,GeneralAffairs";
+                strcmd += " ,SelectBackColor";
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += work.SecCode.ToString();
+                strcmd += string.Format(", {0}", work.DisplayOrder);
+                strcmd += string.Format(",'{0}'", work.SecName);
+                strcmd += string.Format(", {0}", work.SecRank);
+                strcmd += string.Format(", {0}", work.SecRange);
+                strcmd += string.Format(", {0}", work.GeneralAffairs);
+                strcmd += string.Format(",'{0}'", work.SelectBackColor);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ追加
+        /// <summary>
+        /// 保護区分マスタ追加
+        /// </summary>
+        /// <param name="data">保護区分マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SecurityMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SecurityMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ更新
+        /// <summary>
+        /// 保護区分マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">保護区分マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SecurityMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SecurityMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" SecCode = {0}", data.SecCode);
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(",SecName = '{0}'", data.SecName);
+                strcmd += string.Format(",SecRank = {0}", data.SecRank);
+                strcmd += string.Format(",SecRange = {0}", data.SecRange);
+                strcmd += string.Format(",GeneralAffairs = {0}", data.GeneralAffairs);
+                strcmd += string.Format(",SelectBackColor = '{0}'", data.SelectBackColor);
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 保護区分マスタ削除
+        /// <summary>
+        /// 保護区分マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">保護区分マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SecurityMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="SecurityCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int SecurityCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SecurityMaster";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int) TableColumn.SecCode:
+                        strcmd += string.Format(" SecurityCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DisplayOrder:
+                        strcmd += string.Format(" DisplayOrder = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SecName:
+                        strcmd += string.Format(" SecurityName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SecRank:
+                        strcmd += string.Format(" SecurityRank = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SecRange:
+                        strcmd += string.Format(" SecurityRange = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GeneralAffairs:
+                        strcmd += string.Format(" GeneralAffairs = {0}", ((int)value).ToString());
+                        break;
+
+                    case (int)TableColumn.SelectBackColor:
+                        strcmd += string.Format(" SelectBackColor = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(SecurityCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SecurityMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.SecCode = int.Parse(objwrk[(int)TableColumn.SecCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+                wrk.SecName = objwrk[(int)TableColumn.SecName].ToString();
+                wrk.SecRank = int.Parse(objwrk[(int)TableColumn.SecRank].ToString());
+                wrk.SecRange = int.Parse(objwrk[(int)TableColumn.SecRange].ToString());
+                wrk.GeneralAffairs = int.Parse(objwrk[(int)TableColumn.GeneralAffairs].ToString());
+                wrk.SelectBackColor = objwrk[(int)TableColumn.SelectBackColor].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("保護区分エラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int SecurityCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where SecCode = {0}", SecurityCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 保護区分コードの最大値を取得する
+        /// <summary>
+        /// 保護区分コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSecurityCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SecCode), 0) FROM SecurityMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(objwrk[0]) + 1;
+
+                return iRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return -1;
+            }
+        }
+        #endregion
+
+        #region 表示順の最大値を取得する
+        /// <summary>
+        /// 表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxDisplayCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DISPLAYORDER), 0) FROM SecurityMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                iRet = CommonMotions.cnvInt(objwrk[0]) + 1;
+
+                return iRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return -1;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractor.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractor.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractor.cs	(revision 84)
@@ -0,0 +1,602 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社マスタＤＢアクセス
+    /// </summary>
+    public class IOMSubContractor : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 協力会社マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            CompanyCode = 0,
+            DisplayOrder,
+            CorporateStatusName,
+            CorporateStatusPoint,
+            CompanyName,
+            CEOPositionName,
+            CEOName,
+            ContactPersonName,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            CellPhoneNumber,
+            MailAddress,
+            PhoneNumber,
+            FaxNumber,
+            JapaneseSyllabary,
+            StartDate,
+            Note,
+            labourKind,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractor()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力会社マスタ検索文字列作成
+        /// <summary>
+        /// 協力会社マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  CompanyCode";
+            strcmd += ", DisplayOrder";
+            strcmd += ", CorporateStatusName";
+            strcmd += ", CorporateStatusPoint";
+            strcmd += ", CompanyName";
+            strcmd += ", CEOPositionName";
+            strcmd += ", CEOName";
+            strcmd += ", ContactPersonName";
+            strcmd += ", ZipCode";
+            strcmd += ", Address1";
+            strcmd += ", Address2";
+            strcmd += ", Address3";
+            strcmd += ", CellPhoneNumber";
+            strcmd += ", MailAddress";
+            strcmd += ", PhoneNumber";
+            strcmd += ", FaxNumber";
+            strcmd += ", JapaneseSyllabary";
+            strcmd += ", TO_CHAR(StartDate, 'YYYY/MM/DD')";
+            strcmd += ", Note";
+            strcmd += ", labourKind";
+            strcmd += ", DeleteFlg";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SubContractorMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力会社マスタ複数検索
+        /// <summary>
+        /// 協力会社マスタ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubContractorMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorMaster work = new SubContractorMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ1件検索
+        /// <summary>
+        /// 協力会社マスタ1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubContractorMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ1件追加
+        /// <summary>
+        /// 協力会社マスタ1件追加
+        /// </summary>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SubContractorMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO SubContractorMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", data.CompanyCode);
+                strcmd += string.Format(", {0}", data.DisplayOrder);
+                strcmd += ", '" + data.CorporateStatusName + "'";
+                strcmd += string.Format(", {0}", data.CorporateStatusPoint);
+                strcmd += ", '" + data.CompanyName + "'";
+                strcmd += ", '" + data.CEOPositionName + "'";
+                strcmd += ", '" + data.CEOName + "'";
+                strcmd += ", '" + data.ContactPersonName + "'";
+                strcmd += ", '" + data.ZipCode + "'";
+                strcmd += ", '" + data.Address1 + "'";
+                strcmd += ", '" + data.Address2 + "'";
+                strcmd += ", '" + data.Address3 + "'";
+                strcmd += ", '" + data.CellPhoneNumber + "'";
+                strcmd += ", '" + data.MailAddress + "'";
+                strcmd += ", '" + data.PhoneNumber + "'";
+                strcmd += ", '" + data.FaxNumber + "'";
+                strcmd += ", '" + data.JapaneseSyllabary + "'";
+                strcmd += ", TO_DATE('" + data.StartDate.ToShortDateString() + "','YYYY/MM/DD')";
+                strcmd += ", '" + data.Note + "'";
+                strcmd += string.Format(",  {0} ", data.labourKind.ToString());
+                strcmd += string.Format(",  {0} ", data.DeleteFlg.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ複数追加
+        /// <summary>
+        /// 協力会社マスタ複数追加
+        /// </summary>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ更新
+        /// <summary>
+        /// 協力会社マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  CompanyCode = {0}", data.CompanyCode);
+                strcmd += string.Format(" ,DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += " ,CorporateStatusName = '" + data.CorporateStatusName + "'";
+                strcmd += string.Format(" ,CorporateStatusPoint = {0}", data.CorporateStatusPoint);
+                strcmd += " ,CompanyName = '" + data.CompanyName + "'";
+                strcmd += " ,CEOPositionName = '" + data.CEOPositionName + "'";
+                strcmd += " ,CEOName = '" + data.CEOName + "'";
+                strcmd += " ,ContactPersonName = '" + data.ContactPersonName + "'";
+                strcmd += " ,ZipCode = '" + data.ZipCode + "'";
+                strcmd += " ,Address1 = '" + data.Address1 + "'";
+                strcmd += " ,Address2 = '" + data.Address2 + "'";
+                strcmd += " ,Address3 = '" + data.Address3 + "'";
+                strcmd += " ,CellPhoneNumber = '" + data.CellPhoneNumber + "'";
+                strcmd += " ,MailAddress = '" + data.MailAddress + "'";
+                strcmd += " ,PhoneNumber = '" + data.PhoneNumber + "'";
+                strcmd += " ,FaxNumber = '" + data.FaxNumber + "'";
+                strcmd += " ,JapaneseSyllabary = '" + data.JapaneseSyllabary + "'";
+                strcmd += " ,StartDate = TO_DATE('" + data.StartDate.ToShortDateString() + "','YYYY/MM/DD')";
+                strcmd += " ,Note = '" + data.Note + "'";
+                strcmd += string.Format(", labourKind = {0}", data.labourKind);
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社マスタ削除
+        /// <summary>
+        /// 協力会社マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int CompanyCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SubContractorMaster";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.CompanyCode:
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DisplayOrder:
+                        strcmd += string.Format(" DisplayOrder = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusName:
+                        strcmd += string.Format(" CorporateStatusName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusPoint:
+                        strcmd += string.Format(" CorporateStatusPoint = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyName:
+                        strcmd += string.Format(" CompanyName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CEOPositionName:
+                        strcmd += string.Format(" CEOPositionName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CEOName:
+                        strcmd += string.Format(" CEOName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ContactPersonName:
+                        strcmd += string.Format(" ContactPersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ZipCode:
+                        strcmd += string.Format(" ZipCode = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address1:
+                        strcmd += string.Format(" Address1 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address2:
+                        strcmd += string.Format(" Address2 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address3:
+                        strcmd += string.Format(" Address3 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CellPhoneNumber:
+                        strcmd += string.Format(" CellPhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.MailAddress:
+                        strcmd += string.Format(" MailAddress = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.PhoneNumber:
+                        strcmd += string.Format(" PhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.FaxNumber:
+                        strcmd += string.Format(" FaxNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.JapaneseSyllabary:
+                        strcmd += string.Format(" JapaneseSyllabary = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.StartDate:
+                        strcmd += string.Format(" StartDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.Note:
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.labourKind:
+                        strcmd += string.Format(" labourKind = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DeleteFlg:
+                        strcmd += string.Format(" DeleteFlg = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(CompanyCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+                wrk.CorporateStatusName = objwrk[(int)TableColumn.CorporateStatusName].ToString();
+                wrk.CorporateStatusPoint = int.Parse(objwrk[(int)TableColumn.CorporateStatusPoint].ToString());
+                wrk.CompanyName = objwrk[(int)TableColumn.CompanyName].ToString();
+                wrk.CEOPositionName = objwrk[(int)TableColumn.CEOPositionName].ToString();
+                wrk.CEOName = objwrk[(int)TableColumn.CEOName].ToString();
+                wrk.ContactPersonName = objwrk[(int)TableColumn.ContactPersonName].ToString();
+                wrk.ZipCode = objwrk[(int)TableColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)TableColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)TableColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)TableColumn.Address3].ToString();
+                wrk.CellPhoneNumber = objwrk[(int)TableColumn.CellPhoneNumber].ToString();
+                wrk.MailAddress = objwrk[(int)TableColumn.MailAddress].ToString();
+                wrk.PhoneNumber = objwrk[(int)TableColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)TableColumn.FaxNumber].ToString();
+                wrk.JapaneseSyllabary = objwrk[(int)TableColumn.JapaneseSyllabary].ToString();
+                wrk.StartDate = DateTime.Parse(objwrk[(int)TableColumn.StartDate].ToString());
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();
+                wrk.labourKind = int.Parse(objwrk[(int)TableColumn.labourKind].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)TableColumn.DeleteFlg].ToString());
+                
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 協力会社コードの最大値を取得する
+        /// <summary>
+        /// 協力会社コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCompanyCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(CompanyCode), 0) FROM SubContractorMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 協力会社コードの最大値を取得する
+        /// <summary>
+        /// 表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxDisplayOrderCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DisplayOrder), 0) FROM SubContractorMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CompanyCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0}", CompanyCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorItem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorItem.cs	(revision 84)
@@ -0,0 +1,330 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社工種マスタアクセスクラス
+    /// </summary>
+    public class IOMSubContractorItem : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 協力会社工種マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ItemCode = 0,
+            DisplayOrder,
+            ItemName,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractorItem()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 協力会社工種マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力会社工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,ItemName";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SubContractorItemMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<SubContractorItemMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorItemMaster work = new SubContractorItemMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref SubContractorItemMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 協力会社工種マスタ追加
+        /// </summary>
+        /// <param name="data">協力会社工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorItemMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorItemMaster work in data)
+                {
+                    strcmd = "INSERT INTO SubContractorItemMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" {0}", work.ItemCode.ToString());
+                    strcmd += string.Format(" ,{0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(" ,'{0}'", work.ItemName);
+                    strcmd += string.Format(" ,{0}", work.DeleteFlg.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 協力会社工種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorItemMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorItemMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", ItemName = '{0}'", data.ItemName);
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 協力会社工種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社工種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorItemMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorItemMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ItemCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.ItemName = objwrk[(int)NameColumn.ItemName].ToString();
+                wrk.DeleteFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxItemCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(ItemCode), 0) FROM SubContractorItemMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ItemCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork += string.Format(" Where ItemCode = {0}", ItemCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobCategory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobCategory.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobCategory.cs	(revision 84)
@@ -0,0 +1,382 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社職種マスタアクセスクラス
+    /// </summary>
+    public class IOMSubContractorJobCategory : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 協力会社職種マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            JobCategoryCode = 0,
+            DisplayOrder,
+            JobCategoryName,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractorJobCategory()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力会社職種マスタ検索文字列作成
+        /// <summary>
+        /// 協力会社職種マスタ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  JobCategoryCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,JobCategoryName";
+            strcmd += " ,DeleteFlg";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SubContractorJobCategory";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力会社職種マスタ検索（複数）
+        /// <summary>
+        /// 協力会社職種マスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubContractorJobCategory> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorJobCategory work = new SubContractorJobCategory();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力会社職種マスタ検索（1件）
+        /// <summary>
+        /// 協力会社職種マスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubContractorJobCategory data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                // データ無
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力会社職種マスタ追加（1件）
+        /// <summary>
+        /// 協力会社職種マスタ追加（1件）
+        /// </summary>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SubContractorJobCategory data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO SubContractorJobCategory";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.JobCategoryCode.ToString());
+                strcmd += string.Format(" ,{0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(" ,'{0}'", data.JobCategoryName);
+                strcmd += string.Format(" ,{0}", data.DeleteFlg.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種マスタ追加（複数）
+        /// <summary>
+        /// 協力会社職種マスタ追加（複数）
+        /// </summary>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorJobCategory> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorJobCategory work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種マスタ更新
+        /// <summary>
+        /// 協力会社職種マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorJobCategory data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorJobCategory";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  JobCategoryCode = {0}", data.JobCategoryCode.ToString());
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", JobCategoryName = '{0}'", data.JobCategoryName);
+                strcmd += string.Format(", DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種マスタ削除
+        /// <summary>
+        /// 協力会社職種マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社職種マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorJobCategory", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorJobCategory wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.JobCategoryCode = CommonMotions.cnvInt(objwrk[(int)NameColumn.JobCategoryCode].ToString());
+                wrk.DisplayOrder = CommonMotions.cnvInt(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.JobCategoryName = objwrk[(int)NameColumn.JobCategoryName].ToString();
+                wrk.DeleteFlg = CommonMotions.cnvInt(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 最大値を取得する
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxJobCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(JobCategoryCode), 0) FROM SubContractorJobCategory" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = CommonMotions.cnvInt(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="JobCategoryCode">大職種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int JobCategoryCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork += string.Format(" Where JobCategoryCode = {0}", JobCategoryCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobItem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobItem.cs	(revision 84)
@@ -0,0 +1,289 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社工種関連マスタアクセスクラス
+    /// </summary>
+    public class IOMSubContractorJobItem : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工協力会社施工工種マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            ItemCode,
+            DisplayOrder,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractorJobItem()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 協力会社工種関連マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力会社工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  CompanyCode";
+            strcmd += " ,ItemCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SubContractorJobItem";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<SubContractorJobItem> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorJobItem work = new SubContractorJobItem();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        public bool SelectAction(string AddSQLString, ref SubContractorJobItem data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 協力会社工種関連マスタ追加
+        /// </summary>
+        /// <param name="data">協力会社工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorJobItem> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorJobItem work in data)
+                {
+                    strcmd = "INSERT INTO SubContractorJobItem";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.ItemCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 協力会社工種関連マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorJobItem data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorJobItem";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.CompanyCode.ToString());
+                strcmd += string.Format(",ItemCode = {0}", data.ItemCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 協力会社工種関連マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社工種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorJobItem", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorJobItem wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.ItemCode = int.Parse(objwrk[(int)NameColumn.ItemCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CompanyCode, int ItemsCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0}", CompanyCode);
+                if (ItemsCode != 0)
+                    strWork += string.Format(" And ItemsCode = {0}", ItemsCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobLink.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobLink.cs	(revision 84)
@@ -0,0 +1,314 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 協力会社職種関連マスタアクセスクラス
+    /// </summary>
+    public class IOMSubContractorJobLink : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工協力会社職種関連マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            CompanyCode = 0,
+            JobCategoryCode,
+            DisplayOrder,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSubContractorJobLink()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力会社職種関連マスタ検索
+        /// <summary>
+        /// 協力会社職種関連マスタ検索
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  CompanyCode";
+            strcmd += " ,JobCategoryCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SubContractorJobLink";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ検索
+        /// <summary>
+        /// 協力会社職種関連マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubContractorJobLink> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubContractorJobLink work = new SubContractorJobLink();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ検索
+        /// <summary>
+        /// 協力会社職種関連マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubContractorJobLink data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ追加
+        /// <summary>
+        /// 協力会社職種関連マスタ追加
+        /// </summary>
+        /// <param name="data">協力会社職種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubContractorJobLink> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubContractorJobLink work in data)
+                {
+                    strcmd = "INSERT INTO SubContractorJobLink";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.CompanyCode.ToString());
+                    strcmd += string.Format(", {0}", work.JobCategoryCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ更新
+        /// <summary>
+        /// 協力会社職種関連マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力会社職種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubContractorJobLink data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubContractorJobLink";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ComponentCode = {0}", data.CompanyCode.ToString());
+                strcmd += string.Format(",JobCategoryCode = {0}", data.JobCategoryCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力会社職種関連マスタ削除
+        /// <summary>
+        /// 協力会社職種関連マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力会社職種関連マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubContractorJobLink", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubContractorJobLink wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.CompanyCode = int.Parse(objwrk[(int)NameColumn.CompanyCode].ToString());
+                wrk.JobCategoryCode = int.Parse(objwrk[(int)NameColumn.JobCategoryCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int CompanyCode, int JobCategoryCode = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where CompanyCode = {0}", CompanyCode);
+                if (JobCategoryCode != 0)
+                    strWork += string.Format(" And JobCategoryCode = {0}", JobCategoryCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSuppliers.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSuppliers.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSuppliers.cs	(revision 84)
@@ -0,0 +1,490 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 仕入先マスタＤＢアクセス
+    /// </summary>
+    public class IOMSuppliers : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 仕入先マスタフィールド並び
+        /// </summary>
+        public enum SuppliersColumn
+        {
+            SuppliersCode = 0,
+            DisplayOrder,
+            SuppliersName1,
+            SuppliersName2,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            PhoneNumber,
+            FaxNumber,
+            Note,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSuppliers()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 仕入先マスタ検索
+        /// <summary>
+        /// 仕入先マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += "  SuppliersCode";
+            strcmd += " ,DisplayOrder";
+            strcmd += " ,SuppliersName1";
+            strcmd += " ,SuppliersName2";
+            strcmd += " ,ZipCode";
+            strcmd += " ,Address1";
+            strcmd += " ,Address2";
+            strcmd += " ,Address3";
+            strcmd += " ,PhoneNumber";
+            strcmd += " ,FaxNumber";
+            strcmd += " ,Note";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SuppliersMaster";
+
+            return strcmd;
+        }
+        public bool SelectAction(string AddSQLString, ref List<SuppliersMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SuppliersMaster work = new SuppliersMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool SelectAction(string AddSQLString, ref SuppliersMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 仕入先マスタ追加
+        /// <summary>
+        /// 仕入先マスタ追加
+        /// </summary>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SuppliersMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO SuppliersMaster";
+
+                strcmd += " VALUES (";
+
+                strcmd += data.SuppliersCode;
+                strcmd += string.Format(", {0}", data.DisplayOrder);
+                strcmd += ", '" + data.SuppliersName1 + "'";
+                strcmd += ", '" + data.SuppliersName2 + "'";
+                strcmd += ", '" + data.ZipCode + "'";
+                strcmd += ", '" + data.Address1 + "'";
+                strcmd += ", '" + data.Address2 + "'";
+                strcmd += ", '" + data.Address3 + "'";
+                strcmd += ", '" + data.PhoneNumber + "'";
+                strcmd += ", '" + data.FaxNumber + "'";
+                strcmd += ", '" + data.Note + "'";
+                strcmd += string.Format(", {0}", data.DeleteFlg);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 仕入先マスタ追加
+        /// </summary>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SuppliersMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SuppliersMaster work in data)
+                {
+                    strcmd = "INSERT INTO SuppliersMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += work.SuppliersCode;
+                    strcmd += string.Format(", {0}", work.DisplayOrder);
+                    strcmd += ", '" + work.SuppliersName1 + "'";
+                    strcmd += ", '" + work.SuppliersName2 + "'";
+                    strcmd += ", '" + work.ZipCode + "'";
+                    strcmd += ", '" + work.Address1 + "'";
+                    strcmd += ", '" + work.Address2 + "'";
+                    strcmd += ", '" + work.Address3 + "'";
+                    strcmd += ", '" + work.PhoneNumber + "'";
+                    strcmd += ", '" + work.FaxNumber + "'";
+                    strcmd += ", '" + work.Note + "'";
+                    strcmd += string.Format(", {0}", work.DeleteFlg);
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 仕入先マスタ更新
+        /// <summary>
+        /// 仕入先マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SuppliersMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SuppliersMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" SuppliersCode = {0}", data.SuppliersCode);
+                strcmd += string.Format(" ,DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += " ,SuppliersName1 = '" + data.SuppliersName1 + "'";
+                strcmd += " ,SuppliersName2 = '" + data.SuppliersName2 + "'";
+                strcmd += " ,ZipCode = '" + data.ZipCode + "'";
+                strcmd += " ,Address1 = '" + data.Address1 + "'";
+                strcmd += " ,Address2 = '" + data.Address2 + "'";
+                strcmd += " ,Address3 = '" + data.Address3 + "'";
+                strcmd += " ,PhoneNumber = '" + data.PhoneNumber + "'";
+                strcmd += " ,FaxNumber = '" + data.FaxNumber + "'";
+                strcmd += " ,Note = '" + data.Note + "'";
+                strcmd += string.Format(" ,DeleteFlg = {0}", data.DeleteFlg);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 仕入先マスタ削除
+        /// <summary>
+        /// 仕入先マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">仕入先マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SuppliersMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SuppliersMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.SuppliersCode = int.Parse(objwrk[(int)SuppliersColumn.SuppliersCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)SuppliersColumn.DisplayOrder].ToString());
+
+                wrk.SuppliersName1 = objwrk[(int)SuppliersColumn.SuppliersName1].ToString();
+                wrk.SuppliersName2 = objwrk[(int)SuppliersColumn.SuppliersName2].ToString();
+                wrk.ZipCode = objwrk[(int)SuppliersColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)SuppliersColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)SuppliersColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)SuppliersColumn.Address3].ToString();
+                wrk.PhoneNumber = objwrk[(int)SuppliersColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)SuppliersColumn.FaxNumber].ToString();
+                wrk.Note = objwrk[(int)SuppliersColumn.Note].ToString();
+                wrk.DeleteFlg = int.Parse(objwrk[(int)SuppliersColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)SuppliersColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)SuppliersColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 仕入先コードの最大値を取得する
+        /// <summary>
+        /// 仕入先コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSuppliersCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SuppliersCode), 0) FROM SuppliersMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int SuppliersCode)
+        {
+            string strWork = "";
+            try
+            {
+                strWork += string.Format(" WHERE SUPPLIERSCODE = {0}", SuppliersCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 指定表示順の最大値を取得する
+        /// <summary>
+        /// 指定表示順の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(DISPLAYORDER), 0) FROM SUPPLIERSMASTER" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 指定レコードの表示順を更新する
+        /// <summary>
+        /// 指定レコードの表示順を更新する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SetDisplayOrder(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            try
+            {
+                // SQL作成
+                strcmd = "UPDATE SUPPLIERSMASTER SET DISPLAYORDER = ROWNUM" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSystem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSystem.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSystem.cs	(revision 84)
@@ -0,0 +1,465 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// システムマスタＤＢアクセス
+    /// </summary>
+    public class IOMSystem : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// システムマスタフィールド並び
+        /// </summary>
+        public enum SystemColumn
+        {
+            SYSTEM_CODE = 0,
+            COMPANY_NAME1,
+            COMPANY_NAME2,
+            CEO_NAME,
+            CEOPOSITION_NAME,
+            ZIP_CODE,
+            ADDRESS1,
+            ADDRESS2,
+            ADDRESS3,
+            PHONE_NUMBER,
+            FAX_NUMBER,
+            CONSTRUCTION_EXPENSES,
+            OFFICE_EXPENSES,
+            OPERATING_EXPENSES,
+            CONSUMPTION_TAX,
+            EXCEL_SAVEPATH,
+            BUSINESSPERIOD,
+            ConstructionYear,
+            BusinessBeginningDate,
+            ConstructionBeginningDate,
+            ConstructionNoBase,
+            SloganString1,
+            SloganString2,
+            SloganString3,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMSystem()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region システムマスタ検索文字作成
+        /// <summary>
+        /// システムマスタ検索文字作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">システムマスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " SystemCode";
+            strcmd += ", CompanyName1";
+            strcmd += ", CompanyName2";
+            strcmd += ", CEOName";
+            strcmd += ", CEOPositionName";
+            strcmd += ", ZipCode";
+            strcmd += ", Address1";
+            strcmd += ", Address2";
+            strcmd += ", Address3";
+            strcmd += ", PhoneNumber";
+            strcmd += ", FaxNumber";
+            strcmd += ", ConstructionExpenses";
+            strcmd += ", OfficeExpenses";
+            strcmd += ", OperatingExpenses";
+            strcmd += ", ConsumptionTax";
+            strcmd += ", ExcelSavePath";
+            strcmd += ", BusinessPeriod";
+            strcmd += ", ConstructionYear";
+            strcmd += ", BusinessBeginningDate";
+            strcmd += ", ConstructionBeginningDate";
+            strcmd += ", ConstructionNoBase";
+            strcmd += ", SloganString1";
+            strcmd += ", SloganString2";
+            strcmd += ", SloganString3";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SystemMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region システムマスタ検索（複数）
+        /// <summary>
+        /// システムマスタ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SystemMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SystemMaster work = new SystemMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システムマスタ検索（1件）
+        /// <summary>
+        /// システムマスタ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SystemMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システムマスタ追加
+        /// <summary>
+        /// システムマスタ追加
+        /// </summary>
+        /// <param name="data">システムマスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SystemMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SystemMaster work in data)
+                {
+                    strcmd = "INSERT INTO SystemMaster";
+                    strcmd += " (SystemCode";
+                    strcmd += ", CompanyName1";
+                    strcmd += ", CompanyName2";
+                    strcmd += ", CEOName";
+                    strcmd += ", CEOPositionName";
+                    strcmd += ", ZipCode";
+                    strcmd += ", Address1";
+                    strcmd += ", Address2";
+                    strcmd += ", Address3";
+                    strcmd += ", PhoneNumber";
+                    strcmd += ", FaxNumber";
+                    strcmd += ", ConstructionExpenses";
+                    strcmd += ", OfficeExpenses";
+                    strcmd += ", OperatingExpenses";
+                    strcmd += ", ConsumptionTax";
+                    strcmd += ", ExcelSavePath";
+                    strcmd += ", BusinessPeriod";
+                    strcmd += ", ConstructionYear";
+                    strcmd += ", BusinessBeginningDate";
+                    strcmd += ", ConstructionBeginningDate";
+                    strcmd += ", ConstructionNoBase";
+                    strcmd += ", SloganString1";
+                    strcmd += ", SloganString2";
+                    strcmd += ", SloganString3";
+                    strcmd += ", EntryDate";
+                    strcmd += ", UpdateDate)";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += work.SystemCode.ToString();
+                    strcmd += ",'" + work.CompanyName1 + "'";
+                    strcmd += ",'" + work.CompanyName2 + "'";
+                    strcmd += ",'" + work.CEOName + "'";
+                    strcmd += ",'" + work.CEOPositionName + "'";
+                    strcmd += ",'" + work.ZipCode + "'";
+                    strcmd += ",'" + work.Address1 + "'";
+                    strcmd += ",'" + work.Address2 + "'";
+                    strcmd += ",'" + work.Address3 + "'";
+                    strcmd += ",'" + work.PhoneNumber + "'";
+                    strcmd += ",'" + work.FaxNumber + "'";
+                    strcmd += ", " + work.ConstructionExpenses.ToString();
+                    strcmd += ", " + work.OfficeExpenses.ToString();
+                    strcmd += ", " + work.OperatingExpenses.ToString();
+                    strcmd += ", " + work.ConsumptionTax.ToString();
+                    strcmd += ",'" + work.ExcelSavePath + "'";
+
+                    strcmd += ", " + work.BusinessPeriod.ToString();
+                    strcmd += ", " + work.ConstructionYear.ToString();
+                    strcmd += ",'" + work.BusinessBeginningDate + "'";
+                    strcmd += ",'" + work.ConstructionBeginningDate + "'";
+                    strcmd += ", " + work.ConstructionNoBase.ToString();
+
+                    strcmd += ",'" + work.SloganString1 + "'";
+                    strcmd += ",'" + work.SloganString2 + "'";
+                    strcmd += ",'" + work.SloganString3 + "'";
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システムマスタ更新
+        /// <summary>
+        /// システムマスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">システムマスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SystemMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SystemMaster";
+
+                strcmd += " SET";
+
+                strcmd += "  SystemCode = " + data.SystemCode.ToString();
+                strcmd += " ,CompanyName1 = '" + data.CompanyName1 + "'";
+                strcmd += " ,CompanyName2 = '" + data.CompanyName2 + "'";
+                strcmd += " ,CEOName = '" + data.CEOName + "'";
+                strcmd += " ,CEOPositionName = '" + data.CEOPositionName + "'";
+                strcmd += " ,ZipCode = '" + data.ZipCode + "'";
+                strcmd += " ,Address1 = '" + data.Address1 + "'";
+                strcmd += " ,Address2 = '" + data.Address2 + "'";
+                strcmd += " ,Address3 = '" + data.Address3 + "'";
+                strcmd += " ,PhoneNumber = '" + data.PhoneNumber + "'";
+                strcmd += " ,FaxNumber = '" + data.FaxNumber + "'";
+                strcmd += " ,ConstructionExpenses = " + data.ConstructionExpenses.ToString();
+                strcmd += " ,OfficeExpenses = " + data.OfficeExpenses.ToString();
+                strcmd += " ,OperatingExpenses = " + data.OperatingExpenses.ToString();
+                strcmd += " ,ConsumptionTax = " + data.ConsumptionTax.ToString();
+                strcmd += " ,ExcelSavePath = '" + data.ExcelSavePath + "'";
+                
+                strcmd += " ,BusinessPeriod = " + data.BusinessPeriod.ToString();
+                strcmd += " ,ConstructionYear = " + data.ConstructionYear.ToString();
+                strcmd += " ,BusinessBeginningDate = '" + data.BusinessBeginningDate + "'";
+                strcmd += " ,ConstructionBeginningDate = '" + data.ConstructionBeginningDate + "'";
+                strcmd += " ,ConstructionNoBase = " + data.ConstructionNoBase.ToString();
+
+                strcmd += " ,SloganString1 = '" + data.SloganString1 + "'";
+                strcmd += " ,SloganString2 = '" + data.SloganString2 + "'";
+                strcmd += " ,SloganString3 = '" + data.SloganString3 + "'";
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システムマスタ削除
+        /// <summary>
+        /// システムマスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">システムマスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SystemMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SystemMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.SystemCode = int.Parse(objwrk[(int)SystemColumn.SYSTEM_CODE].ToString());
+                wrk.CompanyName1 = objwrk[(int)SystemColumn.COMPANY_NAME1].ToString();
+                wrk.CompanyName2 = objwrk[(int)SystemColumn.COMPANY_NAME2].ToString();
+                wrk.CEOName = objwrk[(int)SystemColumn.CEO_NAME].ToString();
+                wrk.CEOPositionName = objwrk[(int)SystemColumn.CEOPOSITION_NAME].ToString();
+                wrk.ZipCode = objwrk[(int)SystemColumn.ZIP_CODE].ToString();
+                wrk.Address1 = objwrk[(int)SystemColumn.ADDRESS1].ToString();
+                wrk.Address2 = objwrk[(int)SystemColumn.ADDRESS2].ToString();
+                wrk.Address3 = objwrk[(int)SystemColumn.ADDRESS3].ToString();
+                wrk.PhoneNumber = objwrk[(int)SystemColumn.PHONE_NUMBER].ToString();
+                wrk.FaxNumber = objwrk[(int)SystemColumn.FAX_NUMBER].ToString();
+                wrk.ConstructionExpenses = double.Parse(objwrk[(int)SystemColumn.CONSTRUCTION_EXPENSES].ToString());
+                wrk.OfficeExpenses = double.Parse(objwrk[(int)SystemColumn.OFFICE_EXPENSES].ToString());
+                wrk.OperatingExpenses = double.Parse(objwrk[(int)SystemColumn.OPERATING_EXPENSES].ToString());
+                wrk.ConsumptionTax = double.Parse(objwrk[(int)SystemColumn.CONSUMPTION_TAX].ToString());
+                wrk.ExcelSavePath = objwrk[(int)SystemColumn.EXCEL_SAVEPATH].ToString();
+
+                wrk.BusinessPeriod = int.Parse(objwrk[(int)SystemColumn.BUSINESSPERIOD].ToString());
+                wrk.ConstructionYear = int.Parse(objwrk[(int)SystemColumn.ConstructionYear].ToString());
+                wrk.BusinessBeginningDate = objwrk[(int)SystemColumn.BusinessBeginningDate].ToString();
+                wrk.ConstructionBeginningDate = objwrk[(int)SystemColumn.ConstructionBeginningDate].ToString();
+                wrk.ConstructionNoBase = int.Parse(objwrk[(int)SystemColumn.ConstructionNoBase].ToString());
+
+                wrk.SloganString1 = objwrk[(int)SystemColumn.SloganString1].ToString();
+                wrk.SloganString2 = objwrk[(int)SystemColumn.SloganString2].ToString();
+                wrk.SloganString3 = objwrk[(int)SystemColumn.SloganString3].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)SystemColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)SystemColumn.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region コードの最大値を取得する
+        /// <summary>
+        /// コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSystemCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SystemCode), 0) FROM SytemMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTerm.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTerm.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTerm.cs	(revision 84)
@@ -0,0 +1,343 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 期限マスタアクセスクラス
+    /// </summary>
+    public class IOMTerm : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            ConstructionStatusFlg = 0,
+            FieldNo,
+            SeqNo,
+            DisplayOrder,
+            CheckSchdule,
+            TermDays,
+            SendTitle,
+            SendMessage,
+            BackColor,
+            ForeColor,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMTerm()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 行動予定検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<TermMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += "  ConstructionStatusFlg";
+                strcmd += " ,FieldNo";
+                strcmd += " ,SeqNo";
+                strcmd += " ,DisplayOrder";
+                strcmd += " ,CheckSchdule";
+                strcmd += " ,TermDays";
+                strcmd += " ,SendTitile";
+                strcmd += " ,SendMessage";
+                strcmd += " ,BackColor";
+                strcmd += " ,ForeColor";
+                strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM TermMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    TermMaster work = new TermMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 行動予定追加
+        /// </summary>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool OneRecInsertAction(TermMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO TermMaster";
+
+                strcmd += " VALUES (";
+                strcmd += string.Format(" {0}", data.ConstructionStatusFlg.ToString());
+                strcmd += string.Format(",{0}", data.FieldNo.ToString());
+                strcmd += string.Format(",{0}", data.SeqNo.ToString());
+                strcmd += string.Format(",{0}", data.DisplayOrder);
+                strcmd += string.Format(",{0}", data.CheckSchdule.ToString());
+                strcmd += string.Format(",{0}", data.TermDays.ToString());
+                strcmd += string.Format(",'{0}'", data.SendTitle);
+                strcmd += string.Format(",'{0}'", data.SendMessage);
+                strcmd += string.Format(",'{0}'", data.BackColor);
+                strcmd += string.Format(",'{0}'", data.ForeColor);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool InsertAction(List<TermMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (TermMaster work in data)
+                {
+                    if (!OneRecInsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 行動予定更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, TermMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE TermMaster";
+
+                strcmd += " SET";
+                strcmd += string.Format(" ConstructionStatusFlg = {0}", data.ConstructionStatusFlg.ToString());
+                strcmd += string.Format(",FieldNo = {0}", data.FieldNo.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder);
+                strcmd += string.Format(",CheckSchdule = {0}", data.CheckSchdule.ToString());
+
+                strcmd += string.Format(",TermDays = {0}", data.TermDays.ToString());
+                strcmd += string.Format(",SendTitile = '{0}'", data.SendTitle);
+                strcmd += string.Format(",SendMessage = '{0}'", data.SendMessage);
+                strcmd += string.Format(",BackColor = '{0}'", data.BackColor);
+                strcmd += string.Format(",ForeColor = '{0}'", data.ForeColor);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 行動予定削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM TermMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref TermMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionStatusFlg = int.Parse(objwrk[(int)NameColumn.ConstructionStatusFlg].ToString());
+                wrk.FieldNo = int.Parse(objwrk[(int)NameColumn.FieldNo].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+
+                wrk.CheckSchdule = int.Parse(objwrk[(int)NameColumn.CheckSchdule].ToString());
+                wrk.TermDays = int.Parse(objwrk[(int)NameColumn.TermDays].ToString());
+                wrk.SendTitle = objwrk[(int)NameColumn.SendTitle].ToString();
+                wrk.SendMessage = objwrk[(int)NameColumn.SendMessage].ToString();
+                wrk.BackColor = objwrk[(int)NameColumn.BackColor].ToString();
+                wrk.ForeColor = objwrk[(int)NameColumn.ForeColor].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionStatusFlg, int FieldNo = 0, int SeqNo = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where ConstructionStatusFlg = {0}", ConstructionStatusFlg.ToString());
+                if (FieldNo != 0)
+                    strWork += string.Format(" And FieldNo = {0}", FieldNo.ToString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int GetMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM TermMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTypeExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTypeExpenses.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTypeExpenses.cs	(revision 84)
@@ -0,0 +1,435 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 工事種別経費率マスタアクセスクラス
+    /// </summary>
+    public class IOMTypeExpenses : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 経費率マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            TypeCode = 0,
+            ExpensesPeriod,
+            NameCode,
+            ExpensesRate,
+            DeleteFlg,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMTypeExpenses()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 経費率マスタ検索SQL作成
+        /// <summary>
+        /// 経費率マスタ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " TypeCode";
+            strcmd += " ,ExpensesPeriod";
+            strcmd += " ,NameCode";
+            strcmd += " ,ExpensesRate";
+            strcmd += " ,DeleteFlg";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM TypeExpensesMaster";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region データ検索（複数件）
+        /// <summary>
+        /// データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<TypeExpensesMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    TypeExpensesMaster work = new TypeExpensesMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region データ検索（１件）
+        /// <summary>
+        /// データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref TypeExpensesMaster data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 経費率マスタ追加（１件）
+        /// <summary>
+        /// 経費率マスタ追加（１件）
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(TypeExpensesMaster work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO TypeExpensesMaster";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", work.TypeCode.ToString());
+                strcmd += string.Format(", {0}", work.ExpensesPeriod.ToString());
+                strcmd += string.Format(", {0}", work.NameCode.ToString());
+                strcmd += string.Format(", {0}", work.ExpensesRaito.ToString());
+                strcmd += string.Format(", {0}", work.DeleteFlg.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ追加（複数件）
+        /// <summary>
+        /// 経費率マスタ追加
+        /// </summary>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<TypeExpensesMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (TypeExpensesMaster work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ更新
+        /// <summary>
+        /// 経費率マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, TypeExpensesMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE TypeExpensesMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" TypeCode = {0}", data.TypeCode.ToString());
+                strcmd += string.Format(",ExpensesPeriod = {0}", data.ExpensesPeriod.ToString());
+                strcmd += string.Format(",NameCode = {0}", data.NameCode.ToString());
+                strcmd += string.Format(",ExpensesRate = {0}", data.ExpensesRaito.ToString());
+                strcmd += string.Format(",DeleteFlg = {0}", data.DeleteFlg.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 経費率マスタ削除
+        /// <summary>
+        /// 経費率マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">経費率マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM TypeExpensesMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 論理削除
+        /// <summary>
+        /// 論理削除
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>成功時：true　失敗時：false</returns>
+        public bool LogicalDeleteAction(int NameCode, bool bConnect = true)
+        {
+            // Where文字列作成
+            string strWhere = CreatePrimarykeyString(NameCode);
+            try
+            {
+                List<TypeExpensesMaster> workList = new List<TypeExpensesMaster>();
+                // データ読込
+                if (SelectAction(strWhere, ref workList, bConnect))
+                {
+                    if (workList.Count == 0) return true;
+
+                    // 削除フラグ
+                    workList[0].DeleteFlg = 1;
+                    // データ更新
+                    if (!UpdateAction(strWhere, workList[0], bConnect))
+                    {
+                        rollback();
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWhere);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref TypeExpensesMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TypeCode = int.Parse(objwrk[(int)NameColumn.TypeCode].ToString());
+                wrk.ExpensesPeriod = int.Parse(objwrk[(int)NameColumn.ExpensesPeriod].ToString());
+                wrk.NameCode = int.Parse(objwrk[(int)NameColumn.NameCode].ToString());
+                wrk.ExpensesRaito = double.Parse(objwrk[(int)NameColumn.ExpensesRate].ToString());
+                wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 区分別の最大値を取得する
+        /// <summary>
+        /// 区分別の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxCategoryHistoryCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(NameCode), 0) FROM TypeExpensesMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="NameCode">名称コード</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int TypeCode, int Period = 0, int NameCode = 0, string Alias = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+                strWork = string.Format(" Where {0}TypeCode = {1}", strAlias, TypeCode);
+                if (Period != 0)
+                    strWork += string.Format(" And {0}ExpensesPeriod = {1}", strAlias, Period);
+                if (NameCode != 0)
+                    strWork += string.Format(" And {0}NameCode = {1}", strAlias, NameCode);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMUnit.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMUnit.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMUnit.cs	(revision 84)
@@ -0,0 +1,286 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 単位マスタアクセスクラス
+    /// </summary>
+    public class IOMUnit : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 単位マスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            UNIY_KEY = 0,
+            DISPLAY_ORDER,
+            UNIT_NAME,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMUnit()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 単位マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">単位マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<UnitMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " UnitKey, DisplayOrder, UnitName";
+                strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM UnitMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    UnitMaster work = new UnitMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 単位マスタ追加
+        /// </summary>
+        /// <param name="data">単位マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<UnitMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (UnitMaster work in data)
+                {
+                    strcmd = "INSERT INTO UnitMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.UnitKey.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(", '{0}'", work.UnitName);
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 単位マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">単位マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, UnitMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE UnitMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" UnitKey = {0}", data.UnitKey.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",UnitName = '{0}'", data.UnitName);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 単位マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">単位マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM UnitMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref UnitMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.UnitKey = int.Parse(objwrk[(int)NameColumn.UNIY_KEY].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DISPLAY_ORDER].ToString());
+                wrk.UnitName=objwrk[(int)NameColumn.UNIT_NAME].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="UnitKey"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int UnitKey)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where UnitKey = {0}", UnitKey);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxUnitKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(UnitKey), 0) FROM UnitMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicle.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicle.cs	(revision 84)
@@ -0,0 +1,428 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 車両マスタアクセスクラス
+    /// </summary>
+    public class IOMVehicle : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// syaryouマスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            VehicleCode = 0,
+            DisplayOrder,
+            VehicleName,
+            RegistrationNumber,
+            IdentificationNumber,
+            ModelCode,
+            DepartmentCode,
+            VehicleScheduleFlg,
+            PurchaseDate,
+            PurchaseName,
+            PurchaseContactPersons,
+            PurchasePhone,
+            LeaseDate,
+            LeaseDestination,
+            LeaseContactPersons,
+            LeasePhone,
+            InsuranceCompany,
+            InsuranceContactPersons,
+            InsurancePhone,
+            Note,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMVehicle()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 車両マスタ検索
+        /// <summary>
+        /// 車両マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<VehicleMaster> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+
+                strcmd += " VehicleCode";
+                strcmd += ",DisplayOrder";
+                strcmd += ",VehicleName";
+                strcmd += ",RegistrationNumber";
+                strcmd += ",IdentificationNumber";
+                strcmd += ",ModelCode";
+                strcmd += ",DepartmentCode";
+                strcmd += ",VehicleScheduleFlg";
+                strcmd += ",TO_CHAR(PurchaseDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += ",PurchaseName";
+                strcmd += ",PurchaseContactPersons";
+                strcmd += ",PurchasePhone";
+                strcmd += ",TO_CHAR(LeaseDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += ",LeaseDestination";
+                strcmd += ",LeaseContactPersons";
+                strcmd += ",LeasePhone";
+                strcmd += ",InsuranceCompany";
+                strcmd += ",InsuranceContactPersons";
+                strcmd += ",InsurancePhone";
+                strcmd += ",Note";
+
+                strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM VehicleMaster";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    VehicleMaster work = new VehicleMaster();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 車両マスタ追加
+        /// <summary>
+        /// 車両マスタ追加
+        /// </summary>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<VehicleMaster> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (VehicleMaster work in data)
+                {
+                    strcmd = "INSERT INTO VehicleMaster";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.VehicleCode.ToString());
+                    strcmd += string.Format(", {0}", work.DisplayOrder.ToString());
+                    strcmd += string.Format(",'{0}'", work.VehicleName);
+                    strcmd += string.Format(",'{0}'", work.RegistrationNumber.ToString());
+                    strcmd += string.Format(",'{0}'", work.IdentificationNumber.ToString());
+                    strcmd += string.Format(",'{0}'", work.ModelCode);
+                    strcmd += string.Format(", {0}", work.DepartmentCode.ToString());
+                    strcmd += string.Format(", {0}", work.VehicleScheduleFlg.ToString());
+                    strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", work.PurchaseDate.ToShortDateString());
+                    strcmd += string.Format(",'{0}'", work.PurchaseName);
+                    strcmd += string.Format(",'{0}'", work.PurchaseContactPersons);
+                    strcmd += string.Format(",'{0}'", work.PurchasePhone);
+                    strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", work.LeaseDate.ToShortDateString());
+                    strcmd += string.Format(",'{0}'", work.LeaseDestination);
+                    strcmd += string.Format(",'{0}'", work.LeaseContactPersons);
+                    strcmd += string.Format(",'{0}'", work.LeasePhone);
+                    strcmd += string.Format(",'{0}'", work.InsuranceCompany);
+                    strcmd += string.Format(",'{0}'", work.InsuranceContactPersons);
+                    strcmd += string.Format(",'{0}'", work.InsurancePhone);
+                    strcmd += string.Format(",'{0}'", work.Note);
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 車両マスタ更新
+        /// <summary>
+        /// 車両マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, VehicleMaster data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE VehicleMaster";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" VehicleCode = {0}", data.VehicleCode.ToString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",VehicleName = '{0}'", data.VehicleName);
+                strcmd += string.Format(",RegistrationNumber = '{0}'", data.RegistrationNumber);
+                strcmd += string.Format(",IdentificationNumber = '{0}'", data.IdentificationNumber);
+                strcmd += string.Format(",ModelCode = '{0}'", data.ModelCode);
+                strcmd += string.Format(",DepartmentCode = {0}", data.DepartmentCode.ToString());
+                strcmd += string.Format(",VehicleScheduleFlg = {0}", data.VehicleScheduleFlg.ToString());
+                strcmd += string.Format(",PurchaseDate = TO_DATE('{0}','YYYY/MM/DD')", data.PurchaseDate.ToShortDateString());
+                strcmd += string.Format(",PurchaseName = '{0}'", data.PurchaseName);
+                strcmd += string.Format(",PurchaseContactPersons = '{0}'", data.PurchaseContactPersons);
+                strcmd += string.Format(",PurchasePhone = '{0}'", data.PurchasePhone);
+                strcmd += string.Format(",LeaseDate = TO_DATE('{0}','YYYY/MM/DD')", data.LeaseDate.ToShortDateString());
+                strcmd += string.Format(",LeaseDestination = '{0}'", data.LeaseDestination);
+                strcmd += string.Format(",LeaseContactPersons = '{0}'", data.LeaseContactPersons);
+                strcmd += string.Format(",LeasePhone = '{0}'", data.LeasePhone);
+                strcmd += string.Format(",InsuranceCompany = '{0}'", data.InsuranceCompany);
+                strcmd += string.Format(",InsuranceContactPersons = '{0}'", data.InsuranceContactPersons);
+                strcmd += string.Format(",InsurancePhone = '{0}'", data.InsurancePhone);
+                strcmd += string.Format(",Note = '{0}'", data.Note);
+
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 車両マスタ削除
+        /// <summary>
+        /// 車両マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM VehicleMaster", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref VehicleMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.VehicleCode = int.Parse(objwrk[(int)NameColumn.VehicleCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.VehicleName = objwrk[(int)NameColumn.VehicleName].ToString();
+                wrk.RegistrationNumber = objwrk[(int)NameColumn.RegistrationNumber].ToString();
+                wrk.IdentificationNumber = objwrk[(int)NameColumn.IdentificationNumber].ToString();
+                wrk.ModelCode = objwrk[(int)NameColumn.ModelCode].ToString();
+                wrk.DepartmentCode = int.Parse(objwrk[(int)NameColumn.DepartmentCode].ToString());
+                wrk.VehicleScheduleFlg = int.Parse(objwrk[(int)NameColumn.VehicleScheduleFlg].ToString());
+                wrk.PurchaseDate = DateTime.Parse(objwrk[(int)NameColumn.PurchaseDate].ToString());
+                wrk.PurchaseName = objwrk[(int)NameColumn.PurchaseName].ToString();
+                wrk.PurchaseContactPersons = objwrk[(int)NameColumn.PurchaseContactPersons].ToString();
+                wrk.PurchasePhone = objwrk[(int)NameColumn.PurchasePhone].ToString();
+                wrk.LeaseDate = DateTime.Parse(objwrk[(int)NameColumn.LeaseDate].ToString());
+                wrk.LeaseDestination = objwrk[(int)NameColumn.LeaseDestination].ToString();
+                wrk.LeaseContactPersons = objwrk[(int)NameColumn.LeaseContactPersons].ToString();
+                wrk.LeasePhone = objwrk[(int)NameColumn.LeasePhone].ToString();
+                wrk.InsuranceCompany = objwrk[(int)NameColumn.InsuranceCompany].ToString();
+                wrk.InsuranceContactPersons = objwrk[(int)NameColumn.InsuranceContactPersons].ToString();
+                wrk.InsurancePhone = objwrk[(int)NameColumn.InsurancePhone].ToString();
+                wrk.Note = objwrk[(int)NameColumn.Note].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref VehicleMaster wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.VehicleCode = 0;
+                wrk.DisplayOrder = 0;
+                wrk.VehicleName = string.Empty;
+                wrk.RegistrationNumber = string.Empty;
+                wrk.IdentificationNumber = string.Empty;
+                wrk.ModelCode = string.Empty;
+                wrk.DepartmentCode = 0;
+                wrk.VehicleScheduleFlg = 0;
+                wrk.PurchaseDate = DateTime.MinValue;
+                wrk.PurchaseName = string.Empty;
+                wrk.PurchaseContactPersons = string.Empty;
+                wrk.PurchasePhone = string.Empty;
+                wrk.LeaseDate = DateTime.MinValue;
+                wrk.LeaseDestination = string.Empty;
+                wrk.LeaseContactPersons = string.Empty;
+                wrk.LeasePhone = string.Empty;
+                wrk.InsuranceCompany = string.Empty;
+                wrk.InsuranceContactPersons = string.Empty;
+                wrk.InsurancePhone = string.Empty;
+                wrk.Note = string.Empty;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="VehicleCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int VehicleCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where VehicleCode = {0}", VehicleCode);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 最大値を取得する
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxVehicleKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(VehicleCode), 0) FROM VehicleMaster" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicleRecordData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicleRecordData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicleRecordData.cs	(revision 84)
@@ -0,0 +1,313 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 車両マスタアクセスクラス
+    /// </summary>
+    public class IOMVehicleRecordData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// syaryouマスタフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            VehicleCode = 0,
+            DivisionCode,
+            SeqNo,
+            RecordDate,
+            Mileage,
+            Content,
+            PaymentCost,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMVehicleRecordData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 車両マスタ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<VehicleRecordData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+
+                strcmd += " VehicleCode";
+                strcmd += ",DivisionCode";
+                strcmd += ",SeqNo";
+                strcmd += ",TO_CHAR(RecordDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += ",Mileage";
+                strcmd += ",Content";
+                strcmd += ",PaymentCost";
+
+                strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM VehicleRecordData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    VehicleRecordData work = new VehicleRecordData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 車両マスタ追加
+        /// </summary>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<VehicleRecordData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (VehicleRecordData work in data)
+                {
+                    strcmd = "INSERT INTO VehicleRecordData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", work.VehicleCode.ToString());
+                    strcmd += string.Format(", {0}", work.DivisionCode.ToString());
+                    strcmd += string.Format(", {0}", work.SeqNo.ToString());
+                    strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", work.RecordDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", work.Mileage.ToString());
+                    strcmd += string.Format(",'{0}'", work.Content);
+                    strcmd += string.Format(", {0}", work.PaymentCost.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 車両マスタ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, VehicleRecordData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE VehicleRecordData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" VehicleCode = {0}", data.VehicleCode.ToString());
+                strcmd += string.Format(",DivisionCode = {0}", data.DivisionCode.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",RecordDate = TO_DATE('{0}','YYYY/MM/DD')", data.RecordDate.ToShortDateString());
+                strcmd += string.Format(",Mileage = {0}", data.Mileage.ToString());
+                strcmd += string.Format(",Content = '{0}'", data.Content);
+                strcmd += string.Format(",PaymentCost = {0}", data.PaymentCost.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 車両マスタ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">車両マスタデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM VehicleRecordData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref VehicleRecordData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.VehicleCode = int.Parse(objwrk[(int)NameColumn.VehicleCode].ToString());
+                wrk.DivisionCode = int.Parse(objwrk[(int)NameColumn.DivisionCode].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)NameColumn.SeqNo].ToString());
+                wrk.RecordDate = DateTime.Parse(objwrk[(int)NameColumn.RecordDate].ToString());
+                wrk.Mileage = int.Parse(objwrk[(int)NameColumn.Mileage].ToString());
+                wrk.Content = objwrk[(int)NameColumn.Content].ToString();
+                wrk.PaymentCost = int.Parse(objwrk[(int)NameColumn.PaymentCost].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="VehicleCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int VehicleCode, int DivisionCode = 0, int SeqNo = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where VehicleCode = {0}", VehicleCode);
+                if (DivisionCode != 0)
+                strWork += string.Format(" And DivisionCode = {0}", DivisionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        /// <summary>
+        /// 最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxVehicleKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM VehicleRecordData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardData.cs	(revision 84)
@@ -0,0 +1,530 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 掲示板データアクセスクラス
+    /// </summary>
+    public class IOMessageBoardData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 掲示板データフィールド並び
+        /// </summary>
+        public enum ColumnCnt
+        {
+            RecordNumber = 0,       // レコード番号
+            BranchNumber,           // レコード枝番
+            FromCode,               // 書込み者コード
+            FromName,               // 書込み者名
+            MessageTitle,           // 伝言タイトル
+            MessageContent,         // 伝言内容
+            LinkType,               // リンク動作タイプ
+            LinkMessage,            // リンク文字列
+            LinkCode,               // リンクキー
+            WritingDate,            // 書込み日付
+            PersonCode,             // 書込み担当者コード
+            ShareFlag,              // 管理者対象フラグ
+            MessageColor,           // 文字色
+            BackColor,              // 背景色
+            MessageFlag,            // メッセージラグ
+            EntryDate,              // 登録年月日
+            UpdateDate,             // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMessageBoardData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 掲示板データ検索文字作成
+        /// <summary>
+        /// 掲示板データ検索文字作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " RecordNumber";
+            strcmd += ",BranchNumber";
+            strcmd += ",FromCode";
+            strcmd += ",FromName";
+            strcmd += ",MessageTitile";
+            strcmd += ",MessageContent";
+            strcmd += ",LinkType";
+            strcmd += ",LinkMessage";
+            strcmd += ",LinkCode";
+            strcmd += ",TO_CHAR(WritingDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",PersonCode";
+            strcmd += ",ShareFlag";
+            strcmd += ",MessageColor";
+            strcmd += ",BackColor";
+            strcmd += ",MessageFlag";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM MessageBoardData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 掲示板データ複数検索
+        /// <summary>
+        /// 掲示板データ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<MessageBoardData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBoardData work = new MessageBoardData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ１件検索
+        /// <summary>
+        /// 掲示板データ１件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref MessageBoardData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBoardData work = new MessageBoardData();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ１件追加
+        /// <summary>
+        /// 掲示板データ１件追加
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool OneRecInsertAction(MessageBoardData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO MessageBoardData";
+
+                strcmd += " (RecordNumber,";
+                strcmd += " BranchNumber,";
+                strcmd += " FromCode,";
+                strcmd += " FromName,";
+                strcmd += " MessageTitile,";
+                strcmd += " MessageContent,";
+                strcmd += " LinkType,";
+                strcmd += " LinkMessage,";
+                strcmd += " LinkCode,";
+                strcmd += " WritingDate,";
+                strcmd += " PersonCode,";
+                strcmd += " ShareFlag,";
+                strcmd += " MessageColor,";
+                strcmd += " BackColor,";
+                strcmd += " MessageFlag,";
+                strcmd += " EntryDate,";
+                strcmd += " UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0} ", data.RecordNumber.ToString());
+                strcmd += string.Format(", {0} ", data.BranchNumber.ToString());
+                strcmd += string.Format(", {0} ", data.FromCode);
+                strcmd += string.Format(",'{0}'", data.FromName);
+                strcmd += string.Format(",'{0}'", data.MessageTitle);
+                strcmd += string.Format(",'{0}'", data.MessageContent);
+                strcmd += string.Format(", {0} ", data.LinkType);
+                strcmd += string.Format(",'{0}'", data.LinkMessage);
+                strcmd += string.Format(",'{0}'", data.LinkCode);
+
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.WritingDate.ToString());
+                strcmd += string.Format(", {0} ", data.PersonCode.ToString());
+                strcmd += string.Format(", {0} ", data.ShareFlag.ToString());
+                strcmd += string.Format(",'{0}'", data.MessageColor);
+                strcmd += string.Format(",'{0}'", data.BackColor);
+                strcmd += string.Format(", {0} ", data.MessageFlag.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ複数追加
+        /// <summary>
+        /// 掲示板データ複数追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<MessageBoardData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (MessageBoardData work in data)
+                {
+                    if (!OneRecInsertAction(work, bConnect)) break;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ更新
+        /// <summary>
+        /// 掲示板データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MessageBoardData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE MessageBoardData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" RecordNumber = {0} ", data.RecordNumber.ToString());
+                strcmd += string.Format(",BranchNumber = {0} ", data.BranchNumber.ToString());
+                strcmd += string.Format(",FromCode = {0} ", data.FromCode);
+                strcmd += string.Format(",FromName = '{0}'", data.FromName.ToString());
+                strcmd += string.Format(",MessageTitile = '{0}'", data.MessageTitle.ToString());
+                strcmd += string.Format(",MessageContent = '{0}'", data.MessageContent.ToString());
+                strcmd += string.Format(",LinkType = {0} ", data.LinkType);
+                strcmd += string.Format(",LinkMessage = '{0}'", data.LinkMessage.ToString());
+                strcmd += string.Format(",LinkCode = '{0}'", data.LinkCode.ToString());
+                strcmd += string.Format(",WritingDate = TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.WritingDate.ToString());
+                strcmd += string.Format(",PersonCode = {0} ", data.PersonCode.ToString());
+                strcmd += string.Format(",ShareFlag = {0} ", data.ShareFlag.ToString());
+                strcmd += string.Format(",MessageColor = '{0}'", data.MessageColor.ToString());
+                strcmd += string.Format(",BackColor = '{0}'", data.BackColor.ToString());
+                strcmd += string.Format(",MessageFlag = {0} ", data.MessageFlag);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ削除
+        /// <summary>
+        /// 掲示板データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM MessageBoardData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MessageBoardData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RecordNumber = int.Parse(objwrk[(int)ColumnCnt.RecordNumber].ToString());
+                wrk.BranchNumber = int.Parse(objwrk[(int)ColumnCnt.BranchNumber].ToString());
+                wrk.FromCode = int.Parse(objwrk[(int)ColumnCnt.FromCode].ToString());
+                wrk.FromName = objwrk[(int)ColumnCnt.FromName].ToString();
+                wrk.MessageTitle = objwrk[(int)ColumnCnt.MessageTitle].ToString();
+                wrk.MessageContent = objwrk[(int)ColumnCnt.MessageContent].ToString();
+                wrk.LinkType = int.Parse(objwrk[(int)ColumnCnt.LinkType].ToString());
+                wrk.LinkMessage = objwrk[(int)ColumnCnt.LinkMessage].ToString();
+                wrk.LinkCode = objwrk[(int)ColumnCnt.LinkCode].ToString();
+                wrk.WritingDate = DateTime.Parse(objwrk[(int)ColumnCnt.WritingDate].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnCnt.PersonCode].ToString());
+                wrk.ShareFlag = int.Parse(objwrk[(int)ColumnCnt.ShareFlag].ToString());
+                wrk.MessageColor = objwrk[(int)ColumnCnt.MessageColor].ToString();
+                wrk.BackColor = objwrk[(int)ColumnCnt.BackColor].ToString();
+                wrk.MessageFlag = int.Parse(objwrk[(int)ColumnCnt.MessageFlag].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnCnt.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnCnt.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region データクリア
+        /// <summary>
+        /// データクリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref MessageBoardData wrk)
+        {
+            try
+            {
+                wrk.RecordNumber = 0;                   // レコード番号
+                wrk.BranchNumber = 0;                   // レコード枝番
+                wrk.FromCode = 0;                       // 書込み者名
+                wrk.FromName = string.Empty;            // 書込み者名
+                wrk.MessageTitle = string.Empty;        // 伝言タイトル
+                wrk.MessageContent = string.Empty;      // 伝言内容
+                wrk.LinkType = 0;                       // リンク動作タイプ
+                wrk.LinkMessage = string.Empty;         // リンク文字列
+                wrk.LinkCode = string.Empty;            // リンクキー
+
+                wrk.WritingDate = DateTime.MinValue;    // 書込み日付
+                wrk.PersonCode = 0;                     // 書込み担当者コード
+                wrk.ShareFlag = 0;                      // 管理者対象フラグ
+                wrk.MessageColor = string.Empty;        // 文字色
+                wrk.BackColor = string.Empty;           // 背景色
+                wrk.MessageFlag = 0;                    // メッセージフラグ
+
+                wrk.EntryDate = DateTime.Now;           // 登録日付
+                wrk.UpdateDate = DateTime.Now;          // 更新日付
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("クリアエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="MessageBoardDataCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RecordNumber, int BranchNumber)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RecordNumber = {0}", RecordNumber);
+                strWork += string.Format(" And BranchNumber = {0}", BranchNumber);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region レコード番号の最大値を取得する
+        /// <summary>
+        /// レコード番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardDataKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(RecordNumber), 0) FROM MessageBoardData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardDataBranchKeyCount(int RecordNumber, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(BranchNumber), 0) FROM MessageBoardData" + string.Format(" Where RecordNumber = {0}", RecordNumber);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardDataTerget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardDataTerget.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardDataTerget.cs	(revision 84)
@@ -0,0 +1,504 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 掲示板データアクセスクラス
+    /// </summary>
+    public class IOMessageBoardTerget : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 掲示板データフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            RecordNumber = 0,       // レコード番号
+            BranchNumber,           // レコード枝番
+            SeqNum,                 // 連番
+            ToCode,                 // 対象者コード
+            ToName,                 // 対象者
+            EntryDate,              // 登録年月日
+            UpdateDate,             // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMessageBoardTerget()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 掲示板データ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " RecordNumber";
+            strcmd += ",BranchNumber";
+            strcmd += ",SeqNum";
+            strcmd += ",ToCode";
+            strcmd += ",ToName";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM MessageBoardTerget";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region データ検索（複数件）
+        /// <summary>
+        /// データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<MessageBoardTerget> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBoardTerget work = new MessageBoardTerget();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ検索（１件）
+        /// <summary>
+        /// データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref MessageBoardTerget data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBoardTerget work = new MessageBoardTerget();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ追加（1件）
+        /// <summary>
+        /// 掲示板データ追加（1件）
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(MessageBoardTerget work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO MessageBoardTerget";
+
+                strcmd += " (RecordNumber";
+                strcmd += ",BranchNumber";
+                strcmd += ",SeqNum";
+                strcmd += ",ToCode";
+                strcmd += ",ToName";
+                strcmd += " ,EntryDate";
+                strcmd += " ,UpdateDate)";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0} ", CommonMotions.cnvInt(work.RecordNumber.ToString()));
+                strcmd += string.Format(", {0} ", CommonMotions.cnvInt(work.BranchNumber.ToString()));
+                strcmd += string.Format(", {0} ", work.SeqNum);
+                strcmd += string.Format(", {0} ", work.ToCode);
+                strcmd += string.Format(",'{0}'", work.ToName.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ追加（複数件）
+        /// <summary>
+        /// 掲示板データ追加（複数件）
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<MessageBoardTerget> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (MessageBoardTerget work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ更新
+        /// <summary>
+        /// 掲示板データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MessageBoardTerget data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE MessageBoardTerget";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" RecordNumber = {0} ", CommonMotions.cnvInt(data.RecordNumber.ToString()));
+                strcmd += string.Format(",BranchNumber = {0} ", CommonMotions.cnvInt(data.BranchNumber.ToString()));
+                strcmd += string.Format(",SeqNum = {0} ", data.SeqNum);
+                strcmd += string.Format(",ToCode = {0} ", data.ToCode);
+                strcmd += string.Format(",ToName = '{0}'", data.ToName.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 掲示板データ削除
+        /// <summary>
+        /// 掲示板データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM MessageBoardTerget", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MessageBoardTerget wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RecordNumber = int.Parse(objwrk[(int)NameColumn.RecordNumber].ToString());
+                wrk.BranchNumber = int.Parse(objwrk[(int)NameColumn.BranchNumber].ToString());
+                wrk.SeqNum = int.Parse(objwrk[(int)NameColumn.SeqNum].ToString());
+                wrk.ToCode = int.Parse(objwrk[(int)NameColumn.ToCode].ToString());
+                wrk.ToName=objwrk[(int)NameColumn.ToName].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体をクリアする
+        /// <summary>
+        /// 構造体をクリアする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void ClearStruct(ref MessageBoardTerget wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RecordNumber = 0;
+                wrk.BranchNumber = 0;
+                wrk.SeqNum = 0;
+                wrk.ToCode = 0;
+                wrk.ToName = string.Empty;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// 他のテーブルは0のキーを許さないが
+        /// このテーブルはオリジナルメッセージが0になるため
+        /// 他とは少し違う
+        /// </summary>
+        /// <param name="MessageBoardTergetCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RecordNumber, int BranchNumber, int SeqNum = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RecordNumber = {0}", RecordNumber);
+                strWork += string.Format(" And BranchNumber = {0}", BranchNumber);
+                if (SeqNum != 0)
+                    strWork += string.Format(" And SeqNum = {0}", SeqNum);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 最大値を取得する(RecordNumber)
+        /// <summary>
+        /// 最大値を取得する(RecordNumber)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardTergetKeyCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(RecordNumber), 0) FROM MessageBoardTerget" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 最大値を取得する(BranchNumber)
+        /// <summary>
+        /// 最大値を取得する(BranchNumber)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardTergetBranchKeyCount(int RecordNumber, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(BranchNumber), 0) FROM MessageBoardTerget" + string.Format(" Where RecordNumber = {0}", RecordNumber);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 最大値を取得する(SeqNum)
+        /// <summary>
+        /// 最大値を取得する(SeqNum)
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxMessageBoardTergetBranchKeyCount(int RecordNumber, int BranchNumber, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNum), 0) FROM MessageBoardTerget" + CreatePrimarykeyString(RecordNumber, BranchNumber);
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals(""))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBrowsingHistory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBrowsingHistory.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBrowsingHistory.cs	(revision 84)
@@ -0,0 +1,404 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 掲示板データアクセスクラス
+    /// </summary>
+    public class IOMessageBrowsingHistory : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 掲示板データフィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            RecordNumber = 0,       // レコード番号
+            BranchNumber,           // レコード枝番
+            SeqNum,                 // 連番
+            BrowsingCode,           // 閲覧者コード
+            BrowsingDate,           // 閲覧日付
+            EntryDate,              // 登録年月日
+            UpdateDate,             // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOMessageBrowsingHistory()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 掲示板データ検索SQL作成
+        /// <summary>
+        /// 掲示板データ検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+            strcmd += " RecordNumber";
+            strcmd += ",BranchNumber";
+            strcmd += ",SeqNum";
+            strcmd += ",BrowsingCode";
+            strcmd += ",BrowsingDate";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM MessageBrowsingHistory";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数件検索
+        public bool SelectAction(string AddSQLString, ref List<MessageBrowsingHistory> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBrowsingHistory work = new MessageBrowsingHistory();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件検索
+        public bool SelectAction(string AddSQLString, ref MessageBrowsingHistory data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    MessageBrowsingHistory work = new MessageBrowsingHistory();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ追加
+        /// <summary>
+        /// 掲示板データ追加
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(MessageBrowsingHistory work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO MessageBrowsingHistory";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0} ", CommonMotions.cnvInt(work.RecordNumber.ToString()));
+                strcmd += string.Format(", {0} ", CommonMotions.cnvInt(work.BranchNumber.ToString()));
+                strcmd += string.Format(", {0} ", work.SeqNum);
+                strcmd += string.Format(", {0} ", work.BrowsingCode);
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD  HH24:MI:SS')", work.BrowsingDate.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数データ追加
+        /// <summary>
+        /// 掲示板データ追加
+        /// </summary>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<MessageBrowsingHistory> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (MessageBrowsingHistory work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ更新
+        /// <summary>
+        /// 掲示板データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, MessageBrowsingHistory data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE MessageBrowsingHistory";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" RecordNumber = {0} ", CommonMotions.cnvInt(data.RecordNumber.ToString()));
+                strcmd += string.Format(",BranchNumber = {0} ", CommonMotions.cnvInt(data.BranchNumber.ToString()));
+                strcmd += string.Format(",SeqNum = {0} ", data.SeqNum);
+                strcmd += string.Format(",BrowsingCode = {0} ", data.BrowsingCode);
+                strcmd += string.Format(",BrowsingDate = TO_DATE('{0}','YYYY/MM/DD')", data.BrowsingDate.ToShortDateString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ削除
+        /// <summary>
+        /// 掲示板データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">掲示板データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM MessageBrowsingHistory", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref MessageBrowsingHistory wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.RecordNumber = int.Parse(objwrk[(int)NameColumn.RecordNumber].ToString());
+                wrk.BranchNumber = int.Parse(objwrk[(int)NameColumn.BranchNumber].ToString());
+                wrk.SeqNum = int.Parse(objwrk[(int)NameColumn.SeqNum].ToString());
+                wrk.BrowsingCode = int.Parse(objwrk[(int)NameColumn.BrowsingCode].ToString());
+                wrk.BrowsingDate = DateTime.Parse(objwrk[(int)NameColumn.BrowsingDate].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region キー作成
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// 他のテーブルは0のキーを許さないが
+        /// このテーブルはオリジナルメッセージが0になるため
+        /// 他とは少し違う
+        /// </summary>
+        /// <param name="MessageBrowsingHistoryCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int RecordNumber, int BranchNumber, int SeqNum = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where RecordNumber = {0}", RecordNumber);
+                strWork += string.Format(" And BranchNumber = {0}", BranchNumber);
+                if (SeqNum != 0)
+                    strWork += string.Format(" And SeqNum = {0}", SeqNum);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+
+        #endregion
+
+        #region SEQNO最大値取得
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNum), 0) FROM MESSAGEBROWSINGHISTORY" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region レコードクリア
+        /// <summary>
+        /// 工事コードの最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public void ClearRecord(ref MessageBrowsingHistory Rec)
+        {
+            try
+            {
+                Rec.RecordNumber = 0;                       // レコード番号
+                Rec.BranchNumber = 0;                       // レコード枝番
+                Rec.SeqNum = 0;                             // 順番
+                Rec.BrowsingCode = 0;                       // 閲覧者コード
+                Rec.BrowsingDate = DateTime.Now;            // 閲覧日付
+
+                Rec.EntryDate = DateTime.Now;                // 登録日付
+                Rec.UpdateDate = DateTime.Now;               // 更新日付
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOOrdersPriceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOOrdersPriceData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOOrdersPriceData.cs	(revision 84)
@@ -0,0 +1,464 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 受注金額データＤＢアクセス
+    /// </summary>
+    public class IOOrdersPriceData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 担当者毎経費データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,       // 工事コード
+            ChangeNo,	                // 変更番号
+            ChangeDate,	                // 変更日
+            ChangePersonCode,           // 変更者コード
+            ChangePersonName,           // 変更者名
+            BeforeValue,                // 変更前税抜受注金額
+            BeforeValueInTax,           // 　〃　税込受注金額
+            AfterValue,                 // 変更後税抜受注金額
+            AfterValueInTax,            // 　〃　税込受注金額
+            ChangeComment,              // 変更理由
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOOrdersPriceData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";             // 工事コード
+            strcmd += " ,ChangeNo";	                    // 変更番号
+            strcmd += " ,ChangeDate";	                // 変更日
+            strcmd += " ,ChangePersonCode";             // 変更者コード
+            strcmd += " ,ChangePersonName";             // 変更者名
+            strcmd += " ,BeforeValue";                  // 変更前税抜受注金額
+            strcmd += " ,BeforeValueInTax";             // 　〃　税込受注金額
+            strcmd += " ,AfterValue";                   // 変更後税抜受注金額
+            strcmd += " ,AfterValueInTax";              // 　〃　税込受注金額
+            strcmd += " ,ChangeComment";                // 変更理由
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM OrdersPriceData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<OrdersPriceData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    OrdersPriceData work = new OrdersPriceData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref OrdersPriceData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(OrdersPriceData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO OrdersPriceData";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);                    // 工事コード
+
+                strcmd += string.Format(", {0}", work.ChangeNo);	                        // 変更番号
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                                , work.ChangeDate.ToShortDateString());	    // 変更日
+                strcmd += string.Format(", {0}", work.ChangePersonCode);                    // 変更者コード
+                strcmd += string.Format(",'{0}'", work.ChangePersonName);                   // 変更者名
+                
+                strcmd += string.Format(", {0}", work.BeforeValue);                         // 変更前税抜受注金額
+                strcmd += string.Format(", {0}", work.BeforeValueInTax);                    // 　〃　税込受注金額
+                strcmd += string.Format(", {0}", work.AfterValue);                          // 変更後税抜受注金額
+                strcmd += string.Format(", {0}", work.AfterValueInTax);                     // 　〃　税込受注金額
+
+                strcmd += string.Format(",'{0}'", work.ChangeComment);                      // 変更理由
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<OrdersPriceData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (OrdersPriceData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, OrdersPriceData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE OrdersPriceData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);                  // 工事コード
+
+                strcmd += string.Format(",ChangeNo = {0}", data.ChangeNo);	                                // 変更番号
+                strcmd += string.Format(",ChangeDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.ChangeDate.ToShortDateString());	                            // 変更日
+                strcmd += string.Format(",ChangePersonCode = {0}", data.ChangePersonCode);                  // 変更者コード
+                strcmd += string.Format(",ChangePersonName = '{0}'", data.ChangePersonName);                // 変更者名
+                
+                strcmd += string.Format(",BeforeValue = {0}", data.BeforeValue);                            // 変更前税抜受注金額
+                strcmd += string.Format(",BeforeValueInTax = {0}", data.BeforeValueInTax);                  // 　〃　税込受注金額
+                strcmd += string.Format(",AfterValue = {0}", data.AfterValue);                              // 変更後税抜受注金額
+                strcmd += string.Format(",AfterValueInTax = {0}", data.AfterValueInTax);                    // 　〃　税込受注金額
+
+                strcmd += string.Format(",ChangeComment = '{0}'", data.ChangeComment);                      // 変更理由
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM OrdersPriceData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref OrdersPriceData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());                   // 工事コード
+                wrk.ChangeNo = int.Parse(objwrk[(int)TableColumn.ChangeNo].ToString());	                                // 変更番号
+                wrk.ChangeDate = DateTime.Parse(objwrk[(int)TableColumn.ChangeDate].ToString());	                        // 変更日
+                wrk.ChangePersonCode = int.Parse(objwrk[(int)TableColumn.ChangePersonCode].ToString());                   // 変更者コード
+                wrk.ChangePersonName = objwrk[(int)TableColumn.ChangePersonName].ToString();                              // 変更者名
+
+                wrk.BeforeValue = int.Parse(objwrk[(int)TableColumn.BeforeValue].ToString());                             // 変更前税抜受注金額
+                wrk.BeforeValueInTax = int.Parse(objwrk[(int)TableColumn.BeforeValueInTax].ToString());                   // 　〃　税込受注金額
+                wrk.AfterValue = int.Parse(objwrk[(int)TableColumn.AfterValue].ToString());                               // 変更後税抜受注金額
+                wrk.AfterValueInTax = int.Parse(objwrk[(int)TableColumn.AfterValueInTax].ToString());                     // 　〃　税込受注金額
+
+                wrk.ChangeComment = objwrk[(int)TableColumn.ChangeComment].ToString();                                    // 変更理由
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE OrdersPriceData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:         // 工事コード
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ChangeNo:	                // 変更番号
+                        strcmd += string.Format(" ChangeNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ChangeDate:	            // 変更日
+                        strcmd += string.Format(" ChangeDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.ChangePersonCode:         // 変更者コード
+                        strcmd += string.Format(" ChangePersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ChangePersonName:         // 変更者名
+                        strcmd += string.Format(" ChangePersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.BeforeValue:              // 変更前税抜受注金額
+                        strcmd += string.Format(" BeforeValue = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.BeforeValueInTax:         // 　〃　税込受注金額
+                        strcmd += string.Format(" BeforeValueInTax = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.AfterValue:               // 変更後税抜受注金額
+                        strcmd += string.Format(" AfterValue = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.AfterValueInTax:          // 　〃　税込受注金額
+                        strcmd += string.Format(" AfterValueInTax = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.ChangeComment:            // 変更理由
+                        strcmd += string.Format(" ChangeComment = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ChangeNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE ConstructionCode = {0}", ConstructionCode);
+                if (ChangeNo != 0)
+                    strWork += string.Format(" AND ChangeNo = {0}", ChangeNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(ChangeNo), 0) FROM OrdersPriceData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApproval.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApproval.cs	(revision 84)
@@ -0,0 +1,515 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 担当者承認データアクセスクラス
+    /// </summary>
+    public class IOPersonApproval : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            PersonCode = 0,
+            ApprovalCode,
+            OrderDate,
+            OrderNo,
+            SeqNo,
+            PersonCodeApproval,
+            PetitionApprovalDate,
+            ApprovalLimitDates,
+            ApprovalStatus,
+            EntryDate,
+            UpdateDate
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPersonApproval()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認データ検索文字列作成
+        /// <summary>
+        /// 承認データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " PersonCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",OrderDate";
+            strcmd += ",OrderNo";
+            strcmd += ",SeqNo";
+            strcmd += ",PersonCodeApproval";
+            strcmd += ",TO_CHAR(PetitionApprovalDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",TO_CHAR(ApprovalLimitDates, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",ApprovalStatus";
+            strcmd += ",TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM PersonApproval";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認データ検索（複数）
+        /// <summary>
+        /// 承認データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonApproval> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonApproval work = new PersonApproval();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ検索（1件）
+        /// <summary>
+        /// 承認データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonApproval data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ追加（複数）
+        /// <summary>
+        /// 承認データ追加（複数）
+        /// </summary>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonApproval> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PersonApproval work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ追加（1件）
+        /// <summary>
+        /// 承認データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(PersonApproval data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PersonApproval";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(ColumnName)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                strcmd += string.Format(", {0}", data.PersonCodeApproval.ToString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.PetitionApprovalDate.ToString());
+
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.ApprovalLimitDates.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalStatus.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ更新
+        /// <summary>
+        /// 承認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonApproval data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonApproval";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderDate = TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",PersonCodeApproval = {0}", data.PersonCodeApproval.ToString());
+                strcmd += string.Format(",PetitionApprovalDate = TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.PetitionApprovalDate.ToString());
+                strcmd += string.Format(",ApprovalLimitDates = TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.ApprovalLimitDates.ToString());
+                strcmd += string.Format(",ApprovalStatus = {0}", data.ApprovalStatus.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ削除
+        /// <summary>
+        /// 承認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonApproval", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, int ApprovalCode, DateTime OrderDate, int FeildNo, object value, bool bConnect = true, int OrderNo = 0, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PersonApproval";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderDate:
+                        strcmd += string.Format(" OrderDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PersonCodeApproval:
+                        strcmd += string.Format(" PersonCodeApproval = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PetitionApprovalDate:
+                        strcmd += string.Format(" PetitionApprovalDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ApprovalLimitDates:
+                        strcmd += string.Format(" ApprovalLimitDates = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ApprovalStatus:
+                        strcmd += string.Format(" ApprovalStatus = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, ApprovalCode, OrderDate, OrderNo, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonApproval wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnName.PersonCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)ColumnName.OrderDate].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)ColumnName.SeqNo].ToString());
+                wrk.PersonCodeApproval = int.Parse(objwrk[(int)ColumnName.PersonCodeApproval].ToString());
+                wrk.PetitionApprovalDate = DateTime.Parse(objwrk[(int)ColumnName.PetitionApprovalDate].ToString());
+                wrk.ApprovalLimitDates = DateTime.Parse(objwrk[(int)ColumnName.ApprovalLimitDates].ToString());
+                wrk.ApprovalStatus = int.Parse(objwrk[(int)ColumnName.ApprovalStatus].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, int ApprovalCode, DateTime OrderDate, int OrderNo = 0, int SeqNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}PersonCode = {1}", APara, PersonCode.ToString());
+                strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                strWork += string.Format(" And {0}OrderDate = TO_DATE('{1}','YYYY/MM/DD')", APara, OrderDate.ToShortDateString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" And {0}SeqNo = {1}", APara, SeqNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 受付番号の最大値を取得する
+        /// <summary>
+        /// 受付番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxOrderNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(OrderNo), 0) FROM PersonApproval" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM PersonApproval" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApprovalCommnet.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApprovalCommnet.cs	(revision 84)
@@ -0,0 +1,457 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 担当者承認コメントデータアクセスクラス
+    /// </summary>
+    public class IOPersonApprovalComment : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認コメントデータフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            PersonCode = 0,
+            ApprovalCode,
+            OrderDate,
+            OrderNo,
+            CommentNo,
+            ParentNo,
+            ApproValComment,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPersonApprovalComment()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認コメントデータ検索文字列作成
+        /// <summary>
+        /// 承認コメントデータ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " PersonCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",TO_CHAR(OrderDate, 'YYYY/MM/DD')";
+            strcmd += ",OrderNo";
+            strcmd += ",CommentNo";
+            strcmd += ",ParentNo";
+            strcmd += ",ApproValComment";
+            strcmd += ",TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM PersonApprovalComment";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認コメントデータ検索（複数）
+        /// <summary>
+        /// 承認コメントデータ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PersonApprovalComment> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PersonApprovalComment work = new PersonApprovalComment();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認コメントデータ検索（1件）
+        /// <summary>
+        /// 承認コメントデータ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PersonApprovalComment data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認コメントデータ追加（複数）
+        /// <summary>
+        /// 承認コメントデータ追加（複数）
+        /// </summary>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PersonApprovalComment> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PersonApprovalComment work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ追加（1件）
+        /// <summary>
+        /// 承認コメントデータ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(PersonApprovalComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO PersonApprovalComment";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(ColumnName)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                strcmd += string.Format(", {0}", data.CommentNo.ToString());
+                strcmd += string.Format(", {0}", data.ParentNo.ToString());
+                strcmd += string.Format(", '{0}'", data.ApproValComment.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ更新
+        /// <summary>
+        /// 承認コメントデータ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PersonApprovalComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PersonApprovalComment";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderDate = TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",CommentNo = {0}", data.CommentNo.ToString());
+                strcmd += string.Format(",ParentNo = {0}", data.ParentNo.ToString());
+                strcmd += string.Format(",ApproValComment = '{0}'", data.ApproValComment.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ削除
+        /// <summary>
+        /// 承認コメントデータ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PersonApprovalComment", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, int ApprovalCode, DateTime OrderDate, int FeildNo, object value, bool bConnect = true, int OrderNo = 0, int CommentNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PersonApprovalComment";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.PersonCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderDate:
+                        strcmd += string.Format(" OrderDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.CommentNo:
+                        strcmd += string.Format(" CommentNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ParentNo:
+                        strcmd += string.Format(" ParentNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApproValComment:
+                        strcmd += string.Format(" ApproValComment = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, ApprovalCode, OrderDate, OrderNo, CommentNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PersonApprovalComment wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnName.PersonCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)ColumnName.OrderDate].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.CommentNo = int.Parse(objwrk[(int)ColumnName.CommentNo].ToString());
+                wrk.ParentNo = int.Parse(objwrk[(int)ColumnName.ParentNo].ToString());
+                wrk.ApproValComment = objwrk[(int)ColumnName.ApproValComment].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, int ApprovalCode, DateTime OrderDate, int OrderNo = 0, int CommentNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}PersonCode = {1}", APara, PersonCode.ToString());
+                strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                strWork += string.Format(" And {0}OrderDate = TO_DATE('{1}','YYYY/MM/DD')", APara, OrderDate.ToShortDateString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (CommentNo != 0)
+                    strWork += string.Format(" And {0}CommentNo = {1}", APara, CommentNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <returns></returns>
+        public int MaxCommentNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(CommentNo), 0) FROM PersonApprovalComment" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPointingOutComment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPointingOutComment.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPointingOutComment.cs	(revision 84)
@@ -0,0 +1,408 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 指摘事項データＤＢアクセス
+    /// </summary>
+    public class IOPointingOutComment : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 指摘事項データフィールド並び
+        /// </summary>
+        public enum PointingOutCommentColumn
+        {
+            ConstructionCode,
+            ProcessNo,
+            SeqNo,
+            PageCount,
+            PersonCode,
+            DrowColor,
+            CommentMessage,
+            StartPointX,
+            StartPointY,
+            CurrentPointX,
+            CurrentPointY,
+            CurrentWidth,
+            CurrentHeight,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPointingOutComment()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";
+            strcmd += ",ProcessNo";
+            strcmd += ",SeqNo";
+            strcmd += ",PageCount";
+            strcmd += ",PersonCode";
+            strcmd += ",DrowColor";
+            strcmd += ",CommentMessage";
+            strcmd += ",StartPointX";
+            strcmd += ",StartPointY";
+            strcmd += ",CurrentPointX";
+            strcmd += ",CurrentPointY";
+            strcmd += ",CurrentWidth";
+            strcmd += ",CurrentHeight";
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " From PointingOutComment";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数データ読込み処理
+        public bool SelectAction(string AddSQLString, ref List<PointingOutComment> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PointingOutComment work = new PointingOutComment();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件データ読込処理
+        public bool SelectAction(string AddSQLString, ref PointingOutComment data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ追加処理
+        /// <summary>
+        /// 指摘事項データ追加
+        /// </summary>
+        /// <param name="data">指摘事項データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PointingOutComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                    strcmd = "INSERT INTO PointingOutComment";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode);
+                    strcmd += string.Format(", {0}", data.ProcessNo);
+                    strcmd += string.Format(", {0}", data.SeqNo);
+                    strcmd += string.Format(", {0}", data.PageCount);
+                    strcmd += string.Format(", {0}", data.PersonCode);
+                    strcmd += string.Format(",'{0}'", data.DrowColor);
+                    strcmd += string.Format(",'{0}'", data.CommentMessage);
+                    strcmd += string.Format(", {0}", data.StartPointX);
+                    strcmd += string.Format(", {0}", data.StartPointY);
+                    strcmd += string.Format(", {0}", data.CurrentPointX);
+                    strcmd += string.Format(", {0}", data.CurrentPointY);
+                    strcmd += string.Format(", {0}", data.CurrentWidth);
+                    strcmd += string.Format(", {0}", data.CurrentHeight);
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        /// <summary>
+        /// 指摘事項データ追加
+        /// </summary>
+        /// <param name="data">指摘事項データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PointingOutComment> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PointingOutComment work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ更新処理
+        /// <summary>
+        /// 指摘事項データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">指摘事項データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PointingOutComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PointingOutComment";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);
+                strcmd += string.Format(",ProcessNo = {0}", data.ProcessNo);
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(",PageCount = {0}", data.PageCount);
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(",DrowColor = '{0}'", data.DrowColor);
+                strcmd += string.Format(",CommentMessage = '{0}'", data.CommentMessage);
+                strcmd += string.Format(",StartPointX = {0}", data.StartPointX);
+                strcmd += string.Format(",StartPointY = {0}", data.StartPointY);
+                strcmd += string.Format(",CurrentPointX = {0}", data.CurrentPointX);
+                strcmd += string.Format(",CurrentPointY = {0}", data.CurrentPointY);
+                strcmd += string.Format(",CurrentWidth = {0}", data.CurrentWidth);
+                strcmd += string.Format(",CurrentHeight = {0}", data.CurrentHeight);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データ削除処理
+        /// <summary>
+        /// 指摘事項データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">指摘事項データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PointingOutComment", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 読込みオブジェクトセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PointingOutComment wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)PointingOutCommentColumn.ConstructionCode].ToString());
+                wrk.ProcessNo = int.Parse(objwrk[(int)PointingOutCommentColumn.ProcessNo].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)PointingOutCommentColumn.SeqNo].ToString());
+                wrk.PageCount = int.Parse(objwrk[(int)PointingOutCommentColumn.PageCount].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)PointingOutCommentColumn.PersonCode].ToString());
+                wrk.DrowColor = objwrk[(int)PointingOutCommentColumn.DrowColor].ToString();
+                wrk.CommentMessage = objwrk[(int)PointingOutCommentColumn.CommentMessage].ToString();
+                wrk.StartPointX = int.Parse(objwrk[(int)PointingOutCommentColumn.StartPointX].ToString());
+                wrk.StartPointY = int.Parse(objwrk[(int)PointingOutCommentColumn.StartPointY].ToString());
+                wrk.CurrentPointX = int.Parse(objwrk[(int)PointingOutCommentColumn.CurrentPointX].ToString());
+                wrk.CurrentPointY = int.Parse(objwrk[(int)PointingOutCommentColumn.CurrentPointY].ToString());
+                wrk.CurrentWidth = int.Parse(objwrk[(int)PointingOutCommentColumn.CurrentWidth].ToString());
+                wrk.CurrentHeight = int.Parse(objwrk[(int)PointingOutCommentColumn.CurrentHeight].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)PointingOutCommentColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)PointingOutCommentColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region 順序の最大値を取得
+        /// <summary>
+        /// 順序の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxConstructionCodeCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM PointingOutComment" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 指摘事項データの検索キー文字列を作成
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="DetailNo"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ProcessNo = 0, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (ProcessNo != 0)
+                    strWork = string.Format(" And ProcessNo = {0}", ProcessNo);
+                if (SeqNo != 0)
+                    strWork = string.Format(" And SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsData.cs	(revision 84)
@@ -0,0 +1,377 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データアクセス
+    /// </summary>
+    public class IOProceedingsData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 議事録作成日
+            /// </summary>
+            ProceedingsDataDate,
+            /// <summary>
+            /// 会議時間開始
+            /// </summary>
+            StartMeetingTime,
+            /// <summary>
+            /// 会議時間終了
+            /// </summary>
+            EndMeetingTime,
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            CreatorCode,
+            /// <summary>
+            /// 現地フラグ
+            /// </summary>
+            PalceFlag,
+            /// <summary>
+            /// 打合せ場所
+            /// </summary>
+            MeetingPalce,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProceedingsData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";                                 // 工事番号
+            strcmd += " ,TO_CHAR(ProceedingsDataDate, 'YYYY/MM/DD')";       // 議事録作成日
+            strcmd += " ,StartMeetingTime";                                 // 会議時間開始
+            strcmd += " ,EndMeetingTime";                                   // 会議時間終了
+            strcmd += " ,CreatorCode";                                      // 作成者コード
+            strcmd += " ,PalceFlag";                                        // 現地フラグ
+            strcmd += " ,MeetingPalce";                                     // 打合せ場所
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM ProceedingsData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<ProceedingsData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProceedingsData work = new ProceedingsData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref ProceedingsData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ProceedingsData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ProceedingsData";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("{0}", work.ConstructionCode);                      // 工事番号
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+                strcmd += string.Format(", {0}", work.StartMeetingTime);                    // 会議時間開始
+                strcmd += string.Format(", {0}", work.EndMeetingTime);                      // 会議時間終了
+                strcmd += string.Format(", {0}", work.CreatorCode);                         // 作成者コード
+                strcmd += string.Format(", {0}", work.PalceFlag);                           // 現地フラグ
+                strcmd += string.Format(",'{0}'", work.MeetingPalce);                       // 打合せ場所１
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<ProceedingsData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ProceedingsData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProceedingsData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProceedingsData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",ProceedingsDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.ProceedingsDataDate.ToShortDateString());        // 議事録作成日
+                strcmd += string.Format(",StartMeetingTime = {0}", data.StartMeetingTime);      // 会議時間開始
+                strcmd += string.Format(",EndMeetingTime = {0}", data.EndMeetingTime);          // 会議時間終了
+                strcmd += string.Format(",CreatorCode = {0}", data.CreatorCode);                // 作成者コード
+                strcmd += string.Format(",PalceFlag = {0}", data.PalceFlag);                    // 現地フラグ
+                strcmd += string.Format(",MeetingPalce = '{0}'", data.MeetingPalce);            // 打合せ場所
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProceedingsData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProceedingsData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.ProceedingsDataDate = DateTime.Parse(objwrk[(int)TableColumn.ProceedingsDataDate].ToString());       // 議事録作成日
+                wrk.StartMeetingTime = int.Parse(objwrk[(int)TableColumn.StartMeetingTime].ToString());      // 会議時間開始
+                wrk.EndMeetingTime = int.Parse(objwrk[(int)TableColumn.EndMeetingTime].ToString());          // 会議時間終了
+                wrk.CreatorCode = int.Parse(objwrk[(int)TableColumn.CreatorCode].ToString());                // 作成者コード
+                wrk.PalceFlag = int.Parse(objwrk[(int)TableColumn.PalceFlag].ToString());                    // 現地フラグ
+
+                wrk.MeetingPalce = objwrk[(int)TableColumn.MeetingPalce].ToString();                         // 打合せ場所
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="CreatorCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, DateTime ProceedingsDataDate, int StartMeetingTime = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork += string.Format(" WHERE ConstructionCode = {0}", ConstructionCode);
+                if (ProceedingsDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND ProceedingsDataDate = TO_DATE('{0}','YYYY/MM/DD')", ProceedingsDataDate.ToShortDateString());
+                if (StartMeetingTime != 0)
+                    strWork += string.Format(" AND StartMeetingTime = {0}", StartMeetingTime);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataAttend.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataAttend.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataAttend.cs	(revision 84)
@@ -0,0 +1,377 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データアクセス（出席者）
+    /// </summary>
+    public class IOProceedingsDataAttend : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 議事録作成日
+            /// </summary>
+            ProceedingsDataDate,
+            /// <summary>
+            /// 会議時間開始
+            /// </summary>
+            StartMeetingTime,
+            /// <summary>
+            /// データ行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 出席者所属
+            /// </summary>
+            Department,
+            /// <summary>
+            /// 出席者氏名
+            /// </summary>
+            AttendName,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProceedingsDataAttend()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";                                  // 工事番号
+            strcmd += " ,TO_CHAR(ProceedingsDataDate, 'YYYY/MM/DD')";       // 議事録作成日
+            strcmd += " ,StartMeetingTime";                                 // 会議時間開始
+            strcmd += " ,SeqNo";                                            // データ行番号
+            strcmd += " ,Department";                                       // 出席者所属
+            strcmd += " ,AttendName";                                       // 出席者氏名
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM ProceedingsDataAttend";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<ProceedingsDataAttend> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProceedingsDataAttend work = new ProceedingsDataAttend();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref ProceedingsDataAttend data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ProceedingsDataAttend work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ProceedingsDataAttend";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format(" {0}", work.ConstructionCode);                     // 工事番号
+                
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+
+                strcmd += string.Format(", {0}", work.StartMeetingTime);                    // 会議時間開始
+                strcmd += string.Format(", {0}", work.SeqNo);                               // データ行番号
+
+                strcmd += string.Format(",'{0}'", work.Department);                         // 出席者所属
+                strcmd += string.Format(",'{0}'", work.AttendName);                         // 出席者氏名
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<ProceedingsDataAttend> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ProceedingsDataAttend work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProceedingsDataAttend data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProceedingsDataAttend";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                
+                strcmd += string.Format(",ProceedingsDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.ProceedingsDataDate.ToShortDateString());        // 議事録作成日
+
+                strcmd += string.Format(",StartMeetingTime = {0}", data.StartMeetingTime);      // 会議時間開始
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo);                            // データ行番号
+
+                strcmd += string.Format(",Department = '{0}'", data.Department);                // 出席者所属
+                strcmd += string.Format(",AttendName = '{0}'", data.AttendName);                // 出席者氏名
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProceedingsDataAttend", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProceedingsDataAttend wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                wrk.ProceedingsDataDate = DateTime.Parse(objwrk[(int)TableColumn.ProceedingsDataDate].ToString());       // 議事録作成日
+                wrk.StartMeetingTime = int.Parse(objwrk[(int)TableColumn.StartMeetingTime].ToString());      // 会議時間開始
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // データ行番号
+
+                wrk.Department = objwrk[(int)TableColumn.Department].ToString();                             // 出席者所属
+                wrk.AttendName = objwrk[(int)TableColumn.AttendName].ToString();                             // 出席者氏名
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, DateTime ProceedingsDataDate, int StartMeetingTime = 0, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE ConstructionCode = {0}", ConstructionCode);
+                if (ProceedingsDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND ProceedingsDataDate = TO_DATE('{0}','YYYY/MM/DD')", ProceedingsDataDate.ToShortDateString());
+                if (StartMeetingTime != 0)
+                    strWork += string.Format(" AND StartMeetingTime = {0}", StartMeetingTime);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataDetail.cs	(revision 84)
@@ -0,0 +1,383 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 発注者打ち合わせ議事録データアクセス（明細）
+    /// </summary>
+    public class IOProceedingsDataDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 工事番号
+            /// </summary>
+            ConstructionCode,
+            /// <summary>
+            /// 議事録作成日
+            /// </summary>
+            ProceedingsDataDate,
+            /// <summary>
+            /// 会議時間開始
+            /// </summary>
+            StartMeetingTime,
+            /// <summary>
+            /// データ行番号
+            /// </summary>
+            SeqNo,
+            /// <summary>
+            /// 議題番号
+            /// </summary>
+            TitleNo,
+            /// <summary>
+            /// 議題
+            /// </summary>
+            Title,
+            /// <summary>
+            /// 内容
+            /// </summary>
+            ContentsText,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProceedingsDataDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";                                  // 工事番号
+            strcmd += " ,TO_CHAR(ProceedingsDataDate, 'YYYY/MM/DD')";       // 議事録作成日
+            strcmd += " ,StartMeetingTime";                                 // 会議時間開始
+            strcmd += " ,SeqNo";                                            // データ行番号
+            strcmd += " ,TitleNo";                                          // 議題番号
+            strcmd += " ,Title";                                            // 議題
+            strcmd += " ,ContentsText";                                     // 内容
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM ProceedingsDataDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<ProceedingsDataDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProceedingsDataDetail work = new ProceedingsDataDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref ProceedingsDataDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(ProceedingsDataDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO ProceedingsDataDetail";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format(" {0}", work.ConstructionCode);                     // 工事番号
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.ProceedingsDataDate.ToShortDateString());// 議事録作成日
+                strcmd += string.Format(", {0}", work.StartMeetingTime);                    // 会議時間開始
+                strcmd += string.Format(", {0}", work.SeqNo);                               // データ行番号
+
+                strcmd += string.Format(",'{0}'", work.TitleNo);                            // 議題番号
+                strcmd += string.Format(",'{0}'", work.Title);                              // 議題
+                strcmd += string.Format(",'{0}'", work.ContentsText);                       // 内容
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<ProceedingsDataDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (ProceedingsDataDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProceedingsDataDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProceedingsDataDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
+                strcmd += string.Format(",ProceedingsDataDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.ProceedingsDataDate.ToShortDateString());        // 議事録作成日
+                strcmd += string.Format(",StartMeetingTime = {0}", data.StartMeetingTime);      // 会議時間開始
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo);                            // データ行番号
+
+                strcmd += string.Format(",TitleNo = '{0}'", data.TitleNo);                      // 議題番号
+                strcmd += string.Format(",Title = '{0}'", data.Title);                          // 議題
+                strcmd += string.Format(",ContentsText = '{0}'", data.ContentsText);            // 内容
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProceedingsDataDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProceedingsDataDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());      // 工事番号
+                
+                wrk.ProceedingsDataDate = DateTime.Parse(objwrk[(int)TableColumn.ProceedingsDataDate].ToString());   // 議事録作成日
+
+                wrk.StartMeetingTime = int.Parse(objwrk[(int)TableColumn.StartMeetingTime].ToString());      // 会議時間開始
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                            // データ行番号
+
+                wrk.TitleNo = objwrk[(int)TableColumn.TitleNo].ToString();                                   // 議題番号
+                wrk.Title = objwrk[(int)TableColumn.Title].ToString();                                       // 議題
+                wrk.ContentsText = objwrk[(int)TableColumn.ContentsText].ToString();                         // 内容
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, DateTime ProceedingsDataDate, int StartMeetingTime = 0, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE ConstructionCode = {0}", ConstructionCode);
+                if (ProceedingsDataDate != DateTime.MinValue)
+                    strWork += string.Format(" AND ProceedingsDataDate = TO_DATE('{0}','YYYY/MM/DD')", ProceedingsDataDate.ToShortDateString());
+                if (StartMeetingTime != 0)
+                    strWork += string.Format(" AND StartMeetingTime = {0}", StartMeetingTime);
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApproval.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApproval.cs	(revision 84)
@@ -0,0 +1,515 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 承認データアクセスクラス
+    /// </summary>
+    public class IOProcessApproval : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            ConstructionCode,
+            ApprovalCode,
+            OrderNo,
+            SeqNo,
+            PersonCode,
+            PetitionApprovalDate,
+            ApprovalLimitDates,
+            ApprovalStatus,
+            InputComment,
+            EntryDate,
+            UpdateDate
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProcessApproval()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認データ検索文字列作成
+        /// <summary>
+        /// 承認データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " ConstructionCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",OrderNo";
+            strcmd += ",SeqNo";
+            strcmd += ",PersonCode";
+            strcmd += ",TO_CHAR(PetitionApprovalDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",TO_CHAR(ApprovalLimitDates, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",ApprovalStatus";
+            strcmd += ",InputComment";
+            strcmd += ",TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ProcessApproval";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認データ検索（複数）
+        /// <summary>
+        /// 承認データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ProcessApproval> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProcessApproval work = new ProcessApproval();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ検索（1件）
+        /// <summary>
+        /// 承認データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ProcessApproval data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ追加（複数）
+        /// <summary>
+        /// 承認データ追加（複数）
+        /// </summary>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ProcessApproval> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ProcessApproval work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ追加（1件）
+        /// <summary>
+        /// 承認データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(ProcessApproval data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ProcessApproval";
+
+                    strcmd += " (";
+                    bool bFirst = true;
+                    foreach (var gender in Enum.GetValues(typeof(ColumnName)))
+                    {
+                        if (!bFirst) strcmd += " ,";
+                        strcmd += gender.ToString();
+                        bFirst = false;
+                    }
+                    strcmd += ") VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                    strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                    strcmd += string.Format(", {0}", data.SeqNo.ToString());
+                    strcmd += string.Format(", {0}", data.PersonCode.ToString());
+                    strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.PetitionApprovalDate.ToString());
+
+                    strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.ApprovalLimitDates.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalStatus.ToString());
+                    strcmd += string.Format(",'{0}'", data.InputComment.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ更新
+        /// <summary>
+        /// 承認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProcessApproval data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProcessApproval";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo.ToString());
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",PetitionApprovalDate = TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.PetitionApprovalDate.ToString());
+                strcmd += string.Format(",ApprovalLimitDates = TO_DATE('{0}','YYYY/MM/DD HH24:MI:SS')", data.ApprovalLimitDates.ToString());
+                strcmd += string.Format(",ApprovalStatus = {0}", data.ApprovalStatus.ToString());
+                strcmd += string.Format(",InputComment = '{0}'", data.InputComment);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ削除
+        /// <summary>
+        /// 承認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProcessApproval", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int ApprovalCode = 0, int OrderNo = 0, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ProcessApproval";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.SeqNo:
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.PetitionApprovalDate:
+                        strcmd += string.Format(" PetitionApprovalDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ApprovalLimitDates:
+                        strcmd += string.Format(" ApprovalLimitDates = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)ColumnName.ApprovalStatus:
+                        strcmd += string.Format(" ApprovalStatus = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.InputComment:
+                        strcmd += string.Format(" InputComment = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, ApprovalCode, OrderNo, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProcessApproval wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)ColumnName.ConstructionCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)ColumnName.SeqNo].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)ColumnName.PersonCode].ToString());
+                wrk.PetitionApprovalDate = DateTime.Parse(objwrk[(int)ColumnName.PetitionApprovalDate].ToString());
+                wrk.ApprovalLimitDates = DateTime.Parse(objwrk[(int)ColumnName.ApprovalLimitDates].ToString());
+                wrk.ApprovalStatus = int.Parse(objwrk[(int)ColumnName.ApprovalStatus].ToString());
+                wrk.InputComment = objwrk[(int)ColumnName.InputComment].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ApprovalCode = 0, int OrderNo = 0, int SeqNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}ConstructionCode = {1}", APara, ConstructionCode.ToString());
+                if (ApprovalCode != 0)
+                    strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" And {0}SeqNo = {1}", APara, SeqNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 受付番号の最大値を取得する
+        /// <summary>
+        /// 受付番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxOrderNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(OrderNo), 0) FROM ProcessApproval" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM ProcessApproval" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalCommnet.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalCommnet.cs	(revision 84)
@@ -0,0 +1,452 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 承認コメントデータアクセスクラス
+    /// </summary>
+    public class IOProcessApprovalComment : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認コメントデータフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            ConstructionCode,
+            ApprovalCode,
+            OrderNo,
+            CommentNo,
+            ParentNo,
+            ApproValComment,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProcessApprovalComment()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認コメントデータ検索文字列作成
+        /// <summary>
+        /// 承認コメントデータ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " ConstructionCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",OrderNo";
+            strcmd += ",CommentNo";
+            strcmd += ",ParentNo";
+            strcmd += ",ApproValComment";
+            strcmd += ",TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ProcessApprovalComment";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認コメントデータ検索（複数）
+        /// <summary>
+        /// 承認コメントデータ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ProcessApprovalComment> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProcessApprovalComment work = new ProcessApprovalComment();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認コメントデータ検索（1件）
+        /// <summary>
+        /// 承認コメントデータ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ProcessApprovalComment data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認コメントデータ追加（複数）
+        /// <summary>
+        /// 承認コメントデータ追加（複数）
+        /// </summary>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ProcessApprovalComment> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ProcessApprovalComment work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ追加（1件）
+        /// <summary>
+        /// 承認コメントデータ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(ProcessApprovalComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO ProcessApprovalComment";
+
+                strcmd += " (";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(ColumnName)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                strcmd += string.Format(", {0}", data.CommentNo.ToString());
+                strcmd += string.Format(", {0}", data.ParentNo.ToString());
+                strcmd += string.Format(", '{0}'", data.ApproValComment.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ更新
+        /// <summary>
+        /// 承認コメントデータ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProcessApprovalComment data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProcessApprovalComment";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",CommentNo = {0}", data.CommentNo.ToString());
+                strcmd += string.Format(",ParentNo = {0}", data.ParentNo.ToString());
+                strcmd += string.Format(",ApproValComment = '{0}'", data.ApproValComment.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認コメントデータ削除
+        /// <summary>
+        /// 承認コメントデータ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認コメントデータデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProcessApprovalComment", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int ApprovalCode = 0, int OrderNo = 0, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ProcessApprovalComment";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.CommentNo:
+                        strcmd += string.Format(" CommentNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ParentNo:
+                        strcmd += string.Format(" ParentNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApproValComment:
+                        strcmd += string.Format(" ApproValComment = '{0}'", value.ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, ApprovalCode, OrderNo, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProcessApprovalComment wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)ColumnName.ConstructionCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.CommentNo = int.Parse(objwrk[(int)ColumnName.CommentNo].ToString());
+                wrk.ParentNo = int.Parse(objwrk[(int)ColumnName.ParentNo].ToString());
+                wrk.ApproValComment = objwrk[(int)ColumnName.ApproValComment].ToString();
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ApprovalCode = 0, int OrderNo = 0, int CommentNo = 0, int CommentSeqNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}ConstructionCode = {1}", APara, ConstructionCode.ToString());
+                if (ApprovalCode != 0)
+                    strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (CommentNo != 0)
+                    strWork += string.Format(" And {0}CommentNo = {1}", APara, CommentNo.ToString());
+                if (CommentSeqNo != 0)
+                    strWork += string.Format(" And {0}CommentSeqNo = {1}", APara, CommentSeqNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <returns></returns>
+        public int MaxSerialNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SerialNo), 0) FROM ProcessApprovalComment" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalDetail.cs	(revision 84)
@@ -0,0 +1,440 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 承認データアクセスクラス
+    /// </summary>
+    public class IOProcessApprovalDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 承認データフィールド並び
+        /// </summary>
+        public enum ColumnName
+        {
+            ConstructionCode,
+            ApprovalCode,
+            OrderNo,
+            SerialNo,
+            LinkCode,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOProcessApprovalDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 承認データ検索文字列作成
+        /// <summary>
+        /// 承認データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += " ConstructionCode";
+            strcmd += ",ApprovalCode";
+            strcmd += ",OrderNo";
+            strcmd += ",SerialNo";
+            strcmd += ",LinkCode";
+            strcmd += ",TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ",TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM ProcessApprovalDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 承認データ検索（複数）
+        /// <summary>
+        /// 承認データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<ProcessApprovalDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    ProcessApprovalDetail work = new ProcessApprovalDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ検索（1件）
+        /// <summary>
+        /// 承認データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref ProcessApprovalDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                object[] objwrk = (object[])arData[0];
+                Reader2Struct(objwrk, ref data);
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 承認データ追加（複数）
+        /// <summary>
+        /// 承認データ追加（複数）
+        /// </summary>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<ProcessApprovalDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (ProcessApprovalDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ追加（1件）
+        /// <summary>
+        /// 承認データ追加（1件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(ProcessApprovalDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO ProcessApprovalDetail";
+                    strcmd += " (ConstructionCode";
+                    strcmd += ",ApprovalCode";
+                    strcmd += ",OrderNo";
+                    strcmd += ",SerialNo";
+                    strcmd += ",LinkCode";
+                    strcmd += ",EntryDate";
+                    strcmd += ",UpdateDate)";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format("  {0}", data.ConstructionCode.ToString());
+                    strcmd += string.Format(", {0}", data.ApprovalCode.ToString());
+                    strcmd += string.Format(", {0}", data.OrderNo.ToString());
+                    strcmd += string.Format(", {0}", data.SerialNo.ToString());
+                    strcmd += string.Format(", {0}", data.LinkCode.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ更新
+        /// <summary>
+        /// 承認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, ProcessApprovalDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE ProcessApprovalDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode.ToString());
+                strcmd += string.Format(",ApprovalCode = {0}", data.ApprovalCode.ToString());
+                strcmd += string.Format(",OrderNo = {0}", data.OrderNo.ToString());
+                strcmd += string.Format(",SerialNo = {0}", data.SerialNo.ToString());
+                strcmd += string.Format(",LinkCode = {0}", data.LinkCode.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 承認データ削除
+        /// <summary>
+        /// 承認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">承認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM ProcessApprovalDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int ApprovalCode = 0, int OrderNo = 0, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE ProcessApprovalDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)ColumnName.ConstructionCode:
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.ApprovalCode:
+                        strcmd += string.Format(" ApprovalCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.SerialNo:
+                        strcmd += string.Format(" SerialNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)ColumnName.LinkCode:
+                        strcmd += string.Format(" PersonCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, ApprovalCode, OrderNo, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref ProcessApprovalDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)ColumnName.ConstructionCode].ToString());
+                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
+                wrk.SerialNo = int.Parse(objwrk[(int)ColumnName.SerialNo].ToString());
+                wrk.LinkCode = int.Parse(objwrk[(int)ColumnName.LinkCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int ApprovalCode = 0, int OrderNo = 0, int SerialNo = 0, string APara = "")
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where {0}ConstructionCode = {1}", APara, ConstructionCode.ToString());
+                if (ApprovalCode != 0)
+                    strWork += string.Format(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
+                if (OrderNo != 0)
+                    strWork += string.Format(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
+                if (SerialNo != 0)
+                    strWork += string.Format(" And {0}SerialNo = {1}", APara, SerialNo.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 枝番の最大値を取得する
+        /// <summary>
+        /// 枝番の最大値を取得する
+        /// </summary>
+        /// <returns></returns>
+        public int MaxSerialNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SerialNo), 0) FROM ProcessApprovalDetail" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrder.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrder.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrder.cs	(revision 84)
@@ -0,0 +1,660 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 注文書データＤＢアクセス
+    /// </summary>
+    public class IOPurchaseOrder : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 注文書データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	    // 工事番号
+            SeqNo,                      // 注文書枝番
+            CompanyCode,                // 協力会社コード
+            CreateDate,                 // 作成日付
+            OrderPrice,                 // 発注金額
+            LastRowStringDate,          // 最終行表示日付
+            OrderSheetType,             // 簡易・本式フラグ
+            PaymentTerms,               // 支払い条件
+            CashRatio,                  // 現金割合（％）
+            BillPeriod,                 // 手形期間
+            PrePayments,                // 前金払
+            PrePaymentsDays,            // 前金払日数
+            PrePaymentsPrice,           // 前金払金額
+            PartialPayment,             // 部分払
+            PartialPaymentMounth,       // 部分払締切月
+            PartialPaymentDay1,         // 部分払締切日
+            PartialPaymentDay2,         // 部分払支払日
+            PartialPaymentPrice,        // 部分払金額
+            CompletionPayment,          // 引渡し時の支払
+            CompletionPaymentDays,      // 引渡し時の支払日数
+            CompletionPaymentPrice,     // 引渡し時の支払金額
+            LeadEngineerCode,           // 主任技術者コード
+            LeadEngineerName,           // 主任技術者名
+            SafetyOfficerCode,          // 安全管理者コード
+            SafetyOfficerName,          // 安全管理者名
+            WorkersCount,               // 作業員数
+            PrintoutDate,               // 印刷年月日
+
+            EntryDate,	                // 登録年月日
+            UpdateDate,	                // 更新年月日
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPurchaseOrder()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 注文書データ検索文字列作成
+        /// <summary>
+        /// 注文書データ検索文字列作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += " ConstructionCode";                                  // 工事番号
+            strcmd += ",SeqNo";                                             // 注文書枝番
+            strcmd += ",CompanyCode";                                       // 協力会社コード
+            strcmd += ",TO_CHAR(CreateDate, 'YYYY/MM/DD')";                 // 作成日付
+            strcmd += ",OrderPrice";                                        // 発注金額
+            strcmd += ",TO_CHAR(LastRowStringDate, 'YYYY/MM/DD')";          // 最終行表示文字
+
+            strcmd += ",OrderSheetType";                                    // 簡易・本式フラグ
+            strcmd += ",PaymentTerms";                                      // 支払い条件
+            strcmd += ",CashRatio";                                         // 現金割合（％）
+            strcmd += ",BillPeriod";                                        // 手形期間
+
+            strcmd += ",PrePayments";                                       // 前金払
+            strcmd += ",PrePaymentsDays";                                   // 前金払日数
+            strcmd += ",PrePaymentsPrice";                                  // 前金払金額
+            strcmd += ",PartialPayment";                                    // 部分払
+            strcmd += ",PartialPaymentMounth";                              // 部分払締切月
+            strcmd += ",PartialPaymentDay1";                                // 部分払締切日
+            strcmd += ",PartialPaymentDay2";                                // 部分払支払日
+            strcmd += ",PartialPaymentPrice";                               // 部分払金額
+            strcmd += ",CompletionPayment";                                 // 引渡し時の支払
+            strcmd += ",CompletionPaymentDays";                             // 引渡し時の支払日数
+            strcmd += ",CompletionPaymentPrice";                            // 引渡し時の支払金額
+            strcmd += ",LeadEngineerCode";                                  // 主任技術者コード
+            strcmd += ",LeadEngineerName";                                  // 主任技術者名
+            strcmd += ",SafetyOfficerCode";                                 // 安全管理者コード
+            strcmd += ",SafetyOfficerName";                                 // 安全管理者名
+            strcmd += ",WorkersCount";                                      // 作業員数
+            strcmd += ",TO_CHAR(PrintoutDate, 'YYYY/MM/DD')";               // 印刷年月日
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM PurchaseOrder";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 注文書データ検索（複数）
+        /// <summary>
+        /// 注文書データ検索（複数）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<PurchaseOrder> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PurchaseOrder work = new PurchaseOrder();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ検索（1件）
+        /// <summary>
+        /// 注文書データ検索（1件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref PurchaseOrder data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ追加（1件）
+        /// <summary>
+        /// 注文書データ追加（１件）
+        /// </summary>
+        /// <param name="data">注文書データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PurchaseOrder work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PurchaseOrder";
+                strcmd += " (";
+                strcmd += " ConstructionCode";                                  // 工事番号
+                strcmd += ",SeqNo";                                             // 注文書枝番
+                strcmd += ",CompanyCode";                                       // 協力会社コード
+                strcmd += ",CreateDate";                                        // 作成日付
+                strcmd += ",OrderPrice";                                        // 発注金額
+                strcmd += ",LastRowStringDate";                                 // 最終行表示文字
+
+                strcmd += ",OrderSheetType";                                    // 簡易・本式フラグ
+                strcmd += ",PaymentTerms";                                      // 支払い条件
+                strcmd += ",CashRatio";                                         // 現金割合（％）
+                strcmd += ",BillPeriod";                                        // 手形期間
+
+                strcmd += ",PrePayments";                                       // 前金払
+                strcmd += ",PrePaymentsDays";                                   // 前金払日数
+                strcmd += ",PrePaymentsPrice";                                  // 前金払金額
+                strcmd += ",PartialPayment";                                    // 部分払
+                strcmd += ",PartialPaymentMounth";                              // 部分払締切月
+                strcmd += ",PartialPaymentDay1";                                // 部分払締切日
+                strcmd += ",PartialPaymentDay2";                                // 部分払支払日
+                strcmd += ",PartialPaymentPrice";                               // 部分払金額
+                strcmd += ",CompletionPayment";                                 // 引渡し時の支払
+                strcmd += ",CompletionPaymentDays";                             // 引渡し時の支払日数
+                strcmd += ",CompletionPaymentPrice";                            // 引渡し時の支払金額
+                strcmd += ",LeadEngineerCode";                                  // 主任技術者コード
+                strcmd += ",LeadEngineerName";                                  // 主任技術者名
+                strcmd += ",SafetyOfficerCode";                                 // 安全管理者コード
+                strcmd += ",SafetyOfficerName";                                 // 安全管理者名
+                strcmd += ",WorkersCount";                                      // 作業員数
+                strcmd += ",PrintoutDate";                                      // 印刷年月日
+
+                strcmd += ",EntryDate";
+                strcmd += ",UpdateDate";
+                strcmd += ")";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", work.ConstructionCode);                     // 工事番号
+                strcmd += string.Format(",{0}", work.SeqNo);                                // 注文書枝番
+
+                strcmd += string.Format(",{0}", work.CompanyCode);                          // 協力会社コード
+                strcmd += string.Format(",TO_DATE('{0}','YYYY/MM/DD')",
+                                                work.CreateDate.ToShortDateString());       // 作成日付
+                strcmd += string.Format(",{0}", work.OrderPrice);                           // 発注金額
+                strcmd += string.Format(",TO_DATE('{0}','YYYY/MM/DD')",
+                                                work.LastRowStringDate.ToShortDateString());// 最終行表示日付
+
+                strcmd += string.Format(",{0}", work.OrderSheetType);                       // 簡易・本式フラグ
+                strcmd += string.Format(",{0}", work.PaymentTerms);                         // 支払い条件
+                strcmd += string.Format(",{0}", work.CashRatio);                            // 現金割合（％）
+                strcmd += string.Format(",{0}", work.BillPeriod);                           // 手形期間
+
+                strcmd += string.Format(",{0}", work.PrePayments);                          // 前金払
+                strcmd += string.Format(",{0}", work.PrePaymentsDays);                      // 前金払日数
+                strcmd += string.Format(",{0}", work.PrePaymentsPrice);                     // 前金払金額
+                strcmd += string.Format(",{0}", work.PartialPayment);                       // 部分払
+                strcmd += string.Format(",{0}", work.PartialPaymentMounth);                 // 部分払締切月
+                strcmd += string.Format(",{0}", work.PartialPaymentDay1);                   // 部分払締切日
+                strcmd += string.Format(",{0}", work.PartialPaymentDay2);                   // 部分払支払日
+                strcmd += string.Format(",{0}", work.PartialPaymentPrice);                  // 部分払金額
+                strcmd += string.Format(",{0}", work.CompletionPayment);                    // 引渡し時の支払
+                strcmd += string.Format(",{0}", work.CompletionPaymentDays);                // 引渡し時の支払日数
+                strcmd += string.Format(",{0}", work.CompletionPaymentPrice);               // 引渡し時の支払金額
+                strcmd += string.Format(",{0}", work.LeadEngineerCode);                     // 主任技術者コード
+                strcmd += string.Format(",'{0}'", work.LeadEngineerName);                   // 主任技術者名
+                strcmd += string.Format(",{0}", work.SafetyOfficerCode);                    // 安全管理者コード
+                strcmd += string.Format(",'{0}'", work.SafetyOfficerName);                  // 安全管理者名
+                strcmd += string.Format(",{0}", work.WorkersCount);                         // 作業員数
+                strcmd += string.Format(",TO_DATE('{0}','YYYY/MM/DD')",
+                                                work.PrintoutDate.ToShortDateString());     // 印刷年月日
+
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ追加（複数）
+        /// <summary>
+        /// 注文書データ追加（複数）
+        /// </summary>
+        /// <param name="data">注文書データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PurchaseOrder> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PurchaseOrder work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ更新
+        /// <summary>
+        /// 注文書データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">注文書データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PurchaseOrder data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PurchaseOrder";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	                    // 工事番号
+                strcmd += string.Format(",SeqNo = {0}", data.SeqNo);                                            // 注文書枝番
+                strcmd += string.Format(",CompanyCode = {0}", data.CompanyCode);                                // 協力会社コード
+
+                strcmd += string.Format(",CreateDate = TO_DATE('{0}','YYYY/MM/DD')",
+                                                                    data.CreateDate.ToShortDateString());       // 作成日付
+                strcmd += string.Format(",OrderPrice = {0}", data.OrderPrice);                                  // 発注金額
+                strcmd += string.Format(",LastRowStringDate = TO_DATE('{0}','YYYY/MM/DD')",
+                                                                    data.LastRowStringDate.ToShortDateString());// 最終行表示日付
+
+
+                strcmd += string.Format(",OrderSheetType = {0}", data.OrderSheetType);                          // 簡易・本式フラグ
+                strcmd += string.Format(",PaymentTerms = {0}", data.PaymentTerms);                              // 支払い条件
+                strcmd += string.Format(",CashRatio = {0}", data.CashRatio);                                    // 現金割合（％）
+                strcmd += string.Format(",BillPeriod = {0}", data.BillPeriod);                                  // 手形期間
+
+
+                strcmd += string.Format(",PrePayments = {0}", data.PrePayments);                                // 前金払
+                strcmd += string.Format(",PrePaymentsDays = {0}", data.PrePaymentsDays);                        // 前金払日数
+                strcmd += string.Format(",PrePaymentsPrice = {0}", data.PrePaymentsPrice);                      // 前金払金額
+                strcmd += string.Format(",PartialPayment = {0}", data.PartialPayment);                          // 部分払
+                strcmd += string.Format(",PartialPaymentMounth = {0}", data.PartialPaymentMounth);              // 部分払締切月
+                strcmd += string.Format(",PartialPaymentDay1 = {0}", data.PartialPaymentDay1);                  // 部分払締切日
+                strcmd += string.Format(",PartialPaymentDay2 = {0}", data.PartialPaymentDay2);                  // 部分払支払日
+                strcmd += string.Format(",PartialPaymentPrice = {0}", data.PartialPaymentPrice);                // 部分払金額
+                strcmd += string.Format(",CompletionPayment = {0}", data.CompletionPayment);                    // 引渡し時の支払
+                strcmd += string.Format(",CompletionPaymentDays = {0}", data.CompletionPaymentDays);            // 引渡し時の支払日数
+                strcmd += string.Format(",CompletionPaymentPrice = {0}", data.CompletionPaymentPrice);          // 引渡し時の支払金額
+
+                strcmd += string.Format(",LeadEngineerCode = {0}", data.LeadEngineerCode);                      // 主任技術者コード
+                strcmd += string.Format(",LeadEngineerName = '{0}'", data.LeadEngineerName);                    // 主任技術者名
+                strcmd += string.Format(",SafetyOfficerCode = {0}", data.SafetyOfficerCode);                    // 安全管理者コード
+                strcmd += string.Format(",SafetyOfficerName = '{0}'", data.SafetyOfficerName);                  // 安全管理者名
+                strcmd += string.Format(",WorkersCount = {0}", data.WorkersCount);                              // 作業員数
+                strcmd += string.Format(",PrintoutDate = TO_DATE('{0}','YYYY/MM/DD')",
+                                                                    data.PrintoutDate.ToShortDateString());     // 印刷年月日
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書データ削除
+        /// <summary>
+        /// 注文書データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">注文書データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PurchaseOrder", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true, int SeqNo = 0)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PurchaseOrder";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode:	        // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SeqNo:                    // 注文書枝番
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyCode:              // 協力会社コード
+                        strcmd += string.Format(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:               // 作成日付
+                        strcmd += string.Format(" CreateDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderPrice:               // 発注金額
+                        strcmd += string.Format(" OrderPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.LastRowStringDate:        // 最終行表示日付
+                        strcmd += string.Format(" LastRowStringDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderSheetType:           // 簡易・本式フラグ
+                        strcmd += string.Format(" OrderSheetType = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PaymentTerms:             // 支払い条件
+                        strcmd += string.Format(" PaymentTerms = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CashRatio:                // 現金割合（％）
+                        strcmd += string.Format(" CashRatio = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.BillPeriod:               // 手形期間
+                        strcmd += string.Format(" BillPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrePayments:              // 前金払
+                        strcmd += string.Format(" PrePayments = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrePaymentsDays:          // 前金払日数
+                        strcmd += string.Format(" PrePaymentsDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrePaymentsPrice:         // 前金払金額
+                        strcmd += string.Format(" PrePaymentsPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPayment:           // 部分払
+                        strcmd += string.Format(" PartialPayment = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPaymentMounth:     // 部分払締切月
+                        strcmd += string.Format(" PartialPaymentMounth = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPaymentDay1:       // 部分払締切日
+                        strcmd += string.Format(" PartialPaymentDay1 = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPaymentDay2:       // 部分払支払日
+                        strcmd += string.Format(" PartialPaymentDay2 = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PartialPaymentPrice:      // 部分払金額
+                        strcmd += string.Format(" PartialPaymentPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.CompletionPayment:        // 引渡し時の支払
+                        strcmd += string.Format(" CompletionPayment = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompletionPaymentDays:    // 引渡し時の支払日数
+                        strcmd += string.Format(" CompletionPaymentDays = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompletionPaymentPrice:   // 引渡し時の支払金額
+                        strcmd += string.Format(" CompletionPaymentPrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.LeadEngineerCode:         // 主任技術者コード
+                        strcmd += string.Format(" LeadEngineerCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LeadEngineerName:         // 主任技術者名
+                        strcmd += string.Format(" LeadEngineerName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.SafetyOfficerCode:        // 安全管理者コード
+                        strcmd += string.Format(" SafetyOfficerCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SafetyOfficerName:        // 安全管理者名
+                        strcmd += string.Format(" SafetyOfficerName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.WorkersCount:             // 作業員数
+                        strcmd += string.Format(" WorkersCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PrintoutDate:             // 印刷年月日
+                        strcmd += string.Format(" PrintoutDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PurchaseOrder wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());	            // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());	                                // 注文書枝番
+                wrk.CompanyCode = int.Parse(objwrk[(int)TableColumn.CompanyCode].ToString());                       // 協力会社コード
+
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());	                // 作成日付
+                wrk.OrderPrice = double.Parse(objwrk[(int)TableColumn.OrderPrice].ToString());	                    // 発注金額
+                wrk.LastRowStringDate = DateTime.Parse(objwrk[(int)TableColumn.LastRowStringDate].ToString());      // 最終行表示文字
+                wrk.OrderSheetType = int.Parse(objwrk[(int)TableColumn.OrderSheetType].ToString());	                // 簡易・本式フラグ
+                wrk.PaymentTerms = int.Parse(objwrk[(int)TableColumn.PaymentTerms].ToString());	                    // 支払い条件
+                wrk.CashRatio = double.Parse(objwrk[(int)TableColumn.CashRatio].ToString());	                    // 現金割合（％）
+                wrk.BillPeriod = int.Parse(objwrk[(int)TableColumn.BillPeriod].ToString());	                        // 手形期間
+
+                wrk.PrePayments = int.Parse(objwrk[(int)TableColumn.PrePayments].ToString());                       // 前金払
+                wrk.PrePaymentsDays = int.Parse(objwrk[(int)TableColumn.PrePaymentsDays].ToString());               // 前金払日数
+                wrk.PrePaymentsPrice = int.Parse(objwrk[(int)TableColumn.PrePaymentsPrice].ToString());             // 前金払金額
+                wrk.PartialPayment = int.Parse(objwrk[(int)TableColumn.PartialPayment].ToString());                 // 部分払
+                wrk.PartialPaymentMounth = int.Parse(objwrk[(int)TableColumn.PartialPaymentMounth].ToString());     // 部分払締切月
+                wrk.PartialPaymentDay1 = int.Parse(objwrk[(int)TableColumn.PartialPaymentDay1].ToString());         // 部分払締切日
+                wrk.PartialPaymentDay2 = int.Parse(objwrk[(int)TableColumn.PartialPaymentDay2].ToString());         // 部分払支払日
+                wrk.PartialPaymentPrice = int.Parse(objwrk[(int)TableColumn.PartialPaymentPrice].ToString());       // 部分払金額
+                wrk.CompletionPayment = int.Parse(objwrk[(int)TableColumn.CompletionPayment].ToString());           // 引渡し時の支払
+                wrk.CompletionPaymentDays = int.Parse(objwrk[(int)TableColumn.CompletionPaymentDays].ToString());   // 引渡し時の支払日数
+                wrk.CompletionPaymentPrice = int.Parse(objwrk[(int)TableColumn.CompletionPaymentPrice].ToString()); // 引渡し時の支払金額
+
+                wrk.LeadEngineerCode = int.Parse(objwrk[(int)TableColumn.LeadEngineerCode].ToString());             // 主任技術者コード
+                wrk.LeadEngineerName = objwrk[(int)TableColumn.LeadEngineerName].ToString();                        // 主任技術者名
+                wrk.SafetyOfficerCode = int.Parse(objwrk[(int)TableColumn.SafetyOfficerCode].ToString());           // 安全管理者コード
+                wrk.SafetyOfficerName = objwrk[(int)TableColumn.SafetyOfficerName].ToString();                      // 安全管理者名
+                wrk.WorkersCount = int.Parse(objwrk[(int)TableColumn.WorkersCount].ToString());                     // 作業員数
+                wrk.PrintoutDate = DateTime.Parse(objwrk[(int)TableColumn.PrintoutDate].ToString());                // 印刷年月日
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        public string CreatePrimarykeyString(int ConstructionCode, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 注文書枝番の最大値を取得
+        /// <summary>
+        /// 注文書枝番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM PurchaseOrder" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrderDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrderDetail.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrderDetail.cs	(revision 84)
@@ -0,0 +1,482 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 注文書明細データ明細ＤＢアクセス
+    /// </summary>
+    public class IOPurchaseOrderDetail : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 注文書明細データ明細フィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            ConstructionCode = 0,	// 工事番号
+
+            SeqNo,                  // 注文書枝番
+            GroupCount,             // グループ番号
+            LineCount,              // 行番号
+            ComponentCode,          // 構成キー
+            ItemCode,		        // 工種キー
+            FirstString,            // 工種・品名
+            SecondString,           // 内容内訳
+            UnitCount,		        // 数量
+            UnitName,		        // 単位
+            UnitPrice,		        // 単価
+            OrdersLinePrice,		// 金額
+            SourceCode,             // 予算作成時工事番号
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOPurchaseOrderDetail()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SELECT　SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  ConstructionCode";	        // 工事コード
+            strcmd += ", SeqNo";                    // 注文書枝番
+            strcmd += ", GroupCount";               // グループ番号
+            strcmd += ", LineCount";                // 行番号
+            strcmd += ", ComponentCode";            // 構成キー
+            strcmd += ", ItemCode";		            // 工種キー
+            strcmd += ", FirstString";              // 工種品名
+            strcmd += ", SecondString";             // 内容内訳
+            strcmd += ", UnitCount";		        // 数量
+            strcmd += ", UnitName";		            // 単位
+            strcmd += ", UnitPrice";		        // 単価
+            strcmd += ", OrdersLinePrice";		    // 金額
+            strcmd += ", SourceCode";               // 予算作成時工事番号
+
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM PurchaseOrderDetail";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 注文書明細データ検索（１件）
+        /// <summary>
+        /// 注文書明細データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref PurchaseOrderDetail data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ検索（複数件）
+        /// <summary>
+        /// 注文書明細データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<PurchaseOrderDetail> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    PurchaseOrderDetail work = new PurchaseOrderDetail();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ1件追加
+        /// <summary>
+        /// 注文書明細データ追加
+        /// </summary>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(PurchaseOrderDetail work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO PurchaseOrderDetail";
+                strcmd += " (";
+                strcmd += "  ConstructionCode";	        // 工事コード
+                strcmd += ", SeqNo";                    // 注文書枝番
+                strcmd += ", GroupCount";               // グループ番号
+                strcmd += ", LineCount";                // 行番号
+                strcmd += ", ComponentCode";            // 構成キー
+                strcmd += ", ItemCode";		            // 工種キー
+                strcmd += ", FirstString";              // 工種品名
+                strcmd += ", SecondString";             // 内容内訳
+                strcmd += ", UnitCount";		        // 数量
+                strcmd += ", UnitName";		            // 単位
+                strcmd += ", UnitPrice";		        // 単価
+                strcmd += ", OrdersLinePrice";		    // 金額
+                strcmd += ", SourceCode";               // 予算作成時工事番号
+                strcmd += ", EntryDate";
+                strcmd += ", UpdateDate";
+                strcmd += ")";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.ConstructionCode);        // 工事番号
+
+                strcmd += string.Format(", {0}", work.SeqNo);                   // 注文書枝番
+                strcmd += string.Format(", {0}", work.GroupCount);              // グループ番号
+                strcmd += string.Format(", {0}", work.LineCount);               // 行番号
+                strcmd += string.Format(", {0}", work.ComponentCode);           // 構成キー
+                strcmd += string.Format(", {0}", work.ItemCode);		        // 工種キー
+                strcmd += string.Format(",'{0}'", work.FirstString);            // 工種・品名
+                strcmd += string.Format(",'{0}'", work.SecondString);           // 内容内訳
+                strcmd += string.Format(", {0}", work.UnitCount);		        // 数量
+                strcmd += string.Format(",'{0}'", work.UnitName);		        // 単位
+                strcmd += string.Format(", {0}", work.UnitPrice);		        // 単価
+                strcmd += string.Format(", {0}", work.OrdersLinePrice);         // 金額
+                strcmd += string.Format(", {0}", work.SourceCode);              // 予算作成時工事番号
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ追加
+        /// <summary>
+        /// 注文書明細データ追加
+        /// </summary>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<PurchaseOrderDetail> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (PurchaseOrderDetail work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ更新
+        /// <summary>
+        /// 注文書明細データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, PurchaseOrderDetail data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE PurchaseOrderDetail";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" ConstructionCode = {0}", data.ConstructionCode);	        // 工事番号
+                strcmd += string.Format(", CompanyCode = {0}", data.SeqNo);                         // 注文書枝番
+
+                strcmd += string.Format(", GroupCount = {0}", data.GroupCount);                     // グループ番号
+                strcmd += string.Format(", LineCount = {0}", data.LineCount);                       // 行番号
+                strcmd += string.Format(", ComponentCode = {0}", data.ComponentCode);               // 構成キー
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode);		                    // 工種キー
+                strcmd += string.Format(", FirstString = '{0}'", data.FirstString);                 // 工種・品名
+                strcmd += string.Format(", SecondString = '{0}'", data.SecondString);               // 内容内訳
+                strcmd += string.Format(", UnitCount = {0}", data.UnitCount);		                // 数量
+                strcmd += string.Format(", UnitName = '{0}'", data.UnitName);		                // 単位
+                strcmd += string.Format(", UnitPrice = {0}", data.UnitPrice);		                // 単価
+                strcmd += string.Format(", OrdersLinePrice = {0}", data.OrdersLinePrice);		    // 金額
+                strcmd += string.Format(", SourceCode = {0}", data.SourceCode);                     // 予算作成時工事番号
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 注文書明細データ削除
+        /// <summary>
+        /// 注文書明細データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">注文書明細データ明細データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM PurchaseOrderDetail", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <returns></returns>
+        public bool UpdateFeild(int ConstructionCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE PurchaseOrderDetail";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.ConstructionCode: // 工事番号
+                        strcmd += string.Format(" ConstructionCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SeqNo:            // 注文書枝番
+                        strcmd += string.Format(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.GroupCount:       // グループ番号
+                        strcmd += string.Format(" GroupCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.LineCount:        // 行番号
+                        strcmd += string.Format(" LineCount = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ComponentCode:    // 構成キー
+                        strcmd += string.Format(" ComponentCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.ItemCode:		    // 工種キー
+                        strcmd += string.Format(" ItemCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.FirstString:      // 工種・品名
+                        strcmd += string.Format(" FirstString = '{0}'", value);
+                        break;
+                    case (int)TableColumn.SecondString:     // 内容内訳
+                        strcmd += string.Format(" SecondString = '{0}'", value);
+                        break;
+                    case (int)TableColumn.UnitCount:		// 数量
+                        strcmd += string.Format(" UnitCount = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.UnitName:		    // 単位
+                        strcmd += string.Format(" UnitName = '{0}'", value);
+                        break;
+                    case (int)TableColumn.UnitPrice:		// 単価
+                        strcmd += string.Format(" UnitPrice = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrdersLinePrice:	// 金額
+                        strcmd += string.Format(" OrdersLinePrice = {0}", ((double)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCode:       // 予算作成時工事番号
+                        strcmd += string.Format(" SourceCode = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(ConstructionCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 構造体へセット
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref PurchaseOrderDetail wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.ConstructionCode = int.Parse(objwrk[(int)TableColumn.ConstructionCode].ToString());         // 工事番号
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                               // 注文書枝番
+
+                wrk.GroupCount = int.Parse(objwrk[(int)TableColumn.GroupCount].ToString());	                    // グループ番号
+                wrk.LineCount = int.Parse(objwrk[(int)TableColumn.LineCount].ToString());	                    // 行番号
+
+                wrk.ComponentCode = int.Parse(objwrk[(int)TableColumn.ComponentCode].ToString());	            // 構成キー
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());		                    // 工種キー
+                wrk.FirstString = objwrk[(int)TableColumn.FirstString].ToString();	                            // 工種・品名
+                wrk.SecondString = objwrk[(int)TableColumn.SecondString].ToString();	                        // 内容内訳
+                wrk.UnitCount = double.Parse(objwrk[(int)TableColumn.UnitCount].ToString());		            // 数量
+                wrk.UnitName = objwrk[(int)TableColumn.UnitName].ToString();		                            // 単位
+                wrk.UnitPrice = double.Parse(objwrk[(int)TableColumn.UnitPrice].ToString());		            // 単価
+                wrk.OrdersLinePrice = double.Parse(objwrk[(int)TableColumn.OrdersLinePrice].ToString());		// 金額
+                wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());                     // 予算作成時工事番号
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode"></param>
+        /// <param name="OutsourcingFlg"></param>
+        /// <param name="LineCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int ConstructionCode, int SeqNo = 0, int GroupCount = 0, int LineCount = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" Where ConstructionCode = {0}", ConstructionCode);
+                if (SeqNo != 0)
+                    strWork += string.Format(" And SEQNO = {0}", SeqNo);
+                if (GroupCount != 0)
+                    strWork += string.Format(" And GROUPCOUNT = {0}", GroupCount);
+                if (LineCount != 0)
+                    strWork += string.Format(" And LineCount = {0}", LineCount);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSalesGraphData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSalesGraphData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSalesGraphData.cs	(revision 84)
@@ -0,0 +1,300 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 行動予定アクセスクラス
+    /// </summary>
+    public class IOSalesGraphData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            GraphDataCode = 0,
+            ConstructionPeriod,
+            SalesDataDays,
+            DisplayOrder,
+            DataName,
+            SalesAmount,
+            AdministrativeExpense,
+            GrossProfit,
+            NetIncome,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSalesGraphData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region パブリックメソッド
+        /// <summary>
+        /// 行動予定検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<SalesGraphData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " GraphDataCode,";
+                strcmd += " ConstructionPeriod,";
+                strcmd += " TO_CHAR(SalesDataDays, 'YYYY/MM/DD'),";
+                strcmd += " DisplayOrder,";
+                strcmd += " DataName,";
+                strcmd += " SalesAmount,";
+                strcmd += " AdministrativeExpense,";
+                strcmd += " GrossProfit,";
+                strcmd += " NetIncome,";
+                strcmd += " TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss'),";
+                strcmd += " TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM SalesGraphData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SalesGraphData work = new SalesGraphData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+
+        /// <summary>
+        /// 行動予定追加
+        /// </summary>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertOneAction(SalesGraphData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "INSERT INTO SalesGraphData";
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format(" {0}", data.GraphDataCode.ToString());
+                strcmd += string.Format(",{0}", data.ConstructionPeriod.ToString());
+                strcmd += string.Format(",TO_DATE('{0}','YYYY/MM/DD')", data.SalesDataDays.ToShortDateString());
+                strcmd += string.Format(",{0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",'{0}'", data.DataName);
+                strcmd += string.Format(",{0}", data.SalesAmount.ToString());
+                strcmd += string.Format(",{0}", data.AdministrativeExpense.ToString());
+                strcmd += string.Format(",{0}", data.GrossProfit.ToString());
+                strcmd += string.Format(",{0}", data.NetIncome.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        public bool InsertAction(List<SalesGraphData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (SalesGraphData work in data)
+                {
+                    if (!InsertOneAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 行動予定更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SalesGraphData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SalesGraphData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" GraphDataCode = {0}", data.GraphDataCode.ToString());
+                strcmd += string.Format(",ConstructionPeriod = {0}", data.ConstructionPeriod.ToString());
+                strcmd += string.Format(",SalesDataDays = TO_DATE('{0}','YYYY/MM/DD')", data.SalesDataDays.ToShortDateString());
+                strcmd += string.Format(",DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(",DataName = '{0}'", data.DataName);
+                strcmd += string.Format(",SalesAmount = {0}", data.SalesAmount.ToString());
+                strcmd += string.Format(",AdministrativeExpense = {0}", data.AdministrativeExpense.ToString());
+                strcmd += string.Format(",GrossProfit = {0}", data.GrossProfit.ToString());
+                strcmd += string.Format(",NetIncome = {0}", data.NetIncome.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+
+        /// <summary>
+        /// 行動予定削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SalesGraphData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SalesGraphData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.GraphDataCode = int.Parse(objwrk[(int)NameColumn.GraphDataCode].ToString());
+                wrk.ConstructionPeriod = int.Parse(objwrk[(int)NameColumn.ConstructionPeriod].ToString());
+                wrk.SalesDataDays = DateTime.Parse(objwrk[(int)NameColumn.SalesDataDays].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)NameColumn.DisplayOrder].ToString());
+                wrk.DataName = objwrk[(int)NameColumn.DataName].ToString();
+                wrk.SalesAmount = int.Parse(objwrk[(int)NameColumn.SalesAmount].ToString());
+                wrk.AdministrativeExpense = int.Parse(objwrk[(int)NameColumn.AdministrativeExpense].ToString());
+                wrk.GrossProfit = int.Parse(objwrk[(int)NameColumn.GrossProfit].ToString());
+                wrk.NetIncome = int.Parse(objwrk[(int)NameColumn.NetIncome].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region パブリックメソッド（特殊処理）
+
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int GraphDataCode, int ConstructionPeriod, DateTime SalesDataDays)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where GraphDataCode = {0}", GraphDataCode.ToString());
+                if (ConstructionPeriod != 0)
+                    strWork += string.Format(" And ConstructionPeriod = {0}", ConstructionPeriod);
+                if (SalesDataDays != DateTime.MinValue)
+                    strWork += string.Format(" And SalesDataDays = TO_Date(SalesDataDays, 'YYYY/MM/DD')", SalesDataDays.ToShortDateString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobItemRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobItemRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobItemRegist.cs	(revision 84)
@@ -0,0 +1,360 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 協力業者施工工種登録申請データアクセスクラス
+    /// </summary>
+    public class IOSubConstrJobItemRegist : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工協力会社施工工種マスタフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,
+            CreateDate,
+            SeqNo,
+            DisplayOrder,
+            ItemCode,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSubConstrJobItemRegist()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力業者施工工種登録申請データ検索SQL作成
+        /// <summary>
+        /// 協力業者施工工種登録申請データ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力業者施工工種登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += ", CreateDate";
+            strcmd += ", SeqNo";
+            strcmd += ", DisplayOrder";
+            strcmd += ", ItemCode";
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SubConstrJobItemRegist";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ検索（複数件）
+        /// <summary>
+        /// 協力業者施工工種登録申請データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubConstrJobItemRegist> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubConstrJobItemRegist work = new SubConstrJobItemRegist();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ検索（１件）
+        /// <summary>
+        /// 協力業者施工工種登録申請データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubConstrJobItemRegist data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ追加（１件）
+        /// <summary>
+        /// 協力業者施工工種登録申請データ追加（１件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(SubConstrJobItemRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO SubConstrJobItemRegist";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode);
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')" + data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.SeqNo);
+                strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", {0}", data.ItemCode.ToString());
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ追加（複数件）
+        /// <summary>
+        /// 協力業者施工工種登録申請データ追加（複数件）
+        /// </summary>
+        /// <param name="data">協力業者施工工種登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubConstrJobItemRegist> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (SubConstrJobItemRegist work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ更新
+        /// <summary>
+        /// 協力業者施工工種登録申請データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力業者施工工種登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubConstrJobItemRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SubConstrJobItemRegist";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(", CreateDate = TO_DATE('{0}','YYYY/MM/DD')", data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", ItemCode = {0}", data.ItemCode.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者施工工種登録申請データ削除
+        /// <summary>
+        /// 協力業者施工工種登録申請データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力業者施工工種登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubConstrJobItemRegist", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubConstrJobItemRegist wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+                wrk.ItemCode = int.Parse(objwrk[(int)TableColumn.ItemCode].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime CaretaDate, int SeqNo = 0, int DisplayOrder = 0, string Alias = "")
+        {
+            string strWork = "";
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+                strWork = string.Format(" WHERE {0}PersonCode = {1}", strAlias, PersonCode);
+                if (CaretaDate != DateTime.MinValue)
+                    strWork += string.Format(" AND {0}CreateDate = TO_DATE('{1}','YYYY/MM/DD')", strAlias, CaretaDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND {0}SeqNo = {1}", strAlias, SeqNo);
+                if (DisplayOrder != 0)
+                    strWork += string.Format(" AND {0}DisplayOrder = {1}", strAlias, DisplayOrder);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobLinkRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobLinkRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobLinkRegist.cs	(revision 84)
@@ -0,0 +1,360 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 協力業者職種リンク登録申請データアクセスクラス
+    /// </summary>
+    public class IOSubConstrJobLinkRegist : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 工協力業者職種リンク登録申請データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,
+            CreateDate,
+            SeqNo,
+            DisplayOrder,
+            JobCategoryCode,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSubConstrJobLinkRegist()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ検索SQL作成
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ検索作成
+        /// </summary>
+        /// <returns></returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  PersonCode";
+            strcmd += ", CreateDate";
+            strcmd += ", SeqNo";
+            strcmd += ", DisplayOrder";
+            strcmd += ", JobCategoryCode";
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SubConstrJobLinkRegist";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ検索（複数件）
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ検索（複数件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubConstrJobLinkRegist> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubConstrJobLinkRegist work = new SubConstrJobLinkRegist();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ検索（１件）
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ検索（１件）
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubConstrJobLinkRegist data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ追加（１件）
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ追加（１件）
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(SubConstrJobLinkRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                    strcmd = "INSERT INTO SubConstrJobLinkRegist";
+
+                    strcmd += "(";
+                    bool bFirst = true;
+                    foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                    {
+                        if (!bFirst) strcmd += " ,";
+                        strcmd += gender.ToString();
+                        bFirst = false;
+                    }
+                    strcmd += ") VALUES (";
+
+                    strcmd += string.Format("  {0}", data.PersonCode);
+                    strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')" + data.CreateDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", data.SeqNo);
+                    strcmd += string.Format(", {0}", data.DisplayOrder.ToString());
+                    strcmd += string.Format(", {0}", data.JobCategoryCode.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ追加（複数件）
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ追加（複数件）
+        /// </summary>
+        /// <param name="data">協力業者職種リンク登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubConstrJobLinkRegist> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (SubConstrJobLinkRegist work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ更新
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力業者職種リンク登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubConstrJobLinkRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubConstrJobLinkRegist";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(", CreateDate = TO_DATE('{0}','YYYY/MM/DD')", data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder.ToString());
+                strcmd += string.Format(", JobCategoryCode = {0}", data.JobCategoryCode.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者職種リンク登録申請データ削除
+        /// <summary>
+        /// 協力業者職種リンク登録申請データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力業者職種リンク登録申請データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubConstrJobLinkRegist", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubConstrJobLinkRegist wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());
+                wrk.JobCategoryCode = int.Parse(objwrk[(int)TableColumn.JobCategoryCode].ToString());
+                wrk.DisplayOrder = int.Parse(objwrk[(int)TableColumn.DisplayOrder].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ComponentCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime CaretaDate, int SeqNo = 0, int DisplayOrder = 0, string Alias = "")
+        {
+            string strWork = "";
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+                strWork = string.Format(" WHERE {0}PersonCode = {1}", strAlias, PersonCode);
+                if (CaretaDate != DateTime.MinValue)
+                    strWork += string.Format(" AND {0}CreateDate = TO_DATE('{1}','YYYY/MM/DD')", strAlias, CaretaDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND {0}SeqNo = {1}", strAlias, SeqNo);
+                if (DisplayOrder != 0)
+                    strWork += string.Format(" AND {0}DisplayOrder = {1}", strAlias, DisplayOrder);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrRegist.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrRegist.cs	(revision 84)
@@ -0,0 +1,620 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 協力業者登録申請データＤＢアクセス
+    /// </summary>
+    public class IOSubConstrRegist : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 協力業者登録申請データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PersonCode = 0,
+            CreateDate,
+            SeqNo,
+            DataMode,
+            SourceCode,
+            PetitionPeriod,
+            CorporateStatusName,
+            CorporateStatusPoint,
+            CompanyName,
+            CEOPositionName,
+            CEOName,
+            ContactPersonName,
+            ZipCode,
+            Address1,
+            Address2,
+            Address3,
+            CellPhoneNumber,
+            MailAddress,
+            PhoneNumber,
+            FaxNumber,
+            JapaneseSyllabary,
+            StartDate,
+            Note,
+            labourKind,
+            OrderDate,
+            OrderNo,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSubConstrRegist()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 協力業者登録申請データ検索文字列作成
+        /// <summary>
+        /// 協力業者登録申請データ検索文字列作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";
+            strcmd += ", CreateDate";
+            strcmd += ", SeqNo";
+            strcmd += ", DataMode";
+            strcmd += ", SourceCode";
+            strcmd += ", PetitionPeriod";
+
+            strcmd += ", CorporateStatusName";
+            strcmd += ", CorporateStatusPoint";
+            strcmd += ", CompanyName";
+            strcmd += ", CEOPositionName";
+            strcmd += ", CEOName";
+            strcmd += ", ContactPersonName";
+            strcmd += ", ZipCode";
+            strcmd += ", Address1";
+            strcmd += ", Address2";
+            strcmd += ", Address3";
+            strcmd += ", CellPhoneNumber";
+            strcmd += ", MailAddress";
+            strcmd += ", PhoneNumber";
+            strcmd += ", FaxNumber";
+            strcmd += ", JapaneseSyllabary";
+            strcmd += ", TO_CHAR(StartDate, 'YYYY/MM/DD')";
+            strcmd += ", Note";
+            strcmd += ", labourKind";
+            strcmd += " ,TO_CHAR(OrderDate, 'YYYY/MM/DD')";
+            strcmd += " ,OrderNo";
+
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SubConstrRegist";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 協力業者登録申請データ複数検索
+        /// <summary>
+        /// 協力業者登録申請データ複数検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SubConstrRegist> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SubConstrRegist work = new SubConstrRegist();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ1件検索
+        /// <summary>
+        /// 協力業者登録申請データ1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SubConstrRegist data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ1件追加
+        /// <summary>
+        /// 協力業者登録申請データ1件追加
+        /// </summary>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(SubConstrRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO SubConstrRegist";
+
+                strcmd += "(";
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bFirst) strcmd += " ,";
+                    strcmd += gender.ToString();
+                    bFirst = false;
+                }
+                strcmd += ") VALUES (";
+
+                strcmd += string.Format("  {0}", data.PersonCode);
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')" ,data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.SeqNo);
+                strcmd += string.Format(", {0}", data.DataMode);
+                strcmd += string.Format(", {0}", data.SourceCode);
+                strcmd += string.Format(", {0}", data.PetitionPeriod);
+
+                strcmd += string.Format(", '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", '{0}'", data.CompanyName);
+                strcmd += string.Format(", '{0}'", data.CEOPositionName);
+                strcmd += string.Format(", '{0}'", data.CEOName);
+                strcmd += string.Format(", '{0}'", data.ContactPersonName);
+                strcmd += string.Format(", '{0}'", data.ZipCode);
+                strcmd += string.Format(", '{0}'", data.Address1);
+                strcmd += string.Format(", '{0}'", data.Address2);
+                strcmd += string.Format(", '{0}'", data.Address3);
+                strcmd += string.Format(", '{0}'", data.CellPhoneNumber);
+                strcmd += string.Format(", '{0}'", data.MailAddress);
+                strcmd += string.Format(", '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", '{0}'", data.FaxNumber);
+                strcmd += string.Format(", '{0}'", data.JapaneseSyllabary);
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", '{0}'", data.Note);
+                strcmd += string.Format(",  {0} ", data.labourKind.ToString());
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", {0}", data.OrderNo);
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ複数追加
+        /// <summary>
+        /// 協力業者登録申請データ複数追加
+        /// </summary>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<SubConstrRegist> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (SubConstrRegist work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ更新
+        /// <summary>
+        /// 協力業者登録申請データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SubConstrRegist data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SubConstrRegist";
+
+                strcmd += " SET";
+
+                strcmd += string.Format("  PersonCode = {0}", data.PersonCode);
+                strcmd += string.Format(", CreateDate = TO_DATE('{0}','YYYY/MM/DD')", data.CreateDate.ToShortDateString());
+                strcmd += string.Format(", SeqNo = {0}", data.SeqNo);
+                strcmd += string.Format(", DataMode = {0}", data.DataMode);
+                strcmd += string.Format(", SourceCode = {0}", data.SourceCode);
+                strcmd += string.Format(", PetitionPeriod = {0}", data.PetitionPeriod);
+
+                strcmd += string.Format(", CorporateStatusName = '{0}'", data.CorporateStatusName);
+                strcmd += string.Format(", CorporateStatusPoint = {0}", data.CorporateStatusPoint);
+                strcmd += string.Format(", CompanyName = '{0}'", data.CompanyName);
+                strcmd += string.Format(", CEOPositionName = '{0}'", data.CEOPositionName);
+                strcmd += string.Format(", CEOName = '{0}'", data.CEOName);
+                strcmd += string.Format(", ContactPersonName = '{0}'", data.ContactPersonName);
+                strcmd += string.Format(", ZipCode = '{0}'", data.ZipCode);
+                strcmd += string.Format(", Address1 = '{0}'", data.Address1);
+                strcmd += string.Format(", Address2 = '{0}'", data.Address2);
+                strcmd += string.Format(", Address3 = '{0}'", data.Address3);
+                strcmd += string.Format(", CellPhoneNumber = '{0}'", data.CellPhoneNumber);
+                strcmd += string.Format(", MailAddress = '{0}'", data.MailAddress);
+                strcmd += string.Format(", PhoneNumber = '{0}'", data.PhoneNumber);
+                strcmd += string.Format(", FaxNumber = '{0}'", data.FaxNumber);
+                strcmd += string.Format(", JapaneseSyllabary = '{0}'", data.JapaneseSyllabary);
+                strcmd += string.Format(", StartDate = TO_DATE('{0}','YYYY/MM/DD')", data.StartDate.ToShortDateString());
+                strcmd += string.Format(", Note = '{0}'", data.Note);
+                strcmd += string.Format(", labourKind = {0}", data.labourKind);
+                strcmd += string.Format(", OrderDate = TO_DATE('{0}','YYYY/MM/DD')", data.OrderDate.ToShortDateString());
+                strcmd += string.Format(", OrderNo = {0}", data.OrderNo);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 協力業者登録申請データ削除
+        /// <summary>
+        /// 協力業者登録申請データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">協力業者登録申請データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SubConstrRegist", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime CreateDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SubConstrRegist";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format("  PersonCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CreateDate:
+                        strcmd += string.Format(" CreateDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.SeqNo:
+                        strcmd += string.Format(", SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.DataMode:
+                        strcmd += string.Format(", DataMode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.SourceCode:
+                        strcmd += string.Format(", SourceCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.PetitionPeriod:
+                        strcmd += string.Format(", PetitionPeriod = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusName:
+                        strcmd += string.Format(" CorporateStatusName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CorporateStatusPoint:
+                        strcmd += string.Format(" CorporateStatusPoint = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.CompanyName:
+                        strcmd += string.Format(" CompanyName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CEOPositionName:
+                        strcmd += string.Format(" CEOPositionName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CEOName:
+                        strcmd += string.Format(" CEOName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ContactPersonName:
+                        strcmd += string.Format(" ContactPersonName = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.ZipCode:
+                        strcmd += string.Format(" ZipCode = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address1:
+                        strcmd += string.Format(" Address1 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address2:
+                        strcmd += string.Format(" Address2 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.Address3:
+                        strcmd += string.Format(" Address3 = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.CellPhoneNumber:
+                        strcmd += string.Format(" CellPhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.MailAddress:
+                        strcmd += string.Format(" MailAddress = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.PhoneNumber:
+                        strcmd += string.Format(" PhoneNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.FaxNumber:
+                        strcmd += string.Format(" FaxNumber = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.JapaneseSyllabary:
+                        strcmd += string.Format(" JapaneseSyllabary = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.StartDate:
+                        strcmd += string.Format(" StartDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.Note:
+                        strcmd += string.Format(" Note = '{0}'", value.ToString());
+                        break;
+                    case (int)TableColumn.labourKind:
+                        strcmd += string.Format(" labourKind = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.OrderDate:
+                        strcmd += string.Format(" OrderDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderNo:
+                        strcmd += string.Format(" OrderNo = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, CreateDate, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SubConstrRegist wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());
+                wrk.CreateDate = DateTime.Parse(objwrk[(int)TableColumn.CreateDate].ToString());
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());
+                wrk.DataMode = int.Parse(objwrk[(int)TableColumn.DataMode].ToString());
+                wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());
+                wrk.PetitionPeriod = int.Parse(objwrk[(int)TableColumn.PetitionPeriod].ToString());
+                wrk.CorporateStatusName = objwrk[(int)TableColumn.CorporateStatusName].ToString();
+                wrk.CorporateStatusPoint = int.Parse(objwrk[(int)TableColumn.CorporateStatusPoint].ToString());
+                wrk.CompanyName = objwrk[(int)TableColumn.CompanyName].ToString();
+                wrk.CEOPositionName = objwrk[(int)TableColumn.CEOPositionName].ToString();
+                wrk.CEOName = objwrk[(int)TableColumn.CEOName].ToString();
+                wrk.ContactPersonName = objwrk[(int)TableColumn.ContactPersonName].ToString();
+                wrk.ZipCode = objwrk[(int)TableColumn.ZipCode].ToString();
+                wrk.Address1 = objwrk[(int)TableColumn.Address1].ToString();
+                wrk.Address2 = objwrk[(int)TableColumn.Address2].ToString();
+                wrk.Address3 = objwrk[(int)TableColumn.Address3].ToString();
+                wrk.CellPhoneNumber = objwrk[(int)TableColumn.CellPhoneNumber].ToString();
+                wrk.MailAddress = objwrk[(int)TableColumn.MailAddress].ToString();
+                wrk.PhoneNumber = objwrk[(int)TableColumn.PhoneNumber].ToString();
+                wrk.FaxNumber = objwrk[(int)TableColumn.FaxNumber].ToString();
+                wrk.JapaneseSyllabary = objwrk[(int)TableColumn.JapaneseSyllabary].ToString();
+                wrk.StartDate = DateTime.Parse(objwrk[(int)TableColumn.StartDate].ToString());
+                wrk.Note = objwrk[(int)TableColumn.Note].ToString();
+                wrk.labourKind = int.Parse(objwrk[(int)TableColumn.labourKind].ToString());
+                wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());
+                wrk.OrderNo = int.Parse(objwrk[(int)TableColumn.OrderNo].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 申請連番の最大値を取得する
+        /// <summary>
+        /// 申請連番の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM SubConstrRegist" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+
+            return iRet;
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="ItemCode">大工種キー</param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime CaretaDate, int SeqNo = 0, string Alias = "")
+        {
+            string strWork = "";
+            try
+            {
+                string strAlias = string.Empty;
+                if (Alias.Length != 0) strAlias = string.Format("{0}.", Alias);
+                strWork = string.Format(" WHERE {0}PersonCode = {1}", strAlias, PersonCode);
+                if (CaretaDate != DateTime.MinValue)
+                    strWork += string.Format(" AND {0}CreateDate = TO_DATE('{1}','YYYY/MM/DD')", strAlias, CaretaDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND {0}SeqNo = {1}", strAlias, SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSystemExecute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSystemExecute.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSystemExecute.cs	(revision 84)
@@ -0,0 +1,412 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// システム起動確認データアクセスクラス
+    /// </summary>
+    public class IOSystemExecute : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// システム起動確認データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            PrimaryCode = 0,
+            TargetDate,
+            SystemVersion,
+            UpDateCopyVersion,
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOSystemExecute()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region システム起動確認データ検索SQL作成
+        /// <summary>
+        /// システム起動確認データ検索SQL作成
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">システム起動確認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+            strcmd += "  PrimaryCode";
+            strcmd += " ,TO_CHAR(TargetDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,SystemVersion";
+            strcmd += " ,UpDateCopyVersion";
+            strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+            strcmd += " FROM SystemExecute";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region システム起動確認データ複数件検索
+        /// <summary>
+        /// システム起動確認データ複数件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref List<SystemExecute> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL();
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SystemExecute work = new SystemExecute();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ1件検索
+        /// <summary>
+        /// システム起動確認データ1件検索
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool SelectAction(string AddSQLString, ref SystemExecute data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = CreateSelectSQL();
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    SystemExecute work = new SystemExecute();
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ追加SQL作成
+        /// <summary>
+        /// システム起動確認データ追加SQL作成
+        /// </summary>
+        /// <param name="data">システム起動確認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        private string CreateInsertSQL(SystemExecute work)
+        {
+            string strcmd = "INSERT INTO SystemExecute";
+
+            strcmd += "(PrimaryCode";
+            strcmd += " ,TargetDate";
+            strcmd += " ,SystemVersion";
+            strcmd += " ,UpDateCopyVersion";
+            strcmd += " ,EntryDate";
+            strcmd += " ,UpdateDate)";
+
+            strcmd += " VALUES (";
+            strcmd += string.Format("{0}", work.PrimaryCode);
+            strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')", work.TargetDate.ToShortDateString());
+            strcmd += string.Format("{0}", work.SystemVersion);
+            strcmd += string.Format("{0}", work.UpDateCopyVersion);
+
+            strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+            strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+            strcmd = strcmd + ")";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region システム起動確認データ複数件追加
+        /// <summary>
+        /// システム起動確認データ複数件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(List<SystemExecute> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (SystemExecute work in data)
+                {
+                    strcmd = CreateInsertSQL(work);
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ１件追加
+        /// <summary>
+        /// システム起動確認データ１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(SystemExecute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = CreateInsertSQL(data);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ更新
+        /// <summary>
+        /// システム起動確認データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">システム起動確認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, SystemExecute data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE SystemExecute";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PrimaryCode = {0}", data.PrimaryCode);
+                strcmd += string.Format(", TargetDate = TO_DATE('{0}','YYYY/MM/DD')", data.TargetDate.ToShortDateString());
+                strcmd += string.Format(", SystemVersion = {0}", data.SystemVersion);
+                strcmd += string.Format(", UpDateCopyVersion = {0}", data.UpDateCopyVersion);
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region システム起動確認データ削除
+        /// <summary>
+        /// システム起動確認データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">システム起動確認データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM SystemExecute", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="PrimaryCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PrimaryCode, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE SystemExecute";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PrimaryCode:
+                        strcmd += string.Format(" PrimaryCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.TargetDate:
+                        strcmd += string.Format(" TargetDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.SystemVersion:
+                        strcmd += string.Format(" SystemVersion = {0}", ((int)value).ToString());
+                        break;
+                    case (int)TableColumn.UpDateCopyVersion:
+                        strcmd += string.Format(" UpDateCopyVersion = {0}", ((int)value).ToString());
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PrimaryCode);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref SystemExecute wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PrimaryCode = int.Parse(objwrk[(int)TableColumn.PrimaryCode].ToString());
+                wrk.TargetDate = DateTime.Parse(objwrk[(int)TableColumn.TargetDate].ToString());
+                wrk.SystemVersion = int.Parse(objwrk[(int)TableColumn.SystemVersion].ToString());
+                wrk.UpDateCopyVersion = int.Parse(objwrk[(int)TableColumn.UpDateCopyVersion].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="UnitKey"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(int PrimaryCode)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where PrimaryCode = {0}", PrimaryCode.ToString());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOTranceportDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOTranceportDailyData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOTranceportDailyData.cs	(revision 84)
@@ -0,0 +1,511 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 出勤日報データＤＢアクセス
+    /// </summary>
+    public class IOTranceportDailyData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// データフィールド並び
+        /// </summary>
+        public enum TableColumn
+        {
+            /// <summary>
+            /// 作成者コード
+            /// </summary>
+            PersonCode,
+            /// <summary>
+            /// 日報作成日
+            /// </summary>
+            AttendanceDate,
+            /// <summary>
+            /// 当日出発キロ数
+            /// </summary>
+            StartDistance,
+            /// <summary>
+            /// 当日終了キロ数
+            /// </summary>
+            ComplateDistance,
+            /// <summary>
+            /// 当日合計キロ数
+            /// </summary>
+            TotalDistance,
+            /// <summary>
+            /// 事務所出勤フラグ
+            /// </summary>
+            OfficeGoFlg,
+            /// <summary>
+            /// 事務所帰宅フラグ
+            /// </summary>
+            OfficeOutFlg,
+            /// <summary>
+            /// 有料通勤出勤フラグ
+            /// </summary>
+            TrancePayGoFlg,
+            /// <summary>
+            /// 有料通勤帰宅フラグ
+            /// </summary>
+            TrancePayOutFlg,
+            /// <summary>
+            /// 資材置場フラグ
+            /// </summary>
+            WareHouseFlg,
+            /// <summary>
+            /// 登録年月日
+            /// </summary>
+            EntryDate,
+            /// <summary>
+            /// 更新年月日
+            /// </summary>
+            UpdateDate,
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOTranceportDailyData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQL作成
+        /// <summary>
+        /// SQL作成
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+            string strcmd = "SELECT";
+
+            strcmd += "  PersonCode";                                       // 担当者コード
+            strcmd += ", TO_CHAR(AttendanceDate, 'YYYY/MM/DD')";            // 日報作成日
+            strcmd += ", StartDistance";                                    // 当日出発キロ数
+            strcmd += ", ComplateDistance";                                 // 当日終了キロ数
+            strcmd += ", TotalDistance";                                    // 当日合計キロ数
+            strcmd += ", OfficeGoFlg";                                      // 事務所出勤フラグ
+            strcmd += ", OfficeOutFlg";                                     // 事務所帰宅フラグ
+            strcmd += ", TrancePayGoFlg";                                   // 有料通勤出勤フラグ
+            strcmd += ", TrancePayOutFlg";                                  // 有料通勤帰宅フラグ
+            strcmd += ", WareHouseFlg";                                     // 資材置場フラグ
+            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
+            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
+            strcmd += " FROM TranceportDailyData";
+
+            return strcmd;
+        }
+        #endregion
+
+        #region 複数読込み処理
+        public bool SelectAction(string AddSQLString, ref List<TranceportDailyData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    TranceportDailyData work = new TranceportDailyData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件読込み処理
+        public bool SelectAction(string AddSQLString, ref TranceportDailyData data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd = CreateSelectSQL() + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1件追加処理
+        /// <summary>
+        /// 担当者毎経費データ追加
+        /// </summary>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(TranceportDailyData work, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "INSERT INTO TranceportDailyData";
+                strcmd += "  (PersonCode";          // 担当者コード
+                strcmd += ", AttendanceDate";       // 日報作成日
+                strcmd += ", StartDistance";        // 当日出発キロ数
+                strcmd += ", ComplateDistance";     // 当日終了キロ数
+                strcmd += ", TotalDistance";        // 当日合計キロ数
+                strcmd += ", OfficeGoFlg";          // 事務所出勤フラグ
+                strcmd += ", OfficeOutFlg";         // 事務所帰宅フラグ
+                strcmd += ", TrancePayGoFlg";       // 有料通勤出勤フラグ
+                strcmd += ", TrancePayOutFlg";      // 有料通勤帰宅フラグ
+                strcmd += ", WareHouseFlg";         // 資材置場フラグ
+                strcmd += ", EntryDate";            // 登録年月日
+                strcmd += ", UpdateDate)";          // 更新年月日
+
+                strcmd += " VALUES (";
+
+                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
+                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
+                                            , work.AttendanceDate.ToShortDateString()); // 日報作成日
+
+                strcmd += string.Format(", {0}", work.StartDistance);                   // 当日出発キロ数
+                strcmd += string.Format(", {0}", work.ComplateDistance);                // 当日終了キロ数
+                strcmd += string.Format(", {0}", work.TotalDistance);                   // 当日合計キロ数
+                strcmd += string.Format(", {0}", work.OfficeGoFlg);                     // 事務所出勤フラグ
+                strcmd += string.Format(", {0}", work.OfficeOutFlg);                    // 事務所帰宅フラグ
+                strcmd += string.Format(", {0}", work.TrancePayGoFlg);                  // 有料通勤出勤フラグ
+                strcmd += string.Format(", {0}", work.TrancePayOutFlg);                 // 有料通勤帰宅フラグ
+                strcmd += string.Format(", {0}", work.WareHouseFlg);                    // 資材置場フラグ
+
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd = strcmd + ")";
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 複数追加処理
+        public bool InsertAction(List<TranceportDailyData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                foreach (TranceportDailyData work in data)
+                {
+                    if (!InsertAction(work, bConnect)) return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 更新処理
+        /// <summary>
+        /// 担当者毎経費データ更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, TranceportDailyData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE TranceportDailyData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
+                strcmd += string.Format(",AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')"
+                                        , data.AttendanceDate.ToShortDateString());             // 日報作成日
+
+                strcmd += string.Format(",StartDistance = {0} ", data.StartDistance);           // 当日出発キロ数
+                strcmd += string.Format(",ComplateDistance = {0} ", data.ComplateDistance);     // 当日終了キロ数
+                strcmd += string.Format(",TotalDistance = {0} ", data.TotalDistance);           // 当日合計キロ数
+                strcmd += string.Format(",OfficeGoFlg = {0} ", data.OfficeGoFlg);               // 事務所出勤フラグ
+                strcmd += string.Format(",OfficeOutFlg = {0} ", data.OfficeOutFlg);             // 事務所帰宅フラグ
+                strcmd += string.Format(",TrancePayGoFlg = {0} ", data.TrancePayGoFlg);         // 有料通勤出勤フラグ
+                strcmd += string.Format(",TrancePayOutFlg = {0} ", data.TrancePayOutFlg);       // 有料通勤帰宅フラグ
+                strcmd += string.Format(",WareHouseFlg = {0} ", data.WareHouseFlg);             // 資材置場フラグ
+                
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 削除処理
+        /// <summary>
+        /// 担当者毎経費データ削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">担当者毎経費データデータ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM TranceportDailyData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1項目更新処理
+        /// <summary>
+        /// 1項目の更新を行う
+        /// </summary>
+        /// <param name="ConstructionCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int PersonCode, DateTime AttendanceDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+                strcmd = "UPDATE TranceportDailyData";
+
+                strcmd += " SET";
+                switch (FeildNo)
+                {
+                    case (int)TableColumn.PersonCode:
+                        strcmd += string.Format(" PersonCode = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.AttendanceDate:
+                        strcmd += string.Format(" AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
+                        break;
+
+                    case (int)TableColumn.StartDistance:
+                        strcmd += string.Format(" StartDistance = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.ComplateDistance:
+                        strcmd += string.Format(" ComplateDistance = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TotalDistance:
+                        strcmd += string.Format(" TotalDistance = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.OfficeGoFlg:
+                        strcmd += string.Format(" OfficeGoFlg = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.OfficeOutFlg:
+                        strcmd += string.Format(" OfficeOutFlg = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TrancePayGoFlg:
+                        strcmd += string.Format(" TrancePayGoFlg = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.TrancePayOutFlg:
+                        strcmd += string.Format(" TrancePayOutFlg = {0}", (int)value);
+                        break;
+                    case (int)TableColumn.WareHouseFlg:
+                        strcmd += string.Format(" WareHouseFlg = {0}", (int)value);
+                        break;
+                }
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += CreatePrimarykeyString(PersonCode, AttendanceDate, SeqNo);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region データセット処理
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref TranceportDailyData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.PersonCode = int.Parse(objwrk[(int)TableColumn.PersonCode].ToString());                  // 担当者コード
+                wrk.AttendanceDate = DateTime.Parse(objwrk[(int)TableColumn.AttendanceDate].ToString());     // 日報作成日
+
+                wrk.StartDistance = double.Parse(objwrk[(int)TableColumn.StartDistance].ToString());         // 当日出発キロ数
+                wrk.ComplateDistance = double.Parse(objwrk[(int)TableColumn.ComplateDistance].ToString());   // 当日終了キロ数
+                wrk.TotalDistance = double.Parse(objwrk[(int)TableColumn.TotalDistance].ToString());         // 当日合計キロ数
+                wrk.OfficeGoFlg = int.Parse(objwrk[(int)TableColumn.OfficeGoFlg].ToString());                // 事務所出勤フラグ
+                wrk.OfficeOutFlg = int.Parse(objwrk[(int)TableColumn.OfficeOutFlg].ToString());              // 事務所帰宅フラグ
+                wrk.TrancePayGoFlg = int.Parse(objwrk[(int)TableColumn.TrancePayGoFlg].ToString());          // 有料通勤出勤フラグ
+                wrk.TrancePayOutFlg = int.Parse(objwrk[(int)TableColumn.TrancePayOutFlg].ToString());        // 有料通勤帰宅フラグ
+                wrk.WareHouseFlg = int.Parse(objwrk[(int)TableColumn.WareHouseFlg].ToString());              // 資材置場フラグ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(2), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 検索文字列作成処理
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="PersonCode"></param>
+        /// <param name="ActionDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int PersonCode, DateTime AttendanceDate, int SeqNo = 0)
+        {
+            string strWork = "";
+            try
+            {
+                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
+                if (AttendanceDate != DateTime.MinValue)
+                    strWork += string.Format(" AND AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')", AttendanceDate.ToShortDateString());
+                if (SeqNo != 0)
+                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region 追加番号の最大値を取得
+        /// <summary>
+        /// 追加番号の最大値を取得する
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQL作成
+                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM TranceportDailyData" + AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOVehicleScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOVehicleScheduleData.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOVehicleScheduleData.cs	(revision 84)
@@ -0,0 +1,366 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+using log4net;
+using Oracle.ManagedDataAccess.Client;
+
+using ProcessManagement.OracleDB.Oracle;
+using ProcessManagement.OracleDB.Core;
+using ProcessManagement.DataModel;
+
+using ProcessManagement.Common;
+
+namespace ProcessManagement.OracleDB.IOAccess
+{
+    /// <summary>
+    /// 車両予約アクセスクラス
+    /// </summary>
+    public class IOVehicleScheduleData : OracleProcess
+    {
+        #region 定義部
+        /// <summary>
+        /// log4netログを使用する
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region 定数
+        /// <summary>
+        /// 行動予定フィールド並び
+        /// </summary>
+        public enum NameColumn
+        {
+            TargetDate = 0,
+            VehicleCode,
+            MorningAfternoon,
+            PersonCode,
+            TargetYear,
+            TargetMonth,
+            TargetDay,
+            ENTRYDATE,
+            UPDATEDATE
+        }
+        #endregion
+
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOVehicleScheduleData()
+            : base(DBCommonForOracle.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region 行動予定検索
+        /// <summary>
+        /// 行動予定検索
+        /// </summary>
+        /// <param name="AddSQLString">検索条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool SelectAction(string AddSQLString, ref List<VehicleScheduleData> data, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQL作成（oracleのDateTime型が変換できないのでCharに変換しておく）
+                strcmd = "SELECT";
+                strcmd += " TO_CHAR(TargetDate, 'YYYY/MM/DD')";
+                strcmd += " ,VehicleCode";
+                strcmd += " ,MorningAfternoon";
+                strcmd += " ,PersonCode";
+                strcmd += " ,TargetYear";
+                strcmd += " ,TargetMonth";
+                strcmd += " ,TargetDay";
+                strcmd += " ,TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " ,TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";
+                strcmd += " FROM VehicleScheduleData";
+                strcmd += AddSQLString;
+
+                // SQL実行
+                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
+
+                // データセット
+                foreach (object[] objwrk in arData)
+                {
+                    VehicleScheduleData work = new VehicleScheduleData();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+
+        }
+        #endregion
+
+        #region 行動予定複数追加
+        /// <summary>
+        /// 行動予定複数追加
+        /// </summary>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool InsertAction(List<VehicleScheduleData> data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                foreach (VehicleScheduleData work in data)
+                {
+                    OneRecInsertAction(work, bConnect);
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定１件追加
+        /// <summary>
+        /// 行動予定１件追加
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool OneRecInsertAction(VehicleScheduleData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                    strcmd = "INSERT INTO VehicleScheduleData";
+
+                    strcmd += " VALUES (";
+
+                    strcmd += string.Format(" TO_DATE('{0}','YYYY/MM/DD')", data.TargetDate.ToShortDateString());
+                    strcmd += string.Format(", {0}", data.VehicleCode.ToString());
+                    strcmd += string.Format(", {0}", data.MorningAfternoon.ToString());
+                    strcmd += string.Format(", {0}", data.PersonCode.ToString());
+                    strcmd += string.Format(", {0}", data.TargetYear.ToString());
+                    strcmd += string.Format(", {0}", data.TargetMonth.ToString());
+                    strcmd += string.Format(", {0}", data.TargetDay.ToString());
+
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                    strcmd = strcmd + ")";
+
+                    if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定更新
+        /// <summary>
+        /// 行動予定更新
+        /// </summary>
+        /// <param name="AddSQLString">更新条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool UpdateAction(string AddSQLString, VehicleScheduleData data, bool bConnect = true)
+        {
+            string strcmd = "";
+            try
+            {
+
+                strcmd = "UPDATE VehicleScheduleData";
+
+                strcmd += " SET";
+
+                strcmd += string.Format(" TargetDate = TO_DATE('{0}','YYYY/MM/DD')", data.TargetDate.ToShortDateString());
+                strcmd += string.Format(",VehicleCode = {0}", data.VehicleCode.ToString());
+                strcmd += string.Format(",MorningAfternoon = {0}", data.MorningAfternoon.ToString());
+                strcmd += string.Format(",PersonCode = {0}", data.PersonCode.ToString());
+                strcmd += string.Format(",TargetYear = {0}", data.TargetYear.ToString());
+                strcmd += string.Format(",TargetMonth = {0}", data.TargetMonth.ToString());
+                strcmd += string.Format(",TargetDay = {0}", data.TargetDay.ToString());
+
+                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
+                strcmd += AddSQLString;
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region 行動予定削除
+        /// <summary>
+        /// 行動予定削除
+        /// </summary>
+        /// <param name="AddSQLString">削除条件SQL文字列</param>
+        /// <param name="data">行動予定データ</param>
+        /// <returns>true：成功 false：失敗</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            //Oracle インターフェース
+            string strcmd = "";
+            try
+            {
+                strcmd = string.Format("{0}{1}", "DELETE FROM VehicleScheduleData", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
+                return false;
+            }
+        }
+        #endregion
+
+        #region OracleDataReaderより構造体へセットする
+        /// <summary>
+        /// OracleDataReaderより構造体へセットする
+        /// </summary>
+        /// <param name="reader">OracleDataReader</param>
+        /// <param name="wrk">構造体</param>
+        public void Reader2Struct(object[] objwrk, ref VehicleScheduleData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TargetDate = DateTime.Parse(objwrk[(int)NameColumn.TargetDate].ToString());
+                wrk.VehicleCode = int.Parse(objwrk[(int)NameColumn.VehicleCode].ToString());
+                wrk.MorningAfternoon = int.Parse(objwrk[(int)NameColumn.MorningAfternoon].ToString());
+                wrk.PersonCode = int.Parse(objwrk[(int)NameColumn.PersonCode].ToString());
+                wrk.TargetYear = int.Parse(objwrk[(int)NameColumn.TargetYear].ToString());
+                wrk.TargetMonth = int.Parse(objwrk[(int)NameColumn.TargetMonth].ToString());
+                wrk.TargetDay = int.Parse(objwrk[(int)NameColumn.TargetDay].ToString());
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)NameColumn.ENTRYDATE].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)NameColumn.UPDATEDATE].ToString());
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 構造体クリア
+        /// <summary>
+        /// 構造体クリア
+        /// </summary>
+        /// <param name="wrk"></param>
+        public void ClearStruct(ref VehicleScheduleData wrk)
+        {
+            try
+            {
+                // データ取得
+                wrk.TargetDate = DateTime.MinValue;
+                wrk.VehicleCode = 0;
+                wrk.MorningAfternoon = 0;
+                wrk.PersonCode = 0;
+                wrk.TargetYear = 0;
+                wrk.TargetMonth = 0;
+                wrk.TargetDay = 0;
+
+                wrk.EntryDate = DateTime.Now;
+                wrk.UpdateDate = DateTime.Now;
+            }
+            catch (OracleException oraex)
+            {
+                logger.ErrorFormat("オラクルエラー：{0}：{1}", CommonMotions.GetMethodName(), oraex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 主キー検索の文字列を返す
+        /// <summary>
+        /// 主キー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreatePrimarykeyString(DateTime TargetDate, int VehicleCode = 0, int MorningAfternoon = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TargetDate = TO_DATE('{0}','YYYY/MM/DD')", TargetDate.ToShortDateString());
+                if (VehicleCode != 0)
+                    strWork += string.Format(" And VehicleCode = {0}", VehicleCode.ToString());
+                if (MorningAfternoon != 0)
+                    strWork += string.Format(" And MorningAfternoon = {0}", MorningAfternoon.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+
+        #region サブキー検索の文字列を返す
+        /// <summary>
+        /// サブキー検索の文字列を返す
+        /// </summary>
+        /// <param name="BusinessTypeCode"></param>
+        /// <returns>Where文字列</returns>
+        public string CreateSubkeyString(int TargetYear, int TargetMonth = 0, int TargetDay = 0, int PersonCode = 0)
+        {
+            string strWork = string.Empty;
+            try
+            {
+                strWork = string.Format(" Where TargetYear = {0}", TargetYear.ToString());
+                if (TargetMonth != 0)
+                    strWork += string.Format(" And TargetMonth = {0}", TargetMonth.ToString());
+                if (TargetDay != 0)
+                    strWork += string.Format(" And TargetDay = {0}", TargetDay.ToString());
+                if (PersonCode != 0)
+                    strWork += string.Format(" And PersonCode = {0}", PersonCode.ToString());
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}：{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
+            }
+
+            return strWork;
+        }
+        #endregion
+    }
+}
Index: branches/ddl/DataConert/DataConert/OracleDB/Oracle/OracleProcess.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/Oracle/OracleProcess.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/OracleDB/Oracle/OracleProcess.cs	(revision 84)
@@ -0,0 +1,46 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Collections;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+using Oracle.ManagedDataAccess.Client;
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.OracleDB.Core;
+
+namespace ProcessManagement.OracleDB.Oracle
+{
+    /// <summary>
+    /// Oracle使用共通ラッパークラス
+    /// </summary>
+    public class OracleProcess : ABaseDBProcessForOracle
+    {
+        #region コンストラクタ
+        /// <summary>
+        /// コンストラクタ。
+        /// </summary>
+        /// <param name="connectionString">接続文字列</param>
+        public OracleProcess(String connectionString)
+            : base(connectionString)
+        {
+        }
+        #endregion
+
+        #region メソッド
+        /// <summary>
+        /// Connectionを取得。
+        /// </summary>
+        /// <param name="connectionString"></param>
+        /// <returns>Connection</returns>
+        public override IDbConnection getConnection(String connectionString)
+        {
+            return new OracleConnection(connectionString);
+        }
+
+        #endregion 
+    }
+}
Index: branches/ddl/DataConert/DataConert/Program.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Program.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Program.cs	(revision 84)
@@ -0,0 +1,22 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace DataConert
+{
+    static class Program
+    {
+        /// <summary>
+        /// アプリケーションのメイン エントリ ポイントです。
+        /// </summary>
+        [STAThread]
+        static void Main()
+        {
+            Application.EnableVisualStyles();
+            Application.SetCompatibleTextRenderingDefault(false);
+            Application.Run(new FrmDataConvert());
+        }
+    }
+}
Index: branches/ddl/DataConert/DataConert/Properties/AssemblyInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Properties/AssemblyInfo.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Properties/AssemblyInfo.cs	(revision 84)
@@ -0,0 +1,38 @@
+﻿using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
+// アセンブリに関連付けられている情報を変更するには、
+// これらの属性値を変更してください。
+[assembly: AssemblyTitle("DataConert")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("DataConert")]
+[assembly: AssemblyCopyright("Copyright ©  2017")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// ComVisible を false に設定すると、その型はこのアセンブリ内で COM コンポーネントから 
+// 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
+// その型の ComVisible 属性を true に設定してください。
+[assembly: ComVisible(false)]
+
+// 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
+[assembly: Guid("0c7b647e-cd43-4bec-b089-a68b5ba0d29b")]
+
+// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を 
+// 既定値にすることができます:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+// Log4netを使用する
+[assembly: log4net.Config.XmlConfigurator(ConfigFile = @"log4net.config", Watch = true)]
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert/Properties/Resources.Designer.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Properties/Resources.Designer.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Properties/Resources.Designer.cs	(revision 84)
@@ -0,0 +1,71 @@
+﻿//------------------------------------------------------------------------------
+// <auto-generated>
+//     このコードはツールによって生成されました。
+//     ランタイム バージョン:4.0.30319.42000
+//
+//     このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+//     コードが再生成されるときに損失したりします
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace DataConert.Properties
+{
+
+
+    /// <summary>
+    ///   ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。
+    /// </summary>
+    // このクラスは StronglyTypedResourceBuilder クラスが ResGen
+    // または Visual Studio のようなツールを使用して自動生成されました。
+    // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に
+    // ResGen を実行し直すか、または VS プロジェクトをリビルドします。
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   このクラスに使用される、キャッシュされた ResourceManager のインスタンスを返します。
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DataConert.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、
+        ///   現在のスレッドの CurrentUICulture プロパティをオーバーライドします。
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}
Index: branches/ddl/DataConert/DataConert/Properties/Resources.resx
===================================================================
--- branches/ddl/DataConert/DataConert/Properties/Resources.resx	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Properties/Resources.resx	(revision 84)
@@ -0,0 +1,117 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert/Properties/Settings.Designer.cs
===================================================================
--- branches/ddl/DataConert/DataConert/Properties/Settings.Designer.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Properties/Settings.Designer.cs	(revision 84)
@@ -0,0 +1,30 @@
+﻿//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace DataConert.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}
Index: branches/ddl/DataConert/DataConert/Properties/Settings.settings
===================================================================
--- branches/ddl/DataConert/DataConert/Properties/Settings.settings	(nonexistent)
+++ branches/ddl/DataConert/DataConert/Properties/Settings.settings	(revision 84)
@@ -0,0 +1,7 @@
+﻿<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>
Index: branches/ddl/DataConert/DataConert/lib/MySql.Data.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/DataConert/lib/MySql.Data.dll
===================================================================
--- branches/ddl/DataConert/DataConert/lib/MySql.Data.dll	(nonexistent)
+++ branches/ddl/DataConert/DataConert/lib/MySql.Data.dll	(revision 84)

Property changes on: branches/ddl/DataConert/DataConert/lib/MySql.Data.dll
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/DataConert/lib/MySql.Data.xml
===================================================================
--- branches/ddl/DataConert/DataConert/lib/MySql.Data.xml	(nonexistent)
+++ branches/ddl/DataConert/DataConert/lib/MySql.Data.xml	(revision 84)
@@ -0,0 +1,10569 @@
+<?xml version="1.0"?>
+<doc>
+    <assembly>
+        <name>MySql.Data</name>
+    </assembly>
+    <members>
+        <member name="M:MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.GetPlugin(System.String,MySql.Data.MySqlClient.NativeDriver,System.Byte[])">
+            <summary>
+            This is a factory method that is used only internally.  It creates an auth plugin based on the method type
+            </summary>
+            <param name="method"></param>
+            <param name="flags"></param>
+            <param name="settings"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Authentication.MySqlNativePasswordPlugin.Get411Password(System.String,System.Byte[])">
+            <summary>
+            Returns a byte array containing the proper encryption of the 
+            given password/seed according to the new 4.1.1 authentication scheme.
+            </summary>
+            <param name="password"></param>
+            <param name="seed"></param>
+            <returns></returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Authentication.Sha256AuthenticationPlugin">
+            <summary>
+            The implementation of the sha256_password authentication plugin.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Authentication.MySqlWindowsAuthenticationPlugin">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlBulkLoader">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Connection">
+            <summary>
+            Gets or sets the connection.
+            </summary>
+            <value>The connection.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.FieldTerminator">
+            <summary>
+            Gets or sets the field terminator.
+            </summary>
+            <value>The field terminator.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.LineTerminator">
+            <summary>
+            Gets or sets the line terminator.
+            </summary>
+            <value>The line terminator.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.TableName">
+            <summary>
+            Gets or sets the name of the table.
+            </summary>
+            <value>The name of the table.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.CharacterSet">
+            <summary>
+            Gets or sets the character set.
+            </summary>
+            <value>The character set.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.FileName">
+            <summary>
+            Gets or sets the name of the file.
+            </summary>
+            <value>The name of the file.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Timeout">
+            <summary>
+            Gets or sets the timeout.
+            </summary>
+            <value>The timeout.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Local">
+            <summary>
+            Gets or sets a value indicating whether the filename that is to be loaded
+            is local to the client or not
+            </summary>
+            <value><c>true</c> if local; otherwise, <c>false</c>.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.NumberOfLinesToSkip">
+            <summary>
+            Gets or sets the number of lines to skip.
+            </summary>
+            <value>The number of lines to skip.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.LinePrefix">
+            <summary>
+            Gets or sets the line prefix.
+            </summary>
+            <value>The line prefix.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.FieldQuotationCharacter">
+            <summary>
+            Gets or sets the field quotation character.
+            </summary>
+            <value>The field quotation character.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.FieldQuotationOptional">
+            <summary>
+            Gets or sets a value indicating whether [field quotation optional].
+            </summary>
+            <value>
+            	<c>true</c> if [field quotation optional]; otherwise, <c>false</c>.
+            </value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.EscapeCharacter">
+            <summary>
+            Gets or sets the escape character.
+            </summary>
+            <value>The escape character.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.ConflictOption">
+            <summary>
+            Gets or sets the conflict option.
+            </summary>
+            <value>The conflict option.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Priority">
+            <summary>
+            Gets or sets the priority.
+            </summary>
+            <value>The priority.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Columns">
+            <summary>
+            Gets the columns.
+            </summary>
+            <value>The columns.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Expressions">
+            <summary>
+            Gets the expressions.
+            </summary>
+            <value>The expressions.</value>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlBulkLoader.Load">
+            <summary>
+            Execute the load operation
+            </summary>
+            <returns>The number of rows inserted.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlBulkLoader.LoadAsync">
+            <summary>
+            Async version of Load
+            </summary>
+            <returns>The number of rows inserted.</returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlBulkLoaderPriority">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderPriority.None">
+            <summary>
+            This is the default and indicates normal priority
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderPriority.Low">
+            <summary>
+            Low priority will cause the load operation to wait until all readers of the table
+            have finished.  This only affects storage engines that use only table-level locking
+            such as MyISAM, Memory, and Merge.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderPriority.Concurrent">
+            <summary>
+            Concurrent priority is only relevant for MyISAM tables and signals that if the table
+            has no free blocks in the middle that other readers can retrieve data from the table
+            while the load operation is happening.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlBulkLoaderConflictOption">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderConflictOption.None">
+            <summary>
+            This is the default and indicates normal operation.  In the event of a LOCAL load, this
+            is the same as ignore.  When the data file is on the server, then a key conflict will
+            cause an error to be thrown and the rest of the data file ignored.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderConflictOption.Replace">
+            <summary>
+            Replace column values when a key conflict occurs.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderConflictOption.Ignore">
+            <summary>
+            Ignore any rows where the primary key conflicts.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.CharSetMap">
+            <summary>
+            Summary description for CharSetMap.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.CharSetMap.GetEncoding(MySql.Data.Common.DBVersion,System.String)">
+            <summary>
+            Returns the text encoding for a given MySQL character set name
+            </summary>
+            <param name="version">Version of the connection requesting the encoding</param>
+            <param name="CharSetName">Name of the character set to get the encoding for</param>
+            <returns>Encoding object for the given character set name</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.CharSetMap.InitializeMapping">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlCommand">
+            <summary>Represents a SQL statement to execute against a MySQL database. This class cannot be inherited.</summary><remarks>
+      <B>MySqlCommand</B> features the following methods for executing commands at a MySQL database:
+      <list type="table">
+        <listheader>
+          <term>Item</term>
+          <term>Description</term>
+        </listheader>
+        <item>
+          <term>
+            <a href="MySql.Data.MySqlClient.MySqlCommand.ExecuteReader_overloads.html">ExecuteReader</a>
+          </term>
+          <description>Executes commands that return rows.</description>
+        </item>
+        <item>
+          <term>
+            <a href="MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery.html">ExecuteNonQuery</a>
+          </term>
+          <description>Executes commands such as SQL INSERT, DELETE, and UPDATE statements.</description>
+        </item>
+        <item>
+          <term>
+            <a href="MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar.html">ExecuteScalar</a>
+          </term>
+          <description>Retrieves a single value (for example, an aggregate value) from a database.</description>
+        </item>
+      </list>
+
+      You can reset the <B>CommandText</B> property and reuse the <B>MySqlCommand</B>
+      object. However, you must close the <A href="MySql.Data.MySqlClient.MySqlDataReader.html">MySqlDataReader</A>
+      before you can execute a new or previous command.
+
+      If a <A href="MySql.Data.MySqlClient.MySqlException.html">MySqlException</A> is
+      generated by the method executing a <B>MySqlCommand</B>, the <A href="MySql.Data.MySqlClient.MySqlConnection.html">MySqlConnection</A>
+      remains open.  It is the responsibility of the programmer to close the connection.
+
+      <note>
+        Using the '@' symbol for paramters is now the preferred approach although the old pattern of using
+		'?' is still supported.  Please be aware though that using '@' can cause conflicts when user variables
+		are also used.  To help with this situation please see the documentation on the 'allow user variables'
+		connection string option.  The 'old syntax' connection string option has now been deprecated.
+      </note>
+    </remarks><example>
+      The following example creates a <A href="frlrfsystemdatasqlclientsqlcommandclasstopic.htm">MySqlCommand</A> and
+      a <B>MySqlConnection</B>. The <B>MySqlConnection</B> is opened and set as the <A href="frlrfsystemdatasqlclientsqlcommandclassconnectiontopic.htm">Connection</A>
+      for the <B>MySqlCommand</B>. The example then calls <A href="frlrfsystemdatasqlclientsqlcommandclassexecutenonquerytopic.htm">ExecuteNonQuery</A>,
+      and closes the connection. To accomplish this, the <B>ExecuteNonQuery</B> is
+      passed a connection string and a query string that is a SQL INSERT
+      statement.
+      <code lang="vbnet">
+        Public Sub InsertRow(myConnectionString As String)
+        " If the connection string is null, use a default.
+        If myConnectionString = "" Then
+        myConnectionString = "Database=Test;Data Source=localhost;User Id=username;Password=pass"
+        End If
+        Dim myConnection As New MySqlConnection(myConnectionString)
+        Dim myInsertQuery As String = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)"
+        Dim myCommand As New MySqlCommand(myInsertQuery)
+        myCommand.Connection = myConnection
+        myConnection.Open()
+        myCommand.ExecuteNonQuery()
+        myCommand.Connection.Close()
+        End Sub
+      </code>
+      <code lang="C#">
+        public void InsertRow(string myConnectionString)
+        {
+        // If the connection string is null, use a default.
+        if(myConnectionString == "")
+        {
+        myConnectionString = "Database=Test;Data Source=localhost;User Id=username;Password=pass";
+        }
+        MySqlConnection myConnection = new MySqlConnection(myConnectionString);
+        string myInsertQuery = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)";
+        MySqlCommand myCommand = new MySqlCommand(myInsertQuery);
+        myCommand.Connection = myConnection;
+        myConnection.Open();
+        myCommand.ExecuteNonQuery();
+        myCommand.Connection.Close();
+        }
+      </code>
+    </example> 
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.#ctor">
+            <overloads>
+      <summary>
+        Initializes a new instance of the MySqlCommand class.
+      </summary>
+      <example>
+        The following example creates a MySqlCommand and sets some of its properties.
+        <para />
+        <note>
+          This example shows how to use one of the overloaded
+          versions of the MySqlCommand constructor. For other examples that might be available,
+          see the individual overload topics.
+        </note>
+
+        <code lang="vbnet">
+          Public Sub CreateMySqlCommand()
+          Dim myConnection As New MySqlConnection _
+          ("Persist Security Info=False;database=test;server=myServer")
+          myConnection.Open()
+          Dim myTrans As MySqlTransaction = myConnection.BeginTransaction()
+          Dim mySelectQuery As String = "SELECT * FROM MyTable"
+          Dim myCommand As New MySqlCommand(mySelectQuery, myConnection, myTrans)
+          myCommand.CommandTimeout = 20
+          End Sub
+        </code>
+        <code lang="C#">
+          public void CreateMySqlCommand()
+          {
+          MySqlConnection myConnection = new MySqlConnection("Persist Security Info=False;
+          database=test;server=myServer");
+          myConnection.Open();
+          MySqlTransaction myTrans = myConnection.BeginTransaction();
+          string mySelectQuery = "SELECT * FROM myTable";
+          MySqlCommand myCommand = new MySqlCommand(mySelectQuery, myConnection,myTrans);
+          myCommand.CommandTimeout = 20;
+          }
+        </code>
+        <code lang="C++">
+          public:
+          void CreateMySqlCommand()
+          {
+          MySqlConnection* myConnection = new MySqlConnection(S"Persist Security Info=False;
+          database=test;server=myServer");
+          myConnection-&gt;Open();
+          MySqlTransaction* myTrans = myConnection-&gt;BeginTransaction();
+          String* mySelectQuery = S"SELECT * FROM myTable";
+          MySqlCommand* myCommand = new MySqlCommand(mySelectQuery, myConnection, myTrans);
+          myCommand-&gt;CommandTimeout = 20;
+          };
+        </code>
+      </example>
+    </overloads><summary>
+      Initializes a new instance of the MySqlCommand class.
+    </summary><remarks>
+      The base constructor initializes all fields to their default values. The
+      following table shows initial property values for an instance of <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />.
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout" />
+          </term>
+          <term>0</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" />
+          </term>
+          <term>CommandType.Text</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" />
+          </term>
+          <term>Null</term>
+        </item>
+      </list>
+      <para>
+        You can change the value for any of these properties through a separate call to
+        the property.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and
+      sets some of its properties.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand()
+        Dim myCommand As New MySqlCommand()
+        myCommand.CommandType = CommandType.Text
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand()
+        {
+        MySqlCommand myCommand = new MySqlCommand();
+        myCommand.CommandType = CommandType.Text;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.#ctor(System.String)">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> class with the text of the query.
+    </summary><param name="cmdText">The text of the query.</param><remarks>
+      When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> is created,
+      the following read/write properties are set to initial values.
+
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" />
+          </term>
+          <term>
+            <i>cmdText</i>
+          </term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout" />
+          </term>
+          <term>0</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" />
+          </term>
+          <term>CommandType.Text</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" />
+          </term>
+          <term>Null</term>
+        </item>
+      </list>
+      <para>
+        You can change the value for any of these properties through a separate call to
+        the property.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and
+      sets some of its properties.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand()
+        Dim sql as String = "SELECT * FROM mytable"
+        Dim myCommand As New MySqlCommand(sql)
+        myCommand.CommandType = CommandType.Text
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand()
+        {
+        string sql = "SELECT * FROM mytable";
+        MySqlCommand myCommand = new MySqlCommand(sql);
+        myCommand.CommandType = CommandType.Text;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.#ctor(System.String,MySql.Data.MySqlClient.MySqlConnection)">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> class
+      with the text of the query and a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />.
+    </summary><param name="cmdText">The text of the query.</param><param name="connection">
+      A <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> that represents the
+      connection to an instance of SQL Server.
+    </param><remarks>
+      When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> is created,
+      the following read/write properties are set to initial values.
+
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" />
+          </term>
+          <term>
+            <i>cmdText</i>
+          </term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout" />
+          </term>
+          <term>0</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" />
+          </term>
+          <term>CommandType.Text</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" />
+          </term>
+          <term>
+            <i>connection</i>
+          </term>
+        </item>
+      </list>
+      <para>
+        You can change the value for any of these properties through a separate call to
+        the property.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and
+      sets some of its properties.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand()
+        Dim conn as new MySqlConnection("server=myServer")
+        Dim sql as String = "SELECT * FROM mytable"
+        Dim myCommand As New MySqlCommand(sql, conn)
+        myCommand.CommandType = CommandType.Text
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand()
+        {
+        MySqlConnection conn = new MySqlConnection("server=myserver")
+        string sql = "SELECT * FROM mytable";
+        MySqlCommand myCommand = new MySqlCommand(sql, conn);
+        myCommand.CommandType = CommandType.Text;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.#ctor(System.String,MySql.Data.MySqlClient.MySqlConnection,MySql.Data.MySqlClient.MySqlTransaction)">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> class
+      with the text of the query, a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, and the
+      <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />.
+    </summary><param name="cmdText">The text of the query.</param><param name="connection">
+      A <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> that represents the
+      connection to an instance of SQL Server.
+    </param><param name="transaction">
+      The <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" /> in which the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> executes.
+    </param><remarks>
+      When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> is created,
+      the following read/write properties are set to initial values.
+
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" />
+          </term>
+          <term>
+            <i>cmdText</i>
+          </term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout" />
+          </term>
+          <term>0</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" />
+          </term>
+          <term>CommandType.Text</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" />
+          </term>
+          <term>
+            <i>connection</i>
+          </term>
+        </item>
+      </list>
+      <para>
+        You can change the value for any of these properties through a separate call to
+        the property.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and
+      sets some of its properties.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand()
+        Dim conn as new MySqlConnection("server=myServer")
+        conn.Open();
+        Dim txn as MySqlTransaction = conn.BeginTransaction()
+        Dim sql as String = "SELECT * FROM mytable"
+        Dim myCommand As New MySqlCommand(sql, conn, txn)
+        myCommand.CommandType = CommandType.Text
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand()
+        {
+        MySqlConnection conn = new MySqlConnection("server=myserver")
+        conn.Open();
+        MySqlTransaction txn = conn.BeginTransaction();
+        string sql = "SELECT * FROM mytable";
+        MySqlCommand myCommand = new MySqlCommand(sql, conn, txn);
+        myCommand.CommandType = CommandType.Text;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.LastInsertedId">
+            <!-- No matching elements were found for the following include tag --><include file="docs/mysqlcommand.xml" path="docs/LastInseredId/*" />
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.CommandText">
+            <summary>
+      Gets or sets the SQL statement to execute at the data source.
+    </summary><value>
+      The SQL statement or stored procedure to execute. The default is an empty string.
+    </value><remarks>
+      <para>
+        When the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> property is set to <B>StoredProcedure</B>,
+        the <B>CommandText</B> property should be set to the name of the stored procedure.
+        The user may be required to use escape character syntax if the stored procedure name
+        contains any special characters. The command executes this stored procedure when
+        you call one of the Execute methods.  Starting with Connector/Net 5.0, having both a stored function
+        and stored procedure with the same name in the same database is not supported.  It is
+        suggested that you provide unqiue names for your stored routines.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and sets some of its properties.
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand()
+        Dim myCommand As New MySqlCommand()
+        myCommand.CommandText = "SELECT * FROM Mytable ORDER BY id"
+        myCommand.CommandType = CommandType.Text
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand()
+        {
+        MySqlCommand myCommand = new MySqlCommand();
+        myCommand.CommandText = "SELECT * FROM mytable ORDER BY id";
+        myCommand.CommandType = CommandType.Text;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout">
+            <summary>
+      Gets or sets the wait time before terminating the attempt to execute a command
+      and generating an error.
+    </summary><value>
+      The time (in seconds) to wait for the command to execute. The default is 30
+      seconds.
+    </value><remarks>
+      CommandTimeout is dependent on the ability of MySQL to cancel an executing query.
+      Because of this, CommandTimeout is only supported when connected to MySQL
+      version 5.0.0 or higher.
+    </remarks>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.CommandType">
+            <summary>
+      Gets or sets a value indicating how the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> property is to be interpreted.
+    </summary><value>
+      One of the <see cref="T:System.Data.CommandType" /> values. The default is <B>Text</B>.
+    </value><remarks>
+      <para>
+        When you set the <B>CommandType</B> property to <B>StoredProcedure</B>, you
+        should set the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> property to the name of the stored
+        procedure. The command executes this stored procedure when you call one of the
+        Execute methods.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and sets some of its properties.
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand()
+        Dim myCommand As New MySqlCommand()
+        myCommand.CommandType = CommandType.Text
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand()
+        {
+        MySqlCommand myCommand = new MySqlCommand();
+        myCommand.CommandType = CommandType.Text;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.IsPrepared">
+            <!-- No matching elements were found for the following include tag --><include file="docs/mysqlcommand.xml" path="docs/IsPrepared/*" />
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.Connection">
+            <summary>
+      Gets or sets the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> used by this instance of the
+      <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />.
+    </summary><value>
+      The connection to a data source. The default value is a null reference
+      (<B>Nothing</B> in Visual Basic).
+    </value><remarks>
+      <para>
+        If you set <B>Connection</B> while a transaction is in progress and the
+        <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Transaction" /> property is not null, an <see cref="T:System.InvalidOperationException" />
+        is generated. If the <B>Transaction</B> property is not null and the transaction
+        has already been committed or rolled back, <B>Transaction</B> is set to
+        null.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and sets some of its properties.
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand()
+        Dim mySelectQuery As String = "SELECT * FROM mytable ORDER BY id"
+        Dim myConnectString As String = "Persist Security Info=False;database=test;server=myServer"
+        Dim myCommand As New MySqlCommand(mySelectQuery)
+        myCommand.Connection = New MySqlConnection(myConnectString)
+        myCommand.CommandType = CommandType.Text
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand()
+        {
+        string mySelectQuery = "SELECT * FROM mytable ORDER BY id";
+        string myConnectString = "Persist Security Info=False;database=test;server=myServer";
+        MySqlCommand myCommand = new MySqlCommand(mySelectQuery);
+        myCommand.Connection = new MySqlConnection(myConnectString);
+        myCommand.CommandType = CommandType.Text;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.Parameters">
+            <summary>
+      Get the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection" />
+    </summary><value>
+      The parameters of the SQL statement or stored procedure. The default is
+      an empty collection.
+    </value><remarks>
+      Connector/Net does not support unnamed parameters.  Every parameter added to the collection must
+      have an associated name.
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and displays its parameters.
+      To accomplish this, the method is passed a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, a query string
+      that is a SQL SELECT statement, and an array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter" /> objects.
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand(myConnection As MySqlConnection, _
+        mySelectQuery As String, myParamArray() As MySqlParameter)
+        Dim myCommand As New MySqlCommand(mySelectQuery, myConnection)
+        myCommand.CommandText = "SELECT id, name FROM mytable WHERE age=@age"
+        myCommand.UpdatedRowSource = UpdateRowSource.Both
+        myCommand.Parameters.Add(myParamArray)
+        Dim j As Integer
+        For j = 0 To myCommand.Parameters.Count - 1
+        myCommand.Parameters.Add(myParamArray(j))
+        Next j
+        Dim myMessage As String = ""
+        Dim i As Integer
+        For i = 0 To myCommand.Parameters.Count - 1
+        myMessage += myCommand.Parameters(i).ToString() &amp; ControlChars.Cr
+        Next i
+        Console.WriteLine(myMessage)
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand(MySqlConnection myConnection, string mySelectQuery,
+        MySqlParameter[] myParamArray)
+        {
+        MySqlCommand myCommand = new MySqlCommand(mySelectQuery, myConnection);
+        myCommand.CommandText = "SELECT id, name FROM mytable WHERE age=@age";
+        myCommand.Parameters.Add(myParamArray);
+        for (int j=0; j&lt;myParamArray.Length; j++)
+        {
+        myCommand.Parameters.Add(myParamArray[j]) ;
+        }
+        string myMessage = "";
+        for (int i = 0; i &lt; myCommand.Parameters.Count; i++)
+        {
+        myMessage += myCommand.Parameters[i].ToString() + "\n";
+        }
+        MessageBox.Show(myMessage);
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.Transaction">
+            <summary>
+      Gets or sets the <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" /> within which the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> executes.
+    </summary><value>
+      The <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />.  The default value is a null reference (<B>Nothing</B> in Visual Basic).
+    </value><remarks>
+      You cannot set the <B>Transaction</B> property if it is already set to a
+      specific value, and the command is in the process of executing. If you set the
+      transaction property to a <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" /> object that is not connected
+      to the same <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> as the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> object,
+      an exception will be thrown the next time you attempt to execute a statement.
+    </remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.Cancel">
+            <summary>
+            Attempts to cancel the execution of a currently active command
+            </summary>
+            <remarks>
+            Cancelling a currently active query only works with MySQL versions 5.0.0 and higher.
+            </remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.CreateParameter">
+            <summary>
+            Creates a new instance of a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.
+            </summary>
+            <remarks>
+            This method is a strongly-typed version of <see cref="M:System.Data.IDbCommand.CreateParameter"/>.
+            </remarks>
+            <returns>A <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns>
+            
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.CheckState">
+            <summary>
+            Check the connection to make sure
+            	- it is open
+            	- it is not currently being used by a reader
+            	- and we have the right version of MySQL for the requested command type
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery">
+            <summary>
+      Executes a SQL statement against the connection and returns the number of rows affected.
+    </summary><returns>Number of rows affected</returns><remarks>
+      You can use ExecuteNonQuery to perform any type of database operation,
+      however any resultsets returned will not be available.  Any output parameters
+      used in calling a stored procedure will be populated with data and can be
+      retrieved after execution is complete.
+      For UPDATE, INSERT, and DELETE statements, the return value is the number
+      of rows affected by the command.  For all other types of statements, the return
+      value is -1.
+    </remarks><example>
+      The following example creates a MySqlCommand and then
+      executes it using ExecuteNonQuery. The example is passed a string that is a
+      SQL statement (such as UPDATE, INSERT, or DELETE) and a string to use to
+      connect to the data source.
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand(myExecuteQuery As String, myConnection As MySqlConnection)
+        Dim myCommand As New MySqlCommand(myExecuteQuery, myConnection)
+        myCommand.Connection.Open()
+        myCommand.ExecuteNonQuery()
+        myConnection.Close()
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand(string myExecuteQuery, MySqlConnection myConnection)
+        {
+        MySqlCommand myCommand = new MySqlCommand(myExecuteQuery, myConnection);
+        myCommand.Connection.Open();
+        myCommand.ExecuteNonQuery();
+        myConnection.Close();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.ResetReader">
+            <summary>
+            Reset reader to null, to avoid "There is already an open data reader"
+            on the next ExecuteReader(). Used in error handling scenarios.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.ResetSqlSelectLimit">
+            <summary>
+            Reset SQL_SELECT_LIMIT that could have been modified by CommandBehavior.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteReader">
+            <summary>
+      Sends the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> to the <see cref="T:MySql.Data.MySqlClient.MySqlConnection">Connection</see>
+      and builds a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" />.
+    </summary><returns>
+      A <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> object.
+    </returns><remarks>
+      <para>
+        When the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> property is set to <B>StoredProcedure</B>,
+        the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> property should be set to the name of the stored
+        procedure. The command executes this stored procedure when you call
+        <B>ExecuteReader</B>.
+      </para>
+      <para>
+        While the <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> is in use, the associated
+        <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> is busy serving the <B>MySqlDataReader</B>.
+        While in this state, no other operations can be performed on the
+        <B>MySqlConnection</B> other than closing it. This is the case until the
+        <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.Close" /> method of the <B>MySqlDataReader</B> is called.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, then executes it by
+      passing a string that is a SQL SELECT statement, and a string to use to connect to the
+      data source.
+      <code lang="vbnet">
+        Public Sub CreateMySqlDataReader(mySelectQuery As String, myConnection As MySqlConnection)
+        Dim myCommand As New MySqlCommand(mySelectQuery, myConnection)
+        myConnection.Open()
+        Dim myReader As MySqlDataReader
+        myReader = myCommand.ExecuteReader()
+        Try
+        While myReader.Read()
+        Console.WriteLine(myReader.GetString(0))
+        End While
+        Finally
+        myReader.Close
+        myConnection.Close
+        End Try
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlDataReader(string mySelectQuery, MySqlConnection myConnection)
+        {
+        MySqlCommand myCommand = new MySqlCommand(mySelectQuery, myConnection);
+        myConnection.Open();
+        MMySqlDataReader myReader;
+        myReader = myCommand.ExecuteReader();
+        try
+        {
+        while(myReader.Read())
+        {
+        Console.WriteLine(myReader.GetString(0));
+        }
+        }
+        finally
+        {
+        myReader.Close();
+        myConnection.Close();
+        }
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(System.Data.CommandBehavior)">
+            <summary>
+      Sends the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> to the <see cref="T:MySql.Data.MySqlClient.MySqlConnection">Connection</see>,
+      and builds a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> using one of the <see cref="T:System.Data.CommandBehavior" /> values.
+    </summary><param name="behavior">
+      One of the <see cref="T:System.Data.CommandBehavior" /> values.
+    </param><remarks>
+      <para>
+        When the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> property is set to <B>StoredProcedure</B>,
+        the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> property should be set to the name of the stored
+        procedure. The command executes this stored procedure when you call
+        <B>ExecuteReader</B>.
+      </para>
+      <para>
+        The <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> supports a special mode that enables large binary
+        values to be read efficiently. For more information, see the <B>SequentialAccess</B>
+        setting for <see cref="T:System.Data.CommandBehavior" />.
+      </para>
+      <para>
+        While the <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> is in use, the associated
+        <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> is busy serving the <B>MySqlDataReader</B>.
+        While in this state, no other operations can be performed on the
+        <B>MySqlConnection</B> other than closing it. This is the case until the
+        <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.Close" /> method of the <B>MySqlDataReader</B> is called.
+        If the <B>MySqlDataReader</B> is created with <B>CommandBehavior</B> set to
+        <B>CloseConnection</B>, closing the <B>MySqlDataReader</B> closes the connection
+        automatically.
+      </para>
+      <note>
+        When calling ExecuteReader with the SingleRow behavior, you should be aware that using a <i>limit</i>
+        clause in your SQL will cause all rows (up to the limit given) to be retrieved by the client.  The
+        <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.Read" /> method will still return false after the first row but pulling all rows of data
+        into the client will have a performance impact.  If the <i>limit</i> clause is not necessary, it should
+        be avoided.
+      </note>
+    </remarks><returns>
+      A <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> object.
+    </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar">
+            <summary>
+      Executes the query, and returns the first column of the first row in the
+      result set returned by the query. Extra columns or rows are ignored.
+    </summary><returns>
+      The first column of the first row in the result set, or a null reference if the
+      result set is empty
+    </returns><remarks>
+      <para>
+        Use the <B>ExecuteScalar</B> method to retrieve a single value (for example,
+        an aggregate value) from a database. This requires less code than using the
+        <see cref="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteReader" /> method, and then performing the operations necessary
+        to generate the single value using the data returned by a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" />
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and then
+      executes it using <B>ExecuteScalar</B>. The example is passed a string that is a
+      SQL statement that returns an aggregate result, and a string to use to
+      connect to the data source.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlCommand(myScalarQuery As String, myConnection As MySqlConnection)
+        Dim myCommand As New MySqlCommand(myScalarQuery, myConnection)
+        myCommand.Connection.Open()
+        myCommand.ExecuteScalar()
+        myConnection.Close()
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlCommand(string myScalarQuery, MySqlConnection myConnection)
+        {
+        MySqlCommand myCommand = new MySqlCommand(myScalarQuery, myConnection);
+        myCommand.Connection.Open();
+        myCommand.ExecuteScalar();
+        myConnection.Close();
+        }
+      </code>
+      <code lang="C++">
+        public:
+        void CreateMySqlCommand(String* myScalarQuery, MySqlConnection* myConnection)
+        {
+        MySqlCommand* myCommand = new MySqlCommand(myScalarQuery, myConnection);
+        myCommand-&gt;Connection-&gt;Open();
+        myCommand-&gt;ExecuteScalar();
+        myConnection-&gt;Close();
+        }
+      </code>
+
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.Prepare(System.Int32)">
+            <!-- No matching elements were found for the following include tag --><include file="docs/mysqlcommand.xml" path="docs/Prepare2/*" />
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.Prepare">
+            <summary>
+      Creates a prepared version of the command on an instance of MySQL Server.
+    </summary><remarks>
+      <para>
+        Prepared statements are only supported on MySQL version 4.1 and higher.  Calling
+        prepare while connected to earlier versions of MySQL will succeed but will execute
+        the statement in the same way as unprepared.
+      </para>
+    </remarks><example>
+      The following example demonstrates the use of the <b>Prepare</b> method.
+      <code lang="VB.NET">
+        public sub PrepareExample()
+        Dim cmd as New MySqlCommand("INSERT INTO mytable VALUES (@val)", myConnection)
+        cmd.Parameters.Add( "@val", 10 )
+        cmd.Prepare()
+        cmd.ExecuteNonQuery()
+
+        cmd.Parameters(0).Value = 20
+        cmd.ExecuteNonQuery()
+        end sub
+      </code>
+      <code lang="C#">
+        private void PrepareExample()
+        {
+        MySqlCommand cmd = new MySqlCommand("INSERT INTO mytable VALUES (@val)", myConnection);
+        cmd.Parameters.Add( "@val", 10 );
+        cmd.Prepare();
+        cmd.ExecuteNonQuery();
+
+        cmd.Parameters[0].Value = 20;
+        cmd.ExecuteNonQuery();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteReader">
+            <summary>
+            Initiates the asynchronous execution of the SQL statement or stored procedure 
+            that is described by this <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/>, and retrieves one or more 
+            result sets from the server. 
+            </summary>
+            <returns>An <see cref="T:System.IAsyncResult"/> that can be used to poll, wait for results, 
+            or both; this value is also needed when invoking EndExecuteReader, 
+            which returns a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> instance that can be used to retrieve 
+            the returned rows. </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteReader(System.Data.CommandBehavior)">
+            <summary>
+            Initiates the asynchronous execution of the SQL statement or stored procedure 
+            that is described by this <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/> using one of the 
+            <b>CommandBehavior</b> values. 
+            </summary>
+            <param name="behavior">One of the <see cref="T:System.Data.CommandBehavior"/> values, indicating 
+            options for statement execution and data retrieval.</param>
+            <returns>An <see cref="T:System.IAsyncResult"/> that can be used to poll, wait for results, 
+            or both; this value is also needed when invoking EndExecuteReader, 
+            which returns a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> instance that can be used to retrieve 
+            the returned rows. </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.EndExecuteReader(System.IAsyncResult)">
+            <summary>
+            Finishes asynchronous execution of a SQL statement, returning the requested 
+            <see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/>.
+            </summary>
+            <param name="result">The <see cref="T:System.IAsyncResult"/> returned by the call to 
+            <see cref="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteReader"/>.</param>
+            <returns>A <b>MySqlDataReader</b> object that can be used to retrieve the requested rows. </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteNonQuery(System.AsyncCallback,System.Object)">
+            <summary>
+            Initiates the asynchronous execution of the SQL statement or stored procedure 
+            that is described by this <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/>. 
+            </summary>
+            <param name="callback">
+            An <see cref="T:System.AsyncCallback"/> delegate that is invoked when the command's 
+            execution has completed. Pass a null reference (<b>Nothing</b> in Visual Basic) 
+            to indicate that no callback is required.</param>
+            <param name="stateObject">A user-defined state object that is passed to the 
+            callback procedure. Retrieve this object from within the callback procedure 
+            using the <see cref="P:System.IAsyncResult.AsyncState"/> property.</param>
+            <returns>An <see cref="T:System.IAsyncResult"/> that can be used to poll or wait for results, 
+            or both; this value is also needed when invoking <see cref="M:MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery(System.IAsyncResult)"/>, 
+            which returns the number of affected rows. </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteNonQuery">
+            <summary>
+            Initiates the asynchronous execution of the SQL statement or stored procedure 
+            that is described by this <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/>. 
+            </summary>
+            <returns>An <see cref="T:System.IAsyncResult"/> that can be used to poll or wait for results, 
+            or both; this value is also needed when invoking <see cref="M:MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery(System.IAsyncResult)"/>, 
+            which returns the number of affected rows. </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery(System.IAsyncResult)">
+            <summary>
+            Finishes asynchronous execution of a SQL statement. 
+            </summary>
+            <param name="asyncResult">The <see cref="T:System.IAsyncResult"/> returned by the call 
+            to <see cref="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteNonQuery"/>.</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.AddCallStatement(System.String)">
+            <summary>
+            Verifies if a query is valid even if it has not spaces or is a stored procedure call
+            </summary>
+            <param name="query">Query to validate</param>
+            <returns>If it is necessary to add call statement</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommand.Clone">
+            <summary>
+            Creates a clone of this MySqlCommand object.  CommandText, Connection, and Transaction properties
+            are included as well as the entire parameter list.
+            </summary>
+            <returns>The cloned MySqlCommand object</returns>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.UpdatedRowSource">
+            <summary>
+            Gets or sets how command results are applied to the DataRow when used by the 
+            Update method of the DbDataAdapter. 
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommand.DesignTimeVisible">
+            <summary>
+            Gets or sets a value indicating whether the command object should be visible in a Windows Form Designer control. 
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlCommandBuilder">
+            <summary>
+      Automatically generates single-table commands used to reconcile changes made to a DataSet with the associated MySQL database. This class cannot be inherited.
+    </summary><remarks>
+      <para>
+        The <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> does not automatically generate the SQL statements required to
+        reconcile changes made to a <see cref="T:System.Data.DataSet">DataSet</see> with the associated instance of MySQL.
+        However, you can create a <B>MySqlCommandBuilder</B> object to automatically generate SQL statements for
+        single-table updates if you set the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand">SelectCommand</see> property
+        of the <B>MySqlDataAdapter</B>. Then, any additional SQL statements that you do not set are generated by the
+        <B>MySqlCommandBuilder</B>.
+      </para>
+
+      <para>
+        The <B>MySqlCommandBuilder</B> registers itself as a listener for <see cref="M:MySql.Data.MySqlClient.MySqlDataAdapter.OnRowUpdating(System.Data.Common.RowUpdatingEventArgs)">RowUpdating</see>
+        events whenever you set the <see cref="P:MySql.Data.MySqlClient.MySqlCommandBuilder.DataAdapter" /> property. You can only associate one
+        <B>MySqlDataAdapter</B> or <B>MySqlCommandBuilder</B> object with each other at one time.
+      </para>
+
+      <para>
+        To generate INSERT, UPDATE, or DELETE statements, the <B>MySqlCommandBuilder</B> uses the
+        <B>SelectCommand</B> property to retrieve a required set of metadata automatically. If you change
+        the <B>SelectCommand</B> after the metadata has is retrieved (for example, after the first update), you
+        should call the <see cref="!:RefreshSchema" /> method to update the metadata.
+      </para>
+
+      <para>
+        The <B>SelectCommand</B> must also return at least one primary key or unique
+        column. If none are present, an <I>InvalidOperation</I> exception is generated,
+        and the commands are not generated.
+      </para>
+
+      <para>
+        The <B>MySqlCommandBuilder</B> also uses the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection">Connection</see>,
+        <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout">CommandTimeout</see>, and <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Transaction">Transaction</see>
+        properties referenced by the <B>SelectCommand</B>. The user should call
+        <B>RefreshSchema</B> if any of these properties are modified, or if the
+        <B>SelectCommand</B> itself is replaced. Otherwise the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.InsertCommand">InsertCommand</see>,
+        <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateCommand">UpdateCommand</see>, and
+        <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.DeleteCommand">DeleteCommand</see> properties retain
+        their previous values.
+      </para>
+
+      <para>
+        If you call <i>Dispose</i>, the <B>MySqlCommandBuilder</B> is disassociated
+        from the <B>MySqlDataAdapter</B>, and the generated commands are no longer used.
+      </para>
+
+      <note>
+        Caution must be used when using MySqlCOmmandBuilder on MySql 4.0 systems.  With MySql 4.0,
+        database/schema information is not provided to the connector for a query.  This means that
+        a query that pulls columns from two identically named tables in two or more different databases
+        will not cause an exception to be thrown but will not work correctly.  Even more dangerous
+        is the situation where your select statement references database X but is executed in
+        database Y and both databases have tables with similar layouts.  This situation can cause
+        unwanted changes or deletes.
+        This note does not apply to MySQL versions 4.1 and later.
+      </note>
+
+    </remarks><example>
+      The	following example uses the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, along
+      <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, to
+      select rows from a data source. The example is passed an initialized
+      <see cref="T:System.Data.DataSet" />, a connection string, a
+      query string that is a SQL SELECT statement, and a string that is the
+      name of the database table. The example then creates a <B>MySqlCommandBuilder</B>.
+
+      <code lang="vbnet">
+        Public Shared Function SelectRows(myConnection As String, mySelectQuery As String, myTableName As String) As DataSet
+        Dim myConn As New MySqlConnection(myConnection)
+        Dim myDataAdapter As New MySqlDataAdapter()
+        myDataAdapter.SelectCommand = New MySqlCommand(mySelectQuery, myConn)
+        Dim cb As SqlCommandBuilder = New MySqlCommandBuilder(myDataAdapter)
+
+        myConn.Open()
+
+        Dim ds As DataSet = New DataSet
+        myDataAdapter.Fill(ds, myTableName)
+
+        ' Code to modify data in DataSet here
+
+        ' Without the MySqlCommandBuilder this line would fail.
+        myDataAdapter.Update(ds, myTableName)
+
+        myConn.Close()
+        End Function 'SelectRows
+      </code>
+      <code lang="C#">
+        public static DataSet SelectRows(string myConnection, string mySelectQuery, string myTableName)
+        {
+        MySqlConnection myConn = new MySqlConnection(myConnection);
+        MySqlDataAdapter myDataAdapter = new MySqlDataAdapter();
+        myDataAdapter.SelectCommand = new MySqlCommand(mySelectQuery, myConn);
+        MySqlCommandBuilder cb = new MySqlCommandBuilder(myDataAdapter);
+
+        myConn.Open();
+
+        DataSet ds = new DataSet();
+        myDataAdapter.Fill(ds, myTableName);
+
+        //code to modify data in DataSet here
+
+        //Without the MySqlCommandBuilder this line would fail
+        myDataAdapter.Update(ds, myTableName);
+
+        myConn.Close();
+
+        return ds;
+        }
+
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.#ctor">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" /> class.
+    </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.#ctor(MySql.Data.MySqlClient.MySqlDataAdapter)">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" /> class
+      with the associated <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> object.
+    </summary><param name="adapter">
+      The <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> to use.
+    </param><remarks>
+      <para>
+        The <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" /> registers itself as a listener for
+        <see cref="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdating" /> events that are generated by the
+        <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> specified in this property.
+      </para>
+      <para>
+        When you create a new instance <B>MySqlCommandBuilder</B>, any existing
+        <B>MySqlCommandBuilder</B> associated with this <B>MySqlDataAdapter</B>
+        is released.
+      </para>
+    </remarks>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlCommandBuilder.DataAdapter">
+            <summary>
+      Gets or sets a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> object for which SQL statements are automatically generated.
+    </summary><value>
+      A <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> object.
+    </value><remarks>
+      <para>
+        The <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" /> registers itself as a listener for
+        <see cref="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdating" /> events that are generated by the
+        <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> specified in this property.
+      </para>
+      <para>
+        When you create a new instance <B>MySqlCommandBuilder</B>, any existing
+        <B>MySqlCommandBuilder</B> associated with this <B>MySqlDataAdapter</B>
+        is released.
+      </para>
+    </remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.DeriveParameters(MySql.Data.MySqlClient.MySqlCommand)">
+            <summary>
+            Retrieves parameter information from the stored procedure specified 
+            in the MySqlCommand and populates the Parameters collection of the 
+            specified MySqlCommand object.
+            This method is not currently supported since stored procedures are 
+            not available in MySql.
+            </summary>
+            <param name="command">The MySqlCommand referencing the stored 
+            procedure from which the parameter information is to be derived. 
+            The derived parameters are added to the Parameters collection of the 
+            MySqlCommand.</param>
+            <exception cref="T:System.InvalidOperationException">The command text is not 
+            a valid stored procedure name.</exception>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.GetDeleteCommand">
+            <summary>
+            Gets the delete command.
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.GetUpdateCommand">
+            <summary>
+            Gets the update command.
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.GetInsertCommand">
+            <summary>
+            Gets the insert command.
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.GetParameterName(System.String)">
+            <summary>
+            
+            </summary>
+            <param name="parameterName"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlTokenizer.ReadQuotedToken(System.Char)">
+            <summary>
+             Read a single quoted identifier from the stream
+            </summary>
+            <param name="quoteChar"></param>
+            <returns></returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.CompressedStream">
+            <summary>
+            Summary description for CompressedStream.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlConnection">
+            <summary>
+      Represents an open connection to a MySQL Server database. This class cannot be inherited.
+    </summary><remarks>
+      <para>
+        A <b>MySqlConnection</b> object represents a session to a MySQL Server
+        data source.  When you create an instance of <B>MySqlConnection</B>, all
+        properties are set to their initial values. For a list of these values, see the
+        <B>MySqlConnection</B> constructor.
+      </para>
+
+      <para>
+        If the <B>MySqlConnection</B> goes out of scope, it is not closed. Therefore,
+        you must explicitly close the connection by calling <see cref="M:MySql.Data.MySqlClient.MySqlConnection.Close" />
+        or <see cref="M:MySql.Data.MySqlClient.MySqlConnection.Dispose" />.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and
+      a <B>MySqlConnection</B>. The <B>MySqlConnection</B> is opened and set as the
+      <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" /> for the <B>MySqlCommand</B>. The example then calls
+      <see cref="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery" />, and closes the connection. To accomplish this, the <B>ExecuteNonQuery</B> is
+      passed a connection string and a query string that is a SQL INSERT
+      statement.
+      <code lang="vbnet">
+        <c>
+          Public Sub InsertRow(myConnectionString As String)
+          ' If the connection string is null, use a default.
+          If myConnectionString = "" Then
+          myConnectionString = "Database=Test;Data Source=localhost;User Id=username;Password=pass"
+          End If
+          Dim myConnection As New MySqlConnection(myConnectionString)
+          Dim myInsertQuery As String = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)"
+          Dim myCommand As New MySqlCommand(myInsertQuery)
+          myCommand.Connection = myConnection
+          myConnection.Open()
+          myCommand.ExecuteNonQuery()
+          myCommand.Connection.Close()
+          End Sub
+        </c>
+      </code>
+      <code lang="C#">
+        <c>
+          public void InsertRow(string myConnectionString)
+          {
+          // If the connection string is null, use a default.
+          if(myConnectionString == "")
+          {
+          myConnectionString = "Database=Test;Data Source=localhost;User Id=username;Password=pass";
+          }
+          MySqlConnection myConnection = new MySqlConnection(myConnectionString);
+          string myInsertQuery = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)";
+          MySqlCommand myCommand = new MySqlCommand(myInsertQuery);
+          myCommand.Connection = myConnection;
+          myConnection.Open();
+          myCommand.ExecuteNonQuery();
+          myCommand.Connection.Close();
+          }
+        </c>
+      </code>
+    </example>
+        </member>
+        <member name="E:MySql.Data.MySqlClient.MySqlConnection.InfoMessage">
+            <summary>Occurs when MySQL returns warnings as a result of executing a command or query.</summary><remarks>
+    </remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.#ctor">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> class.
+    </summary><remarks>
+      When a new instance of <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> is created, the read/write
+      properties are set to the following initial values unless they are specifically
+      set using their associated keywords in the <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" /> property.
+      <para />
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionTimeout" />
+          </term>
+          <term>15</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.Database" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.DataSource" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ServerVersion" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+      </list>
+      <para />
+      You can change the value for these properties only by using the <B>ConnectionString</B> property.
+    </remarks><example>
+    </example><overloads>
+      <summary>
+        Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> class.
+      </summary>
+    </overloads>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.#ctor(System.String)">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> class when given a string containing the connection string.
+    </summary><remarks>
+      When a new instance of <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> is created, the read/write
+      properties are set to the following initial values unless they are specifically
+      set using their associated keywords in the <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" /> property.
+      <para />
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionTimeout" />
+          </term>
+          <term>15</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.Database" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.DataSource" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+        <item>
+          <term>
+            <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ServerVersion" />
+          </term>
+          <term>empty string ("")</term>
+        </item>
+      </list>
+      <para />
+      You can change the value for these properties only by using the <B>ConnectionString</B> property.
+    </remarks><example>
+    </example><param name="connectionString">The connection properties used to open the MySQL database. </param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnection.ServerThread">
+            <summary>
+            Returns the id of the server thread this connection is executing on
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnection.DataSource">
+            <summary>
+            Gets the name of the MySQL server to which to connect.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionTimeout">
+            <summary>
+      Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
+    </summary><exception cref="T:System.ArgumentException">The value set is less than 0.</exception><remarks>
+      A value of 0 indicates no limit, and should be avoided in a
+      <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" /> because an attempt to connect
+      will wait indefinitely.
+    </remarks><example>
+      The following example creates a MySqlConnection
+      and sets some of its properties in the connection string.
+      <code lang="vbnet">
+        Public Sub CreateSqlConnection()
+        Dim myConnection As New MySqlConnection()
+        myConnection.ConnectionString = "Persist Security Info=False;Username=user;Password=pass;database=test1;server=localhost;Connect Timeout=30"
+        myConnection.Open()
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateSqlConnection()
+        {
+        MySqlConnection myConnection = new MySqlConnection();
+        myConnection.ConnectionString = "Persist Security Info=False;Username=user;Password=pass;database=test1;server=localhost;Connect Timeout=30";
+        myConnection.Open();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnection.Database">
+            <summary>Gets the name of the current database or the database to be used after a connection is opened.</summary><returns>The name of the current database or the name of the database to be used after a connection is opened. The default value is an empty string.</returns><remarks>
+      <para>
+        The <B>Database</B> property does not update dynamically.
+        If you change the current database using a SQL statement, then this property
+        may reflect the wrong value.  If you change the current database using the <see cref="M:MySql.Data.MySqlClient.MySqlConnection.ChangeDatabase(System.String)" />
+        method, this property is updated to reflect the new database.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and displays
+      some of its read-only properties.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlConnection()
+        Dim myConnString As String = _
+        "Persist Security Info=False;database=test;server=localhost;user id=joeuser;pwd=pass"
+        Dim myConnection As New MySqlConnection( myConnString )
+        myConnection.Open()
+        MessageBox.Show( "Server Version: " + myConnection.ServerVersion _
+        + ControlChars.NewLine + "Database: " + myConnection.Database )
+        myConnection.ChangeDatabase( "test2" )
+        MessageBox.Show( "ServerVersion: " + myConnection.ServerVersion _
+        + ControlChars.NewLine + "Database: " + myConnection.Database )
+        myConnection.Close()
+        End Sub
+      </code>
+
+      <code lang="C#">
+        public void CreateMySqlConnection()
+        {
+        string myConnString =
+        "Persist Security Info=False;database=test;server=localhost;user id=joeuser;pwd=pass";
+        MySqlConnection myConnection = new MySqlConnection( myConnString );
+        myConnection.Open();
+        MessageBox.Show( "Server Version: " + myConnection.ServerVersion
+        + "\nDatabase: " + myConnection.Database );
+        myConnection.ChangeDatabase( "test2" );
+        MessageBox.Show( "ServerVersion: " + myConnection.ServerVersion
+        + "\nDatabase: " + myConnection.Database );
+        myConnection.Close();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnection.UseCompression">
+            <summary>
+            Indicates if this connection should use compression when communicating with the server.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnection.State">
+            <summary>Gets the current state of the connection.</summary><returns>
+      A bitwise combination of the <see cref="T:System.Data.ConnectionState" /> values. The default is <B>Closed</B>.
+    </returns><remarks>
+      The allowed state changes are:
+      <list type="bullet">
+        <item>
+          From <B>Closed</B> to <B>Open</B>, using the <B>Open</B> method of the connection object.
+        </item>
+        <item>
+          From <B>Open</B> to <B>Closed</B>, using either the <B>Close</B> method or the <B>Dispose</B> method of the connection object.
+        </item>
+      </list>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, opens it,
+      displays some of its properties, then closes the connection.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlConnection(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+        MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _
+        + ControlChars.Cr + "State: " + myConnection.State.ToString())
+        myConnection.Close()
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlConnection(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+        MessageBox.Show("ServerVersion: " + myConnection.ServerVersion +
+        "\nState: " + myConnection.State.ToString());
+        myConnection.Close();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnection.ServerVersion">
+            <summary>Gets a string containing the version of the MySQL server to which the client is connected.</summary><returns>The version of the instance of MySQL.</returns><exception cref="T:System.InvalidOperationException">The connection is closed.</exception><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, opens it,
+      displays some of its properties, then closes the connection.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlConnection(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+        MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _
+        + ControlChars.Cr + "State: " + myConnection.State.ToString())
+        myConnection.Close()
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlConnection(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+        MessageBox.Show("ServerVersion: " + myConnection.ServerVersion +
+        "\nState: " + myConnection.State.ToString());
+        myConnection.Close();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString">
+            <summary>
+      Gets or sets the string used to connect to a MySQL Server database.
+    </summary><remarks>
+      <para>
+        The <B>ConnectionString</B> returned may not be exactly like what was originally
+        set but will be indentical in terms of keyword/value pairs.  Security information
+        will not be included unless the Persist Security Info value is set to true.
+      </para>
+      <para>
+        You can use the <B>ConnectionString</B> property to connect to a database.
+        The following example illustrates a typical connection string.
+      </para>
+      <c>"Persist Security Info=False;database=MyDB;server=MySqlServer;user id=myUser;Password=myPass"</c>
+      <para>
+        The <B>ConnectionString</B> property can be set only when the connection is
+        closed. Many of the connection string values have corresponding read-only
+        properties. When the connection string is set, all of these properties are
+        updated, except when an error is detected. In this case, none of the properties
+        are updated. <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> properties return only those settings contained in the
+        <B>ConnectionString</B>.
+      </para>
+      <para>
+        To connect to a local machine, specify "localhost" for the server. If you do not
+        specify a server, localhost is assumed.
+      </para>
+      <para>
+        Resetting the <B>ConnectionString</B> on a closed connection resets all
+        connection string values (and related properties) including the password. For
+        example, if you set a connection string that includes "Database= MyDb", and
+        then reset the connection string to "Data Source=myserver;User Id=myUser;Password=myPass",
+        the <see cref="P:MySql.Data.MySqlClient.MySqlConnection.Database" /> property is no longer set to MyDb.
+      </para>
+      <para>
+        The connection string is parsed immediately after being set. If errors in
+        syntax are found when parsing, a runtime exception, such as <see cref="T:System.ArgumentException" />,
+        is generated. Other errors can be found only when an attempt is made to open the
+        connection.
+      </para>
+      <para>
+        The basic format of a connection string consists of a series of keyword/value
+        pairs separated by semicolons. The equal sign (=) connects each keyword and its
+        value. To include values that contain a semicolon, single-quote character, or
+        double-quote character, the value must be enclosed in double quotes. If the
+        value contains both a semicolon and a double-quote character, the value can be
+        enclosed in single quotes. The single quote is also useful if the value begins
+        with a double-quote character. Conversely, the double quote can be used if the
+        value begins with a single quote. If the value contains both single-quote and
+        double-quote characters, the quote character used to enclose the value must be
+        doubled each time it occurs within the value.
+      </para>
+      <para>
+        To include preceding or trailing spaces in the string value, the value must
+        be enclosed in either single quotes or double quotes. Any leading or trailing
+        spaces around integer, Boolean, or enumerated values are ignored, even if
+        enclosed in quotes. However, spaces within a string literal keyword or value are
+        preserved. Using .NET Framework version 1.1, single or double quotes may be used
+        within a connection string without using delimiters (for example, Data Source=
+        my'Server or Data Source= my"Server), unless a quote character is the first or
+        last character in the value.
+      </para>
+      <para>
+        To include an equal sign (=) in a keyword or value, it must be preceded by
+        another equal sign. For example, in the hypothetical connection string
+      </para>
+      <c>"key==word=value"</c>
+      <para />
+      <para>the keyword is "key=word" and the value is "value".</para>
+      <para>
+        If a specific keyword in a keyword= value pair occurs multiple times in a
+        connection string, the last occurrence listed is used in the value set.
+      </para>
+      <para>Keywords are not case sensitive.</para>
+      <para>
+        The following table lists the valid names for keyword values within the
+        <B>ConnectionString</B>.
+      </para>
+
+      <div class="tablediv">
+        <table class="dtTABLE" cellspacing="0">
+          <tr valign="top">
+            <th width="33%">Name</th>
+            <th width="33%">Default</th>
+            <th width="33%">Description</th>
+          </tr>
+          <tr>
+            <td>
+              Connect Timeout<para>  -or-  </para>Connection Timeout
+            </td>
+            <td>15</td>
+            <td>
+              The length of time (in seconds) to wait for a connection to the server before
+              terminating the attempt and generating an error.
+            </td>
+          </tr>
+          <tr>
+            <td>
+              Host<para>  -or-  </para>Server<para>  -or-  </para>Data Source<para>  -or-  </para>
+              DataSource<para>  -or-  </para>Address<para>  -or-  </para>Addr<para>  -or-  </para>
+              Network Address
+            </td>
+            <td>localhost</td>
+            <td>
+              <para>
+                The name or network address of the instance of MySQL to which to connect.  Multiple hosts can be
+                specified separated by &amp;.  This can be useful where multiple MySQL servers are configured for replication
+                and you are not concerned about the precise server you are connecting to.  No attempt is made by the provider to
+                synchronize writes to the database so care should be taken when using this option.
+              </para>
+              <para>
+                In Unix environment with Mono, this can be a fully qualified path to MySQL socket filename. With this configuration, the Unix socket will be used instead of TCP/IP socket.
+                Currently only a single socket name can be given so accessing MySQL in a replicated environment using Unix sockets is not currently supported.
+              </para>
+            </td>
+          </tr>
+          <tr>
+            <td>Port</td>
+            <td>3306</td>
+            <td>
+              The port MySQL is using to listen for connections.  This value is ignored if the connection protocol 
+              is anything but socket.
+            </td>
+          </tr>
+          <tr>
+            <td>Protocol</td>
+            <td>socket</td>
+            <td>
+              Specifies the type of connection to make to the server.<para>Values can be:</para>
+              socket or tcp for a socket connection<br />
+              pipe for a named pipe connection<br />
+              unix for a Unix socket connection<br />
+              memory to use MySQL shared memory
+            </td>
+          </tr>
+          <tr>
+            <td>
+              CharSet<para>  -or  </para>Character Set
+            </td>
+            <td />
+            <td>
+              Specifies the character set that should be used to encode all queries sent to the server.
+              Resultsets are still returned in the character set of the data returned.
+            </td>
+          </tr>
+          <tr>
+            <td>Logging</td>
+            <td>false</td>
+            <td>When true, various pieces of information is output to any configured TraceListeners.</td>
+          </tr>
+          <tr>
+            <td>Allow Batch</td>
+            <td>true</td>
+            <td>
+              When true, multiple SQL statements can be sent with one command execution.<br /><br />
+              -Note-<br />
+              Starting with MySQL 4.1.1, batch statements should be separated by the server-defined seperator character.<br />
+              Commands sent to earlier versions of MySQL should be seperated with ';'.
+            </td>
+          </tr>
+          <tr>
+            <td>Encrypt</td>
+            <td>false</td>
+            <td>
+              When <B>true</B>, SSL/TLS encryption is used for all data sent between the
+              client and server if the server has a certificate installed. Recognized values
+              are <B>true</B>, <B>false</B>, <B>yes</B>, and <B>no</B>.
+            </td>
+          </tr>
+          <tr>
+            <td>
+              Initial Catalog<para>  -or-  </para>Database
+            </td>
+            <td>mysql</td>
+            <td>The name of the database to use intially</td>
+          </tr>
+          <tr>
+            <td>
+              Password<para>  -or-  </para>pwd
+            </td>
+            <td />
+            <td>The password for the MySQL account being used.</td>
+          </tr>
+          <tr>
+            <td>Persist Security Info</td>
+            <td>false</td>
+            <td>
+              When set to <B>false</B> or <B>no</B> (strongly recommended), security-sensitive
+              information, such as the password, is not returned as part of the connection if
+              the connection is open or has ever been in an open state. Resetting the
+              connection string resets all connection string values including the password.
+              Recognized values are <B>true</B>, <B>false</B>, <B>yes</B>, and <B>no</B>.
+            </td>
+          </tr>
+          <tr>
+            <td>
+              User Id<para>  -or-  </para>Username<para>  -or-  </para>Uid<para>  -or-  </para>User name
+            </td>
+            <td />
+            <td>The MySQL login account being used.</td>
+          </tr>
+          <tr>
+            <td>Shared Memory Name</td>
+            <td>MYSQL</td>
+            <td>The name of the shared memory object to use for communication if the connection protocol is set to memory.</td>
+          </tr>
+          <tr>
+            <td>Allow Zero Datetime</td>
+            <td>false</td>
+            <td>
+              True to have MySqlDataReader.GetValue() return a MySqlDateTime for date or datetime columns that have illegal values.
+              False will cause a DateTime object to be returned for legal values and an exception will be thrown for illegal values.
+            </td>
+          </tr>
+          <tr>
+            <td>Convert Zero Datetime</td>
+            <td>false</td>
+            <td>
+              True to have MySqlDataReader.GetValue() and MySqlDataReader.GetDateTime()
+              return DateTime.MinValue for date or datetime columns that have illegal values.
+            </td>
+          </tr>
+          <tr>
+            <td>
+              Pipe Name<para>  -or-  </para>Pipe
+            </td>
+            <td>mysql</td>
+            <td>
+              When set to the name of a named pipe, the <B>MySqlConnection</B> will attempt to connect to MySQL
+              on that named pipe.<br /><br />This settings only applies to the Windows platform.
+            </td>
+          </tr>
+          <tr>
+            <td>
+              Use Performance Monitor<para>  -or-  </para>UsePerformanceMonitor
+            </td>
+            <td>false</td>
+            <td>
+              Posts performance data that can be tracked using perfmon
+            </td>
+          </tr>
+          <tr>
+            <td>
+              Procedure Cache Size
+            </td>
+            <td>25</td>
+            <td>
+              How many stored procedure definitions can be held in the cache
+            </td>
+          </tr>
+          <tr>
+            <td>
+              Ignore Prepare
+            </td>
+            <td>true</td>
+            <td>
+              Instructs the provider to ignore any attempts to prepare commands.  This option
+              was added to allow a user to disable prepared statements in an entire application
+              without modifying the code.  A user might want to do this if errors or bugs are
+              encountered with MySQL prepared statements.
+            </td>
+          </tr>
+          <tr>
+            <td>Use Procedure Bodies</td>
+            <td>true</td>
+            <td>
+              Instructs the provider to attempt to call the procedure without first resolving the metadata.  This
+              is useful in situations where the calling user does not have access to the mysql.proc table.  To
+              use this mode, the parameters for the procedure must be added to the command in the same order
+              as they appear in the procedure definition and their types must be explicitly set.
+            </td>
+          </tr>
+          <tr>
+            <td>Auto Enlist</td>
+            <td>true</td>
+            <td>
+              Indicates whether the connection should automatically enlist in the current transaction,
+              if there is one.
+            </td>
+          </tr>
+          <tr>
+            <td>Respect Binary Flags</td>
+            <td>true</td>
+            <td>
+              Indicates whether the connection should respect all binary flags sent to the client
+              as part of column metadata.  False will cause the connector to behave like
+              Connector/Net 5.0 and earlier.
+            </td>
+          </tr>
+          <tr>
+            <td>BlobAsUTF8IncludePattern</td>
+            <td>null</td>
+            <td>
+              Pattern that should be used to indicate which blob columns should be treated as UTF-8.
+            </td>
+          </tr>
+          <tr>
+            <td>BlobAsUTF8ExcludePattern</td>
+            <td>null</td>
+            <td>
+              Pattern that should be used to indicate which blob columns should not be treated as UTF-8.
+            </td>
+          </tr>
+          <tr>
+            <td>Default Command Timeout</td>
+            <td>30</td>
+            <td>
+              The default timeout that new MySqlCommand objects will use unless changed.
+            </td>
+          </tr>
+          <tr>
+            <td>Allow User Variables</td>
+            <td>false</td>
+            <td>
+              Should the provider expect user variables in the SQL.
+            </td>
+          </tr>
+          <tr>
+            <td>Interactive -or- Interactive Session</td>
+            <td>false</td>
+            <td>
+              Should this session be considered interactive?
+            </td>
+          </tr>
+          <tr>
+            <td>Functions Return String</td>
+            <td>false</td>
+            <td>
+              Set this option to true to force the return value of SQL functions to be string.
+            </td>
+          </tr>
+          <tr>
+            <td>Use Affected Rows</td>
+            <td>false</td>
+            <td>
+              Set this option to true to cause the affected rows reported to reflect only the 
+              rows that are actually changed.  By default, the number of rows that are matched 
+              is returned.
+            </td>
+          </tr>
+        </table>
+      </div>
+      <para>
+        The following table lists the valid names for connection pooling values within
+        the <B>ConnectionString</B>. For more information about connection pooling, see
+        Connection Pooling for the MySql Data Provider.
+      </para>
+      <div class="tablediv">
+        <table class="dtTABLE" cellspacing="0">
+          <tr valign="top">
+            <th width="33%">Name</th>
+            <th width="33%">Default</th>
+            <th width="33%">Description</th>
+          </tr>
+          <tr>
+            <td>Connection Lifetime</td>
+            <td>0</td>
+            <td>
+              When a connection is returned to the pool, its creation time is compared with
+              the current time, and the connection is destroyed if that time span (in seconds)
+              exceeds the value specified by <B>Connection Lifetime</B>. This is useful in
+              clustered configurations to force load balancing between a running server and a
+              server just brought online.
+              <para>
+                A value of zero (0) causes pooled connections to have the maximum connection
+                timeout.
+              </para>
+            </td>
+          </tr>
+          <tr>
+            <td>Max Pool Size</td>
+            <td>100</td>
+            <td>The maximum number of connections allowed in the pool.</td>
+          </tr>
+          <tr>
+            <td>Min Pool Size</td>
+            <td>0</td>
+            <td>The minimum number of connections allowed in the pool.</td>
+          </tr>
+          <tr>
+            <td>Pooling</td>
+            <td>true</td>
+            <td>
+              When <B>true</B>, the <B>MySqlConnection</B> object is drawn from the appropriate
+              pool, or if necessary, is created and added to the appropriate pool. Recognized
+              values are <B>true</B>, <B>false</B>, <B>yes</B>, and <B>no</B>.
+            </td>
+          </tr>
+          <tr>
+            <td>Connection Reset</td>
+            <td>false</td>
+            <td>
+              Specifies whether the database connection should be reset when being
+              drawn from the pool.  Leaving this as <b>false</b> will yeild much faster
+              connection opens but the user should understand the side effects
+              of doing this such as temporary tables and user variables from the previous
+              session not being cleared out.
+            </td>
+          </tr>
+          <tr>
+            <td>Cache Server Properties</td>
+            <td>false</td>
+            <td>
+              Specifies whether the server variables are cached between pooled connections.
+              On systems where the variables change infrequently and there are lots of
+              connection attempts, this can speed up things dramatically.
+            </td>
+          </tr>
+        </table>
+      </div>
+      <para>
+        When setting keyword or connection pooling values that require a Boolean
+        value, you can use 'yes' instead of 'true', and 'no' instead of 'false'.
+      </para>
+      <para>
+        <B>Note</B>  The MySql Data Provider uses the native socket protocol to
+        communicate with MySQL.  Therefore, it does not support the use of an ODBC data source name (DSN) when
+        connecting to MySQL because it does not add an ODBC layer.
+      </para>
+      <para>
+        <B>CAUTION</B>  In this release, the application should use caution when constructing a
+        connection string based on user input (for example when retrieving user ID and password information from a
+        dialog box, and appending it to the connection string). The application should
+        ensure that a user cannot embed extra connection string parameters in these
+        values (for example, entering a password as "validpassword;database=somedb" in
+        an attempt to attach to a different database).
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and sets some of its properties
+      <code lang="vbnet">
+        Public Sub CreateConnection()
+        Dim myConnection As New MySqlConnection()
+        myConnection.ConnectionString = "Persist Security Info=False;database=myDB;server=myHost;Connect Timeout=30;user id=myUser; pwd=myPass"
+        myConnection.Open()
+        End Sub 'CreateConnection
+      </code>
+      <code lang="C#">
+        public void CreateConnection()
+        {
+        MySqlConnection myConnection = new MySqlConnection();
+        myConnection.ConnectionString = "Persist Security Info=False;database=myDB;server=myHost;Connect Timeout=30;user id=myUser; pwd=myPass";
+        myConnection.Open();
+        }
+      </code>
+    </example><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> in Unix environment with Mono installed. MySQL socket filename used in this example is "/var/lib/mysql/mysql.sock". The actual filename depends on your MySQL configuration.
+      <code lang="vbnet">
+        Public Sub CreateConnection()
+        Dim myConnection As New MySqlConnection()
+        myConnection.ConnectionString = "database=myDB;server=/var/lib/mysql/mysql.sock;user id=myUser; pwd=myPass"
+        myConnection.Open()
+        End Sub 'CreateConnection
+      </code>
+      <code lang="C#">
+        public void CreateConnection()
+        {
+        MySqlConnection myConnection = new MySqlConnection();
+        myConnection.ConnectionString = "database=myDB;server=/var/lib/mysql/mysql.sock;user id=myUser; pwd=myPass";
+        myConnection.Open();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.EnlistTransaction(System.Transactions.Transaction)">
+            <summary>
+            Enlists in the specified transaction. 
+            </summary>
+            <param name="transaction">
+            A reference to an existing <see cref="T:System.Transactions.Transaction"/> in which to enlist.
+            </param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction">
+            <summary>Begins a database transaction.</summary><returns>An object representing the new transaction.</returns><exception cref="T:System.InvalidOperationException">Parallel transactions are not supported.</exception><remarks>
+      <para>This command is equivalent to the MySQL BEGIN TRANSACTION command.</para>
+      <para>
+        You must explicitly commit or roll back the transaction using the <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" /> or
+        <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> method.
+        <note>
+          If you do not specify an isolation level, the default isolation level is used. To specify an isolation
+          level with the <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" /> method, use the overload that takes the <I>iso</I> parameter.  Also
+          note that any attempt to begin a transaction while a transaction is in progress will throw an exception on MySQL 4.1 and higher.
+          On MySQL 4.0, an exception will not be thrown because servers 4.0 and earlier did not report their transacation status.
+        </note>
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a
+      <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />.  It also demonstrates how to use the <B>BeginTransaction</B>, a
+      <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> methods.
+      <code lang="vbnet">
+        Public Sub RunTransaction(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+
+        Dim myCommand As MySqlCommand = myConnection.CreateCommand()
+        Dim myTrans As MySqlTransaction
+
+        ' Start a local transaction
+        myTrans = myConnection.BeginTransaction()
+        ' Must assign both transaction object and connection
+        ' to Command object for a pending local transaction
+        myCommand.Connection = myConnection
+        myCommand.Transaction = myTrans
+
+        Try
+        myCommand.CommandText = "Insert into Test (id, desc) VALUES (100, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myCommand.CommandText = "Insert into Test (id, desc) VALUES (101, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myTrans.Commit()
+        Console.WriteLine("Both records are written to database.")
+        Catch e As Exception
+        Try
+        myTrans.Rollback()
+        Catch ex As MySqlException
+        If Not myTrans.Connection Is Nothing Then
+        Console.WriteLine("An exception of type " + ex.GetType().ToString() + _
+        " was encountered while attempting to roll back the transaction.")
+        End If
+        End Try
+
+        Console.WriteLine("An exception of type " + e.GetType().ToString() + _
+        "was encountered while inserting the data.")
+        Console.WriteLine("Neither record was written to database.")
+        Finally
+        myConnection.Close()
+        End Try
+        End Sub
+      </code>
+      <code lang="C#">
+        public void RunTransaction(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+
+        MySqlCommand myCommand = myConnection.CreateCommand();
+        MySqlTransaction myTrans;
+
+        // Start a local transaction
+        myTrans = myConnection.BeginTransaction();
+        // Must assign both transaction object and connection
+        // to Command object for a pending local transaction
+        myCommand.Connection = myConnection;
+        myCommand.Transaction = myTrans;
+
+        try
+        {
+        myCommand.CommandText = "insert into Test (id, desc) VALUES (100, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myCommand.CommandText = "insert into Test (id, desc) VALUES (101, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myTrans.Commit();
+        Console.WriteLine("Both records are written to database.");
+        }
+        catch(Exception e)
+        {
+        try
+        {
+        myTrans.Rollback();
+        }
+        catch (SqlException ex)
+        {
+        if (myTrans.Connection != null)
+        {
+        Console.WriteLine("An exception of type " + ex.GetType() +
+        " was encountered while attempting to roll back the transaction.");
+        }
+        }
+
+        Console.WriteLine("An exception of type " + e.GetType() +
+        " was encountered while inserting the data.");
+        Console.WriteLine("Neither record was written to database.");
+        }
+        finally
+        {
+        myConnection.Close();
+        }
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction(System.Data.IsolationLevel)">
+            <summary>Begins a database transaction with the specified isolation level.</summary><param name="iso">The isolation level under which the transaction should run. </param><returns>An object representing the new transaction.</returns><exception cref="T:System.InvalidOperationException">Parallel exceptions are not supported.</exception><remarks>
+      <para>This command is equivalent to the MySQL BEGIN TRANSACTION command.</para>
+      <para>
+        You must explicitly commit or roll back the transaction using the <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" /> or
+        <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> method.
+        <note>
+          If you do not specify an isolation level, the default isolation level is used. To specify an isolation
+          level with the <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" /> method, use the overload that takes the <I>iso</I> parameter.
+          Also note that any attempt to begin a transaction while a transaction is in progress will throw an exception on MySQL 4.1 and higher.
+          On MySQL 4.0, an exception will not be thrown because servers 4.0 and earlier did not report their transacation status.
+        </note>
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a
+      <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />.  It also demonstrates how to use the <B>BeginTransaction</B>, a
+      <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> methods.
+      <code lang="vbnet">
+        Public Sub RunTransaction(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+
+        Dim myCommand As MySqlCommand = myConnection.CreateCommand()
+        Dim myTrans As MySqlTransaction
+
+        ' Start a local transaction
+        myTrans = myConnection.BeginTransaction()
+        ' Must assign both transaction object and connection
+        ' to Command object for a pending local transaction
+        myCommand.Connection = myConnection
+        myCommand.Transaction = myTrans
+
+        Try
+        myCommand.CommandText = "Insert into Test (id, desc) VALUES (100, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myCommand.CommandText = "Insert into Test (id, desc) VALUES (101, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myTrans.Commit()
+        Console.WriteLine("Both records are written to database.")
+        Catch e As Exception
+        Try
+        myTrans.Rollback()
+        Catch ex As MySqlException
+        If Not myTrans.Connection Is Nothing Then
+        Console.WriteLine("An exception of type " + ex.GetType().ToString() + _
+        " was encountered while attempting to roll back the transaction.")
+        End If
+        End Try
+
+        Console.WriteLine("An exception of type " + e.GetType().ToString() + _
+        "was encountered while inserting the data.")
+        Console.WriteLine("Neither record was written to database.")
+        Finally
+        myConnection.Close()
+        End Try
+        End Sub
+      </code>
+      <code lang="C#">
+        public void RunTransaction(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+
+        MySqlCommand myCommand = myConnection.CreateCommand();
+        MySqlTransaction myTrans;
+
+        // Start a local transaction
+        myTrans = myConnection.BeginTransaction();
+        // Must assign both transaction object and connection
+        // to Command object for a pending local transaction
+        myCommand.Connection = myConnection;
+        myCommand.Transaction = myTrans;
+
+        try
+        {
+        myCommand.CommandText = "insert into Test (id, desc) VALUES (100, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myCommand.CommandText = "insert into Test (id, desc) VALUES (101, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myTrans.Commit();
+        Console.WriteLine("Both records are written to database.");
+        }
+        catch(Exception e)
+        {
+        try
+        {
+        myTrans.Rollback();
+        }
+        catch (SqlException ex)
+        {
+        if (myTrans.Connection != null)
+        {
+        Console.WriteLine("An exception of type " + ex.GetType() +
+        " was encountered while attempting to roll back the transaction.");
+        }
+        }
+
+        Console.WriteLine("An exception of type " + e.GetType() +
+        " was encountered while inserting the data.");
+        Console.WriteLine("Neither record was written to database.");
+        }
+        finally
+        {
+        myConnection.Close();
+        }
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.ChangeDatabase(System.String)">
+            <summary>Changes the current database for an open MySqlConnection.</summary><param name="databaseName">The name of the database to use.</param><remarks>
+      <para>
+        The value supplied in the <I>database</I> parameter must be a valid database
+        name. The <I>database</I> parameter cannot contain a null value, an empty
+        string, or a string with only blank characters.
+      </para>
+
+      <para>
+        When you are using connection pooling against MySQL, and you close
+        the connection, it is returned to the connection pool. The next time the
+        connection is retrieved from the pool, the reset connection request
+        executes before the user performs any operations.
+      </para>
+    </remarks><exception cref="T:System.ArgumentException">The database name is not valid.</exception><exception cref="T:System.InvalidOperationException">The connection is not open.</exception><exception cref="T:MySql.Data.MySqlClient.MySqlException">Cannot change the database.</exception><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and displays
+      some of its read-only properties.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlConnection()
+        Dim myConnString As String = _
+        "Persist Security Info=False;database=test;server=localhost;user id=joeuser;pwd=pass"
+        Dim myConnection As New MySqlConnection( myConnString )
+        myConnection.Open()
+        MessageBox.Show( "Server Version: " + myConnection.ServerVersion _
+        + ControlChars.NewLine + "Database: " + myConnection.Database )
+        myConnection.ChangeDatabase( "test2" )
+        MessageBox.Show( "ServerVersion: " + myConnection.ServerVersion _
+        + ControlChars.NewLine + "Database: " + myConnection.Database )
+        myConnection.Close()
+        End Sub
+      </code>
+
+      <code lang="C#">
+        public void CreateMySqlConnection()
+        {
+        string myConnString =
+        "Persist Security Info=False;database=test;server=localhost;user id=joeuser;pwd=pass";
+        MySqlConnection myConnection = new MySqlConnection( myConnString );
+        myConnection.Open();
+        MessageBox.Show( "Server Version: " + myConnection.ServerVersion
+        + "\nDatabase: " + myConnection.Database );
+        myConnection.ChangeDatabase( "test2" );
+        MessageBox.Show( "ServerVersion: " + myConnection.ServerVersion
+        + "\nDatabase: " + myConnection.Database );
+        myConnection.Close();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.Ping">
+            <summary>
+            Ping
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.Open">
+            <summary>Opens a database connection with the property settings specified by the ConnectionString.</summary><exception cref="T:System.InvalidOperationException">Cannot open a connection without specifying a data source or server.</exception><exception cref="T:MySql.Data.MySqlClient.MySqlException">A connection-level error occurred while opening the connection.</exception><remarks>
+      <para>
+        The <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> draws an open connection from the connection pool if one is available.
+        Otherwise, it establishes a new connection to an instance of MySQL.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, opens it,
+      displays some of its properties, then closes the connection.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlConnection(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+        MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _
+        + ControlChars.Cr + "State: " + myConnection.State.ToString())
+        myConnection.Close()
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlConnection(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+        MessageBox.Show("ServerVersion: " + myConnection.ServerVersion +
+        "\nState: " + myConnection.State.ToString());
+        myConnection.Close();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.CreateCommand">
+            <summary>
+      Creates and returns a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> object associated with the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />.
+    </summary><returns>
+      A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> object.
+    </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.Clone">
+            <summary>
+            Creates a new MySqlConnection object with the exact same ConnectionString value
+            </summary>
+            <returns>A cloned MySqlConnection object</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.Close">
+            <summary>Closes the connection to the database. This is the preferred method of closing any open connection.</summary><remarks>
+      <para>
+        The <B>Close</B> method rolls back any pending transactions. It then releases
+        the connection to the connection pool, or closes the connection if connection
+        pooling is disabled.
+      </para>
+      <para>
+        An application can call <B>Close</B> more than one time. No exception is
+        generated.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, opens it,
+      displays some of its properties, then closes the connection.
+
+      <code lang="vbnet">
+        Public Sub CreateMySqlConnection(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+        MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _
+        + ControlChars.Cr + "State: " + myConnection.State.ToString())
+        myConnection.Close()
+        End Sub
+      </code>
+      <code lang="C#">
+        public void CreateMySqlConnection(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+        MessageBox.Show("ServerVersion: " + myConnection.ServerVersion +
+        "\nState: " + myConnection.State.ToString());
+        myConnection.Close();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.SetCommandTimeout(System.Int32)">
+            <summary>
+            Sets query timeout. If timeout has been set prior and not
+            yet cleared ClearCommandTimeout(), it has no effect.
+            </summary>
+            <param name="value">timeout in seconds</param>
+            <returns>true if </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearCommandTimeout">
+            <summary>
+            Clears query timeout, allowing next SetCommandTimeout() to succeed.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearPool(MySql.Data.MySqlClient.MySqlConnection)">
+            <summary>Empties the connection pool associated with the specified connection.</summary><param name="connection">
+      The <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> associated with the pool to be cleared.
+    </param><remarks>
+      <para>
+        ClearPool clears the connection pool that is associated with the connection.
+        If additional connections associated with connection are in use at the time of the call,
+        they are marked appropriately and are discarded (instead of being returned to the pool)
+        when Close is called on them.
+      </para>
+    </remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearAllPools">
+            <summary>Clears all connection pools.</summary><remarks>
+      <para>
+        ClearAllPools essentially performs a <see cref="M:MySql.Data.MySqlClient.MySqlConnection.ClearPool(MySql.Data.MySqlClient.MySqlConnection)" /> on all current connection
+        pools.
+      </para>
+    </remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransactionAsync">
+            <summary>
+            Async version of BeginTransaction
+            </summary>
+            <returns>An object representing the new transaction.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransactionAsync(System.Data.IsolationLevel)">
+            <summary>
+            Async version of BeginTransaction
+            </summary>
+            <param name="iso">The isolation level under which the transaction should run. </param>
+            <returns>An object representing the new transaction.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.ChangeDataBaseAsync(System.String,System.Threading.CancellationToken)">
+            <summary>
+            Async version of ChangeDataBase
+            </summary>
+            <param name="databaseName">The name of the database to use.</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.CloseAsync">
+            <summary>
+            Async version of Close
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearPoolAsync(MySql.Data.MySqlClient.MySqlConnection)">
+            <summary>
+            Async version of ClearPool
+            </summary>
+            <param name="connection">The connection associated with the pool to be cleared.</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearAllPoolsAsync">
+            <summary>
+            Async version of ClearAllPools
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.GetSchemaCollectionAsync(System.String,System.String[])">
+            <summary>
+            Async version of GetSchemaCollection
+            </summary>
+            <param name="collectionName">Name of the collection</param>
+            <param name="restrictionValues">Values to restrict</param>
+            <returns>A schema collection</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.GetSchema">
+            <summary>
+            Returns schema information for the data source of this <see cref="T:System.Data.Common.DbConnection"/>. 
+            </summary>
+            <returns>A <see cref="T:System.Data.DataTable"/> that contains schema information. </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.GetSchema(System.String)">
+            <summary>
+            Returns schema information for the data source of this 
+            <see cref="T:System.Data.Common.DbConnection"/> using the specified string for the schema name. 
+            </summary>
+            <param name="collectionName">Specifies the name of the schema to return. </param>
+            <returns>A <see cref="T:System.Data.DataTable"/> that contains schema information. </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlConnection.GetSchema(System.String,System.String[])">
+            <summary>
+            Returns schema information for the data source of this <see cref="T:System.Data.Common.DbConnection"/>
+            using the specified string for the schema name and the specified string array 
+            for the restriction values. 
+            </summary>
+            <param name="collectionName">Specifies the name of the schema to return.</param>
+            <param name="restrictionValues">Specifies a set of restriction values for the requested schema.</param>
+            <returns>A <see cref="T:System.Data.DataTable"/> that contains schema information.</returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlInfoMessageEventHandler">
+            <summary>
+            Represents the method that will handle the <see cref="E:MySql.Data.MySqlClient.MySqlConnection.InfoMessage"/> event of a 
+            <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/>.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlInfoMessageEventArgs">
+            <summary>
+            Provides data for the InfoMessage event. This class cannot be inherited.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlInfoMessageEventArgs.errors">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.CommandTimer">
+            <summary>
+            IDisposable wrapper around SetCommandTimeout and ClearCommandTimeout
+            functionality
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Crypt">
+            <summary>
+            Summary description for Crypt.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Crypt.XorScramble(System.Byte[],System.Int32,System.Byte[],System.Int32,System.Byte[],System.Int32)">
+            <summary>
+            Simple XOR scramble
+            </summary>
+            <param name="from">Source array</param>
+            <param name="fromIndex">Index inside source array</param>
+            <param name="to">Destination array</param>
+            <param name="toIndex">Index inside destination array</param>
+            <param name="password">Password used to xor the bits</param>
+            <param name="length">Number of bytes to scramble</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Crypt.Get411Password(System.String,System.String)">
+            <summary>
+            Returns a byte array containing the proper encryption of the 
+            given password/seed according to the new 4.1.1 authentication scheme.
+            </summary>
+            <param name="password"></param>
+            <param name="seed"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Crypt.EncryptPassword(System.String,System.String,System.Boolean)">
+            <summary>
+            Encrypts a password using the MySql encryption scheme
+            </summary>
+            <param name="password">The password to encrypt</param>
+            <param name="seed">The encryption seed the server gave us</param>
+            <param name="new_ver">Indicates if we should use the old or new encryption scheme</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Crypt.Hash(System.String)">
+            <summary>
+            Hashes a password using the algorithm from Monty's code.
+            The first element in the return is the result of the "old" hash.
+            The second element is the rest of the "new" hash.
+            </summary>
+            <param name="P">Password to be hashed</param>
+            <returns>Two element array containing the hashed values</returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlDataAdapter">
+            <summary>
+      Represents a set of data commands and a database connection that are used to fill a dataset and update a MySQL database. This class cannot be inherited.
+    </summary><remarks>
+      <para>
+        The <B>MySQLDataAdapter</B>, serves as a bridge between a <see cref="T:System.Data.DataSet" />
+        and MySQL for retrieving and saving data. The <B>MySQLDataAdapter</B> provides this
+        bridge by mapping <see cref="M:System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet)" />, which changes the data in the
+        <B>DataSet</B> to match the data in the data source, and <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />,
+        which changes the data in the data source to match the data in the <B>DataSet</B>,
+        using the appropriate SQL statements against the data source.
+      </para>
+      <para>
+        When the <B>MySQLDataAdapter</B> fills a <B>DataSet</B>, it will create the necessary
+        tables and columns for the returned data if they do not already exist. However, primary
+        key information will not be included in the implicitly created schema unless the
+        <see cref="T:System.Data.MissingSchemaAction" /> property is set to <see cref="F:System.Data.MissingSchemaAction.AddWithKey" />.
+        You may also have the <B>MySQLDataAdapter</B> create the schema of the <B>DataSet</B>,
+        including primary key information, before filling it with data using <see cref="M:System.Data.Common.DbDataAdapter.FillSchema(System.Data.DataTable,System.Data.SchemaType)" />.
+      </para>
+      <para>
+        <B>MySQLDataAdapter</B> is used in conjunction with <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />
+        and <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> to increase performance when connecting to a MySQL database.
+      </para>
+      <para>
+        The <B>MySQLDataAdapter</B> also includes the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" />,
+        <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.InsertCommand" />, <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.DeleteCommand" />,
+        <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateCommand" />, and <see cref="P:System.Data.Common.DataAdapter.TableMappings" />
+        properties to facilitate the loading and updating of data.
+      </para>
+      <para>
+        When an instance of <B>MySQLDataAdapter</B> is created, the read/write properties
+        are set to initial values. For a list of these values, see the <B>MySQLDataAdapter</B>
+        constructor.
+      </para>
+      <note>
+        Please be aware that the <see cref="T:System.Data.DataColumn" /> class allows only
+        Int16, Int32, and Int64 to have the AutoIncrement property set.
+        If you plan to use autoincremement columns with MySQL, you should consider
+        using signed integer columns.
+      </note>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />.
+      The <B>MySqlConnection</B> is opened and set as the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" /> for the
+      <B>MySqlCommand</B>. The example then calls <see cref="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery" />, and closes
+      the connection. To accomplish this, the <B>ExecuteNonQuery</B> is
+      passed a connection string and a query string that is a SQL INSERT
+      statement.
+      <code lang="vbnet">
+        Public Function SelectRows(dataSet As DataSet, connection As String, query As String) As DataSet
+        Dim conn As New MySqlConnection(connection)
+        Dim adapter As New MySqlDataAdapter()
+        adapter.SelectCommand = new MySqlCommand(query, conn)
+        adapter.Fill(dataset)
+        Return dataset
+        End Function
+      </code>
+      <code lang="C#">
+        public DataSet SelectRows(DataSet dataset,string connection,string query)
+        {
+        MySqlConnection conn = new MySqlConnection(connection);
+        MySqlDataAdapter adapter = new MySqlDataAdapter();
+        adapter.SelectCommand = new MySqlCommand(query, conn);
+        adapter.Fill(dataset);
+        return dataset;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdating">
+            <summary>
+            Occurs during Update before a command is executed against the data source. The attempt to update is made, so the event fires.
+            </summary>
+        </member>
+        <member name="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdated">
+            <summary>
+            Occurs during Update after a command is executed against the data source. The attempt to update is made, so the event fires.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.#ctor">
+            <overloads /><summary>
+      Initializes a new instance of the MySqlDataAdapter class.
+    </summary><remarks>
+      <para>
+        When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> is created,
+        the following read/write properties are set to the following initial
+        values.
+      </para>
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="T:System.Data.MissingMappingAction" />
+          </term>
+          <term>
+            <B>MissingMappingAction.Passthrough</B>
+          </term>
+        </item>
+        <item>
+          <term>
+            <see cref="T:System.Data.MissingSchemaAction" />
+          </term>
+          <term>
+            <B>MissingSchemaAction.Add</B>
+          </term>
+        </item>
+      </list>
+      <para>
+        You can change the value of any of these properties through a separate call
+        to the property.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets some of
+      its properties.
+      <code lang="vbnet">
+        Public Sub CreateSqlDataAdapter()
+        Dim conn As MySqlConnection = New MySqlConnection("Data Source=localhost;" &amp; _
+        "database=test")
+        Dim da As MySqlDataAdapter = New MySqlDataAdapter
+        da.MissingSchemaAction = MissingSchemaAction.AddWithKey
+
+        da.SelectCommand = New MySqlCommand("SELECT id, name FROM mytable", conn)
+        da.InsertCommand = New MySqlCommand("INSERT INTO mytable (id, name) " &amp; _
+        "VALUES (@id, @name)", conn)
+        da.UpdateCommand = New MySqlCommand("UPDATE mytable SET id=@id, name=@name " &amp; _
+        "WHERE id=@oldId", conn)
+        da.DeleteCommand = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn)
+
+        da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name")
+
+        da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name")
+        da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original
+
+        da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original
+        End Sub
+      </code>
+      <code lang="C#">
+        public static void CreateSqlDataAdapter()
+        {
+        MySqlConnection conn = new MySqlConnection("Data Source=localhost;database=test");
+        MySqlDataAdapter da = new MySqlDataAdapter();
+        da.MissingSchemaAction = MissingSchemaAction.AddWithKey;
+
+        da.SelectCommand = new MySqlCommand("SELECT id, name FROM mytable", conn);
+        da.InsertCommand = new MySqlCommand("INSERT INTO mytable (id, name) " +
+        "VALUES (@id, @name)", conn);
+        da.UpdateCommand = new MySqlCommand("UPDATE mytable SET id=@id, name=@name " +
+        "WHERE id=@oldId", conn);
+        da.DeleteCommand = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn);
+
+        da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name");
+
+        da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name");
+        da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original;
+
+        da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.#ctor(MySql.Data.MySqlClient.MySqlCommand)">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> class with
+      the specified <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> as the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" />
+      property.
+    </summary><param name="selectCommand">
+      <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> that is a SQL SELECT statement or stored procedure and is set
+      as the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" />.
+    </param><remarks>
+      <para>
+        When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> is created,
+        the following read/write properties are set to the following initial
+        values.
+      </para>
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="T:System.Data.MissingMappingAction" />
+          </term>
+          <term>
+            <B>MissingMappingAction.Passthrough</B>
+          </term>
+        </item>
+        <item>
+          <term>
+            <see cref="T:System.Data.MissingSchemaAction" />
+          </term>
+          <term>
+            <B>MissingSchemaAction.Add</B>
+          </term>
+        </item>
+      </list>
+      <para>
+        You can change the value of any of these properties through a separate call
+        to the property.
+      </para>
+      <para>
+        When <B>SelectCommand</B> (or any of the other command properties) is assigned
+        to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, the <B>MySqlCommand</B> is not cloned.
+        The <B>SelectCommand</B> maintains a reference to the previously created <B>MySqlCommand</B>
+        object.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets some of
+      its properties.
+      <code lang="vbnet">
+        Public Sub CreateSqlDataAdapter()
+        Dim conn As MySqlConnection = New MySqlConnection("Data Source=localhost;" &amp; _
+        "database=test")
+        Dim cmd as new MySqlCommand("SELECT id, name FROM mytable", conn)
+        Dim da As MySqlDataAdapter = New MySqlDataAdapter(cmd)
+        da.MissingSchemaAction = MissingSchemaAction.AddWithKey
+
+        da.InsertCommand = New MySqlCommand("INSERT INTO mytable (id, name) " &amp; _
+        "VALUES (@id, @name)", conn)
+        da.UpdateCommand = New MySqlCommand("UPDATE mytable SET id=@id, name=@name " &amp; _
+        "WHERE id=@oldId", conn)
+        da.DeleteCommand = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn)
+
+        da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name")
+
+        da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name")
+        da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original
+
+        da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original
+        End Sub
+      </code>
+      <code lang="C#">
+        public static void CreateSqlDataAdapter()
+        {
+        MySqlConnection conn = new MySqlConnection("Data Source=localhost;database=test");
+        MySqlCommand cmd = new MySqlCommand("SELECT id, name FROM mytable", conn);
+        MySqlDataAdapter da = new MySqlDataAdapter(cmd);
+        da.MissingSchemaAction = MissingSchemaAction.AddWithKey;
+
+        da.InsertCommand = new MySqlCommand("INSERT INTO mytable (id, name) " +
+        "VALUES (@id, @name)", conn);
+        da.UpdateCommand = new MySqlCommand("UPDATE mytable SET id=@id, name=@name " +
+        "WHERE id=@oldId", conn);
+        da.DeleteCommand = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn);
+
+        da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name");
+
+        da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name");
+        da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original;
+
+        da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.#ctor(System.String,MySql.Data.MySqlClient.MySqlConnection)">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> class with
+      a <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object.
+    </summary><param name="selectCommandText">
+      A <b>String</b> that is a SQL SELECT statement or stored procedure to be used by
+      the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" />.
+    </param><param name="connection">
+      A <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> that represents the connection.
+    </param><remarks>
+      <para>
+        This implementation of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> opens and closes a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />
+        if it is not already open. This can be useful in a an application that must call the
+        <see cref="M:System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet)" /> method for two or more <B>MySqlDataAdapter</B> objects.
+        If the <B>MySqlConnection</B> is already open, you must explicitly call
+        <see cref="M:MySql.Data.MySqlClient.MySqlConnection.Close" /> or <see cref="M:MySql.Data.MySqlClient.MySqlConnection.Dispose" /> to close it.
+      </para>
+      <para>
+        When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> is created,
+        the following read/write properties are set to the following initial
+        values.
+      </para>
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="T:System.Data.MissingMappingAction" />
+          </term>
+          <term>
+            <B>MissingMappingAction.Passthrough</B>
+          </term>
+        </item>
+        <item>
+          <term>
+            <see cref="T:System.Data.MissingSchemaAction" />
+          </term>
+          <term>
+            <B>MissingSchemaAction.Add</B>
+          </term>
+        </item>
+      </list>
+      <para>
+        You can change the value of any of these properties through a separate call
+        to the property.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets some of
+      its properties.
+      <code lang="vbnet">
+        Public Sub CreateSqlDataAdapter()
+        Dim conn As MySqlConnection = New MySqlConnection("Data Source=localhost;" &amp; _
+        "database=test")
+        Dim da As MySqlDataAdapter = New MySqlDataAdapter("SELECT id, name FROM mytable", conn)
+        da.MissingSchemaAction = MissingSchemaAction.AddWithKey
+
+        da.InsertCommand = New MySqlCommand("INSERT INTO mytable (id, name) " &amp; _
+        "VALUES (@id, @name)", conn)
+        da.UpdateCommand = New MySqlCommand("UPDATE mytable SET id=@id, name=@name " &amp; _
+        "WHERE id=@oldId", conn)
+        da.DeleteCommand = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn)
+
+        da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name")
+
+        da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name")
+        da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original
+
+        da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original
+        End Sub
+      </code>
+      <code lang="C#">
+        public static void CreateSqlDataAdapter()
+        {
+        MySqlConnection conn = new MySqlConnection("Data Source=localhost;database=test");
+        MySqlDataAdapter da = new MySqlDataAdapter("SELECT id, name FROM mytable", conn);
+        da.MissingSchemaAction = MissingSchemaAction.AddWithKey;
+
+        da.InsertCommand = new MySqlCommand("INSERT INTO mytable (id, name) " +
+        "VALUES (@id, @name)", conn);
+        da.UpdateCommand = new MySqlCommand("UPDATE mytable SET id=@id, name=@name " +
+        "WHERE id=@oldId", conn);
+        da.DeleteCommand = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn);
+
+        da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name");
+
+        da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name");
+        da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original;
+
+        da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.#ctor(System.String,System.String)">
+            <summary>
+      Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> class with
+      a <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and a connection string.
+    </summary><param name="selectCommandText">
+      A <see cref="T:System.String" /> that is a SQL SELECT statement or stored procedure to
+      be used by the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" />.
+    </param><param name="selectConnString">The connection string</param><remarks>
+      <para>
+        When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> is created,
+        the following read/write properties are set to the following initial
+        values.
+      </para>
+      <list type="table">
+        <listheader>
+          <term>Properties</term>
+          <term>Initial Value</term>
+        </listheader>
+        <item>
+          <term>
+            <see cref="T:System.Data.MissingMappingAction" />
+          </term>
+          <term>
+            <B>MissingMappingAction.Passthrough</B>
+          </term>
+        </item>
+        <item>
+          <term>
+            <see cref="T:System.Data.MissingSchemaAction" />
+          </term>
+          <term>
+            <B>MissingSchemaAction.Add</B>
+          </term>
+        </item>
+      </list>
+      <para>
+        You can change the value of any of these properties through a separate call
+        to the property.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets some of
+      its properties.
+      <code lang="vbnet">
+        Public Sub CreateSqlDataAdapter()
+        Dim da As MySqlDataAdapter = New MySqlDataAdapter("SELECT id, name FROM mytable", "Data Source=localhost;database=test")
+        Dim conn As MySqlConnection = da.SelectCommand.Connection
+        da.MissingSchemaAction = MissingSchemaAction.AddWithKey
+
+        da.InsertCommand = New MySqlCommand("INSERT INTO mytable (id, name) " &amp; _
+        "VALUES (@id, @name)", conn)
+        da.UpdateCommand = New MySqlCommand("UPDATE mytable SET id=@id, name=@name " &amp; _
+        "WHERE id=@oldId", conn)
+        da.DeleteCommand = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn)
+
+        da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name")
+
+        da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name")
+        da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original
+
+        da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original
+        End Sub
+      </code>
+      <code lang="C#">
+        public static void CreateSqlDataAdapter()
+        {
+        MySqlDataAdapter da = new MySqlDataAdapter("SELECT id, name FROM mytable", "Data Source=localhost;database=test");
+        MySqlConnection conn = da.SelectCommand.Connection;
+        da.MissingSchemaAction = MissingSchemaAction.AddWithKey;
+
+        da.InsertCommand = new MySqlCommand("INSERT INTO mytable (id, name) " +
+        "VALUES (@id, @name)", conn);
+        da.UpdateCommand = new MySqlCommand("UPDATE mytable SET id=@id, name=@name " +
+        "WHERE id=@oldId", conn);
+        da.DeleteCommand = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn);
+
+        da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name");
+
+        da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name");
+        da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original;
+
+        da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataAdapter.DeleteCommand">
+            <summary>
+      Gets or sets a SQL statement or stored procedure used to delete records from the data set.
+    </summary><value>
+      A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to delete records in the
+      database that correspond to deleted rows in the <see cref="T:System.Data.DataSet" />.
+    </value><remarks>
+      <para>
+        During <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />, if this property is not set and primary key information
+        is present in the <see cref="T:System.Data.DataSet" />, the <B>DeleteCommand</B> can be generated
+        automatically if you set the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property and use the
+        <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" />.  Then, any additional commands that you do not set are
+        generated by the <B>MySqlCommandBuilder</B>. This generation logic requires key column
+        information to be present in the <B>DataSet</B>.
+      </para>
+      <para>
+        When <B>DeleteCommand</B> is assigned to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />,
+        the <B>MySqlCommand</B> is not cloned. The <B>DeleteCommand</B> maintains a reference
+        to the previously created <B>MySqlCommand</B> object.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets the
+      <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and <B>DeleteCommand</B> properties. It assumes you have already
+      created a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object.
+      <code lang="vbnet">
+        Public Shared Function CreateCustomerAdapter(conn As MySqlConnection) As MySqlDataAdapter
+
+        Dim da As MySqlDataAdapter = New MySqlDataAdapter()
+        Dim cmd As MySqlCommand
+        Dim parm As MySqlParameter
+
+        ' Create the SelectCommand.
+        cmd = New MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn)
+
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15)
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15)
+
+        da.SelectCommand = cmd
+
+        ' Create the DeleteCommand.
+        cmd = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn)
+
+        parm = cmd.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id")
+        parm.SourceVersion = DataRowVersion.Original
+
+        da.DeleteCommand = cmd
+
+        Return da
+        End Function
+      </code>
+      <code lang="C#">
+        public static MySqlDataAdapter CreateCustomerAdapter(MySqlConnection conn)
+        {
+        MySqlDataAdapter da = new MySqlDataAdapter();
+        MySqlCommand cmd;
+        MySqlParameter parm;
+
+        // Create the SelectCommand.
+        cmd = new MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn);
+
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15);
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15);
+
+        da.SelectCommand = cmd;
+
+        // Create the DeleteCommand.
+        cmd = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn);
+
+        parm = cmd.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id");
+        parm.SourceVersion = DataRowVersion.Original;
+
+        da.DeleteCommand = cmd;
+
+        return da;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataAdapter.InsertCommand">
+            <summary>
+      Gets or sets a SQL statement or stored procedure used to insert records into the data set.
+    </summary><value>
+      A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to insert records into the
+      database that correspond to new rows in the <see cref="T:System.Data.DataSet" />.
+    </value><remarks>
+      <para>
+        During <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />, if this property is not set and primary key information
+        is present in the <see cref="T:System.Data.DataSet" />, the <B>InsertCommand</B> can be generated
+        automatically if you set the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property and use the
+        <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" />.  Then, any additional commands that you do not set are
+        generated by the <B>MySqlCommandBuilder</B>. This generation logic requires key column
+        information to be present in the <B>DataSet</B>.
+      </para>
+      <para>
+        When <B>InsertCommand</B> is assigned to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />,
+        the <B>MySqlCommand</B> is not cloned. The <B>InsertCommand</B> maintains a reference
+        to the previously created <B>MySqlCommand</B> object.
+      </para>
+      <note>
+        If execution of this command returns rows, these rows may be added to the <B>DataSet</B>
+        depending on how you set the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.UpdatedRowSource" /> property of the <B>MySqlCommand</B> object.
+      </note>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets the
+      <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and <B>InsertCommand</B> properties. It assumes you have already
+      created a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object.
+      <code lang="vbnet">
+        Public Shared Function CreateCustomerAdapter(conn As MySqlConnection) As MySqlDataAdapter
+
+        Dim da As MySqlDataAdapter = New MySqlDataAdapter()
+        Dim cmd As MySqlCommand
+        Dim parm As MySqlParameter
+
+        ' Create the SelectCommand.
+        cmd = New MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn)
+
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15)
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15)
+
+        da.SelectCommand = cmd
+
+        ' Create the InsertCommand.
+        cmd = New MySqlCommand("INSERT INTO mytable (id,name) VALUES (@id, @name)", conn)
+
+        cmd.Parameters.Add( "@id", MySqlDbType.VarChar, 15, "id" )
+        cmd.Parameters.Add( "@name", MySqlDbType.VarChar, 15, "name" )
+        da.InsertCommand = cmd
+
+        Return da
+        End Function
+      </code>
+      <code lang="C#">
+        public static MySqlDataAdapter CreateCustomerAdapter(MySqlConnection conn)
+        {
+        MySqlDataAdapter da = new MySqlDataAdapter();
+        MySqlCommand cmd;
+        MySqlParameter parm;
+
+        // Create the SelectCommand.
+        cmd = new MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn);
+
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15);
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15);
+
+        da.SelectCommand = cmd;
+
+        // Create the InsertCommand.
+        cmd = new MySqlCommand("INSERT INTO mytable (id,name) VALUES (@id,@name)", conn);
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15, "id" );
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15, "name" );
+
+        da.InsertCommand = cmd;
+
+        return da;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand">
+            <summary>
+      Gets or sets a SQL statement or stored procedure used to select records in the data source.
+    </summary><value>
+      A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet)" /> to select records from the
+      database for placement in the <see cref="T:System.Data.DataSet" />.
+    </value><remarks>
+      <para>
+        When <B>SelectCommand</B> is assigned to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />,
+        the <B>MySqlCommand</B> is not cloned. The <B>SelectCommand</B> maintains a reference to the
+        previously created <B>MySqlCommand</B> object.
+      </para>
+      <para>
+        If the <B>SelectCommand</B> does not return any rows, no tables are added to the
+        <see cref="T:System.Data.DataSet" />, and no exception is raised.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets the
+      <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and <B>InsertCommand</B> properties. It assumes you have already
+      created a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object.
+      <code lang="vbnet">
+        Public Shared Function CreateCustomerAdapter(conn As MySqlConnection) As MySqlDataAdapter
+
+        Dim da As MySqlDataAdapter = New MySqlDataAdapter()
+        Dim cmd As MySqlCommand
+        Dim parm As MySqlParameter
+
+        ' Create the SelectCommand.
+        cmd = New MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn)
+
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15)
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15)
+
+        da.SelectCommand = cmd
+
+        ' Create the InsertCommand.
+        cmd = New MySqlCommand("INSERT INTO mytable (id,name) VALUES (@id, @name)", conn)
+
+        cmd.Parameters.Add( "@id", MySqlDbType.VarChar, 15, "id" )
+        cmd.Parameters.Add( "@name", MySqlDbType.VarChar, 15, "name" )
+        da.InsertCommand = cmd
+
+        Return da
+        End Function
+      </code>
+      <code lang="C#">
+        public static MySqlDataAdapter CreateCustomerAdapter(MySqlConnection conn)
+        {
+        MySqlDataAdapter da = new MySqlDataAdapter();
+        MySqlCommand cmd;
+        MySqlParameter parm;
+
+        // Create the SelectCommand.
+        cmd = new MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn);
+
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15);
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15);
+
+        da.SelectCommand = cmd;
+
+        // Create the InsertCommand.
+        cmd = new MySqlCommand("INSERT INTO mytable (id,name) VALUES (@id,@name)", conn);
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15, "id" );
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15, "name" );
+
+        da.InsertCommand = cmd;
+
+        return da;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateCommand">
+            <summary>
+      Gets or sets a SQL statement or stored procedure used to updated records in the data source.
+    </summary><value>
+      A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to update records in the
+      database with data from the <see cref="T:System.Data.DataSet" />.
+    </value><remarks>
+      <para>
+        During <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />, if this property is not set and primary key information
+        is present in the <see cref="T:System.Data.DataSet" />, the <B>UpdateCommand</B> can be generated
+        automatically if you set the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property and use the
+        <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" />.  Then, any additional commands that you do not set are
+        generated by the <B>MySqlCommandBuilder</B>. This generation logic requires key column
+        information to be present in the <B>DataSet</B>.
+      </para>
+      <para>
+        When <B>UpdateCommand</B> is assigned to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />,
+        the <B>MySqlCommand</B> is not cloned. The <B>UpdateCommand</B> maintains a reference
+        to the previously created <B>MySqlCommand</B> object.
+      </para>
+      <note>
+        If execution of this command returns rows, these rows may be merged with the DataSet
+        depending on how you set the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.UpdatedRowSource" /> property of the <B>MySqlCommand</B> object.
+      </note>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets the
+      <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and <B>UpdateCommand</B> properties. It assumes you have already
+      created a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object.
+      <code lang="vbnet">
+        Public Shared Function CreateCustomerAdapter(conn As MySqlConnection) As MySqlDataAdapter
+
+        Dim da As MySqlDataAdapter = New MySqlDataAdapter()
+        Dim cmd As MySqlCommand
+        Dim parm As MySqlParameter
+
+        ' Create the SelectCommand.
+        cmd = New MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn)
+
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15)
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15)
+
+        da.SelectCommand = cmd
+
+        ' Create the UpdateCommand.
+        cmd = New MySqlCommand("UPDATE mytable SET id=@id, name=@name WHERE id=@oldId", conn)
+
+        cmd.Parameters.Add( "@id", MySqlDbType.VarChar, 15, "id" )
+        cmd.Parameters.Add( "@name", MySqlDbType.VarChar, 15, "name" )
+
+        parm = cmd.Parameters.Add("@oldId", MySqlDbType.VarChar, 15, "id")
+        parm.SourceVersion = DataRowVersion.Original
+
+        da.UpdateCommand = cmd
+
+        Return da
+        End Function
+      </code>
+      <code lang="C#">
+        public static MySqlDataAdapter CreateCustomerAdapter(MySqlConnection conn)
+        {
+        MySqlDataAdapter da = new MySqlDataAdapter();
+        MySqlCommand cmd;
+        MySqlParameter parm;
+
+        // Create the SelectCommand.
+        cmd = new MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn);
+
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15);
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15);
+
+        da.SelectCommand = cmd;
+
+        // Create the UpdateCommand.
+        cmd = new MySqlCommand("UPDATE mytable SET id=@id, name=@name WHERE id=@oldId", conn);
+        cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15, "id" );
+        cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15, "name" );
+
+        parm = cmd.Parameters.Add( "@oldId", MySqlDbType.VarChar, 15, "id" );
+        parm.SourceVersion = DataRowVersion.Original;
+
+        da.UpdateCommand = cmd;
+
+        return da;
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.OpenConnectionIfClosed(System.Data.DataRowState,System.Collections.Generic.List{MySql.Data.MySqlClient.MySqlConnection})">
+            <summary>
+            Open connection if it was closed.
+            Necessary to workaround "connection must be open and valid" error
+            with batched updates.
+            </summary>
+            <param name="state">Row state</param>
+            <param name="openedConnections"> list of opened connections 
+            If connection is opened by this function, the list is updated
+            </param>
+            <returns>true if connection was opened</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.CreateRowUpdatedEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)">
+            <summary>
+            Overridden. See <see cref="M:System.Data.Common.DbDataAdapter.CreateRowUpdatedEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)"/>.
+            </summary>
+            <param name="dataRow"></param>
+            <param name="command"></param>
+            <param name="statementType"></param>
+            <param name="tableMapping"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.CreateRowUpdatingEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)">
+            <summary>
+            Overridden. See <see cref="M:System.Data.Common.DbDataAdapter.CreateRowUpdatingEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)"/>.
+            </summary>
+            <param name="dataRow"></param>
+            <param name="command"></param>
+            <param name="statementType"></param>
+            <param name="tableMapping"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.OnRowUpdating(System.Data.Common.RowUpdatingEventArgs)">
+            <summary>
+            Overridden. Raises the RowUpdating event.
+            </summary>
+            <param name="value">A MySqlRowUpdatingEventArgs that contains the event data.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.OnRowUpdated(System.Data.Common.RowUpdatedEventArgs)">
+            <summary>
+            Overridden. Raises the RowUpdated event.
+            </summary>
+            <param name="value">A MySqlRowUpdatedEventArgs that contains the event data. </param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataSet">Dataset to use</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataTable)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataTable">Datatable to use</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet,System.String)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="srcTable">Source table</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataTable,System.Data.IDataReader)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataTable">Datatable to use</param>
+            <param name="dataReader">DataReader to use</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataTable,System.Data.IDbCommand,System.Data.CommandBehavior)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataTable">DataTable to use</param>
+            <param name="command">DbCommand to use</param>
+            <param name="behavior">Command Behavior</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Int32,System.Int32,System.Data.DataTable[])">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="startRecord">Start record</param>
+            <param name="maxRecords">Max records</param>
+            <param name="dataTables">DataTable[] to use</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet,System.Int32,System.Int32,System.String)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="startRecord">Start record</param>
+            <param name="maxRecords">Max records</param>
+            <param name="srcTable">Source table</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet,System.String,System.Data.IDataReader,System.Int32,System.Int32)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="srcTable">Source table</param>
+            <param name="dataReader">DataReader to use</param>
+            <param name="startRecord">Start record</param>
+            <param name="maxRecords">Max records</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataTable[],System.Int32,System.Int32,System.Data.IDbCommand,System.Data.CommandBehavior)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataTables">DataTable[] to use</param>
+            <param name="startRecord">Start record</param>
+            <param name="maxRecords">Max records</param>
+            <param name="command">DbCommand to use</param>
+            <param name="behavior">Command Behavior</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet,System.Int32,System.Int32,System.String,System.Data.IDbCommand,System.Data.CommandBehavior)">
+            <summary>
+            Async version of Fill
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="startRecord">Start record</param>
+            <param name="maxRecords">Max records</param>
+            <param name="srcTable">Source table</param>
+            <param name="command">DbCommand to use</param>
+            <param name="behavior">Command Behavior</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataSet,System.Data.SchemaType)">
+            <summary>
+            Async version of FillSchema
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="schemaType">Schema Type</param>
+            <returns>DataTable[]</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataSet,System.Data.SchemaType,System.String)">
+            <summary>
+            Async version of FillSchema
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="schemaType">Schema Type</param>
+            <param name="srcTable">Source Table</param>
+            <returns>DataTable[]</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataSet,System.Data.SchemaType,System.String,System.Data.IDataReader)">
+            <summary>
+            Async version of FillSchema
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="schemaType">Schema Type</param>
+            <param name="srcTable">Source Table</param>
+            <param name="dataReader">DataReader to use</param>
+            <returns>DataTable[]</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataSet,System.Data.SchemaType,System.Data.IDbCommand,System.String,System.Data.CommandBehavior)">
+            <summary>
+            Async version of FillSchema
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="schemaType">Schema Type</param>
+            <param name="command">DBCommand to use</param>
+            <param name="srcTable">Source Table</param>
+            <param name="behavior">Command Behavior</param>
+            <returns>DataTable[]</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataTable,System.Data.SchemaType)">
+            <summary>
+            Async version of FillSchema
+            </summary>
+            <param name="dataTable">DataTable to use</param>
+            <param name="schemaType">Schema Type</param>
+            <returns>DataTable</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataTable,System.Data.SchemaType,System.Data.IDataReader)">
+            <summary>
+            Async version of FillSchema
+            </summary>
+            <param name="dataTable">DataTable to use</param>
+            <param name="schemaType">Schema Type</param>
+            <param name="dataReader">DataReader to use</param>
+            <returns>DataTable</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataTable,System.Data.SchemaType,System.Data.IDbCommand,System.Data.CommandBehavior)">
+            <summary>
+            Async version of FillSchema
+            </summary>
+            <param name="dataTable">DataTable to use</param>
+            <param name="schemaType">Schema Type</param>
+            <param name="command">DBCommand to use</param>
+            <param name="behavior">Command Behavior</param>
+            <returns>DataTable</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataRow[])">
+            <summary>
+            Async version of Update
+            </summary>
+            <param name="dataRows">DataRow[] to use</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataSet)">
+            <summary>
+            Async version of Update
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataTable)">
+            <summary>
+            Async version of Update
+            </summary>
+            <param name="dataTable">DataTable to use</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataRow[],System.Data.Common.DataTableMapping)">
+            <summary>
+            Async version of Update
+            </summary>
+            <param name="dataRows">DataRow[] to use</param>
+            <param name="tableMapping">Data Table Mapping</param>
+            <returns>int</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataSet,System.String)">
+            <summary>
+            Async version of Update
+            </summary>
+            <param name="dataSet">DataSet to use</param>
+            <param name="srcTable">Source Table</param>
+            <returns></returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlRowUpdatingEventHandler">
+            <summary>
+            Represents the method that will handle the <see cref="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdating"/> event of a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter"/>.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlRowUpdatedEventHandler">
+            <summary>
+            Represents the method that will handle the <see cref="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdated"/> event of a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter"/>.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlRowUpdatingEventArgs">
+            <summary>
+            Provides data for the RowUpdating event. This class cannot be inherited.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlRowUpdatingEventArgs.#ctor(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)">
+            <summary>
+            Initializes a new instance of the MySqlRowUpdatingEventArgs class.
+            </summary>
+            <param name="row">The <see cref="T:System.Data.DataRow"/> to 
+            <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param>
+            <param name="command">The <see cref="T:System.Data.IDbCommand"/> to execute during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param>
+            <param name="statementType">One of the <see cref="T:System.Data.StatementType"/> values that specifies the type of query executed.</param>
+            <param name="tableMapping">The <see cref="T:System.Data.Common.DataTableMapping"/> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlRowUpdatingEventArgs.Command">
+            <summary>
+            Gets or sets the MySqlCommand to execute when performing the Update.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlRowUpdatedEventArgs">
+            <summary>
+            Provides data for the RowUpdated event. This class cannot be inherited.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlRowUpdatedEventArgs.#ctor(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)">
+            <summary>
+            Initializes a new instance of the MySqlRowUpdatedEventArgs class.
+            </summary>
+            <param name="row">The <see cref="T:System.Data.DataRow"/> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param>
+            <param name="command">The <see cref="T:System.Data.IDbCommand"/> executed when <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/> is called.</param>
+            <param name="statementType">One of the <see cref="T:System.Data.StatementType"/> values that specifies the type of query executed.</param>
+            <param name="tableMapping">The <see cref="T:System.Data.Common.DataTableMapping"/> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlRowUpdatedEventArgs.Command">
+            <summary>
+            Gets or sets the MySqlCommand executed when Update is called.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlDataReader">
+            <summary>
+      Provides a means of reading a forward-only stream of rows from a MySQL database. This class cannot be inherited.
+    </summary><remarks>
+      <para>
+        To create a <B>MySQLDataReader</B>, you must call the <see cref="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteReader" />
+        method of the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> object, rather than directly using a constructor.
+      </para>
+      <para>
+        While the <B>MySqlDataReader</B> is in use, the associated <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />
+        is busy serving the <B>MySqlDataReader</B>, and no other operations can be performed
+        on the <B>MySqlConnection</B> other than closing it. This is the case until the
+        <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.Close" /> method of the <B>MySqlDataReader</B> is called.
+      </para>
+      <para>
+        <see cref="P:MySql.Data.MySqlClient.MySqlDataReader.IsClosed" /> and <see cref="P:MySql.Data.MySqlClient.MySqlDataReader.RecordsAffected" />
+        are the only properties that you can call after the <B>MySqlDataReader</B> is
+        closed. Though the <B>RecordsAffected</B> property may be accessed at any time
+        while the <B>MySqlDataReader</B> exists, always call <B>Close</B> before returning
+        the value of <B>RecordsAffected</B> to ensure an accurate return value.
+      </para>
+      <para>
+        For optimal performance, <B>MySqlDataReader</B> avoids creating
+        unnecessary objects or making unnecessary copies of data. As a result, multiple calls
+        to methods such as <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.GetValue(System.Int32)" /> return a reference to the
+        same object. Use caution if you are modifying the underlying value of the objects
+        returned by methods such as <B>GetValue</B>.
+      </para>
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />,
+      a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, and a <B>MySqlDataReader</B>. The example reads through
+      the data, writing it out to the console. Finally, the example closes the <B>MySqlDataReader</B>, then the
+      <B>MySqlConnection</B>.
+      <code lang="vbnet">
+        Public Sub ReadMyData(myConnString As String)
+        Dim mySelectQuery As String = "SELECT OrderID, CustomerID FROM Orders"
+        Dim myConnection As New MySqlConnection(myConnString)
+        Dim myCommand As New MySqlCommand(mySelectQuery, myConnection)
+        myConnection.Open()
+        Dim myReader As MySqlDataReader
+        myReader = myCommand.ExecuteReader()
+        ' Always call Read before accessing data.
+        While myReader.Read()
+        Console.WriteLine((myReader.GetInt32(0) &amp; ", " &amp; myReader.GetString(1)))
+        End While
+        ' always call Close when done reading.
+        myReader.Close()
+        ' Close the connection when done with it.
+        myConnection.Close()
+        End Sub 'ReadMyData
+      </code>
+      <code lang="C#">
+        public void ReadMyData(string myConnString) {
+        string mySelectQuery = "SELECT OrderID, CustomerID FROM Orders";
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        MySqlCommand myCommand = new MySqlCommand(mySelectQuery,myConnection);
+        myConnection.Open();
+        MySqlDataReader myReader;
+        myReader = myCommand.ExecuteReader();
+        // Always call Read before accessing data.
+        while (myReader.Read()) {
+        Console.WriteLine(myReader.GetInt32(0) + ", " + myReader.GetString(1));
+        }
+        // always call Close when done reading.
+        myReader.Close();
+        // Close the connection when done with it.
+        myConnection.Close();
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataReader.FieldCount">
+            <summary>
+            Gets the number of columns in the current row.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataReader.HasRows">
+            <summary>
+            Gets a value indicating whether the MySqlDataReader contains one or more rows.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataReader.IsClosed">
+            <summary>
+            Gets a value indicating whether the data reader is closed.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataReader.RecordsAffected">
+            <summary>
+            Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataReader.Item(System.Int32)">
+            <summary>
+            Overloaded. Gets the value of a column in its native format.
+            In C#, this property is the indexer for the MySqlDataReader class.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataReader.Item(System.String)">
+            <summary>
+            Gets the value of a column in its native format.
+            [C#] In C#, this property is the indexer for the MySqlDataReader class.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.Close">
+            <summary>
+            Closes the MySqlDataReader object.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetBoolean(System.String)">
+            <summary>
+            Gets the value of the specified column as a Boolean.
+            </summary>
+            <param name="name"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetBoolean(System.Int32)">
+            <summary>
+            Gets the value of the specified column as a Boolean.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetByte(System.String)">
+            <summary>
+            Gets the value of the specified column as a byte.
+            </summary>
+            <param name="name"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetByte(System.Int32)">
+            <summary>
+            Gets the value of the specified column as a byte.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetSByte(System.String)">
+            <summary>
+            Gets the value of the specified column as a sbyte.
+            </summary>
+            <param name="name"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetSByte(System.Int32)">
+            <summary>
+            Gets the value of the specified column as a sbyte.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)">
+            <summary>
+            Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset.
+            </summary>
+            <param name="i">The zero-based column ordinal. </param>
+            <param name="fieldOffset">The index within the field from which to begin the read operation. </param>
+            <param name="buffer">The buffer into which to read the stream of bytes. </param>
+            <param name="bufferoffset">The index for buffer to begin the read operation. </param>
+            <param name="length">The maximum length to copy into the buffer. </param>
+            <returns>The actual number of bytes read.</returns>
+            <!-- No matching elements were found for the following include tag --><include file="docs/MySqlDataReader.xml" path="MyDocs/MyMembers[@name=&quot;GetBytes&quot;]/*" />
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetChar(System.String)">
+            <summary>
+            Gets the value of the specified column as a single character.
+            </summary>
+            <param name="name"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetChar(System.Int32)">
+            <summary>
+            Gets the value of the specified column as a single character.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)">
+            <summary>
+            Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.
+            </summary>
+            <param name="i"></param>
+            <param name="fieldoffset"></param>
+            <param name="buffer"></param>
+            <param name="bufferoffset"></param>
+            <param name="length"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDataTypeName(System.Int32)">
+            <summary>
+            Gets the name of the source data type.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetMySqlDateTime(System.String)">
+            <summary>
+      Gets the value of the specified column as a <see cref="T:MySql.Data.Types.MySqlDateTime" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetMySqlDateTime(System.Int32)">
+            <summary>
+      Gets the value of the specified column as a <see cref="T:MySql.Data.Types.MySqlDateTime" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDateTime(System.String)">
+            <summary>
+      Gets the value of the specified column as a <see cref="T:System.DateTime" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+      <note>
+        <para>
+          MySql allows date columns to contain the value '0000-00-00' and datetime
+          columns to contain the value '0000-00-00 00:00:00'.  The DateTime structure cannot contain
+          or represent these values.  To read a datetime value from a column that might
+          contain zero values, use <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.GetMySqlDateTime(System.Int32)" />.
+        </para>
+        <para>
+          The behavior of reading a zero datetime column using this method is defined by the
+          <i>ZeroDateTimeBehavior</i> connection string option.  For more information on this option,
+          please refer to <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" />.
+        </para>
+      </note>
+    </remarks><param name="column">The column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDateTime(System.Int32)">
+            <summary>
+      Gets the value of the specified column as a <see cref="T:System.DateTime" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+      <note>
+        <para>
+          MySql allows date columns to contain the value '0000-00-00' and datetime
+          columns to contain the value '0000-00-00 00:00:00'.  The DateTime structure cannot contain
+          or represent these values.  To read a datetime value from a column that might
+          contain zero values, use <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.GetMySqlDateTime(System.Int32)" />.
+        </para>
+        <para>
+          The behavior of reading a zero datetime column using this method is defined by the
+          <i>ZeroDateTimeBehavior</i> connection string option.  For more information on this option,
+          please refer to <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" />.
+        </para>
+      </note>
+    </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDecimal(System.String)">
+            <summary>
+      Gets the value of the specified column as a <see cref="T:System.Decimal" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Decimal</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The column name</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDecimal(System.Int32)">
+            <summary>
+      Gets the value of the specified column as a <see cref="T:System.Decimal" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Decimal</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="i">The zero-based column ordinal</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDouble(System.String)">
+            <summary>Gets the value of the specified column as a double-precision floating point number.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Double</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The column name</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDouble(System.Int32)">
+            <summary>Gets the value of the specified column as a double-precision floating point number.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Double</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetFieldType(System.Int32)">
+            <summary>
+            Gets the Type that is the data type of the object.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetFloat(System.String)">
+            <summary>
+      Gets the value of the specified column as a single-precision floating point number.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Float</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The column name</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetFloat(System.Int32)">
+            <summary>
+      Gets the value of the specified column as a single-precision floating point number.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Float</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetGuid(System.String)">
+            <!-- No matching elements were found for the following include tag --><include file="docs/MySqlDataReader.xml" path="docs/GetGuidS/*" />
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetGuid(System.Int32)">
+            <!-- No matching elements were found for the following include tag --><include file="docs/MySqlDataReader.xml" path="docs/GetGuid/*" />
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt16(System.String)">
+            <summary>Gets the value of the specified column as a 16-bit signed integer.</summary><remarks>
+      <para>
+        No conversions are performed; threfore, the data retrieved must already be a <b>16 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The column name</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt16(System.Int32)">
+            <summary>Gets the value of the specified column as a 16-bit signed integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>16 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt32(System.String)">
+            <summary>Gets the value of the specified column as a 32-bit signed integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>32 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt32(System.Int32)">
+            <summary>Gets the value of the specified column as a 32-bit signed integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>32 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt64(System.String)">
+            <summary>Gets the value of the specified column as a 64-bit signed integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>64 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt64(System.Int32)">
+            <summary>Gets the value of the specified column as a 64-bit signed integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>64 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetName(System.Int32)">
+            <summary>
+            Gets the name of the specified column.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(System.String)">
+            <summary>
+            Gets the column ordinal, given the name of the column.
+            </summary>
+            <param name="name"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetString(System.String)">
+            <summary>
+      Gets the value of the specified column as a <see cref="T:System.String" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>String</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetString(System.Int32)">
+            <summary>
+      Gets the value of the specified column as a <see cref="T:System.String" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>String</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetTimeSpan(System.String)">
+            <overloads /><summary>
+      Gets the value of the specified column as a <see cref="T:System.TimeSpan" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Time</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetTimeSpan(System.Int32)">
+            <overloads /><summary>
+      Gets the value of the specified column as a <see cref="T:System.TimeSpan" /> object.
+    </summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Time</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetValue(System.Int32)">
+            <summary>
+            Gets the value of the specified column in its native format.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetValues(System.Object[])">
+            <summary>
+            Gets all attribute columns in the collection for the current row.
+            </summary>
+            <param name="values"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt16(System.String)">
+            <summary>Gets the value of the specified column as a 16-bit unsigned integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>16 bit unsigned integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt16(System.Int32)">
+            <summary>Gets the value of the specified column as a 16-bit unsigned integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>16 bit unsigned integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt32(System.String)">
+            <summary>Gets the value of the specified column as a 32-bit unsigned integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>32 bit unsigned integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt32(System.Int32)">
+            <summary>Gets the value of the specified column as a 32-bit unsigned integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>32 bit unsigned integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt64(System.String)">
+            <summary>Gets the value of the specified column as a 64-bit unsigned integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>64 bit unsigned integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt64(System.Int32)">
+            <summary>Gets the value of the specified column as a 64-bit unsigned integer.</summary><remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>64 bit unsigned integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.IsDBNull(System.Int32)">
+            <summary>
+            Gets a value indicating whether the column contains non-existent or missing values.
+            </summary>
+            <param name="i"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.NextResult">
+            <summary>
+            Advances the data reader to the next result, when reading the results of batch SQL statements.
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.Read">
+            <summary>
+            Advances the MySqlDataReader to the next record.
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlDataReader.Depth">
+            <summary>
+            Gets a value indicating the depth of nesting for the current row.  This method is not 
+            supported currently and always returns 0.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetSchemaTable">
+            <summary>
+            Returns a DataTable that describes the column metadata of the MySqlDataReader.
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetEnumerator">
+            <summary>
+            Returns an <see cref="T:System.Collections.IEnumerator"/> that iterates through the <see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/>. 
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Driver">
+            <summary>
+            Summary description for BaseDriver.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Driver.IdleSince">
+            <summary>
+            For pooled connections, time when the driver was
+            put into idle queue
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Driver.LoadServerProperties(MySql.Data.MySqlClient.MySqlConnection)">
+            <summary>
+            Loads the properties from the connected server into a hashtable
+            </summary>
+            <param name="connection"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySql.Data.MySqlClient.MySqlConnection)">
+            <summary>
+            Loads all the current character set names and ids for this server 
+            into the charSets hashtable
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlException">
+            <summary>
+            The exception that is thrown when MySQL returns an error. This class cannot be inherited.
+            </summary>
+            <remarks>
+      <para>
+        This class is created whenever the MySql Data Provider encounters an error generated from the server.
+      </para>
+      <para>
+        Any open connections are not automatically closed when an exception is thrown.  If
+        the client application determines that the exception is fatal, it should close any open
+        <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> objects or <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> objects.
+      </para>
+    </remarks><example>
+      The following example generates a <B>MySqlException</B> due to a missing server,
+      and then displays the exception.
+
+      <code lang="vbnet">
+        Public Sub ShowException()
+        Dim mySelectQuery As String = "SELECT column1 FROM table1"
+        Dim myConnection As New MySqlConnection ("Data Source=localhost;Database=Sample;")
+        Dim myCommand As New MySqlCommand(mySelectQuery, myConnection)
+
+        Try
+        myCommand.Connection.Open()
+        Catch e As MySqlException
+        MessageBox.Show( e.Message )
+        End Try
+        End Sub
+      </code>
+      <code lang="C#">
+        public void ShowException()
+        {
+        string mySelectQuery = "SELECT column1 FROM table1";
+        MySqlConnection myConnection =
+        new MySqlConnection("Data Source=localhost;Database=Sample;");
+        MySqlCommand myCommand = new MySqlCommand(mySelectQuery,myConnection);
+
+        try
+        {
+        myCommand.Connection.Open();
+        }
+        catch (MySqlException e)
+        {
+        MessageBox.Show( e.Message );
+        }
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlException.Number">
+            <summary>
+            Gets a number that identifies the type of error.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlException.IsFatal">
+            <summary>
+            True if this exception was fatal and cause the closing of the connection, false otherwise.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Server">
+            <summary>
+            Gets or sets the name of the server.
+            </summary>
+            <value>The server.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Database">
+            <summary>
+            Gets or sets the name of the database the connection should 
+            initially connect to.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionProtocol">
+            <summary>
+            Gets or sets the protocol that should be used for communicating
+            with MySQL.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.PipeName">
+            <summary>
+            Gets or sets the name of the named pipe that should be used
+            for communicating with MySQL.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UseCompression">
+            <summary>
+            Gets or sets a boolean value that indicates whether this connection
+            should use compression.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.AllowBatch">
+            <summary>
+            Gets or sets a boolean value that indicates whether this connection will allow
+            commands to send multiple SQL statements in one execution.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Logging">
+            <summary>
+            Gets or sets a boolean value that indicates whether logging is enabled.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.SharedMemoryName">
+            <summary>
+            Gets or sets the base name of the shared memory objects used to 
+            communicate with MySQL when the shared memory protocol is being used.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UseOldSyntax">
+            <summary>
+            Gets or sets a boolean value that indicates whether this connection uses
+            the old style (@) parameter markers or the new (?) style.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Port">
+            <summary>
+            Gets or sets the port number that is used when the socket
+            protocol is being used.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionTimeout">
+            <summary>
+            Gets or sets the connection timeout.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.DefaultCommandTimeout">
+            <summary>
+            Gets or sets the default command timeout.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UserID">
+            <summary>
+            Gets or sets the user id that should be used to connect with.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Password">
+            <summary>
+            Gets or sets the password that should be used to connect with.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.PersistSecurityInfo">
+            <summary>
+            Gets or sets a boolean value that indicates if the password should be persisted
+            in the connection string.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.AllowZeroDateTime">
+            <summary>
+            Gets or sets a boolean value that indicates if zero date time values are supported.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConvertZeroDateTime">
+            <summary>
+            Gets or sets a boolean value indicating if zero datetime values should be 
+            converted to DateTime.MinValue.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UseUsageAdvisor">
+            <summary>
+            Gets or sets a boolean value indicating if the Usage Advisor should be enabled.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ProcedureCacheSize">
+            <summary>
+            Gets or sets the size of the stored procedure cache.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UsePerformanceMonitor">
+            <summary>
+            Gets or sets a boolean value indicating if the permon hooks should be enabled.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.IgnorePrepare">
+            <summary>
+            Gets or sets a boolean value indicating if calls to Prepare() should be ignored.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionLifeTime">
+            <summary>
+            Gets or sets the lifetime of a pooled connection.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Pooling">
+            <summary>
+            Gets or sets a boolean value indicating if connection pooling is enabled.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.MinimumPoolSize">
+            <summary>
+            Gets the minimum connection pool size.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.MaximumPoolSize">
+            <summary>
+            Gets or sets the maximum connection pool setting.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionReset">
+            <summary>
+            Gets or sets a boolean value indicating if the connection should be reset when retrieved
+            from the pool.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.CharacterSet">
+            <summary>
+            Gets or sets the character set that should be used for sending queries to the server.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.TreatBlobsAsUTF8">
+            <summary>
+            Indicates whether the driver should treat binary blobs as UTF8
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.BlobAsUTF8IncludePattern">
+            <summary>
+            Gets or sets the pattern that matches the columns that should be treated as UTF8
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.BlobAsUTF8ExcludePattern">
+            <summary>
+            Gets or sets the pattern that matches the columns that should not be treated as UTF8
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.SslMode">
+            <summary>
+            Indicates whether to use SSL connections and how to handle server certificate errors.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlParameter">
+            <summary>
+            Represents a parameter to a <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/>, and optionally, its mapping to <see cref="T:System.Data.DataSet"/> columns. This class cannot be inherited.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32,System.String)">
+            <summary>
+            Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name, the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/>, the size, and the source column name.
+            </summary>
+            <param name="parameterName">The name of the parameter to map. </param>
+            <param name="dbType">One of the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/> values. </param>
+            <param name="size">The length of the parameter. </param>
+            <param name="sourceColumn">The name of the source column. </param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32,System.Data.ParameterDirection,System.Boolean,System.Byte,System.Byte,System.String,System.Data.DataRowVersion,System.Object)">
+            <summary>
+            Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name, the type of the parameter, the size of the parameter, a <see cref="T:System.Data.ParameterDirection"/>, the precision of the parameter, the scale of the parameter, the source column, a <see cref="T:System.Data.DataRowVersion"/> to use, and the value of the parameter.
+            </summary>
+            <param name="parameterName">The name of the parameter to map. </param>
+            <param name="dbType">One of the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/> values. </param>
+            <param name="size">The length of the parameter. </param>
+            <param name="direction">One of the <see cref="T:System.Data.ParameterDirection"/> values. </param>
+            <param name="isNullable">true if the value of the field can be null, otherwise false. </param>
+            <param name="precision">The total number of digits to the left and right of the decimal point to which <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> is resolved.</param>
+            <param name="scale">The total number of decimal places to which <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> is resolved. </param>
+            <param name="sourceColumn">The name of the source column. </param>
+            <param name="sourceVersion">One of the <see cref="T:System.Data.DataRowVersion"/> values. </param>
+            <param name="value">An <see cref="T:System.Object"/> that is the value of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/>. </param>
+            <exception cref="T:System.ArgumentException"/>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.SourceVersion">
+            <summary>
+            Gets or sets the <see cref="T:System.Data.DataRowVersion"/> to use when loading <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/>.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.SourceColumn">
+            <summary>
+            Gets or sets the name of the source column that is mapped to the <see cref="T:System.Data.DataSet"/> and used for loading or returning the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/>.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameter.ResetDbType">
+            <summary>
+            Resets the <b>DbType</b> property to its original settings. 
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.SourceColumnNullMapping">
+            <summary>
+            Sets or gets a value which indicates whether the source column is nullable. 
+            This allows <see cref="T:System.Data.Common.DbCommandBuilder"/> to correctly generate Update statements 
+            for nullable columns. 
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.DbType">
+            <summary>
+            Gets or sets the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.DbType"/> of the parameter.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,System.Object)">
+            <summary>
+            Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name and a value of the new MySqlParameter.
+            </summary>
+            <param name="parameterName">The name of the parameter to map. </param>
+            <param name="value">An <see cref="T:System.Object"/> that is the value of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/>. </param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,MySql.Data.MySqlClient.MySqlDbType)">
+            <summary>
+            Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name and the data type.
+            </summary>
+            <param name="parameterName">The name of the parameter to map. </param>
+            <param name="dbType">One of the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/> values. </param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32)">
+            <summary>
+            Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name, the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/>, and the size.
+            </summary>
+            <param name="parameterName">The name of the parameter to map. </param>
+            <param name="dbType">One of the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/> values. </param>
+            <param name="size">The length of the parameter. </param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.Direction">
+            <summary>
+            Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
+            As of MySql version 4.1 and earlier, input-only is the only valid choice.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.IsNullable">
+            <summary>
+            Gets or sets a value indicating whether the parameter accepts null values.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType">
+            <summary>
+            Gets or sets the MySqlDbType of the parameter.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.Precision">
+            <summary>
+            Gets or sets the maximum number of digits used to represent the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> property.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.Scale">
+            <summary>
+            Gets or sets the number of decimal places to which <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> is resolved.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.Size">
+            <summary>
+            Gets or sets the maximum size, in bytes, of the data within the column.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.Value">
+            <summary>
+            Gets or sets the value of the parameter.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameter.PossibleValues">
+            <summary>
+            Returns the possible values for this parameter if this parameter is of type
+            SET or ENUM.  Returns null otherwise.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameter.ToString">
+            <summary>
+            Overridden. Gets a string containing the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.ParameterName"/>.
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlParameterCollection">
+            <summary>
+            Represents a collection of parameters relevant to a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> as well as their respective mappings to columns in a <see cref="T:System.Data.DataSet" />. This class cannot be inherited.
+            </summary>
+            <remarks>
+      The number of the parameters in the collection must be equal to the number of
+      parameter placeholders within the command text, or an exception will be generated.
+    </remarks><example>
+      The following example creates multiple instances of <see cref="T:MySql.Data.MySqlClient.MySqlParameter" />
+      through the <B>MySqlParameterCollection</B> collection within the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" />.
+      These parameters are used to select data within the data source and place the data in
+      the <see cref="T:System.Data.DataSet" />. This code assumes that a <B>DataSet</B> and a <B>MySqlDataAdapter</B>
+      have already been created with the appropriate schema, commands, and connection.
+      <code lang="vbnet">
+        Public Sub AddParameters()
+        ' ...
+        ' create myDataSet and myDataAdapter
+        ' ...
+        myDataAdapter.SelectCommand.Parameters.Add("@CategoryName", MySqlDbType.VarChar, 80).Value = "toasters"
+        myDataAdapter.SelectCommand.Parameters.Add("@SerialNum", MySqlDbType.Long).Value = 239
+
+        myDataAdapter.Fill(myDataSet)
+        End Sub 'AddSqlParameters
+      </code>
+      <code lang="C#">
+        public void AddSqlParameters()
+        {
+        // ...
+        // create myDataSet and myDataAdapter
+        // ...
+
+        myDataAdapter.SelectCommand.Parameters.Add("@CategoryName", MySqlDbType.VarChar, 80).Value = "toasters";
+        myDataAdapter.SelectCommand.Parameters.Add("@SerialNum", MySqlDbType.Long).Value = 239;
+        myDataAdapter.Fill(myDataSet);
+
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32,System.String)">
+            <summary>
+            Adds a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> with the parameter name, the data type, the column length, and the source column name.
+            </summary>
+            <param name="parameterName">The name of the parameter.</param>
+            <param name="dbType">One of the <see cref="T:MySql.Data.MySqlClient.MySqlDbType"/> values. </param>
+            <param name="size">The length of the column.</param>
+            <param name="sourceColumn">The name of the source column.</param>
+            <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.AddRange(System.Array)">
+            <summary>
+            Adds an array of values to the end of the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>. 
+            </summary>
+            <param name="values"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.GetParameter(System.String)">
+            <summary>
+            Retrieve the parameter with the given name.
+            </summary>
+            <param name="parameterName"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.Object)">
+            <summary>
+            Adds the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>.
+            </summary>
+            <param name="value">The <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to add to the collection.</param>
+            <returns>The index of the new <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Contains(System.String)">
+            <summary>
+            Gets a value indicating whether a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> with the specified parameter name exists in the collection.
+            </summary>
+            <param name="parameterName">The name of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to find.</param>
+            <returns>true if the collection contains the parameter; otherwise, false.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Contains(System.Object)">
+            <summary>
+            Gets a value indicating whether a MySqlParameter exists in the collection.
+            </summary>
+            <param name="value">The value of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to find. </param>
+            <returns>true if the collection contains the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object; otherwise, false.</returns>
+            <overloads>Gets a value indicating whether a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> exists in the collection.</overloads>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.CopyTo(System.Array,System.Int32)">
+            <summary>
+            Copies MySqlParameter objects from the MySqlParameterCollection to the specified array.
+            </summary>
+            <param name="array"></param>
+            <param name="index"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.GetEnumerator">
+            <summary>
+            Returns an enumerator that iterates through the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>. 
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Insert(System.Int32,System.Object)">
+            <summary>
+            Inserts a MySqlParameter into the collection at the specified index.
+            </summary>
+            <param name="index"></param>
+            <param name="value"></param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.IsFixedSize">
+            <summary>
+            Gets a value that indicates whether the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>
+            has a fixed size. 
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.IsReadOnly">
+            <summary>
+            Gets a value that indicates whether the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>
+            is read-only. 
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.IsSynchronized">
+            <summary>
+            Gets a value that indicates whether the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>
+            is synchronized. 
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Remove(System.Object)">
+            <summary>
+            Removes the specified MySqlParameter from the collection.
+            </summary>
+            <param name="value"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.RemoveAt(System.String)">
+            <summary>
+            Removes the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> from the collection using the parameter name.
+            </summary>
+            <param name="parameterName">The name of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to retrieve. </param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.RemoveAt(System.Int32)">
+            <summary>
+            Removes the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> from the collection using a specific index.
+            </summary>
+            <param name="index">The zero-based index of the parameter. </param>
+            <overloads>Removes the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> from the collection.</overloads>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.SyncRoot">
+            <summary>
+            Gets an object that can be used to synchronize access to the 
+            <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>. 
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.Count">
+            <summary>
+            Gets the number of MySqlParameter objects in the collection.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.Item(System.Int32)">
+            <summary>
+            Gets the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> at the specified index.
+            </summary>
+            <overloads>Gets the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> with a specified attribute.
+            [C#] In C#, this property is the indexer for the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> class.
+            </overloads>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.Item(System.String)">
+            <summary>
+            Gets the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> with the specified name.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(MySql.Data.MySqlClient.MySqlParameter)">
+            <summary>
+            Adds the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>.
+            </summary>
+            <param name="value">The <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to add to the collection.</param>
+            <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.String,System.Object)">
+            <summary>
+            Adds a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> given the specified parameter name and value.
+            </summary>
+            <param name="parameterName">The name of the parameter.</param>
+            <param name="value">The <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to add to the collection.</param>
+            <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.String,MySql.Data.MySqlClient.MySqlDbType)">
+            <summary>
+            Adds a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> given the parameter name and the data type.
+            </summary>
+            <param name="parameterName">The name of the parameter.</param>
+            <param name="dbType">One of the <see cref="T:MySql.Data.MySqlClient.MySqlDbType"/> values. </param>
+            <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32)">
+            <summary>
+            Adds a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> with the parameter name, the data type, and the column length.
+            </summary>
+            <param name="parameterName">The name of the parameter.</param>
+            <param name="dbType">One of the <see cref="T:MySql.Data.MySqlClient.MySqlDbType"/> values. </param>
+            <param name="size">The length of the column.</param>
+            <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Clear">
+            <summary>
+            Removes all items from the collection.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.IndexOf(System.String)">
+            <summary>
+            Gets the location of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection with a specific parameter name.
+            </summary>
+            <param name="parameterName">The name of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to retrieve. </param>
+            <returns>The zero-based location of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.IndexOf(System.Object)">
+            <summary>
+            Gets the location of a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection.
+            </summary>
+            <param name="value">The <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to locate. </param>
+            <returns>The zero-based location of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection.</returns>
+            <overloads>Gets the location of a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection.</overloads>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.AdjustHashes(System.Int32,System.Boolean)">
+            <summary>
+            This method will update all the items in the index hashes when
+            we insert a parameter somewhere in the middle
+            </summary>
+            <param name="keyIndex"></param>
+            <param name="addEntry"></param>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlTransaction">
+            <summary>
+      Represents a SQL transaction to be made in a MySQL database. This class cannot be inherited.
+    </summary><remarks>
+      The application creates a <B>MySqlTransaction</B> object by calling <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" />
+      on the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object. All subsequent operations associated with the
+      transaction (for example, committing or aborting the transaction), are performed on the
+      <B>MySqlTransaction</B> object.
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a <B>MySqlTransaction</B>.
+      It also demonstrates how to use the <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" />,
+      <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> methods.
+      <code lang="vbnet">
+        Public Sub RunTransaction(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+
+        Dim myCommand As MySqlCommand = myConnection.CreateCommand()
+        Dim myTrans As MySqlTransaction
+
+        ' Start a local transaction
+        myTrans = myConnection.BeginTransaction()
+        ' Must assign both transaction object and connection
+        ' to Command object for a pending local transaction
+        myCommand.Connection = myConnection
+        myCommand.Transaction = myTrans
+
+        Try
+        myCommand.CommandText = "Insert into Region (RegionID, RegionDescription) VALUES (100, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myCommand.CommandText = "Insert into Region (RegionID, RegionDescription) VALUES (101, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myTrans.Commit()
+        Console.WriteLine("Both records are written to database.")
+        Catch e As Exception
+        Try
+        myTrans.Rollback()
+        Catch ex As MySqlException
+        If Not myTrans.Connection Is Nothing Then
+        Console.WriteLine("An exception of type " &amp; ex.GetType().ToString() &amp; _
+        " was encountered while attempting to roll back the transaction.")
+        End If
+        End Try
+
+        Console.WriteLine("An exception of type " &amp; e.GetType().ToString() &amp; _
+        "was encountered while inserting the data.")
+        Console.WriteLine("Neither record was written to database.")
+        Finally
+        myConnection.Close()
+        End Try
+        End Sub 'RunTransaction
+      </code>
+      <code lang="C#">
+        public void RunTransaction(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+
+        MySqlCommand myCommand = myConnection.CreateCommand();
+        MySqlTransaction myTrans;
+
+        // Start a local transaction
+        myTrans = myConnection.BeginTransaction();
+        // Must assign both transaction object and connection
+        // to Command object for a pending local transaction
+        myCommand.Connection = myConnection;
+        myCommand.Transaction = myTrans;
+
+        try
+        {
+        myCommand.CommandText = "Insert into Region (RegionID, RegionDescription) VALUES (100, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myCommand.CommandText = "Insert into Region (RegionID, RegionDescription) VALUES (101, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myTrans.Commit();
+        Console.WriteLine("Both records are written to database.");
+        }
+        catch(Exception e)
+        {
+        try
+        {
+        myTrans.Rollback();
+        }
+        catch (MySqlException ex)
+        {
+        if (myTrans.Connection != null)
+        {
+        Console.WriteLine("An exception of type " + ex.GetType() +
+        " was encountered while attempting to roll back the transaction.");
+        }
+        }
+
+        Console.WriteLine("An exception of type " + e.GetType() +
+        " was encountered while inserting the data.");
+        Console.WriteLine("Neither record was written to database.");
+        }
+        finally
+        {
+        myConnection.Close();
+        }
+        }
+      </code>
+    </example>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlTransaction.Connection">
+            <summary>
+            Gets the <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object associated with the transaction, or a null reference (Nothing in Visual Basic) if the transaction is no longer valid.
+            </summary>
+            <value>The <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object associated with this transaction.</value>
+            <remarks>
+            A single application may have multiple database connections, each 
+            with zero or more transactions. This property enables you to 
+            determine the connection object associated with a particular 
+            transaction created by <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction"/>.
+            </remarks>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlTransaction.IsolationLevel">
+            <summary>
+            Specifies the <see cref="P:MySql.Data.MySqlClient.MySqlTransaction.IsolationLevel"/> for this transaction.
+            </summary>
+            <value>
+            The <see cref="P:MySql.Data.MySqlClient.MySqlTransaction.IsolationLevel"/> for this transaction. The default is <b>ReadCommitted</b>.
+            </value>
+            <remarks>
+            Parallel transactions are not supported. Therefore, the IsolationLevel 
+            applies to the entire transaction.
+            </remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlTransaction.Commit">
+            <summary>
+      Commits the database transaction.
+    </summary><remarks>
+      The <b>Commit</b> method is equivalent to the MySQL SQL statement
+      COMMIT.
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a
+      <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />. It also demonstrates how to use the
+      <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" />, <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <B>Rollback</B>
+      methods.
+      <code lang="vbnet">
+        Public Sub RunSqlTransaction(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+
+        Dim myCommand As MySqlCommand = myConnection.CreateCommand()
+        Dim myTrans As MySqlTransaction
+
+        ' Start a local transaction
+        myTrans = myConnection.BeginTransaction()
+
+        ' Must assign both transaction object and connection
+        ' to Command object for a pending local transaction
+        myCommand.Connection = myConnection
+        myCommand.Transaction = myTrans
+
+        Try
+        myCommand.CommandText = "Insert into mytable (id, desc) VALUES (100, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myCommand.CommandText = "Insert into mytable (id, desc) VALUES (101, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myTrans.Commit()
+        Console.WriteLine("Success.")
+        Catch e As Exception
+        Try
+        myTrans.Rollback()
+        Catch ex As MySqlException
+        If Not myTrans.Connection Is Nothing Then
+        Console.WriteLine("An exception of type " &amp; ex.GetType().ToString() &amp; _
+        " was encountered while attempting to roll back the transaction.")
+        End If
+        End Try
+
+        Console.WriteLine("An exception of type " &amp; e.GetType().ToString() &amp; _
+        "was encountered while inserting the data.")
+        Console.WriteLine("Neither record was written to database.")
+        Finally
+        myConnection.Close()
+        End Try
+        End Sub
+      </code>
+      <code lang="C#">
+        public void RunSqlTransaction(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+
+        MySqlCommand myCommand = myConnection.CreateCommand();
+        MySqlTransaction myTrans;
+
+        // Start a local transaction
+        myTrans = myConnection.BeginTransaction();
+        // Must assign both transaction object and connection
+        // to Command object for a pending local transaction
+        myCommand.Connection = myConnection;
+        myCommand.Transaction = myTrans;
+
+        try
+        {
+        myCommand.CommandText = "Insert into mytable (id, desc) VALUES (100, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myCommand.CommandText = "Insert into mytable (id, desc) VALUES (101, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myTrans.Commit();
+        Console.WriteLine("Both records are written to database.");
+        }
+        catch(Exception e)
+        {
+        try
+        {
+        myTrans.Rollback();
+        }
+        catch (MySqlException ex)
+        {
+        if (myTrans.Connection != null)
+        {
+        Console.WriteLine("An exception of type " + ex.GetType() +
+        " was encountered while attempting to roll back the transaction.");
+        }
+        }
+
+        Console.WriteLine("An exception of type " + e.GetType() +
+        " was encountered while inserting the data.");
+        Console.WriteLine("Neither record was written to database.");
+        }
+        finally
+        {
+        myConnection.Close();
+        }
+        }
+      </code>
+    </example>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback">
+            <summary>
+      Rolls back a transaction from a pending state.
+    </summary><remarks>
+      The Rollback method is equivalent to the MySQL statement ROLLBACK.
+      The transaction can only be rolled back from a pending state
+      (after BeginTransaction has been called, but before Commit is
+      called).
+    </remarks><example>
+      The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a
+      <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />. It also demonstrates how to use the
+      <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" />, <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <B>Rollback</B>
+      methods.
+      <code lang="vbnet">
+        Public Sub RunSqlTransaction(myConnString As String)
+        Dim myConnection As New MySqlConnection(myConnString)
+        myConnection.Open()
+
+        Dim myCommand As MySqlCommand = myConnection.CreateCommand()
+        Dim myTrans As MySqlTransaction
+
+        ' Start a local transaction
+        myTrans = myConnection.BeginTransaction()
+
+        ' Must assign both transaction object and connection
+        ' to Command object for a pending local transaction
+        myCommand.Connection = myConnection
+        myCommand.Transaction = myTrans
+
+        Try
+        myCommand.CommandText = "Insert into mytable (id, desc) VALUES (100, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myCommand.CommandText = "Insert into mytable (id, desc) VALUES (101, 'Description')"
+        myCommand.ExecuteNonQuery()
+        myTrans.Commit()
+        Console.WriteLine("Success.")
+        Catch e As Exception
+        Try
+        myTrans.Rollback()
+        Catch ex As MySqlException
+        If Not myTrans.Connection Is Nothing Then
+        Console.WriteLine("An exception of type " &amp; ex.GetType().ToString() &amp; _
+        " was encountered while attempting to roll back the transaction.")
+        End If
+        End Try
+
+        Console.WriteLine("An exception of type " &amp; e.GetType().ToString() &amp; _
+        "was encountered while inserting the data.")
+        Console.WriteLine("Neither record was written to database.")
+        Finally
+        myConnection.Close()
+        End Try
+        End Sub
+      </code>
+      <code lang="C#">
+        public void RunSqlTransaction(string myConnString)
+        {
+        MySqlConnection myConnection = new MySqlConnection(myConnString);
+        myConnection.Open();
+
+        MySqlCommand myCommand = myConnection.CreateCommand();
+        MySqlTransaction myTrans;
+
+        // Start a local transaction
+        myTrans = myConnection.BeginTransaction();
+        // Must assign both transaction object and connection
+        // to Command object for a pending local transaction
+        myCommand.Connection = myConnection;
+        myCommand.Transaction = myTrans;
+
+        try
+        {
+        myCommand.CommandText = "Insert into mytable (id, desc) VALUES (100, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myCommand.CommandText = "Insert into mytable (id, desc) VALUES (101, 'Description')";
+        myCommand.ExecuteNonQuery();
+        myTrans.Commit();
+        Console.WriteLine("Both records are written to database.");
+        }
+        catch(Exception e)
+        {
+        try
+        {
+        myTrans.Rollback();
+        }
+        catch (MySqlException ex)
+        {
+        if (myTrans.Connection != null)
+        {
+        Console.WriteLine("An exception of type " + ex.GetType() +
+        " was encountered while attempting to roll back the transaction.");
+        }
+        }
+
+        Console.WriteLine("An exception of type " + e.GetType() +
+        " was encountered while inserting the data.");
+        Console.WriteLine("Neither record was written to database.");
+        }
+        finally
+        {
+        myConnection.Close();
+        }
+        }
+      </code>
+    </example>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlField">
+            <summary>
+            Summary description for Field.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.CustomInstaller">
+            <summary>
+            We are adding a custom installer class to our assembly so our installer
+            can make proper changes to the machine.config file.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.CustomInstaller.Install(System.Collections.IDictionary)">
+            <summary>
+            We override Install so we can add our assembly to the proper
+            machine.config files.
+            </summary>
+            <param name="stateSaver"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.CustomInstaller.Uninstall(System.Collections.IDictionary)">
+            <summary>
+            We override Uninstall so we can remove out assembly from the
+            machine.config files.
+            </summary>
+            <param name="savedState"></param>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.BaseCommandInterceptor">
+            <summary>
+            BaseCommandInterceptor is the base class that should be used for all userland 
+            command interceptors
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.CommandInterceptor">
+            <summary>
+            CommandInterceptor is the "manager" class that keeps the list of registered interceptors
+            for the given connection.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Interceptor">
+            <summary>
+            Interceptor is the base class for the "manager" classes such as ExceptionInterceptor,
+            CommandInterceptor, etc
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.BaseExceptionInterceptor">
+            <summary>
+            BaseExceptionInterceptor is the base class that should be used for all userland 
+            exception interceptors
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.StandardExceptionInterceptor">
+            <summary>
+            StandardExceptionInterceptor is the standard interceptor that simply throws the exception.
+            It is the default action.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.ExceptionInterceptor">
+            <summary>
+            ExceptionInterceptor is the "manager" class that keeps the list of registered interceptors
+            for the given connection.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.ISSchemaProvider.GetProcedures(System.String[])">
+            <summary>
+            Return schema information about procedures and functions
+            Restrictions supported are:
+            schema, name, type
+            </summary>
+            <param name="restrictions"></param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.ISSchemaProvider.GetProcedureParameters(System.String[],MySql.Data.MySqlClient.MySqlSchemaCollection)">
+            <summary>
+            Return schema information about parameters for procedures and functions
+            Restrictions supported are:
+            schema, name, type, parameter name
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.ISSchemaProvider.InitParameterRow(MySql.Data.MySqlClient.MySqlSchemaRow,MySql.Data.MySqlClient.MySqlSchemaRow)">
+            <summary>
+            Initializes a new row for the procedure parameters table.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.ISSchemaProvider.ParseDataType(MySql.Data.MySqlClient.MySqlSchemaRow,MySql.Data.MySqlClient.MySqlTokenizer)">
+            <summary>
+             Parses out the elements of a procedure parameter data type.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Memcached.BinaryClient">
+            <summary>
+            Implementation of memcached binary client protocol.
+            </summary>
+            <remarks>According to http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped </remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.String,System.Object,System.TimeSpan,System.Boolean)">
+            <summary>
+            Sends an store command (add, replace, set).
+            </summary>
+            <param name="magic"></param>
+            <param name="opcode"></param>
+            <param name="key"></param>
+            <param name="data"></param>
+            <param name="expiration"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.String,System.String@)">
+            <summary>
+            Sends a get command.
+            </summary>
+            <param name="magic"></param>
+            <param name="opcode"></param>
+            <param name="key"></param>
+            <param name="value"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.String)">
+            <summary>
+            Sends a delete command.
+            </summary>
+            <param name="magic"></param>
+            <param name="opcode"></param>
+            <param name="key"></param>
+            <param name="value"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.TimeSpan)">
+            <summary>
+            Sends a command without args (like flush).
+            </summary>
+            <param name="magic"></param>
+            <param name="opcode"></param>
+            <param name="key"></param>
+            <param name="value"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.String,System.Int32)">
+            <summary>
+            Sends a command with amount (INCR/DECR)
+            </summary>
+            <param name="magic"></param>
+            <param name="opcode"></param>
+            <param name="key"></param>
+            <param name="value"></param>
+        </member>
+        <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.BinaryClient.EncodeStoreCommand(System.Byte,System.Byte,System.String,System.Object,System.TimeSpan,System.Boolean)" -->
+        <member name="T:MySql.Data.MySqlClient.Memcached.MemcachedException">
+            <summary>
+            The base exception class for all Memcached exceptions.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Memcached.TextClient">
+            <summary>
+            Implementation of the Memcached text client protocol.
+            </summary>
+        </member>
+        <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String,System.Object,System.TimeSpan,System.UInt64)" -->
+        <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String,System.Object,System.TimeSpan)" -->
+        <member name="M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String,System.Object)">
+            <summary>
+            Send a command to memcached server.
+            </summary>
+            <param name="cmd"></param>
+            <param name="key"></param>
+            <param name="data"></param>
+            <param name="??"></param>
+            <remarks>This version is for commands that don't need flags neither expiration fields.</remarks>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String)">
+            <summary>
+            Sends a command to the server.
+            </summary>
+            <param name="cmd"></param>
+            <param name="key"></param>
+            <remarks>This version is for commands that only require a key</remarks>
+        </member>
+        <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String,System.Int32)" -->
+        <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.TimeSpan)" -->
+        <member name="T:MySql.Data.MySqlClient.Memcached.Client">
+            <summary>
+            An interface of the client memcached protocol. This class is abstract for 
+            implementation of the Memcached client interface see <see cref="T:MySql.Data.MySqlClient.Memcached.TextClient"/> for the 
+            text protocol version and <see cref="T:MySql.Data.MySqlClient.Memcached.BinaryClient"/> for the binary protocol version.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.Memcached.Client.port">
+            <summary>
+            The port used by the connection.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.Memcached.Client.server">
+            <summary>
+            The server DNS or IP address used by the connection.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.Memcached.Client.stream">
+            <summary>
+            The network stream used by the connecition.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.GetInstance(System.String,System.UInt32,MySql.Data.MySqlClient.Memcached.MemcachedFlags)">
+            <summary>
+            Factory method for creating  instances of <see cref="T:MySql.Data.MySqlClient.Memcached.Client"/> that implement a connection with the requested features.
+            The connection object returned must be explicitely opened see method <see cref="M:MySql.Data.MySqlClient.Memcached.Client.Open"/>.
+            </summary>
+            <param name="server">The Memcached server DNS or IP address.</param>
+            <param name="port">The port for the Memcached server</param>
+            <param name="flags">A set of flags indicating characterestics requested.</param>
+            <returns>An instance of a client connection ready to be used.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Open">
+            <summary>
+            Opens the client connection.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Close">
+            <summary>
+            Closes the client connection.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Add(System.String,System.Object,System.TimeSpan)">
+            <summary>
+            Adds a new key/value pair with the given TimeSpan expiration.
+            </summary>
+            <param name="key">The key for identifying the entry.</param>
+            <param name="data">The data to associate with the key.</param>
+            <param name="expiration">The interval of timespan, use TimeSpan.Zero for no expiration.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Append(System.String,System.Object)">
+            <summary>
+            Appens the data to the existing data for the associated key.
+            </summary>
+            <param name="key">The key for identifying the entry.</param>
+            <param name="data">The data to append with the data associated with the key.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Cas(System.String,System.Object,System.TimeSpan,System.UInt64)">
+            <summary>
+            Executes the Check-and-set Memcached operation.
+            </summary>
+            <param name="key">The key for identifying the entry.</param>
+            <param name="data">The data to use in the CAS.</param>
+            <param name="expiration">The interval of timespan, use TimeSpan.Zero for no expiration.</param>
+            <param name="casUnique">The CAS unique value to use.</param>
+            <exception cref="T:MySql.Data.MySqlClient.Memcached.MemcachedException"></exception>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Decrement(System.String,System.Int32)">
+            <summary>
+            Decrements the value associated with a key by the given amount.
+            </summary>
+            <param name="key">The key associated with the value to decrement.</param>
+            <param name="amount">The amount to decrement the value.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Delete(System.String)">
+            <summary>
+            Removes they pair key/value given the specified key.
+            </summary>
+            <param name="key"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.FlushAll(System.TimeSpan)">
+            <summary>
+            Removes all entries from the storage, effectively invalidating the whole cache.
+            </summary>
+            <param name="delay">The interval after which the cache will be cleaned. Can be TimeSpan.Zero for immediately.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Get(System.String)">
+            <summary>
+            Get the key/value pair associated with a given key.
+            </summary>
+            <param name="key">The key for which to returm the key/value.</param>
+            <returns>The key/value associated with the key or a MemcachedException if it does not exists.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Increment(System.String,System.Int32)">
+            <summary>
+            Increments the value associated with a key by the given amount.
+            </summary>
+            <param name="key">The key associated with the value to increment.</param>
+            <param name="amount">The amount to increment the value.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Prepend(System.String,System.Object)">
+            <summary>
+            Prepends the data to the existing data for the associated key.
+            </summary>
+            <param name="key">The key for identifying the entry.</param>
+            <param name="data">The data to append with the data associated with the key.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Replace(System.String,System.Object,System.TimeSpan)">
+            <summary>
+            Replaces the value associated with the given key with another value.
+            </summary>
+            <param name="key">The key for identifying the entry.</param>
+            <param name="data">The data to replace the value associated with the key.</param>
+            <param name="expiration">The interval of timespan, use TimeSpan.Zero for no expiration.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Memcached.Client.Set(System.String,System.Object,System.TimeSpan)">
+            <summary>
+            Set the value of a given key.
+            </summary>
+            <param name="key">The key for identifying the entry.</param>
+            <param name="data">The data to associate with the given key.</param>
+            <param name="expiration">The interval of timespan, use TimeSpan.Zero for no expiration.</param>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Memcached.MemcachedFlags">
+            <summary>
+            A set of flags for requesting new instances of connections
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.Memcached.MemcachedFlags.TextProtocol">
+            <summary>
+            Requests a connection implememting the text protocol.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.Memcached.MemcachedFlags.BinaryProtocol">
+            <summary>
+            Requests a connection implementing the binary protocol.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.Memcached.MemcachedFlags.Tcp">
+            <summary>
+            Requests a TCP connection. Currently UDP is not supported.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlClientFactory">
+            <summary>
+            DBProviderFactory implementation for MysqlClient.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlClientFactory.Instance">
+            <summary>
+            Gets an instance of the <see cref="T:MySql.Data.MySqlClient.MySqlClientFactory"/>. 
+            This can be used to retrieve strongly typed data objects. 
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateCommandBuilder">
+            <summary>
+            Returns a strongly typed <see cref="T:System.Data.Common.DbCommandBuilder"/> instance. 
+            </summary>
+            <returns>A new strongly typed instance of <b>DbCommandBuilder</b>.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateCommand">
+            <summary>
+            Returns a strongly typed <see cref="T:System.Data.Common.DbCommand"/> instance. 
+            </summary>
+            <returns>A new strongly typed instance of <b>DbCommand</b>.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateConnection">
+            <summary>
+            Returns a strongly typed <see cref="T:System.Data.Common.DbConnection"/> instance. 
+            </summary>
+            <returns>A new strongly typed instance of <b>DbConnection</b>.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateDataAdapter">
+            <summary>
+            Returns a strongly typed <see cref="T:System.Data.Common.DbDataAdapter"/> instance. 
+            </summary>
+            <returns>A new strongly typed instance of <b>DbDataAdapter</b>. </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateParameter">
+            <summary>
+            Returns a strongly typed <see cref="T:System.Data.Common.DbParameter"/> instance. 
+            </summary>
+            <returns>A new strongly typed instance of <b>DbParameter</b>.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateConnectionStringBuilder">
+            <summary>
+            Returns a strongly typed <see cref="T:System.Data.Common.DbConnectionStringBuilder"/> instance. 
+            </summary>
+            <returns>A new strongly typed instance of <b>DbConnectionStringBuilder</b>.</returns>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlClientFactory.CanCreateDataSourceEnumerator">
+            <summary>
+            Returns true if a <b>MySqlDataSourceEnumerator</b> can be created; 
+            otherwise false. 
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlClientFactory.DbServicesType">
+            <summary>
+            Provide a simple caching layer
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlClientPermission.Add(System.String,System.String,System.Data.KeyRestrictionBehavior)">
+             <summary>
+             Adds a new connection string with set of restricted keywords to the MySqlClientPermission object 
+             </summary>
+            <param name="connectionString">Settings to be used for the connection</param>
+            <param name="restrictions">Keywords to define the restrictions</param>
+            <param name="behavior">KeyRestrictionBehavior to be used</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlClientPermission.Copy">
+            <summary>
+            Returns MySqlClientPermission as an IPermission
+            </summary>
+            <returns></returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.AuthenticationPluginConfigurationElement">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.InterceptorConfigurationElement">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.GenericConfigurationElementCollection`1">
+            <summary>
+            
+            </summary>
+            <typeparam name="T"></typeparam>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.ClientFlags">
+            <summary>
+            Summary description for ClientParam.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.DBCmd">
+            <summary>
+            DB Operations Code
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlDbType">
+            <summary>
+            Specifies MySQL specific data type of a field, property, for use in a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/>.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Decimal">
+            <summary>
+            <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Decimal"/>
+            <para>A fixed precision and scale numeric value between -1038 
+            -1 and 10 38 -1.</para>
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Byte">
+            <summary>
+            <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Byte"/><para>The signed range is -128 to 127. The unsigned 
+            range is 0 to 255.</para>
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Int16">
+            <summary>
+            <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Int16"/><para>A 16-bit signed integer. The signed range is 
+            -32768 to 32767. The unsigned range is 0 to 65535</para>
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Int24">
+            <summary>
+            Specifies a 24 (3 byte) signed or unsigned value.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Int32">
+            <summary>
+            <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Int32"/><para>A 32-bit signed integer</para>
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Int64">
+            <summary>
+            <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Int64"/><para>A 64-bit signed integer.</para>
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Float">
+            <summary>
+            <see cref="T:System.Single"/><para>A small (single-precision) floating-point 
+            number. Allowable values are -3.402823466E+38 to -1.175494351E-38, 
+            0, and 1.175494351E-38 to 3.402823466E+38.</para>
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Double">
+            <summary>
+            <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Double"/><para>A normal-size (double-precision) 
+            floating-point number. Allowable values are -1.7976931348623157E+308 
+            to -2.2250738585072014E-308, 0, and 2.2250738585072014E-308 to 
+            1.7976931348623157E+308.</para>
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Timestamp">
+            <summary>
+            A timestamp. The range is '1970-01-01 00:00:00' to sometime in the 
+            year 2037
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Date">
+            <summary>
+            Date The supported range is '1000-01-01' to '9999-12-31'.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Time">
+            <summary>
+            Time <para>The range is '-838:59:59' to '838:59:59'.</para>
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.DateTime">
+            <summary>
+            DateTime The supported range is '1000-01-01 00:00:00' to 
+            '9999-12-31 23:59:59'.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Datetime">
+            <summary>
+            Datetime The supported range is '1000-01-01 00:00:00' to 
+            '9999-12-31 23:59:59'.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Year">
+            <summary>
+            A year in 2- or 4-digit format (default is 4-digit). The 
+            allowable values are 1901 to 2155, 0000 in the 4-digit year 
+            format, and 1970-2069 if you use the 2-digit format (70-69).
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Newdate">
+            <summary>
+            <b>Obsolete</b>  Use Datetime or Date type
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.VarString">
+            <summary>
+            A variable-length string containing 0 to 65535 characters
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Bit">
+            <summary>
+            Bit-field data type
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.JSON">
+            <summary>
+            JSON
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.NewDecimal">
+            <summary>
+            New Decimal
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Enum">
+            <summary>
+            An enumeration. A string object that can have only one value, 
+            chosen from the list of values 'value1', 'value2', ..., NULL 
+            or the special "" error value. An ENUM can have a maximum of 
+            65535 distinct values
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Set">
+            <summary>
+            A set. A string object that can have zero or more values, each 
+            of which must be chosen from the list of values 'value1', 'value2', 
+            ... A SET can have a maximum of 64 members.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.TinyBlob">
+            <summary>
+            A binary column with a maximum length of 255 (2^8 - 1) 
+            characters
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.MediumBlob">
+            <summary>
+            A binary column with a maximum length of 16777215 (2^24 - 1) bytes.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.LongBlob">
+            <summary>
+            A binary column with a maximum length of 4294967295 or 
+            4G (2^32 - 1) bytes.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Blob">
+            <summary>
+            A binary column with a maximum length of 65535 (2^16 - 1) bytes.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.VarChar">
+            <summary>
+            A variable-length string containing 0 to 255 bytes.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.String">
+            <summary>
+            A fixed-length string.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Geometry">
+            <summary>
+            Geometric (GIS) data type.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.UByte">
+            <summary>
+            Unsigned 8-bit value.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.UInt16">
+            <summary>
+            Unsigned 16-bit value.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.UInt24">
+            <summary>
+            Unsigned 24-bit value.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.UInt32">
+            <summary>
+            Unsigned 32-bit value.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.UInt64">
+            <summary>
+            Unsigned 64-bit value.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Binary">
+            <summary>
+            Fixed length binary string.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.VarBinary">
+            <summary>
+            Variable length binary string.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.TinyText">
+            <summary>
+            A text column with a maximum length of 255 (2^8 - 1) characters.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.MediumText">
+            <summary>
+            A text column with a maximum length of 16777215 (2^24 - 1) characters.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.LongText">
+            <summary>
+            A text column with a maximum length of 4294967295 or 
+            4G (2^32 - 1) characters.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Text">
+            <summary>
+            A text column with a maximum length of 65535 (2^16 - 1) characters.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDbType.Guid">
+            <summary>
+            A guid column
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlConnectionProtocol">
+            <summary>
+            Allows the user to specify the type of connection that should
+            be used.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlConnectionProtocol.Sockets">
+            <summary>
+            TCP/IP style connection.  Works everywhere.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlConnectionProtocol.Pipe">
+            <summary>
+            Named pipe connection.  Works only on Windows systems.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlConnectionProtocol.UnixSocket">
+            <summary>
+            Unix domain socket connection.  Works only with Unix systems.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlConnectionProtocol.SharedMemory">
+            <summary>
+            Shared memory connection.  Currently works only with Windows systems.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlSslMode">
+            <summary>
+            SSL options for connection.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlSslMode.None">
+            <summary>
+            Do not use SSL.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlSslMode.Preferred">
+            <summary>
+            Use SSL, if server supports it.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlSslMode.Required">
+            <summary>
+            Always use SSL. Deny connection if server does not support SSL.
+            Do not perform server certificate validation. 
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlSslMode.VerifyCA">
+            <summary>
+            Always use SSL. Validate server SSL certificate, but different host name mismatch.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlSslMode.VerifyFull">
+            <summary>
+            Always use SSL and perform full certificate validation.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlDriverType">
+            <summary>
+            Specifies the connection types supported
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDriverType.Native">
+            <summary>
+            Use TCP/IP sockets.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDriverType.Client">
+            <summary>
+            Use client library.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlDriverType.Embedded">
+            <summary>
+            Use MySQL embedded server.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlCertificateStoreLocation.None">
+            <summary>
+            Do not use certificate store
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlCertificateStoreLocation.CurrentUser">
+            <summary>
+            Use certificate store for the current user
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlCertificateStoreLocation.LocalMachine">
+            <summary>
+            User certificate store for the machine
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlError">
+            <summary>
+            Collection of error codes that can be returned by the server
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlError.#ctor(System.String,System.Int32,System.String)">
+            <summary></summary>
+            <param name="level"></param>
+            <param name="code"></param>
+            <param name="message"></param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlError.Level">
+            <summary>
+            Error level
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlError.Code">
+            <summary>
+            Error code
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlError.Message">
+            <summary>
+            Error message
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlErrorCode">
+            <summary>
+            Provides a reference to error codes returned by MySQL.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HashCheck">
+            <summary></summary>
+            <remarks>ER_HASHCHK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ISAMCheck">
+            <summary></summary>
+            <remarks>ER_NISAMCHK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.No">
+            <summary></summary>
+            <remarks>ER_NO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.Yes">
+            <summary></summary>
+            <remarks>ER_YES</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateFile">
+            <summary>The file couldn't be created.</summary>
+            <remarks>ER_CANT_CREATE_FILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateTable">
+            <summary>The table couldn't be created.</summary>
+            <remarks>ER_CANT_CREATE_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateDatabase">
+            <summary>The database couldn't be created.</summary>
+            <remarks>ER_CANT_CREATE_DB</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseCreateExists">
+            <summary>The database couldn't be created, it already exists.</summary>
+            <remarks>ER_DB_CREATE_EXISTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseDropExists">
+            <summary>The database couldn't be dropped, it doesn't exist.</summary>
+            <remarks>ER_DB_DROP_EXISTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseDropDelete">
+            <summary>The database couldn't be dropped, the file can't be deleted.</summary>
+            <remarks>ER_DB_DROP_DELETE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseDropRemoveDir">
+            <summary>The database couldn't be dropped, the directory can't be deleted.</summary>
+            <remarks>ER_DB_DROP_RMDIR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotDeleteFile">
+            <summary>The file couldn't be deleted.</summary>
+            <remarks>ER_CANT_DELETE_FILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotFindSystemRecord">
+            <summary>The record couldn't be read from the system table.</summary>
+            <remarks>ER_CANT_FIND_SYSTEM_REC</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotGetStatus">
+            <summary>The status couldn't be retrieved.</summary>
+            <remarks>ER_CANT_GET_STAT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotGetWorkingDirectory">
+            <summary>The working directory couldn't be retrieved.</summary>
+            <remarks>ER_CANT_GET_WD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotLock">
+            <summary>The file couldn't be locked.</summary>
+            <remarks>ER_CANT_LOCK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotOpenFile">
+            <summary>The file couldn't be opened.</summary>
+            <remarks>ER_CANT_OPEN_FILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileNotFound">
+            <summary>The file couldn't be found.</summary>
+            <remarks>ER_FILE_NOT_FOUND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotReadDirectory">
+            <summary>The directory couldn't be read.</summary>
+            <remarks>ER_CANT_READ_DIR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotSetWorkingDirectory">
+            <summary>The working directory couldn't be entered.</summary>
+            <remarks>ER_CANT_SET_WD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CheckRead">
+            <summary>The record changed since it was last read.</summary>
+            <remarks>ER_CHECKREAD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DiskFull">
+            <summary>The disk is full.</summary>
+            <remarks>ER_DISK_FULL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateKey">
+            <summary>
+            There is already a key with the given values.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorOnClose">
+            <summary>An error occurred when closing the file.</summary>
+            <remarks>ER_ERROR_ON_CLOSE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorOnRead">
+            <summary>An error occurred when reading from the file.</summary>
+            <remarks>ER_ERROR_ON_READ</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorOnRename">
+            <summary>An error occurred when renaming then file.</summary>
+            <remarks>ER_ERROR_ON_RENAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorOnWrite">
+            <summary>An error occurred when writing to the file.</summary>
+            <remarks>ER_ERROR_ON_WRITE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileUsed">
+            <summary>The file is in use.</summary>
+            <remarks>ER_FILE_USED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileSortAborted">
+            <summary>Sorting has been aborted.</summary>
+            <remarks>ER_FILSORT_ABORT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FormNotFound">
+            <summary>The view doesn't exist.</summary>
+            <remarks>ER_FORM_NOT_FOUND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GetErrorNumber">
+            <summary>Got the specified error from the table storage engine.</summary>
+            <remarks>ER_GET_ERRNO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalHA">
+            <summary>The table storage engine doesn't support the specified option.</summary>
+            <remarks>ER_ILLEGAL_HA</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyNotFound">
+            <summary>
+            The specified key was not found.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotFormFile">
+            <summary>The file contains incorrect information.</summary>
+            <remarks>ER_NOT_FORM_FILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotKeyFile">
+            <summary>The key file is incorrect for the table, it should be repaired.</summary>
+            <remarks>ER_NOT_KEYFILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OldKeyFile">
+            <summary>The key file is old for the table, it should be repaired.</summary>
+            <remarks>ER_OLD_KEYFILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OpenAsReadOnly">
+            <summary>The table is read-only</summary>
+            <remarks>ER_OPEN_AS_READONLY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OutOfMemory">
+            <summary>The server is out of memory, it should be restarted.</summary>
+            <remarks>ER_OUTOFMEMORY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OutOfSortMemory">
+            <summary>The server is out of sort-memory, the sort buffer size should be increased.</summary>
+            <remarks>ER_OUT_OF_SORTMEMORY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnexepectedEOF">
+            <summary>An unexpected EOF was found when reading from the file.</summary>
+            <remarks>ER_UNEXPECTED_EOF</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConnectionCountError">
+            <summary>Too many connections are open.</summary>
+            <remarks>ER_CON_COUNT_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OutOfResources">
+            <summary>The server is out of resources, check if MySql or some other process is using all available memory.</summary>
+            <remarks>ER_OUT_OF_RESOURCES</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnableToConnectToHost">
+            <summary>
+            Given when the connection is unable to successfully connect to host.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HandshakeError">
+            <summary>The handshake was invalid.</summary>
+            <remarks>ER_HANDSHAKE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseAccessDenied">
+            <summary>Access was denied for the specified user using the specified database.</summary>
+            <remarks>ER_DBACCESS_DENIED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AccessDenied">
+            <summary>
+            Normally returned when an incorrect password is given
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoDatabaseSelected">
+            <summary>No database has been selected.</summary>
+            <remarks>ER_NO_DB_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownCommand">
+            <summary>The command is unknown.</summary>
+            <remarks>ER_UNKNOWN_COM_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ColumnCannotBeNull">
+            <summary>The specified column cannot be NULL.</summary>
+            <remarks>ER_BAD_NULL_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownDatabase">
+            <summary>The specified database is not known.</summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableExists">
+            <summary>The specified table already exists.</summary>
+            <remarks>ER_TABLE_EXISTS_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadTable">
+            <summary>The specified table is unknown.</summary>
+            <remarks>ER_BAD_TABLE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonUnique">
+            <summary>The specified column is ambiguous.</summary>
+            <remarks>ER_NON_UNIQ_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ServerShutdown">
+            <summary>The server is currently being shutdown.</summary>
+            <remarks>ER_SERVER_SHUTDOWN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadFieldError">
+            <summary>The specified columns is unknown.</summary>
+            <remarks>ER_BAD_FIELD_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongFieldWithGroup">
+            <summary>The specified column isn't in GROUP BY.</summary>
+            <remarks>ER_WRONG_FIELD_WITH_GROUP</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongGroupField">
+            <summary>The specified columns cannot be grouped on.</summary>
+            <remarks>ER_WRONG_GROUP_FIELD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongSumSelected">
+            <summary>There are sum functions and columns in the same statement.</summary>
+            <remarks>ER_WRONG_SUM_SELECT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValueCount">
+            <summary>The column count doesn't match the value count.</summary>
+            <remarks>ER_WRONG_VALUE_COUNT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongIdentifier">
+            <summary>The identifier name is too long.</summary>
+            <remarks>ER_TOO_LONG_IDENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateFieldName">
+            <summary>The column name is duplicated.</summary>
+            <remarks>ER_DUP_FIELDNAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateKeyName">
+            <summary>
+            Duplicate Key Name
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateKeyEntry">
+            <summary>
+            Duplicate Key Entry
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongFieldSpecifier">
+            <summary>The column specifier is incorrect.</summary>
+            <remarks>ER_WRONG_FIELD_SPEC</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ParseError">
+            <summary>An error occurred when parsing the statement.</summary>
+            <remarks>ER_PARSE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EmptyQuery">
+            <summary>The statement is empty.</summary>
+            <remarks>ER_EMPTY_QUERY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonUniqueTable">
+            <summary>The table alias isn't unique.</summary>
+            <remarks>ER_NONUNIQ_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidDefault">
+            <summary>The default value is invalid for the specified field.</summary>
+            <remarks>ER_INVALID_DEFAULT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MultiplePrimaryKey">
+            <summary>The table has multiple primary keys defined.</summary>
+            <remarks>ER_MULTIPLE_PRI_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyKeys">
+            <summary>Too many keys were defined for the table.</summary>
+            <remarks>ER_TOO_MANY_KEYS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyKeysParts">
+            <summary>Too many parts to the keys were defined for the table.</summary>
+            <remarks>ER_TOO_MANY_KEY_PARTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongKey">
+            <summary>The specified key is too long</summary>
+            <remarks>ER_TOO_LONG_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyColumnDoesNotExist">
+            <summary>The specified key column doesn't exist in the table.</summary>
+            <remarks>ER_KEY_COLUMN_DOES_NOT_EXITS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobUsedAsKey">
+            <summary>The BLOB column was used as a key, this can't be done.</summary>
+            <remarks>ER_BLOB_USED_AS_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigFieldLength">
+            <summary>The column length is too big for the specified column type.</summary>
+            <remarks>ER_TOO_BIG_FIELDLENGTH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongAutoKey">
+            <summary>There can only be one auto-column, and it must be defined as a PK.</summary>
+            <remarks>ER_WRONG_AUTO_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.Ready">
+            <summary>The server is ready to accept connections.</summary>
+            <remarks>ER_READY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NormalShutdown">
+            <summary></summary>
+            <remarks>ER_NORMAL_SHUTDOWN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GotSignal">
+            <summary>The server received the specified signal and is aborting.</summary>
+            <remarks>ER_GOT_SIGNAL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ShutdownComplete">
+            <summary>The server shutdown is complete.</summary>
+            <remarks>ER_SHUTDOWN_COMPLETE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForcingClose">
+            <summary>The server is forcing close of the specified thread.</summary>
+            <remarks>ER_FORCING_CLOSE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IPSocketError">
+            <summary>An error occurred when creating the IP socket.</summary>
+            <remarks>ER_IPSOCK_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoSuchIndex">
+            <summary>The table has no index like the one used in CREATE INDEX.</summary>
+            <remarks>ER_NO_SUCH_INDEX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongFieldTerminators">
+            <summary>The field separator argument is not what is expected, check the manual.</summary>
+            <remarks>ER_WRONG_FIELD_TERMINATORS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobsAndNoTerminated">
+            <summary>The BLOB columns must terminated, fixed row lengths cannot be used.</summary>
+            <remarks>ER_BLOBS_AND_NO_TERMINATED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TextFileNotReadable">
+            <summary>The text file cannot be read.</summary>
+            <remarks>ER_TEXTFILE_NOT_READABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileExists">
+            <summary>The specified file already exists.</summary>
+            <remarks>ER_FILE_EXISTS_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LoadInfo">
+            <summary>Information returned by the LOAD statement.</summary>
+            <remarks>ER_LOAD_INFO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AlterInfo">
+            <summary>Information returned by an UPDATE statement.</summary>
+            <remarks>ER_ALTER_INFO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongSubKey">
+            <summary>The prefix key is incorrect.</summary>
+            <remarks>ER_WRONG_SUB_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotRemoveAllFields">
+            <summary>All columns cannot be removed from a table, use DROP TABLE instead.</summary>
+            <remarks>ER_CANT_REMOVE_ALL_FIELDS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotDropFieldOrKey">
+            <summary>Cannot DROP, check that the column or key exists.</summary>
+            <remarks>ER_CANT_DROP_FIELD_OR_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InsertInfo">
+            <summary>Information returned by an INSERT statement.</summary>
+            <remarks>ER_INSERT_INFO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateTableUsed">
+            <summary>The target table cannot be specified for update in FROM clause.</summary>
+            <remarks>ER_UPDATE_TABLE_USED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoSuchThread">
+            <summary>The specified thread ID is unknown.</summary>
+            <remarks>ER_NO_SUCH_THREAD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KillDenied">
+            <summary>The thread cannot be killed, the current user is not the owner.</summary>
+            <remarks>ER_KILL_DENIED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoTablesUsed">
+            <summary>No tables used in the statement.</summary>
+            <remarks>ER_NO_TABLES_USED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigSet">
+            <summary>Too many string have been used for the specified column and SET.</summary>
+            <remarks>ER_TOO_BIG_SET</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoUniqueLogFile">
+            <summary>A unique filename couldn't be generated.</summary>
+            <remarks>ER_NO_UNIQUE_LOGFILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNotLockedForWrite">
+            <summary>The specified table was locked with a READ lock, and can't be updated.</summary>
+            <remarks>ER_TABLE_NOT_LOCKED_FOR_WRITE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNotLocked">
+            <summary>The specified table was not locked with LOCK TABLES.</summary>
+            <remarks>ER_TABLE_NOT_LOCKED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobCannotHaveDefault">
+            <summary>BLOB and Text columns cannot have a default value.</summary>
+            <remarks>ER_BLOB_CANT_HAVE_DEFAULT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongDatabaseName">
+            <summary>The specified database name is incorrect.</summary>
+            <remarks>ER_WRONG_DB_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongTableName">
+            <summary>The specified table name is incorrect.</summary>
+            <remarks>ER_WRONG_TABLE_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigSelect">
+            <summary>The SELECT command would examine more than MAX_JOIN_SIZE rows, check the WHERE clause and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is ok.</summary>
+            <remarks>ER_TOO_BIG_SELECT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownError">
+            <summary>An unknown error occurred.</summary>
+            <remarks>ER_UNKNOWN_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownProcedure">
+            <summary>The specified procedure is unknown.</summary>
+            <remarks>ER_UNKNOWN_PROCEDURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParameterCountToProcedure">
+            <summary>The number of parameters provided for the specified procedure is incorrect.</summary>
+            <remarks>ER_WRONG_PARAMCOUNT_TO_PROCEDURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParametersToProcedure">
+            <summary>The parameters provided for the specified procedure are incorrect.</summary>
+            <remarks>ER_WRONG_PARAMETERS_TO_PROCEDURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownTable">
+            <summary>The specified table is unknown.</summary>
+            <remarks>ER_UNKNOWN_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FieldSpecifiedTwice">
+            <summary>The specified column has been specified twice.</summary>
+            <remarks>ER_FIELD_SPECIFIED_TWICE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidGroupFunctionUse">
+            <summary>The group function has been incorrectly used.</summary>
+            <remarks>ER_INVALID_GROUP_FUNC_USE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnsupportedExtenstion">
+            <summary>The specified table uses an extension that doesn't exist in this MySQL version.</summary>
+            <remarks>ER_UNSUPPORTED_EXTENSION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableMustHaveColumns">
+            <summary>The table must have at least one column.</summary>
+            <remarks>ER_TABLE_MUST_HAVE_COLUMNS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RecordFileFull">
+            <summary>The specified table is full.</summary>
+            <remarks>ER_RECORD_FILE_FULL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownCharacterSet">
+            <summary>The specified character set is unknown.</summary>
+            <remarks>ER_UNKNOWN_CHARACTER_SET</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyTables">
+            <summary>Too many tables, MySQL can only use the specified number of tables in a JOIN.</summary>
+            <remarks>ER_TOO_MANY_TABLES</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyFields">
+            <summary>Too many columns</summary>
+            <remarks>ER_TOO_MANY_FIELDS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigRowSize">
+            <summary>The row size is too large, the maximum row size for the used tables (not counting BLOBS) is specified, change some columns or BLOBS.</summary>
+            <remarks>ER_TOO_BIG_ROWSIZE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StackOverrun">
+            <summary>A thread stack overrun occurred. Stack statistics are specified.</summary>
+            <remarks>ER_STACK_OVERRUN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongOuterJoin">
+            <summary>A cross dependency was found in the OUTER JOIN, examine the ON conditions.</summary>
+            <remarks>ER_WRONG_OUTER_JOIN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NullColumnInIndex">
+            <summary>The table handler doesn't support NULL in the given index, change specified column to be NOT NULL or use another handler.</summary>
+            <remarks>ER_NULL_COLUMN_IN_INDEX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotFindUDF">
+            <summary>The specified user defined function cannot be loaded.</summary>
+            <remarks>ER_CANT_FIND_UDF</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotInitializeUDF">
+            <summary>The specified user defined function cannot be initialised.</summary>
+            <remarks>ER_CANT_INITIALIZE_UDF</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UDFNoPaths">
+            <summary>No paths are allowed for the shared library.</summary>
+            <remarks>ER_UDF_NO_PATHS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UDFExists">
+            <summary>The specified user defined function already exists.</summary>
+            <remarks>ER_UDF_EXISTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotOpenLibrary">
+            <summary>The specified shared library cannot be opened.</summary>
+            <remarks>ER_CANT_OPEN_LIBRARY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotFindDLEntry">
+            <summary>The specified symbol cannot be found in the library.</summary>
+            <remarks>ER_CANT_FIND_DL_ENTRY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FunctionNotDefined">
+            <summary>The specified function is not defined.</summary>
+            <remarks>ER_FUNCTION_NOT_DEFINED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HostIsBlocked">
+            <summary>The specified host is blocked because of too many connection errors, unblock with 'mysqladmin flush-hosts'.</summary>
+            <remarks>ER_HOST_IS_BLOCKED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HostNotPrivileged">
+            <summary>
+            The given host is not allowed to connect
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AnonymousUser">
+            <summary>
+            The anonymous user is not allowed to connect
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PasswordNotAllowed">
+            <summary>
+            The given password is not allowed
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PasswordNoMatch">
+            <summary>
+            The given password does not match
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateInfo">
+            <summary>Information returned by an UPDATE statement.</summary>
+            <remarks>ER_UPDATE_INFO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateThread">
+            <summary>A new thread couldn't be created.</summary>
+            <remarks>ER_CANT_CREATE_THREAD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValueCountOnRow">
+            <summary>The column count doesn't match the value count.</summary>
+            <remarks>ER_WRONG_VALUE_COUNT_ON_ROW</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotReopenTable">
+            <summary>The specified table can't be re-opened.</summary>
+            <remarks>ER_CANT_REOPEN_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidUseOfNull">
+            <summary>The NULL value has been used incorrectly.</summary>
+            <remarks>ER_INVALID_USE_OF_NULL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RegExpError">
+            <summary>The regular expression contains an error.</summary>
+            <remarks>ER_REGEXP_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MixOfGroupFunctionAndFields">
+            <summary>GROUP columns (MIN(), MAX(), COUNT(), ...) cannot be mixes with no GROUP columns if there is not GROUP BY clause.</summary>
+            <remarks>ER_MIX_OF_GROUP_FUNC_AND_FIELDS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonExistingGrant">
+            <summary></summary>
+            <remarks>ER_NONEXISTING_GRANT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableAccessDenied">
+            <summary></summary>
+            <remarks>ER_TABLEACCESS_DENIED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ColumnAccessDenied">
+            <summary></summary>
+            <remarks>ER_COLUMNACCESS_DENIED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalGrantForTable">
+            <summary></summary>
+            <remarks>ER_ILLEGAL_GRANT_FOR_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GrantWrongHostOrUser">
+            <summary></summary>
+            <remarks>ER_GRANT_WRONG_HOST_OR_USER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoSuchTable">
+            <summary></summary>
+            <remarks>ER_NO_SUCH_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonExistingTableGrant">
+            <summary></summary>
+            <remarks>ER_NONEXISTING_TABLE_GRANT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotAllowedCommand">
+            <summary></summary>
+            <remarks>ER_NOT_ALLOWED_COMMAND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SyntaxError">
+            <summary></summary>
+            <remarks>ER_SYNTAX_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DelayedCannotChangeLock">
+            <summary></summary>
+            <remarks>ER_DELAYED_CANT_CHANGE_LOCK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyDelayedThreads">
+            <summary></summary>
+            <remarks>ER_TOO_MANY_DELAYED_THREADS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AbortingConnection">
+            <summary></summary>
+            <remarks>ER_ABORTING_CONNECTION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PacketTooLarge">
+            <summary>
+            An attempt was made to send or receive a packet larger than
+            max_allowed_packet_size
+            </summary>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetReadErrorFromPipe">
+            <summary></summary>
+            <remarks>ER_NET_READ_ERROR_FROM_PIPE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetFCntlError">
+            <summary></summary>
+            <remarks>ER_NET_FCNTL_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetPacketsOutOfOrder">
+            <summary></summary>
+            <remarks>ER_NET_PACKETS_OUT_OF_ORDER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetUncompressError">
+            <summary></summary>
+            <remarks>ER_NET_UNCOMPRESS_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetReadError">
+            <summary></summary>
+            <remarks>ER_NET_READ_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetReadInterrupted">
+            <summary></summary>
+            <remarks>ER_NET_READ_INTERRUPTED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetErrorOnWrite">
+            <summary></summary>
+            <remarks>ER_NET_ERROR_ON_WRITE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetWriteInterrupted">
+            <summary></summary>
+            <remarks>ER_NET_WRITE_INTERRUPTED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongString">
+            <summary></summary>
+            <remarks>ER_TOO_LONG_STRING</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableCannotHandleBlob">
+            <summary></summary>
+            <remarks>ER_TABLE_CANT_HANDLE_BLOB</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableCannotHandleAutoIncrement">
+            <summary></summary>
+            <remarks>ER_TABLE_CANT_HANDLE_AUTO_INCREMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DelayedInsertTableLocked">
+            <summary></summary>
+            <remarks>ER_DELAYED_INSERT_TABLE_LOCKED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongColumnName">
+            <summary></summary>
+            <remarks>ER_WRONG_COLUMN_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongKeyColumn">
+            <summary></summary>
+            <remarks>ER_WRONG_KEY_COLUMN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongMergeTable">
+            <summary></summary>
+            <remarks>ER_WRONG_MRG_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateUnique">
+            <summary></summary>
+            <remarks>ER_DUP_UNIQUE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobKeyWithoutLength">
+            <summary></summary>
+            <remarks>ER_BLOB_KEY_WITHOUT_LENGTH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PrimaryCannotHaveNull">
+            <summary></summary>
+            <remarks>ER_PRIMARY_CANT_HAVE_NULL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyRows">
+            <summary></summary>
+            <remarks>ER_TOO_MANY_ROWS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RequiresPrimaryKey">
+            <summary></summary>
+            <remarks>ER_REQUIRES_PRIMARY_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoRAIDCompiled">
+            <summary></summary>
+            <remarks>ER_NO_RAID_COMPILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateWithoutKeysInSafeMode">
+            <summary></summary>
+            <remarks>ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyDoesNotExist">
+            <summary></summary>
+            <remarks>ER_KEY_DOES_NOT_EXITS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CheckNoSuchTable">
+            <summary></summary>
+            <remarks>ER_CHECK_NO_SUCH_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CheckNotImplemented">
+            <summary></summary>
+            <remarks>ER_CHECK_NOT_IMPLEMENTED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotDoThisDuringATransaction">
+            <summary></summary>
+            <remarks>ER_CANT_DO_THIS_DURING_AN_TRANSACTION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorDuringCommit">
+            <summary></summary>
+            <remarks>ER_ERROR_DURING_COMMIT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorDuringRollback">
+            <summary></summary>
+            <remarks>ER_ERROR_DURING_ROLLBACK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorDuringFlushLogs">
+            <summary></summary>
+            <remarks>ER_ERROR_DURING_FLUSH_LOGS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorDuringCheckpoint">
+            <summary></summary>
+            <remarks>ER_ERROR_DURING_CHECKPOINT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NewAbortingConnection">
+            <summary></summary>
+            <remarks>ER_NEW_ABORTING_CONNECTION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DumpNotImplemented">
+            <summary></summary>
+            <remarks>ER_DUMP_NOT_IMPLEMENTED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FlushMasterBinLogClosed">
+            <summary></summary>
+            <remarks>ER_FLUSH_MASTER_BINLOG_CLOSED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IndexRebuild">
+            <summary></summary>
+            <remarks>ER_INDEX_REBUILD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterError">
+            <summary></summary>
+            <remarks>ER_MASTER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterNetRead">
+            <summary></summary>
+            <remarks>ER_MASTER_NET_READ</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterNetWrite">
+            <summary></summary>
+            <remarks>ER_MASTER_NET_WRITE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FullTextMatchingKeyNotFound">
+            <summary></summary>
+            <remarks>ER_FT_MATCHING_KEY_NOT_FOUND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LockOrActiveTransaction">
+            <summary></summary>
+            <remarks>ER_LOCK_OR_ACTIVE_TRANSACTION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownSystemVariable">
+            <summary></summary>
+            <remarks>ER_UNKNOWN_SYSTEM_VARIABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CrashedOnUsage">
+            <summary></summary>
+            <remarks>ER_CRASHED_ON_USAGE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CrashedOnRepair">
+            <summary></summary>
+            <remarks>ER_CRASHED_ON_REPAIR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningNotCompleteRollback">
+            <summary></summary>
+            <remarks>ER_WARNING_NOT_COMPLETE_ROLLBACK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TransactionCacheFull">
+            <summary></summary>
+            <remarks>ER_TRANS_CACHE_FULL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveMustStop">
+            <summary></summary>
+            <remarks>ER_SLAVE_MUST_STOP</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveNotRunning">
+            <summary></summary>
+            <remarks>ER_SLAVE_NOT_RUNNING</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadSlave">
+            <summary></summary>
+            <remarks>ER_BAD_SLAVE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterInfo">
+            <summary></summary>
+            <remarks>ER_MASTER_INFO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveThread">
+            <summary></summary>
+            <remarks>ER_SLAVE_THREAD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyUserConnections">
+            <summary></summary>
+            <remarks>ER_TOO_MANY_USER_CONNECTIONS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SetConstantsOnly">
+            <summary></summary>
+            <remarks>ER_SET_CONSTANTS_ONLY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LockWaitTimeout">
+            <summary></summary>
+            <remarks>ER_LOCK_WAIT_TIMEOUT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LockTableFull">
+            <summary></summary>
+            <remarks>ER_LOCK_TABLE_FULL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReadOnlyTransaction">
+            <summary></summary>
+            <remarks>ER_READ_ONLY_TRANSACTION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropDatabaseWithReadLock">
+            <summary></summary>
+            <remarks>ER_DROP_DB_WITH_READ_LOCK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CreateDatabaseWithReadLock">
+            <summary></summary>
+            <remarks>ER_CREATE_DB_WITH_READ_LOCK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongArguments">
+            <summary></summary>
+            <remarks>ER_WRONG_ARGUMENTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoPermissionToCreateUser">
+            <summary></summary>
+            <remarks>ER_NO_PERMISSION_TO_CREATE_USER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnionTablesInDifferentDirectory">
+            <summary></summary>
+            <remarks>ER_UNION_TABLES_IN_DIFFERENT_DIR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LockDeadlock">
+            <summary></summary>
+            <remarks>ER_LOCK_DEADLOCK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableCannotHandleFullText">
+            <summary></summary>
+            <remarks>ER_TABLE_CANT_HANDLE_FT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotAddForeignConstraint">
+            <summary></summary>
+            <remarks>ER_CANNOT_ADD_FOREIGN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoReferencedRow">
+            <summary></summary>
+            <remarks>ER_NO_REFERENCED_ROW</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RowIsReferenced">
+            <summary></summary>
+            <remarks>ER_ROW_IS_REFERENCED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConnectToMaster">
+            <summary></summary>
+            <remarks>ER_CONNECT_TO_MASTER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.QueryOnMaster">
+            <summary></summary>
+            <remarks>ER_QUERY_ON_MASTER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorWhenExecutingCommand">
+            <summary></summary>
+            <remarks>ER_ERROR_WHEN_EXECUTING_COMMAND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongUsage">
+            <summary></summary>
+            <remarks>ER_WRONG_USAGE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongNumberOfColumnsInSelect">
+            <summary></summary>
+            <remarks>ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotUpdateWithReadLock">
+            <summary></summary>
+            <remarks>ER_CANT_UPDATE_WITH_READLOCK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MixingNotAllowed">
+            <summary></summary>
+            <remarks>ER_MIXING_NOT_ALLOWED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateArgument">
+            <summary></summary>
+            <remarks>ER_DUP_ARGUMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UserLimitReached">
+            <summary></summary>
+            <remarks>ER_USER_LIMIT_REACHED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SpecifiedAccessDeniedError">
+            <summary></summary>
+            <remarks>ER_SPECIFIC_ACCESS_DENIED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LocalVariableError">
+            <summary></summary>
+            <remarks>ER_LOCAL_VARIABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GlobalVariableError">
+            <summary></summary>
+            <remarks>ER_GLOBAL_VARIABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotDefaultError">
+            <summary></summary>
+            <remarks>ER_NO_DEFAULT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValueForVariable">
+            <summary></summary>
+            <remarks>ER_WRONG_VALUE_FOR_VAR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongTypeForVariable">
+            <summary></summary>
+            <remarks>ER_WRONG_TYPE_FOR_VAR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.VariableCannotBeRead">
+            <summary></summary>
+            <remarks>ER_VAR_CANT_BE_READ</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotUseOptionHere">
+            <summary></summary>
+            <remarks>ER_CANT_USE_OPTION_HERE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotSupportedYet">
+            <summary></summary>
+            <remarks>ER_NOT_SUPPORTED_YET</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterFatalErrorReadingBinLog">
+            <summary></summary>
+            <remarks>ER_MASTER_FATAL_ERROR_READING_BINLOG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveIgnoredTable">
+            <summary></summary>
+            <remarks>ER_SLAVE_IGNORED_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IncorrectGlobalLocalVariable">
+            <summary></summary>
+            <remarks>ER_INCORRECT_GLOBAL_LOCAL_VAR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongForeignKeyDefinition">
+            <summary></summary>
+            <remarks>ER_WRONG_FK_DEF</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyReferenceDoesNotMatchTableReference">
+            <summary></summary>
+            <remarks>ER_KEY_REF_DO_NOT_MATCH_TABLE_REF</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OpearnColumnsError">
+            <summary></summary>
+            <remarks>ER_OPERAND_COLUMNS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SubQueryNoOneRow">
+            <summary></summary>
+            <remarks>ER_SUBQUERY_NO_1_ROW</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownStatementHandler">
+            <summary></summary>
+            <remarks>ER_UNKNOWN_STMT_HANDLER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CorruptHelpDatabase">
+            <summary></summary>
+            <remarks>ER_CORRUPT_HELP_DB</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CyclicReference">
+            <summary></summary>
+            <remarks>ER_CYCLIC_REFERENCE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AutoConvert">
+            <summary></summary>
+            <remarks>ER_AUTO_CONVERT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalReference">
+            <summary></summary>
+            <remarks>ER_ILLEGAL_REFERENCE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DerivedMustHaveAlias">
+            <summary></summary>
+            <remarks>ER_DERIVED_MUST_HAVE_ALIAS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SelectReduced">
+            <summary></summary>
+            <remarks>ER_SELECT_REDUCED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNameNotAllowedHere">
+            <summary></summary>
+            <remarks>ER_TABLENAME_NOT_ALLOWED_HERE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotSupportedAuthMode">
+            <summary></summary>
+            <remarks>ER_NOT_SUPPORTED_AUTH_MODE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SpatialCannotHaveNull">
+            <summary></summary>
+            <remarks>ER_SPATIAL_CANT_HAVE_NULL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CollationCharsetMismatch">
+            <summary></summary>
+            <remarks>ER_COLLATION_CHARSET_MISMATCH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveWasRunning">
+            <summary></summary>
+            <remarks>ER_SLAVE_WAS_RUNNING</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveWasNotRunning">
+            <summary></summary>
+            <remarks>ER_SLAVE_WAS_NOT_RUNNING</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigForUncompress">
+            <summary></summary>
+            <remarks>ER_TOO_BIG_FOR_UNCOMPRESS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ZipLibMemoryError">
+            <summary></summary>
+            <remarks>ER_ZLIB_Z_MEM_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ZipLibBufferError">
+            <summary></summary>
+            <remarks>ER_ZLIB_Z_BUF_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ZipLibDataError">
+            <summary></summary>
+            <remarks>ER_ZLIB_Z_DATA_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CutValueGroupConcat">
+            <summary></summary>
+            <remarks>ER_CUT_VALUE_GROUP_CONCAT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningTooFewRecords">
+            <summary></summary>
+            <remarks>ER_WARN_TOO_FEW_RECORDS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningTooManyRecords">
+            <summary></summary>
+            <remarks>ER_WARN_TOO_MANY_RECORDS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningNullToNotNull">
+            <summary></summary>
+            <remarks>ER_WARN_NULL_TO_NOTNULL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningDataOutOfRange">
+            <summary></summary>
+            <remarks>ER_WARN_DATA_OUT_OF_RANGE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WaningDataTruncated">
+            <summary></summary>
+            <remarks>WARN_DATA_TRUNCATED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WaningUsingOtherHandler">
+            <summary></summary>
+            <remarks>ER_WARN_USING_OTHER_HANDLER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotAggregateTwoCollations">
+            <summary></summary>
+            <remarks>ER_CANT_AGGREGATE_2COLLATIONS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropUserError">
+            <summary></summary>
+            <remarks>ER_DROP_USER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RevokeGrantsError">
+            <summary></summary>
+            <remarks>ER_REVOKE_GRANTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotAggregateThreeCollations">
+            <summary></summary>
+            <remarks>ER_CANT_AGGREGATE_3COLLATIONS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotAggregateNCollations">
+            <summary></summary>
+            <remarks>ER_CANT_AGGREGATE_NCOLLATIONS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.VariableIsNotStructure">
+            <summary></summary>
+            <remarks>ER_VARIABLE_IS_NOT_STRUCT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownCollation">
+            <summary></summary>
+            <remarks>ER_UNKNOWN_COLLATION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveIgnoreSSLParameters">
+            <summary></summary>
+            <remarks>ER_SLAVE_IGNORED_SSL_PARAMS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ServerIsInSecureAuthMode">
+            <summary></summary>
+            <remarks>ER_SERVER_IS_IN_SECURE_AUTH_MODE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WaningFieldResolved">
+            <summary></summary>
+            <remarks>ER_WARN_FIELD_RESOLVED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadSlaveUntilCondition">
+            <summary></summary>
+            <remarks>ER_BAD_SLAVE_UNTIL_COND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MissingSkipSlave">
+            <summary></summary>
+            <remarks>ER_MISSING_SKIP_SLAVE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorUntilConditionIgnored">
+            <summary></summary>
+            <remarks>ER_UNTIL_COND_IGNORED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongNameForIndex">
+            <summary></summary>
+            <remarks>ER_WRONG_NAME_FOR_INDEX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongNameForCatalog">
+            <summary></summary>
+            <remarks>ER_WRONG_NAME_FOR_CATALOG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningQueryCacheResize">
+            <summary></summary>
+            <remarks>ER_WARN_QC_RESIZE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadFullTextColumn">
+            <summary></summary>
+            <remarks>ER_BAD_FT_COLUMN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownKeyCache">
+            <summary></summary>
+            <remarks>ER_UNKNOWN_KEY_CACHE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningHostnameWillNotWork">
+            <summary></summary>
+            <remarks>ER_WARN_HOSTNAME_WONT_WORK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownStorageEngine">
+            <summary></summary>
+            <remarks>ER_UNKNOWN_STORAGE_ENGINE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WaningDeprecatedSyntax">
+            <summary></summary>
+            <remarks>ER_WARN_DEPRECATED_SYNTAX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonUpdateableTable">
+            <summary></summary>
+            <remarks>ER_NON_UPDATABLE_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FeatureDisabled">
+            <summary></summary>
+            <remarks>ER_FEATURE_DISABLED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OptionPreventsStatement">
+            <summary></summary>
+            <remarks>ER_OPTION_PREVENTS_STATEMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicatedValueInType">
+            <summary></summary>
+            <remarks>ER_DUPLICATED_VALUE_IN_TYPE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TruncatedWrongValue">
+            <summary></summary>
+            <remarks>ER_TRUNCATED_WRONG_VALUE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooMuchAutoTimestampColumns">
+            <summary></summary>
+            <remarks>ER_TOO_MUCH_AUTO_TIMESTAMP_COLS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidOnUpdate">
+            <summary></summary>
+            <remarks>ER_INVALID_ON_UPDATE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnsupportedPreparedStatement">
+            <summary></summary>
+            <remarks>ER_UNSUPPORTED_PS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GetErroMessage">
+            <summary></summary>
+            <remarks>ER_GET_ERRMSG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GetTemporaryErrorMessage">
+            <summary></summary>
+            <remarks>ER_GET_TEMPORARY_ERRMSG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownTimeZone">
+            <summary></summary>
+            <remarks>ER_UNKNOWN_TIME_ZONE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningInvalidTimestamp">
+            <summary></summary>
+            <remarks>ER_WARN_INVALID_TIMESTAMP</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidCharacterString">
+            <summary></summary>
+            <remarks>ER_INVALID_CHARACTER_STRING</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningAllowedPacketOverflowed">
+            <summary></summary>
+            <remarks>ER_WARN_ALLOWED_PACKET_OVERFLOWED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConflictingDeclarations">
+            <summary></summary>
+            <remarks>ER_CONFLICTING_DECLARATIONS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoRecursiveCreate">
+            <summary></summary>
+            <remarks>ER_SP_NO_RECURSIVE_CREATE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureAlreadyExists">
+            <summary></summary>
+            <remarks>ER_SP_ALREADY_EXISTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDoesNotExist">
+            <summary></summary>
+            <remarks>ER_SP_DOES_NOT_EXIST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDropFailed">
+            <summary></summary>
+            <remarks>ER_SP_DROP_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureStoreFailed">
+            <summary></summary>
+            <remarks>ER_SP_STORE_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureLiLabelMismatch">
+            <summary></summary>
+            <remarks>ER_SP_LILABEL_MISMATCH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureLabelRedefine">
+            <summary></summary>
+            <remarks>ER_SP_LABEL_REDEFINE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureLabelMismatch">
+            <summary></summary>
+            <remarks>ER_SP_LABEL_MISMATCH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureUninitializedVariable">
+            <summary></summary>
+            <remarks>ER_SP_UNINIT_VAR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadSelect">
+            <summary></summary>
+            <remarks>ER_SP_BADSELECT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadReturn">
+            <summary></summary>
+            <remarks>ER_SP_BADRETURN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadStatement">
+            <summary></summary>
+            <remarks>ER_SP_BADSTATEMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateLogDeprecatedIgnored">
+            <summary></summary>
+            <remarks>ER_UPDATE_LOG_DEPRECATED_IGNORED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateLogDeprecatedTranslated">
+            <summary></summary>
+            <remarks>ER_UPDATE_LOG_DEPRECATED_TRANSLATED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.QueryInterrupted">
+            <summary></summary>
+            <remarks>ER_QUERY_INTERRUPTED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNumberOfArguments">
+            <summary></summary>
+            <remarks>ER_SP_WRONG_NO_OF_ARGS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureConditionMismatch">
+            <summary></summary>
+            <remarks>ER_SP_COND_MISMATCH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoReturn">
+            <summary></summary>
+            <remarks>ER_SP_NORETURN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoReturnEnd">
+            <summary></summary>
+            <remarks>ER_SP_NORETURNEND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadCursorQuery">
+            <summary></summary>
+            <remarks>ER_SP_BAD_CURSOR_QUERY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadCursorSelect">
+            <summary></summary>
+            <remarks>ER_SP_BAD_CURSOR_SELECT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCursorMismatch">
+            <summary></summary>
+            <remarks>ER_SP_CURSOR_MISMATCH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureAlreadyOpen">
+            <summary></summary>
+            <remarks>ER_SP_CURSOR_ALREADY_OPEN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCursorNotOpen">
+            <summary></summary>
+            <remarks>ER_SP_CURSOR_NOT_OPEN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureUndeclaredVariabel">
+            <summary></summary>
+            <remarks>ER_SP_UNDECLARED_VAR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureWrongNumberOfFetchArguments">
+            <summary></summary>
+            <remarks>ER_SP_WRONG_NO_OF_FETCH_ARGS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureFetchNoData">
+            <summary></summary>
+            <remarks>ER_SP_FETCH_NO_DATA</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateParameter">
+            <summary></summary>
+            <remarks>ER_SP_DUP_PARAM</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateVariable">
+            <summary></summary>
+            <remarks>ER_SP_DUP_VAR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateCondition">
+            <summary></summary>
+            <remarks>ER_SP_DUP_COND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateCursor">
+            <summary></summary>
+            <remarks>ER_SP_DUP_CURS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCannotAlter">
+            <summary></summary>
+            <remarks>ER_SP_CANT_ALTER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureSubSelectNYI">
+            <summary></summary>
+            <remarks>ER_SP_SUBSELECT_NYI</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StatementNotAllowedInStoredFunctionOrTrigger">
+            <summary></summary>
+            <remarks>ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureVariableConditionAfterCursorHandler">
+            <summary></summary>
+            <remarks>ER_SP_VARCOND_AFTER_CURSHNDLR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCursorAfterHandler">
+            <summary></summary>
+            <remarks>ER_SP_CURSOR_AFTER_HANDLER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCaseNotFound">
+            <summary></summary>
+            <remarks>ER_SP_CASE_NOT_FOUND</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserTooBigFile">
+            <summary></summary>
+            <remarks>ER_FPARSER_TOO_BIG_FILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserBadHeader">
+            <summary></summary>
+            <remarks>ER_FPARSER_BAD_HEADER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserEOFInComment">
+            <summary></summary>
+            <remarks>ER_FPARSER_EOF_IN_COMMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserErrorInParameter">
+            <summary></summary>
+            <remarks>ER_FPARSER_ERROR_IN_PARAMETER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserEOFInUnknownParameter">
+            <summary></summary>
+            <remarks>ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewNoExplain">
+            <summary></summary>
+            <remarks>ER_VIEW_NO_EXPLAIN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FrmUnknownType">
+            <summary></summary>
+            <remarks>ER_FRM_UNKNOWN_TYPE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongObject">
+            <summary></summary>
+            <remarks>ER_WRONG_OBJECT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonUpdateableColumn">
+            <summary></summary>
+            <remarks>ER_NONUPDATEABLE_COLUMN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewSelectDerived">
+            <summary></summary>
+            <remarks>ER_VIEW_SELECT_DERIVED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewSelectClause">
+            <summary></summary>
+            <remarks>ER_VIEW_SELECT_CLAUSE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewSelectVariable">
+            <summary></summary>
+            <remarks>ER_VIEW_SELECT_VARIABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewSelectTempTable">
+            <summary></summary>
+            <remarks>ER_VIEW_SELECT_TMPTABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewWrongList">
+            <summary></summary>
+            <remarks>ER_VIEW_WRONG_LIST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningViewMerge">
+            <summary></summary>
+            <remarks>ER_WARN_VIEW_MERGE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningViewWithoutKey">
+            <summary></summary>
+            <remarks>ER_WARN_VIEW_WITHOUT_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewInvalid">
+            <summary></summary>
+            <remarks>ER_VIEW_INVALID</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoDropStoredProcedure">
+            <summary></summary>
+            <remarks>ER_SP_NO_DROP_SP</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureGotoInHandler">
+            <summary></summary>
+            <remarks>ER_SP_GOTO_IN_HNDLR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerAlreadyExists">
+            <summary></summary>
+            <remarks>ER_TRG_ALREADY_EXISTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerDoesNotExist">
+            <summary></summary>
+            <remarks>ER_TRG_DOES_NOT_EXIST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerOnViewOrTempTable">
+            <summary></summary>
+            <remarks>ER_TRG_ON_VIEW_OR_TEMP_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerCannotChangeRow">
+            <summary></summary>
+            <remarks>ER_TRG_CANT_CHANGE_ROW</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerNoSuchRowInTrigger">
+            <summary></summary>
+            <remarks>ER_TRG_NO_SUCH_ROW_IN_TRG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoDefaultForField">
+            <summary></summary>
+            <remarks>ER_NO_DEFAULT_FOR_FIELD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DivisionByZero">
+            <summary></summary>
+            <remarks>ER_DIVISION_BY_ZERO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TruncatedWrongValueForField">
+            <summary></summary>
+            <remarks>ER_TRUNCATED_WRONG_VALUE_FOR_FIELD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalValueForType">
+            <summary></summary>
+            <remarks>ER_ILLEGAL_VALUE_FOR_TYPE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewNonUpdatableCheck">
+            <summary></summary>
+            <remarks>ER_VIEW_NONUPD_CHECK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewCheckFailed">
+            <summary></summary>
+            <remarks>ER_VIEW_CHECK_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PrecedureAccessDenied">
+            <summary></summary>
+            <remarks>ER_PROCACCESS_DENIED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RelayLogFail">
+            <summary></summary>
+            <remarks>ER_RELAY_LOG_FAIL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PasswordLength">
+            <summary></summary>
+            <remarks>ER_PASSWD_LENGTH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownTargetBinLog">
+            <summary></summary>
+            <remarks>ER_UNKNOWN_TARGET_BINLOG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IOErrorLogIndexRead">
+            <summary></summary>
+            <remarks>ER_IO_ERR_LOG_INDEX_READ</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogPurgeProhibited">
+            <summary></summary>
+            <remarks>ER_BINLOG_PURGE_PROHIBITED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FSeekFail">
+            <summary></summary>
+            <remarks>ER_FSEEK_FAIL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogPurgeFatalError">
+            <summary></summary>
+            <remarks>ER_BINLOG_PURGE_FATAL_ERR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LogInUse">
+            <summary></summary>
+            <remarks>ER_LOG_IN_USE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LogPurgeUnknownError">
+            <summary></summary>
+            <remarks>ER_LOG_PURGE_UNKNOWN_ERR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RelayLogInit">
+            <summary></summary>
+            <remarks>ER_RELAY_LOG_INIT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoBinaryLogging">
+            <summary></summary>
+            <remarks>ER_NO_BINARY_LOGGING</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReservedSyntax">
+            <summary></summary>
+            <remarks>ER_RESERVED_SYNTAX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WSAStartupFailed">
+            <summary></summary>
+            <remarks>ER_WSAS_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DifferentGroupsProcedure">
+            <summary></summary>
+            <remarks>ER_DIFF_GROUPS_PROC</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoGroupForProcedure">
+            <summary></summary>
+            <remarks>ER_NO_GROUP_FOR_PROC</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OrderWithProcedure">
+            <summary></summary>
+            <remarks>ER_ORDER_WITH_PROC</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LoggingProhibitsChangingOf">
+            <summary></summary>
+            <remarks>ER_LOGGING_PROHIBIT_CHANGING_OF</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoFileMapping">
+            <summary></summary>
+            <remarks>ER_NO_FILE_MAPPING</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongMagic">
+            <summary></summary>
+            <remarks>ER_WRONG_MAGIC</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PreparedStatementManyParameters">
+            <summary></summary>
+            <remarks>ER_PS_MANY_PARAM</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyPartZero">
+            <summary></summary>
+            <remarks>ER_KEY_PART_0</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewChecksum">
+            <summary></summary>
+            <remarks>ER_VIEW_CHECKSUM</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewMultiUpdate">
+            <summary></summary>
+            <remarks>ER_VIEW_MULTIUPDATE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewNoInsertFieldList">
+            <summary></summary>
+            <remarks>ER_VIEW_NO_INSERT_FIELD_LIST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewDeleteMergeView">
+            <summary></summary>
+            <remarks>ER_VIEW_DELETE_MERGE_VIEW</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotUser">
+            <summary></summary>
+            <remarks>ER_CANNOT_USER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERNotA">
+            <summary></summary>
+            <remarks>ER_XAER_NOTA</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERInvalid">
+            <summary></summary>
+            <remarks>ER_XAER_INVAL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERRemoveFail">
+            <summary></summary>
+            <remarks>ER_XAER_RMFAIL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAEROutside">
+            <summary></summary>
+            <remarks>ER_XAER_OUTSIDE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERRemoveError">
+            <summary></summary>
+            <remarks>ER_XAER_RMERR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XARBRollback">
+            <summary></summary>
+            <remarks>ER_XA_RBROLLBACK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonExistingProcedureGrant">
+            <summary></summary>
+            <remarks>ER_NONEXISTING_PROC_GRANT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ProcedureAutoGrantFail">
+            <summary></summary>
+            <remarks>ER_PROC_AUTO_GRANT_FAIL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ProcedureAutoRevokeFail">
+            <summary></summary>
+            <remarks>ER_PROC_AUTO_REVOKE_FAIL</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DataTooLong">
+            <summary></summary>
+            <remarks>ER_DATA_TOO_LONG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureSQLState">
+            <summary></summary>
+            <remarks>ER_SP_BAD_SQLSTATE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StartupError">
+            <summary></summary>
+            <remarks>ER_STARTUP</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LoadFromFixedSizeRowsToVariable">
+            <summary></summary>
+            <remarks>ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateUserWithGrant">
+            <summary></summary>
+            <remarks>ER_CANT_CREATE_USER_WITH_GRANT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValueForType">
+            <summary></summary>
+            <remarks>ER_WRONG_VALUE_FOR_TYPE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableDefinitionChanged">
+            <summary></summary>
+            <remarks>ER_TABLE_DEF_CHANGED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateHandler">
+            <summary></summary>
+            <remarks>ER_SP_DUP_HANDLER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNotVariableArgument">
+            <summary></summary>
+            <remarks>ER_SP_NOT_VAR_ARG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoReturnSet">
+            <summary></summary>
+            <remarks>ER_SP_NO_RETSET</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateGeometryObject">
+            <summary></summary>
+            <remarks>ER_CANT_CREATE_GEOMETRY_OBJECT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FailedRoutineBreaksBinLog">
+            <summary></summary>
+            <remarks>ER_FAILED_ROUTINE_BREAK_BINLOG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogUnsafeRoutine">
+            <summary></summary>
+            <remarks>ER_BINLOG_UNSAFE_ROUTINE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogCreateRoutineNeedSuper">
+            <summary></summary>
+            <remarks>ER_BINLOG_CREATE_ROUTINE_NEED_SUPER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ExecuteStatementWithOpenCursor">
+            <summary></summary>
+            <remarks>ER_EXEC_STMT_WITH_OPEN_CURSOR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StatementHasNoOpenCursor">
+            <summary></summary>
+            <remarks>ER_STMT_HAS_NO_OPEN_CURSOR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CommitNotAllowedIfStoredFunctionOrTrigger">
+            <summary></summary>
+            <remarks>ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoDefaultForViewField">
+            <summary></summary>
+            <remarks>ER_NO_DEFAULT_FOR_VIEW_FIELD</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoRecursion">
+            <summary></summary>
+            <remarks>ER_SP_NO_RECURSION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigScale">
+            <summary></summary>
+            <remarks>ER_TOO_BIG_SCALE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigPrecision">
+            <summary></summary>
+            <remarks>ER_TOO_BIG_PRECISION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MBiggerThanD">
+            <summary></summary>
+            <remarks>ER_M_BIGGER_THAN_D</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongLockOfSystemTable">
+            <summary></summary>
+            <remarks>ER_WRONG_LOCK_OF_SYSTEM_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConnectToForeignDataSource">
+            <summary></summary>
+            <remarks>ER_CONNECT_TO_FOREIGN_DATA_SOURCE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.QueryOnForeignDataSource">
+            <summary></summary>
+            <remarks>ER_QUERY_ON_FOREIGN_DATA_SOURCE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignDataSourceDoesNotExist">
+            <summary></summary>
+            <remarks>ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignDataStringInvalidCannotCreate">
+            <summary></summary>
+            <remarks>ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignDataStringInvalid">
+            <summary></summary>
+            <remarks>ER_FOREIGN_DATA_STRING_INVALID</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateFederatedTable">
+            <summary></summary>
+            <remarks>ER_CANT_CREATE_FEDERATED_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerInWrongSchema">
+            <summary></summary>
+            <remarks>ER_TRG_IN_WRONG_SCHEMA</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StackOverrunNeedMore">
+            <summary></summary>
+            <remarks>ER_STACK_OVERRUN_NEED_MORE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongBody">
+            <summary></summary>
+            <remarks>ER_TOO_LONG_BODY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningCannotDropDefaultKeyCache">
+            <summary></summary>
+            <remarks>ER_WARN_CANT_DROP_DEFAULT_KEYCACHE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigDisplayWidth">
+            <summary></summary>
+            <remarks>ER_TOO_BIG_DISPLAYWIDTH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERDuplicateID">
+            <summary></summary>
+            <remarks>ER_XAER_DUPID</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DateTimeFunctionOverflow">
+            <summary></summary>
+            <remarks>ER_DATETIME_FUNCTION_OVERFLOW</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotUpdateUsedTableInStoredFunctionOrTrigger">
+            <summary></summary>
+            <remarks>ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewPreventUpdate">
+            <summary></summary>
+            <remarks>ER_VIEW_PREVENT_UPDATE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PreparedStatementNoRecursion">
+            <summary></summary>
+            <remarks>ER_PS_NO_RECURSION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCannotSetAutoCommit">
+            <summary></summary>
+            <remarks>ER_SP_CANT_SET_AUTOCOMMIT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MalformedDefiner">
+            <summary></summary>
+            <remarks>ER_MALFORMED_DEFINER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewFrmNoUser">
+            <summary></summary>
+            <remarks>ER_VIEW_FRM_NO_USER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewOtherUser">
+            <summary></summary>
+            <remarks>ER_VIEW_OTHER_USER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoSuchUser">
+            <summary></summary>
+            <remarks>ER_NO_SUCH_USER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForbidSchemaChange">
+            <summary></summary>
+            <remarks>ER_FORBID_SCHEMA_CHANGE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RowIsReferenced2">
+            <summary></summary>
+            <remarks>ER_ROW_IS_REFERENCED_2</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoReferencedRow2">
+            <summary></summary>
+            <remarks>ER_NO_REFERENCED_ROW_2</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadVariableShadow">
+            <summary></summary>
+            <remarks>ER_SP_BAD_VAR_SHADOW</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerNoDefiner">
+            <summary></summary>
+            <remarks>ER_TRG_NO_DEFINER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OldFileFormat">
+            <summary></summary>
+            <remarks>ER_OLD_FILE_FORMAT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureRecursionLimit">
+            <summary></summary>
+            <remarks>ER_SP_RECURSION_LIMIT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureTableCorrupt">
+            <summary></summary>
+            <remarks>ER_SP_PROC_TABLE_CORRUPT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureWrongName">
+            <summary></summary>
+            <remarks>ER_SP_WRONG_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNeedsUpgrade">
+            <summary></summary>
+            <remarks>ER_TABLE_NEEDS_UPGRADE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoAggregate">
+            <summary></summary>
+            <remarks>ER_SP_NO_AGGREGATE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MaxPreparedStatementCountReached">
+            <summary></summary>
+            <remarks>ER_MAX_PREPARED_STMT_COUNT_REACHED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewRecursive">
+            <summary></summary>
+            <remarks>ER_VIEW_RECURSIVE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonGroupingFieldUsed">
+            <summary></summary>
+            <remarks>ER_NON_GROUPING_FIELD_USED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableCannotHandleSpatialKeys">
+            <summary></summary>
+            <remarks>ER_TABLE_CANT_HANDLE_SPKEYS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoTriggersOnSystemSchema">
+            <summary></summary>
+            <remarks>ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RemovedSpaces">
+            <summary></summary>
+            <remarks>ER_REMOVED_SPACES</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AutoIncrementReadFailed">
+            <summary></summary>
+            <remarks>ER_AUTOINC_READ_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UserNameError">
+            <summary></summary>
+            <remarks>ER_USERNAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HostNameError">
+            <summary></summary>
+            <remarks>ER_HOSTNAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongStringLength">
+            <summary></summary>
+            <remarks>ER_WRONG_STRING_LENGTH</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonInsertableTable">
+            <summary></summary>
+            <remarks>ER_NON_INSERTABLE_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AdminWrongMergeTable">
+            <summary></summary>
+            <remarks>ER_ADMIN_WRONG_MRG_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooHighLevelOfNestingForSelect">
+            <summary></summary>
+            <remarks>ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NameBecomesEmpty">
+            <summary></summary>
+            <remarks>ER_NAME_BECOMES_EMPTY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AmbiguousFieldTerm">
+            <summary></summary>
+            <remarks>ER_AMBIGUOUS_FIELD_TERM</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignServerExists">
+            <summary></summary>
+            <remarks>ER_FOREIGN_SERVER_EXISTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignServerDoesNotExist">
+            <summary></summary>
+            <remarks>ER_FOREIGN_SERVER_DOESNT_EXIST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalHACreateOption">
+            <summary></summary>
+            <remarks>ER_ILLEGAL_HA_CREATE_OPTION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionRequiresValues">
+            <summary></summary>
+            <remarks>ER_PARTITION_REQUIRES_VALUES_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionWrongValues">
+            <summary></summary>
+            <remarks>ER_PARTITION_WRONG_VALUES_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionMaxValue">
+            <summary></summary>
+            <remarks>ER_PARTITION_MAXVALUE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionSubPartition">
+            <summary></summary>
+            <remarks>ER_PARTITION_SUBPARTITION_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionSubPartMix">
+            <summary></summary>
+            <remarks>ER_PARTITION_SUBPART_MIX_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionWrongNoPart">
+            <summary></summary>
+            <remarks>ER_PARTITION_WRONG_NO_PART_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionWrongNoSubPart">
+            <summary></summary>
+            <remarks>ER_PARTITION_WRONG_NO_SUBPART_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongExpressionInParitionFunction">
+            <summary></summary>
+            <remarks>ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoConstantExpressionInRangeOrListError">
+            <summary></summary>
+            <remarks>ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FieldNotFoundPartitionErrror">
+            <summary></summary>
+            <remarks>ER_FIELD_NOT_FOUND_PART_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ListOfFieldsOnlyInHash">
+            <summary></summary>
+            <remarks>ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InconsistentPartitionInfo">
+            <summary></summary>
+            <remarks>ER_INCONSISTENT_PARTITION_INFO_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionFunctionNotAllowed">
+            <summary></summary>
+            <remarks>ER_PARTITION_FUNC_NOT_ALLOWED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionsMustBeDefined">
+            <summary></summary>
+            <remarks>ER_PARTITIONS_MUST_BE_DEFINED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RangeNotIncreasing">
+            <summary></summary>
+            <remarks>ER_RANGE_NOT_INCREASING_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InconsistentTypeOfFunctions">
+            <summary></summary>
+            <remarks>ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MultipleDefinitionsConstantInListPartition">
+            <summary></summary>
+            <remarks>ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionEntryError">
+            <summary></summary>
+            <remarks>ER_PARTITION_ENTRY_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MixHandlerError">
+            <summary></summary>
+            <remarks>ER_MIX_HANDLER_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionNotDefined">
+            <summary></summary>
+            <remarks>ER_PARTITION_NOT_DEFINED_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyPartitions">
+            <summary></summary>
+            <remarks>ER_TOO_MANY_PARTITIONS_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SubPartitionError">
+            <summary></summary>
+            <remarks>ER_SUBPARTITION_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateHandlerFile">
+            <summary></summary>
+            <remarks>ER_CANT_CREATE_HANDLER_FILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobFieldInPartitionFunction">
+            <summary></summary>
+            <remarks>ER_BLOB_FIELD_IN_PART_FUNC_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UniqueKeyNeedAllFieldsInPartitioningFunction">
+            <summary></summary>
+            <remarks>ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoPartitions">
+            <summary></summary>
+            <remarks>ER_NO_PARTS_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionManagementOnNoPartitioned">
+            <summary></summary>
+            <remarks>ER_PARTITION_MGMT_ON_NONPARTITIONED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignKeyOnPartitioned">
+            <summary></summary>
+            <remarks>ER_FOREIGN_KEY_ON_PARTITIONED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropPartitionNonExistent">
+            <summary></summary>
+            <remarks>ER_DROP_PARTITION_NON_EXISTENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropLastPartition">
+            <summary></summary>
+            <remarks>ER_DROP_LAST_PARTITION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CoalesceOnlyOnHashPartition">
+            <summary></summary>
+            <remarks>ER_COALESCE_ONLY_ON_HASH_PARTITION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReorganizeHashOnlyOnSameNumber">
+            <summary></summary>
+            <remarks>ER_REORG_HASH_ONLY_ON_SAME_NO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReorganizeNoParameter">
+            <summary></summary>
+            <remarks>ER_REORG_NO_PARAM_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OnlyOnRangeListPartition">
+            <summary></summary>
+            <remarks>ER_ONLY_ON_RANGE_LIST_PARTITION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AddPartitionSubPartition">
+            <summary></summary>
+            <remarks>ER_ADD_PARTITION_SUBPART_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AddPartitionNoNewPartition">
+            <summary></summary>
+            <remarks>ER_ADD_PARTITION_NO_NEW_PARTITION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CoalescePartitionNoPartition">
+            <summary></summary>
+            <remarks>ER_COALESCE_PARTITION_NO_PARTITION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReorganizePartitionNotExist">
+            <summary></summary>
+            <remarks>ER_REORG_PARTITION_NOT_EXIST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SameNamePartition">
+            <summary></summary>
+            <remarks>ER_SAME_NAME_PARTITION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoBinLog">
+            <summary></summary>
+            <remarks>ER_NO_BINLOG_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConsecutiveReorganizePartitions">
+            <summary></summary>
+            <remarks>ER_CONSECUTIVE_REORG_PARTITIONS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReorganizeOutsideRange">
+            <summary></summary>
+            <remarks>ER_REORG_OUTSIDE_RANGE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionFunctionFailure">
+            <summary></summary>
+            <remarks>ER_PARTITION_FUNCTION_FAILURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionStateError">
+            <summary></summary>
+            <remarks>ER_PART_STATE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LimitedPartitionRange">
+            <summary></summary>
+            <remarks>ER_LIMITED_PART_RANGE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PluginIsNotLoaded">
+            <summary></summary>
+            <remarks>ER_PLUGIN_IS_NOT_LOADED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValue">
+            <summary></summary>
+            <remarks>ER_WRONG_VALUE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoPartitionForGivenValue">
+            <summary></summary>
+            <remarks>ER_NO_PARTITION_FOR_GIVEN_VALUE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileGroupOptionOnlyOnce">
+            <summary></summary>
+            <remarks>ER_FILEGROUP_OPTION_ONLY_ONCE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CreateFileGroupFailed">
+            <summary></summary>
+            <remarks>ER_CREATE_FILEGROUP_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropFileGroupFailed">
+            <summary></summary>
+            <remarks>ER_DROP_FILEGROUP_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableSpaceAutoExtend">
+            <summary></summary>
+            <remarks>ER_TABLESPACE_AUTO_EXTEND_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongSizeNumber">
+            <summary></summary>
+            <remarks>ER_WRONG_SIZE_NUMBER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SizeOverflow">
+            <summary></summary>
+            <remarks>ER_SIZE_OVERFLOW_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AlterFileGroupFailed">
+            <summary></summary>
+            <remarks>ER_ALTER_FILEGROUP_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogRowLogginFailed">
+            <summary></summary>
+            <remarks>ER_BINLOG_ROW_LOGGING_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogRowWrongTableDefinition">
+            <summary></summary>
+            <remarks>ER_BINLOG_ROW_WRONG_TABLE_DEF</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogRowRBRToSBR">
+            <summary></summary>
+            <remarks>ER_BINLOG_ROW_RBR_TO_SBR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventAlreadyExists">
+            <summary></summary>
+            <remarks>ER_EVENT_ALREADY_EXISTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventStoreFailed">
+            <summary></summary>
+            <remarks>ER_EVENT_STORE_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventDoesNotExist">
+            <summary></summary>
+            <remarks>ER_EVENT_DOES_NOT_EXIST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCannotAlter">
+            <summary></summary>
+            <remarks>ER_EVENT_CANT_ALTER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventDropFailed">
+            <summary></summary>
+            <remarks>ER_EVENT_DROP_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventIntervalNotPositiveOrTooBig">
+            <summary></summary>
+            <remarks>ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventEndsBeforeStarts">
+            <summary></summary>
+            <remarks>ER_EVENT_ENDS_BEFORE_STARTS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventExecTimeInThePast">
+            <summary></summary>
+            <remarks>ER_EVENT_EXEC_TIME_IN_THE_PAST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventOpenTableFailed">
+            <summary></summary>
+            <remarks>ER_EVENT_OPEN_TABLE_FAILED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventNeitherMExpresssionNorMAt">
+            <summary></summary>
+            <remarks>ER_EVENT_NEITHER_M_EXPR_NOR_M_AT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ColumnCountDoesNotMatchCorrupted">
+            <summary></summary>
+            <remarks>ER_COL_COUNT_DOESNT_MATCH_CORRUPTED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotLoadFromTable">
+            <summary></summary>
+            <remarks>ER_CANNOT_LOAD_FROM_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCannotDelete">
+            <summary></summary>
+            <remarks>ER_EVENT_CANNOT_DELETE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCompileError">
+            <summary></summary>
+            <remarks>ER_EVENT_COMPILE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventSameName">
+            <summary></summary>
+            <remarks>ER_EVENT_SAME_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventDataTooLong">
+            <summary></summary>
+            <remarks>ER_EVENT_DATA_TOO_LONG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropIndexForeignKey">
+            <summary></summary>
+            <remarks>ER_DROP_INDEX_FK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningDeprecatedSyntaxWithVersion">
+            <summary></summary>
+            <remarks>ER_WARN_DEPRECATED_SYNTAX_WITH_VER</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotWriteLockLogTable">
+            <summary></summary>
+            <remarks>ER_CANT_WRITE_LOCK_LOG_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotLockLogTable">
+            <summary></summary>
+            <remarks>ER_CANT_LOCK_LOG_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignDuplicateKey">
+            <summary></summary>
+            <remarks>ER_FOREIGN_DUPLICATE_KEY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ColumnCountDoesNotMatchPleaseUpdate">
+            <summary></summary>
+            <remarks>ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TemoraryTablePreventSwitchOutOfRBR">
+            <summary></summary>
+            <remarks>ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredFunctionPreventsSwitchBinLogFormat">
+            <summary></summary>
+            <remarks>ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NDBCannotSwitchBinLogFormat">
+            <summary></summary>
+            <remarks>ER_NDB_CANT_SWITCH_BINLOG_FORMAT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionNoTemporary">
+            <summary></summary>
+            <remarks>ER_PARTITION_NO_TEMPORARY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionConstantDomain">
+            <summary></summary>
+            <remarks>ER_PARTITION_CONST_DOMAIN_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionFunctionIsNotAllowed">
+            <summary></summary>
+            <remarks>ER_PARTITION_FUNCTION_IS_NOT_ALLOWED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DDLLogError">
+            <summary></summary>
+            <remarks>ER_DDL_LOG_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NullInValuesLessThan">
+            <summary></summary>
+            <remarks>ER_NULL_IN_VALUES_LESS_THAN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongPartitionName">
+            <summary></summary>
+            <remarks>ER_WRONG_PARTITION_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotChangeTransactionIsolation">
+            <summary></summary>
+            <remarks>ER_CANT_CHANGE_TX_ISOLATION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateEntryAutoIncrementCase">
+            <summary></summary>
+            <remarks>ER_DUP_ENTRY_AUTOINCREMENT_CASE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventModifyQueueError">
+            <summary></summary>
+            <remarks>ER_EVENT_MODIFY_QUEUE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventSetVariableError">
+            <summary></summary>
+            <remarks>ER_EVENT_SET_VAR_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionMergeError">
+            <summary></summary>
+            <remarks>ER_PARTITION_MERGE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotActivateLog">
+            <summary></summary>
+            <remarks>ER_CANT_ACTIVATE_LOG</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RBRNotAvailable">
+            <summary></summary>
+            <remarks>ER_RBR_NOT_AVAILABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.Base64DecodeError">
+            <summary></summary>
+            <remarks>ER_BASE64_DECODE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventRecursionForbidden">
+            <summary></summary>
+            <remarks>ER_EVENT_RECURSION_FORBIDDEN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventsDatabaseError">
+            <summary></summary>
+            <remarks>ER_EVENTS_DB_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OnlyIntegersAllowed">
+            <summary></summary>
+            <remarks>ER_ONLY_INTEGERS_ALLOWED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnsupportedLogEngine">
+            <summary></summary>
+            <remarks>ER_UNSUPORTED_LOG_ENGINE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadLogStatement">
+            <summary></summary>
+            <remarks>ER_BAD_LOG_STATEMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotRenameLogTable">
+            <summary></summary>
+            <remarks>ER_CANT_RENAME_LOG_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParameterCountToNativeFCT">
+            <summary></summary>
+            <remarks>ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParametersToNativeFCT">
+            <summary></summary>
+            <remarks>ER_WRONG_PARAMETERS_TO_NATIVE_FCT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParametersToStoredFCT">
+            <summary></summary>
+            <remarks>ER_WRONG_PARAMETERS_TO_STORED_FCT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NativeFCTNameCollision">
+            <summary></summary>
+            <remarks>ER_NATIVE_FCT_NAME_COLLISION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateEntryWithKeyName">
+            <summary></summary>
+            <remarks>ER_DUP_ENTRY_WITH_KEY_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogPurgeEMFile">
+            <summary></summary>
+            <remarks>ER_BINLOG_PURGE_EMFILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCannotCreateInThePast">
+            <summary></summary>
+            <remarks>ER_EVENT_CANNOT_CREATE_IN_THE_PAST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCannotAlterInThePast">
+            <summary></summary>
+            <remarks>ER_EVENT_CANNOT_ALTER_IN_THE_PAST</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveIncident">
+            <summary></summary>
+            <remarks>ER_SLAVE_INCIDENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoPartitionForGivenValueSilent">
+            <summary></summary>
+            <remarks>ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogUnsafeStatement">
+            <summary></summary>
+            <remarks>ER_BINLOG_UNSAFE_STATEMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveFatalError">
+            <summary></summary>
+            <remarks>ER_SLAVE_FATAL_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveRelayLogReadFailure">
+            <summary></summary>
+            <remarks>ER_SLAVE_RELAY_LOG_READ_FAILURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveRelayLogWriteFailure">
+            <summary></summary>
+            <remarks>ER_SLAVE_RELAY_LOG_WRITE_FAILURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveCreateEventFailure">
+            <summary></summary>
+            <remarks>ER_SLAVE_CREATE_EVENT_FAILURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveMasterComFailure">
+            <summary></summary>
+            <remarks>ER_SLAVE_MASTER_COM_FAILURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogLoggingImpossible">
+            <summary></summary>
+            <remarks>ER_BINLOG_LOGGING_IMPOSSIBLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewNoCreationContext">
+            <summary></summary>
+            <remarks>ER_VIEW_NO_CREATION_CTX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewInvalidCreationContext">
+            <summary></summary>
+            <remarks>ER_VIEW_INVALID_CREATION_CTX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredRoutineInvalidCreateionContext">
+            <summary></summary>
+            <remarks>ER_SR_INVALID_CREATION_CTX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TiggerCorruptedFile">
+            <summary></summary>
+            <remarks>ER_TRG_CORRUPTED_FILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerNoCreationContext">
+            <summary></summary>
+            <remarks>ER_TRG_NO_CREATION_CTX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerInvalidCreationContext">
+            <summary></summary>
+            <remarks>ER_TRG_INVALID_CREATION_CTX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventInvalidCreationContext">
+            <summary></summary>
+            <remarks>ER_EVENT_INVALID_CREATION_CTX</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerCannotOpenTable">
+            <summary></summary>
+            <remarks>ER_TRG_CANT_OPEN_TABLE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannoCreateSubRoutine">
+            <summary></summary>
+            <remarks>ER_CANT_CREATE_SROUTINE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveAmbiguousExecMode">
+            <summary></summary>
+            <remarks>ER_SLAVE_AMBIGOUS_EXEC_MODE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoFormatDescriptionEventBeforeBinLogStatement">
+            <summary></summary>
+            <remarks>ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveCorruptEvent">
+            <summary></summary>
+            <remarks>ER_SLAVE_CORRUPT_EVENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LoadDataInvalidColumn">
+            <summary></summary>
+            <remarks>ER_LOAD_DATA_INVALID_COLUMN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LogPurgeNoFile">
+            <summary></summary>
+            <remarks>ER_LOG_PURGE_NO_FILE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XARBTimeout">
+            <summary></summary>
+            <remarks>ER_XA_RBTIMEOUT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XARBDeadlock">
+            <summary></summary>
+            <remarks>ER_XA_RBDEADLOCK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NeedRePrepare">
+            <summary></summary>
+            <remarks>ER_NEED_REPREPARE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DelayedNotSupported">
+            <summary></summary>
+            <remarks>ER_DELAYED_NOT_SUPPORTED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningNoMasterInfo">
+            <summary></summary>
+            <remarks>WARN_NO_MASTER_INFO</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningOptionIgnored">
+            <summary></summary>
+            <remarks>WARN_OPTION_IGNORED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningPluginDeleteBuiltIn">
+            <summary></summary>
+            <remarks>WARN_PLUGIN_DELETE_BUILTIN</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningPluginBusy">
+            <summary></summary>
+            <remarks>WARN_PLUGIN_BUSY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.VariableIsReadonly">
+            <summary></summary>
+            <remarks>ER_VARIABLE_IS_READONLY</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningEngineTransactionRollback">
+            <summary></summary>
+            <remarks>ER_WARN_ENGINE_TRANSACTION_ROLLBACK</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveHeartbeatFailure">
+            <summary></summary>
+            <remarks>ER_SLAVE_HEARTBEAT_FAILURE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveHeartbeatValueOutOfRange">
+            <summary></summary>
+            <remarks>ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NDBReplicationSchemaError">
+            <summary></summary>
+            <remarks>ER_NDB_REPLICATION_SCHEMA_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConflictFunctionParseError">
+            <summary></summary>
+            <remarks>ER_CONFLICT_FN_PARSE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ExcepionsWriteError">
+            <summary></summary>
+            <remarks>ER_EXCEPTIONS_WRITE_ERROR</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongTableComment">
+            <summary></summary>
+            <remarks>ER_TOO_LONG_TABLE_COMMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongFieldComment">
+            <summary></summary>
+            <remarks>ER_TOO_LONG_FIELD_COMMENT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FunctionInExistentNameCollision">
+            <summary></summary>
+            <remarks>ER_FUNC_INEXISTENT_NAME_COLLISION</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseNameError">
+            <summary></summary>
+            <remarks>ER_DATABASE_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNameErrror">
+            <summary></summary>
+            <remarks>ER_TABLE_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionNameError">
+            <summary></summary>
+            <remarks>ER_PARTITION_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SubPartitionNameError">
+            <summary></summary>
+            <remarks>ER_SUBPARTITION_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TemporaryNameError">
+            <summary></summary>
+            <remarks>ER_TEMPORARY_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RenamedNameError">
+            <summary></summary>
+            <remarks>ER_RENAMED_NAME</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyConcurrentTransactions">
+            <summary></summary>
+            <remarks>ER_TOO_MANY_CONCURRENT_TRXS</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningNonASCIISeparatorNotImplemented">
+            <summary></summary>
+            <remarks>WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DebugSyncTimeout">
+            <summary></summary>
+            <remarks>ER_DEBUG_SYNC_TIMEOUT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DebugSyncHitLimit">
+            <summary></summary>
+            <remarks>ER_DEBUG_SYNC_HIT_LIMIT</remarks>
+        </member>
+        <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorLast">
+            <summary></summary>
+            <remarks>ER_ERROR_LAST</remarks>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlHelper">
+            <summary>
+            Helper class that makes it easier to work with the provider.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Executes a single command against a MySQL database.  The <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> is assumed to be
+            open when the method is called and remains open after the method completes.
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">SQL command to be executed</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command.</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Executes a single command against a MySQL database.  A new <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> is created
+            using the <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString"/> given.
+            </summary>
+            <param name="connectionString"><see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString"/> to use</param>
+            <param name="commandText">SQL command to be executed</param>
+            <param name="parms">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command.</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataRow(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Executes a single SQL command and returns the first row of the resultset.  A new MySqlConnection object
+            is created, opened, and closed during this method.
+            </summary>
+            <param name="connectionString">Settings to be used for the connection</param>
+            <param name="commandText">Command to execute</param>
+            <param name="parms">Parameters to use for the command</param>
+            <returns>DataRow containing the first row of the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataset(System.String,System.String)">
+            <summary>
+            Executes a single SQL command and returns the resultset in a <see cref="T:System.Data.DataSet"/>.  
+            A new MySqlConnection object is created, opened, and closed during this method.
+            </summary>
+            <param name="connectionString">Settings to be used for the connection</param>
+            <param name="commandText">Command to execute</param>
+            <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataset(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Executes a single SQL command and returns the resultset in a <see cref="T:System.Data.DataSet"/>.  
+            A new MySqlConnection object is created, opened, and closed during this method.
+            </summary>
+            <param name="connectionString">Settings to be used for the connection</param>
+            <param name="commandText">Command to execute</param>
+            <param name="commandParameters">Parameters to use for the command</param>
+            <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataset(MySql.Data.MySqlClient.MySqlConnection,System.String)">
+            <summary>
+            Executes a single SQL command and returns the resultset in a <see cref="T:System.Data.DataSet"/>.  
+            The state of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object remains unchanged after execution
+            of this method.
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">Command to execute</param>
+            <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataset(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Executes a single SQL command and returns the resultset in a <see cref="T:System.Data.DataSet"/>.  
+            The state of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object remains unchanged after execution
+            of this method.
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">Command to execute</param>
+            <param name="commandParameters">Parameters to use for the command</param>
+            <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.UpdateDataSet(System.String,System.String,System.Data.DataSet,System.String)">
+            <summary>
+            Updates the given table with data from the given <see cref="T:System.Data.DataSet"/>
+            </summary>
+            <param name="connectionString">Settings to use for the update</param>
+            <param name="commandText">Command text to use for the update</param>
+            <param name="ds"><see cref="T:System.Data.DataSet"/> containing the new data to use in the update</param>
+            <param name="tablename">Tablename in the dataset to update</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySql.Data.MySqlClient.MySqlConnection,MySql.Data.MySqlClient.MySqlTransaction,System.String,MySql.Data.MySqlClient.MySqlParameter[],System.Boolean)">
+            <summary>
+            Executes a single command against a MySQL database, possibly inside an existing transaction.
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use for the command</param>
+            <param name="transaction"><see cref="T:MySql.Data.MySqlClient.MySqlTransaction"/> object to use for the command</param>
+            <param name="commandText">Command text to use</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param>
+            <param name="ExternalConn">True if the connection should be preserved, false if not</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(System.String,System.String)">
+            <summary>
+            Executes a single command against a MySQL database.
+            </summary>
+            <param name="connectionString">Settings to use for this command</param>
+            <param name="commandText">Command text to use</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySql.Data.MySqlClient.MySqlConnection,System.String)">
+            <summary>
+            Executes a single command against a MySQL database.
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use for the command</param>
+            <param name="commandText">Command text to use</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Executes a single command against a MySQL database.
+            </summary>
+            <param name="connectionString">Settings to use for this command</param>
+            <param name="commandText">Command text to use</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Executes a single command against a MySQL database.
+            </summary>
+            <param name="connection">Connection to use for the command</param>
+            <param name="commandText">Command text to use</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(System.String,System.String)">
+            <summary>
+            Execute a single command against a MySQL database.
+            </summary>
+            <param name="connectionString">Settings to use for the update</param>
+            <param name="commandText">Command text to use for the update</param>
+            <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Execute a single command against a MySQL database.
+            </summary>
+            <param name="connectionString">Settings to use for the command</param>
+            <param name="commandText">Command text to use for the command</param>
+            <param name="commandParameters">Parameters to use for the command</param>
+            <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(MySql.Data.MySqlClient.MySqlConnection,System.String)">
+            <summary>
+            Execute a single command against a MySQL database.
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">Command text to use for the command</param>
+            <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Execute a single command against a MySQL database.
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">Command text to use for the command</param>
+            <param name="commandParameters">Parameters to use for the command</param>
+            <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.EscapeString(System.String)">
+            <summary>
+            Escapes the string.
+            </summary>
+            <param name="value">The string to escape</param>
+            <returns>The string with all quotes escaped.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataRowAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteDataRow
+            </summary>
+            <param name="connectionString">Settings to be used for the connection</param>
+            <param name="commandText">Command to execute</param>
+            <param name="parms">Parameters to use for the command</param>
+            <returns>DataRow containing the first row of the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQueryAsync(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteNonQuery
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">SQL command to be executed</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command.</param>
+            <returns>Rows affected</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQueryAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteNonQuery
+            </summary>
+            <param name="connectionString"><see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString"/> to use</param>
+            <param name="commandText">SQL command to be executed</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command.</param>
+            <returns>Rows affected</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDatasetAsync(System.String,System.String)">
+            <summary>
+            Async version of ExecuteDataset
+            </summary>
+            <param name="connectionString">Settings to be used for the connection</param>
+            <param name="commandText">Command to execute</param>
+            <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDatasetAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteDataset
+            </summary>
+            <param name="connectionString">Settings to be used for the connection</param>
+            <param name="commandText">Command to execute</param>
+            <param name="commandParameters">Parameters to use for the command</param>
+            <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDatasetAsync(MySql.Data.MySqlClient.MySqlConnection,System.String)">
+            <summary>
+            Async version of ExecuteDataset
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">Command to execute</param>
+            <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDatasetAsync(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteDataset
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">Command to execute</param>
+            <param name="commandParameters">Parameters to use for the command</param>
+            <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.UpdateDataSetAsync(System.String,System.String,System.Data.DataSet,System.String)">
+            <summary>
+            Async version of UpdateDataset
+            </summary>
+            <param name="connectionString">Settings to use for the update</param>
+            <param name="commandText">Command text to use for the update</param>
+            <param name="ds"><see cref="T:System.Data.DataSet"/> containing the new data to use in the update</param>
+            <param name="tablename">Tablename in the dataset to update</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(MySql.Data.MySqlClient.MySqlConnection,MySql.Data.MySqlClient.MySqlTransaction,System.String,MySql.Data.MySqlClient.MySqlParameter[],System.Boolean)">
+            <summary>
+            Async version of ExecuteReader
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use for the command</param>
+            <param name="transaction"><see cref="T:MySql.Data.MySqlClient.MySqlTransaction"/> object to use for the command</param>
+            <param name="commandText">Command text to use</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param>
+            <param name="ExternalConn">True if the connection should be preserved, false if not</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(System.String,System.String)">
+            <summary>
+            Async version of ExecuteReader
+            </summary>
+            <param name="connectionString">Settings to use for this command</param>
+            <param name="commandText">Command text to use</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(MySql.Data.MySqlClient.MySqlConnection,System.String)">
+            <summary>
+            Async version of ExecuteReader
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use for the command</param>
+            <param name="commandText">Command text to use</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteReader
+            </summary>
+            <param name="connectionString">Settings to use for this command</param>
+            <param name="commandText">Command text to use</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteReader
+            </summary>
+            <param name="connection">Connection to use for the command</param>
+            <param name="commandText">Command text to use</param>
+            <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param>
+            <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalarAsync(System.String,System.String)">
+            <summary>
+            Async version of ExecuteScalar
+            </summary>
+            <param name="connectionString">Settings to use for the update</param>
+            <param name="commandText">Command text to use for the update</param>
+            <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalarAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteScalar
+            </summary>
+            <param name="connectionString">Settings to use for the command</param>
+            <param name="commandText">Command text to use for the command</param>
+            <param name="commandParameters">Parameters to use for the command</param>
+            <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalarAsync(MySql.Data.MySqlClient.MySqlConnection,System.String)">
+            <summary>
+            Async version of ExecuteScalar
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">Command text to use for the command</param>
+            <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalarAsync(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])">
+            <summary>
+            Async version of ExecuteScalar
+            </summary>
+            <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param>
+            <param name="commandText">Command text to use for the command</param>
+            <param name="commandParameters">Parameters to use for the command</param>
+            <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlPacket.WriteInteger(System.Int64,System.Int32)">
+            <summary>
+            WriteInteger
+            </summary>
+            <param name="v"></param>
+            <param name="numbytes"></param>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlPool">
+            <summary>
+            Summary description for MySqlPool.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlPool.HasIdleConnections">
+            <summary>
+            It is assumed that this property will only be used from inside an active
+            lock.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlPool.BeingCleared">
+            <summary>
+            Indicates whether this pool is being cleared.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlPool.GetPooledConnection">
+            <summary>
+            It is assumed that this method is only called from inside an active lock.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection">
+            <summary>
+            It is assumed that this method is only called from inside an active lock.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlPool.RemoveConnection(MySql.Data.MySqlClient.Driver)">
+            <summary>
+            Removes a connection from the in use pool.  The only situations where this method 
+            would be called are when a connection that is in use gets some type of fatal exception
+            or when the connection is being returned to the pool and it's too old to be 
+            returned.
+            </summary>
+            <param name="driver"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlPool.Clear">
+            <summary>
+            Clears this pool of all idle connections and marks this pool and being cleared
+            so all other connections are closed when they are returned.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlPool.RemoveOldIdleConnections">
+            <summary>
+            Remove expired drivers from the idle pool
+            </summary>
+            <returns></returns>
+            <remarks>
+            Closing driver is a potentially lengthy operation involving network
+            IO. Therefore we do not close expired drivers while holding 
+            idlePool.SyncRoot lock. We just remove the old drivers from the idle
+            queue and return them to the caller. The caller will need to close 
+            them (or let GC close them)
+            </remarks>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlPoolManager">
+            <summary>
+            Summary description for MySqlPoolManager.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlPoolManager.CleanIdleConnections(System.Object)">
+            <summary>
+            Remove drivers that have been idle for too long.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlTransactionScope">
+            <summary>
+            Represents a single(not nested) TransactionScope
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlScript">
+            <summary>
+            Provides a class capable of executing a SQL script containing
+            multiple SQL statements including CREATE PROCEDURE statements
+            that require changing the delimiter
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlScript.#ctor">
+            <summary>
+            Initializes a new instance of the 
+            <see cref="T:MySql.Data.MySqlClient.MySqlScript"/> class.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlScript.#ctor(MySql.Data.MySqlClient.MySqlConnection)">
+            <summary>
+            Initializes a new instance of the 
+            <see cref="T:MySql.Data.MySqlClient.MySqlScript"/> class.
+            </summary>
+            <param name="connection">The connection.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlScript.#ctor(System.String)">
+            <summary>
+            Initializes a new instance of the 
+            <see cref="T:MySql.Data.MySqlClient.MySqlScript"/> class.
+            </summary>
+            <param name="query">The query.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlScript.#ctor(MySql.Data.MySqlClient.MySqlConnection,System.String)">
+            <summary>
+            Initializes a new instance of the 
+            <see cref="T:MySql.Data.MySqlClient.MySqlScript"/> class.
+            </summary>
+            <param name="connection">The connection.</param>
+            <param name="query">The query.</param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlScript.Connection">
+            <summary>
+            Gets or sets the connection.
+            </summary>
+            <value>The connection.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlScript.Query">
+            <summary>
+            Gets or sets the query.
+            </summary>
+            <value>The query.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlScript.Delimiter">
+            <summary>
+            Gets or sets the delimiter.
+            </summary>
+            <value>The delimiter.</value>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlScript.Execute">
+            <summary>
+            Executes this instance.
+            </summary>
+            <returns>The number of statements executed as part of the script.</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlScript.ExecuteAsync">
+            <summary>
+            Async version of Execute
+            </summary>
+            <returns>The number of statements executed as part of the script inside.</returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlStatementExecutedEventHandler">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlScriptErrorEventHandler">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlScriptEventArgs">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlScriptEventArgs.StatementText">
+            <summary>
+            Gets the statement text.
+            </summary>
+            <value>The statement text.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlScriptEventArgs.Line">
+            <summary>
+            Gets the line.
+            </summary>
+            <value>The line.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlScriptEventArgs.Position">
+            <summary>
+            Gets the position.
+            </summary>
+            <value>The position.</value>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs.#ctor(System.Exception)">
+            <summary>
+            Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs"/> class.
+            </summary>
+            <param name="exception">The exception.</param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs.Exception">
+            <summary>
+            Gets the exception.
+            </summary>
+            <value>The exception.</value>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs.Ignore">
+            <summary>
+            Gets or sets a value indicating whether this <see cref="T:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs"/> is ignore.
+            </summary>
+            <value><c>true</c> if ignore; otherwise, <c>false</c>.</value>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.MySqlStream">
+            <summary>
+            Summary description for MySqlStream.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlStream.ReadPacket">
+            <summary>
+            ReadPacket is called by NativeDriver to start reading the next
+            packet on the stream.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlStream.ReadFully(System.IO.Stream,System.Byte[],System.Int32,System.Int32)">
+            <summary>
+            Reads the specified number of bytes from the stream and stores them at given 
+            offset in the buffer.
+            Throws EndOfStreamException if not all bytes can be read.
+            </summary>
+            <param name="stream">Stream to read from</param>
+            <param name="buffer"> Array to store bytes read from the stream </param>
+            <param name="offset">The offset in buffer at which to begin storing the data read from the current stream. </param>
+            <param name="count">Number of bytes to read</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.MySqlStream.LoadPacket">
+            <summary>
+            LoadPacket loads up and decodes the header of the incoming packet.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.NativeDriver">
+            <summary>
+            Summary description for Driver.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.NativeDriver.SetDatabase(System.String)">
+            <summary>
+            Sets the current database for the this connection
+            </summary>
+            <param name="dbName"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.NativeDriver.GetClientCertificates">
+            <summary>
+            Retrieve client SSL certificates. Dependent on connection string 
+            settings we use either file or store based certificates.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.NativeDriver.SetConnectionFlags(MySql.Data.MySqlClient.ClientFlags)">
+            <summary>
+            Return the appropriate set of connection flags for our
+            server capabilities and our user requested options.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.NativeDriver.SendQuery(MySql.Data.MySqlClient.MySqlPacket)">
+            <summary>
+            Query is the method that is called to send all queries to the server
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.NativeDriver.SendFileToServer(System.String)">
+            <summary>
+            Sends the specified file to the server. 
+            This supports the LOAD DATA LOCAL INFILE
+            </summary>
+            <param name="filename"></param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.NativeDriver.FetchDataRow(System.Int32,System.Int32)">
+            <summary>
+            FetchDataRow is the method that the data reader calls to see if there is another 
+            row to fetch.  In the non-prepared mode, it will simply read the next data packet.
+            In the prepared mode (statementId > 0), it will 
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.NativeDriver.ResetTimeout(System.Int32)">
+            <summary>
+            Execution timeout, in milliseconds. When the accumulated time for network IO exceeds this value
+            TimeoutException is thrown. This timeout needs to be reset for every new command
+            </summary>
+            
+        </member>
+        <member name="T:MySql.Data.MySqlClient.PreparableStatement">
+            <summary>
+            Summary description for PreparedStatement.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.PreparableStatement.PrepareCommandText(System.String@)">
+            <summary>
+            Prepares CommandText for use with the Prepare method
+            </summary>
+            <returns>Command text stripped of all paramter names</returns>
+            <remarks>
+            Takes the output of TokenizeSql and creates a single string of SQL
+            that only contains '?' markers for each parameter.  It also creates
+            the parameterMap array list that includes all the paramter names in the
+            order they appeared in the SQL
+            </remarks>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.ReplicationConfigurationElement">
+            <summary>
+            Used to define a Replication configurarion element in configuration file
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.ReplicationServerGroupConfigurationElement">
+            <summary>
+            Used to define a Replication server group in configuration file
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.ReplicationServerConfigurationElement">
+            <summary>
+            Defines a Replication server in configuration file
+            </summary>
+        </member>
+        <!-- Badly formed XML comment ignored for member "T:MySql.Data.MySqlClient.Replication.ReplicationManager" -->
+        <member name="P:MySql.Data.MySqlClient.Replication.ReplicationManager.Groups">
+            <summary>
+            Returns Replication Server Group List
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.AddGroup(System.String,System.Int32)">
+            <summary>
+            Adds a Default Server Group to the list
+            </summary>
+            <param name="name">Group name</param>
+            <param name="retryTime">Time between reconnections for failed servers</param>
+            <returns>Replication Server Group added</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.AddGroup(System.String,System.String,System.Int32)">
+            <summary>
+            Adds a Server Group to the list
+            </summary>
+            <param name="name">Group name</param>
+            <param name="groupType">ServerGroup type reference</param>
+            <param name="retryTime">Time between reconnections for failed servers</param>
+            <returns>Server Group added</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.GetServer(System.String,System.Boolean)">
+            <summary>
+            Gets the next server from a replication group
+            </summary>
+            <param name="groupName">Group name</param>
+            <param name="isMaster">True if the server to return must be a master</param>
+            <returns>Replication Server defined by the Load Balancing plugin</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.GetGroup(System.String)">
+            <summary>
+            Gets a Server Group by name
+            </summary>
+            <param name="groupName">Group name</param>
+            <returns>Server Group if found, otherwise throws an MySqlException</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.IsReplicationGroup(System.String)">
+            <summary>
+            Validates if the replication group name exists
+            </summary>
+            <param name="groupName">Group name to validate</param>
+            <returns>True if replication group name is found, otherwise false</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.GetNewConnection(System.String,System.Boolean,MySql.Data.MySqlClient.MySqlConnection)">
+            <summary>
+            Assigns a new server driver to the connection object
+            </summary>
+            <param name="groupName">Group name</param>
+            <param name="master">True if the server connection to assign must be a master</param>
+            <param name="connection">MySqlConnection object where the new driver will be assigned</param>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Replication.ReplicationRoundRobinServerGroup">
+            <summary>
+            Class that implements Round Robing Load Balancing technique
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationRoundRobinServerGroup.GetServer(System.Boolean)">
+            <summary>
+            Gets an available server based on Round Robin load balancing
+            </summary>
+            <param name="isMaster">True if the server to return must be a master</param>
+            <returns>Next available server</returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Replication.ReplicationServer">
+            <summary>
+            Represents a server in Replication environment
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServer.Name">
+            <summary>
+            Server name
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServer.IsMaster">
+            <summary>
+            Defines if the server is master (True) or slave
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServer.ConnectionString">
+            <summary>
+            Connection string used to connect to the server
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServer.IsAvailable">
+            <summary>
+            Defines if the server is available to be considered in load balancing
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Replication.ReplicationServerGroup">
+            <summary>
+            Base class used to implement load balancing features
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.#ctor(System.String,System.Int32)">
+            <param name="name">Group name</param>
+            <param name="retryTime"></param>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.Name">
+            <summary>
+            Group name
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.RetryTime">
+            <summary>
+            Retry time between connections to failed servers
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.Servers">
+            <summary>
+            Servers list in the group
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.AddServer(System.String,System.Boolean,System.String)">
+            <summary>
+            Adds a server into the group
+            </summary>
+            <param name="name">Server name</param>
+            <param name="isMaster">True if the server to add is master, False for slave server</param>
+            <param name="connectionString">Connection string used by this server</param>
+            <returns></returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.RemoveServer(System.String)">
+            <summary>
+            Removes a server from group
+            </summary>
+            <param name="name">Server name</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.GetServer(System.String)">
+            <summary>
+            Gets a server by name
+            </summary>
+            <param name="name">Server name</param>
+            <returns>Replication server</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.GetServer(System.Boolean)">
+            <summary>
+            Must be implemented. Defines the next server for a custom load balancing implementation.
+            </summary>
+            <param name="isMaster">Defines if the server to return is a master or any</param>
+            <returns>Next server based on the load balancing implementation.
+              Null if no available server is found.
+            </returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.HandleFailover(MySql.Data.MySqlClient.Replication.ReplicationServer)">
+            <summary>
+            Handles a failed connection to a server.
+            This method can be overrided to implement a custom failover handling
+            </summary>
+            <param name="server">The failed server</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.HandleFailover(MySql.Data.MySqlClient.Replication.ReplicationServer,System.Exception)">
+            <summary>
+            Handles a failed connection to a server.
+            </summary>
+            <param name="server">The failed server</param>
+            <param name="exception">Exception that caused the failover</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.ResultSet.GetOrdinal(System.String)">
+            <summary>
+            return the ordinal for the given column name
+            </summary>
+            <param name="name"></param>
+            <returns></returns>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.ResultSet.Item(System.Int32)">
+            <summary>
+            Retrieve the value as the given column index
+            </summary>
+            <param name="index">The column value to retrieve</param>
+            <returns>The value as the given column</returns>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.ResultSet.Close">
+            <summary>
+            Closes the current resultset, dumping any data still on the wire
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.ResultSet.LoadColumns(System.Int32)">
+            <summary>
+            Loads the column metadata for the current resultset
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.SchemaProvider.GetForeignKeysOnTable(MySql.Data.MySqlClient.MySqlSchemaCollection,MySql.Data.MySqlClient.MySqlSchemaRow,System.String,System.Boolean)">
+            <summary>
+            GetForeignKeysOnTable retrieves the foreign keys on the given table.
+            Since MySQL supports foreign keys on versions prior to 5.0, we can't  use
+            information schema.  MySQL also does not include any type of SHOW command
+            for foreign keys so we have to resort to use SHOW CREATE TABLE and parsing
+            the output.
+            </summary>
+            <param name="fkTable">The table to store the key info in.</param>
+            <param name="tableToParse">The table to get the foeign key info for.</param>
+            <param name="filterName">Only get foreign keys that match this name.</param>
+            <param name="includeColumns">Should column information be included in the table.</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.Statement.SerializeParameter(MySql.Data.MySqlClient.MySqlParameterCollection,MySql.Data.MySqlClient.MySqlPacket,System.String,System.Int32)">
+            <summary>
+            Serializes the given parameter to the given memory stream
+            </summary>
+            <remarks>
+            <para>This method is called by PrepareSqlBuffers to convert the given
+            parameter to bytes and write those bytes to the given memory stream.
+            </para>
+            </remarks>
+            <returns>True if the parameter was successfully serialized, false otherwise.</returns>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.StoredProcedure">
+            <summary>
+            Summary description for StoredProcedure.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.TimedStream">
+            <summary>
+            Stream that supports timeout of IO operations.
+            This class is used is used to support timeouts for SQL command, where a 
+            typical operation involves several network reads/writes. 
+            Timeout here is defined as the accumulated duration of all IO operations.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.TimedStream.#ctor(System.IO.Stream)">
+            <summary>
+            Construct a TimedStream
+            </summary>
+            <param name="baseStream"> Undelying stream</param>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.TimedStream.ShouldResetStreamTimeout(System.Int32,System.Int32)">
+            <summary>
+            Figure out whether it is necessary to reset timeout on stream.
+            We track the current value of timeout and try to avoid
+            changing it too often, because setting Read/WriteTimeout property
+            on network stream maybe a slow operation that involves a system call 
+            (setsockopt). Therefore, we allow a small difference, and do not 
+            reset timeout if current value is slightly greater than the requested
+            one (within 0.1 second).
+            </summary>
+        </member>
+        <member name="M:MySql.Data.MySqlClient.TimedStream.HandleException(System.Exception)">
+            <summary>
+            Common handler for IO exceptions.
+            Resets timeout to infinity if timeout exception is 
+            detected and stops the times.
+            </summary>
+            <param name="e">original exception</param>
+        </member>
+        <member name="T:MySql.Data.MySqlClient.Properties.Resources">
+            <summary>
+              A strongly-typed resource class, for looking up localized strings, etc.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ResourceManager">
+            <summary>
+              Returns the cached ResourceManager instance used by this class.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.Culture">
+            <summary>
+              Overrides the current thread's CurrentUICulture property for all
+              resource lookups using this strongly typed resource class.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.AdapterIsNull">
+            <summary>
+              Looks up a localized string similar to Improper MySqlCommandBuilder state: adapter is null.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.AdapterSelectIsNull">
+            <summary>
+              Looks up a localized string similar to Improper MySqlCommandBuilder state: adapter&apos;s SelectCommand is null.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.AttemptToAccessBeforeRead">
+            <summary>
+              Looks up a localized string similar to Invalid attempt to access a field before calling Read().
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.AuthenticationFailed">
+            <summary>
+              Looks up a localized string similar to Authentication to host &apos;{0}&apos; for user &apos;{1}&apos; using method &apos;{2}&apos; failed with message: {3}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.AuthenticationMethodNotSupported">
+            <summary>
+              Looks up a localized string similar to Authentication method &apos;{0}&apos; not supported by any of the available plugins..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.BadVersionFormat">
+            <summary>
+              Looks up a localized string similar to Version string not in acceptable format.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.BufferCannotBeNull">
+            <summary>
+              Looks up a localized string similar to  The buffer cannot be null.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.BufferNotLargeEnough">
+            <summary>
+              Looks up a localized string similar to  Buffer is not large enough.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CancelNeeds50">
+            <summary>
+              Looks up a localized string similar to Canceling an executing query requires MySQL 5.0 or higher..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CancelNotSupported">
+            <summary>
+              Looks up a localized string similar to Canceling an active query is only supported on MySQL 5.0.0 and above. .
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CanNotDeriveParametersForTextCommands">
+            <summary>
+              Looks up a localized string similar to Parameters can only be derived for commands using the StoredProcedure command type..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CBMultiTableNotSupported">
+            <summary>
+              Looks up a localized string similar to MySqlCommandBuilder does not support multi-table statements.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CBNoKeyColumn">
+            <summary>
+              Looks up a localized string similar to MySqlCommandBuilder cannot operate on tables with no unique or key columns.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ChaosNotSupported">
+            <summary>
+              Looks up a localized string similar to Chaos isolation level is not supported.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CommandTextNotInitialized">
+            <summary>
+              Looks up a localized string similar to The CommandText property has not been properly initialized..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionAlreadyOpen">
+            <summary>
+              Looks up a localized string similar to The connection is already open..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionBroken">
+            <summary>
+              Looks up a localized string similar to Connection unexpectedly terminated..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionMustBeOpen">
+            <summary>
+              Looks up a localized string similar to Connection must be valid and open.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionNotOpen">
+            <summary>
+              Looks up a localized string similar to The connection is not open..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionNotSet">
+            <summary>
+              Looks up a localized string similar to The connection property has not been set or is null..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CouldNotFindColumnName">
+            <summary>
+              Looks up a localized string similar to Could not find specified column in results: {0}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CountCannotBeNegative">
+            <summary>
+              Looks up a localized string similar to  Count cannot be negative.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.CSNoSetLength">
+            <summary>
+              Looks up a localized string similar to SetLength is not a valid operation on CompressedStream.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.DataNotInSupportedFormat">
+            <summary>
+              Looks up a localized string similar to The given value was not in a supported format..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.DataReaderOpen">
+            <summary>
+              Looks up a localized string similar to There is already an open DataReader associated with this Connection which must be closed first..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.DefaultEncodingNotFound">
+            <summary>
+              Looks up a localized string similar to The default connection encoding was not found. Please report this as a bug along with your connection string and system details..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.DistributedTxnNotSupported">
+            <summary>
+              Looks up a localized string similar to MySQL Connector/Net does not currently support distributed transactions..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ErrorCreatingSocket">
+            <summary>
+              Looks up a localized string similar to Error creating socket connection.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.FatalErrorDuringExecute">
+            <summary>
+              Looks up a localized string similar to Fatal error encountered during command execution..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.FatalErrorDuringRead">
+            <summary>
+              Looks up a localized string similar to Fatal error encountered during data read..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.FatalErrorReadingResult">
+            <summary>
+              Looks up a localized string similar to Fatal error encountered attempting to read the resultset..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.FileBasedCertificateNotSupported">
+            <summary>
+              Looks up a localized string similar to File based certificates are only supported when connecting to MySQL Server 5.1 or greater..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.FromAndLengthTooBig">
+            <summary>
+              Looks up a localized string similar to From index and length use more bytes than from contains.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.FromIndexMustBeValid">
+            <summary>
+              Looks up a localized string similar to From index must be a valid index inside the from buffer.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.GetHostEntryFailed">
+            <summary>
+              Looks up a localized string similar to Call to GetHostEntry failed after {0} while querying for hostname &apos;{1}&apos;: SocketErrorCode={2}, ErrorCode={3}, NativeErrorCode={4}..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.HardProcQuery">
+            <summary>
+              Looks up a localized string similar to Retrieving procedure metadata for {0} from server..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ImproperValueFormat">
+            <summary>
+              Looks up a localized string similar to Value has an unsupported format..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.IncorrectTransmission">
+            <summary>
+              Looks up a localized string similar to An incorrect response was received from the server..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.IndexAndLengthTooBig">
+            <summary>
+              Looks up a localized string similar to Index and length use more bytes than to has room for.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.IndexMustBeValid">
+            <summary>
+              Looks up a localized string similar to Index must be a valid position in the buffer.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidColumnOrdinal">
+            <summary>
+              Looks up a localized string similar to You have specified an invalid column ordinal..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidConnectionStringValue">
+            <summary>
+              Looks up a localized string similar to The requested value &apos;{0}&apos; is invalid for the given keyword &apos;{1}&apos;..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidMicrosecondValue">
+            <summary>
+              Looks up a localized string similar to Microsecond must be a value between 0 and 999999..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidMillisecondValue">
+            <summary>
+              Looks up a localized string similar to Millisecond must be a value between 0 and 999. For more precision use Microsecond..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidProcName">
+            <summary>
+              Looks up a localized string similar to Procedure or function &apos;{0}&apos; cannot be found in database &apos;{1}&apos;..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidValueForBoolean">
+            <summary>
+              Looks up a localized string similar to &apos;{0}&apos; is an illegal value for a boolean option..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.KeywordNoNull">
+            <summary>
+              Looks up a localized string similar to Keyword does not allow null values..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.KeywordNotSupported">
+            <summary>
+              Looks up a localized string similar to Keyword not supported..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.keywords">
+             <summary>
+               Looks up a localized string similar to ACCESSIBLE
+            ADD
+            ALL
+            ALTER
+            ANALYZE
+            AND
+            AS
+            ASC
+            ASENSITIVE
+            BEFORE
+            BEGIN
+            BETWEEN
+            BIGINT
+            BINARY
+            BLOB
+            BOTH
+            BY
+            CALL
+            CASCADE
+            CASE
+            CHANGE
+            CHAR
+            CHARACTER
+            CHECK
+            COLLATE
+            COLUMN
+            COMMIT
+            CONDITION
+            CONNECTION
+            CONSTRAINT
+            CONTINUE
+            CONVERT
+            CREATE
+            CROSS
+            CURRENT_DATE
+            CURRENT_TIME
+            CURRENT_TIMESTAMP
+            CURRENT_USER
+            CURSOR
+            DATABASE
+            DATABASES
+            DAY_HOUR
+            DAY_MICROSECOND
+            DAY_MINUTE
+            DAY_SECOND
+            DEC
+            DECIMAL
+            DECLARE
+            DEFAULT
+            DELAYED
+            DELETE
+            DESC
+            DESCRIBE
+            DETERMINISTIC
+            DISTINCT
+            DISTINCTROW
+            D [rest of string was truncated]&quot;;.
+             </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.MixedParameterNamingNotAllowed">
+            <summary>
+              Looks up a localized string similar to Mixing named and unnamed parameters is not allowed..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.MoreThanOneOPRow">
+            <summary>
+              Looks up a localized string similar to INTERNAL ERROR:  More than one output parameter row detected..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.MultipleConnectionsInTransactionNotSupported">
+            <summary>
+              Looks up a localized string similar to Multiple simultaneous connections or connections with different connection strings inside the same transaction are not currently supported..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NamedPipeNoSeek">
+            <summary>
+              Looks up a localized string similar to NamedPipeStream does not support seeking.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NamedPipeNoSetLength">
+            <summary>
+              Looks up a localized string similar to NamedPipeStream doesn&apos;t support SetLength.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NewValueShouldBeMySqlParameter">
+            <summary>
+              Looks up a localized string similar to The new value must be a MySqlParameter object..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NextResultIsClosed">
+            <summary>
+              Looks up a localized string similar to Invalid attempt to call NextResult when the reader is closed..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoBodiesAndTypeNotSet">
+            <summary>
+              Looks up a localized string similar to When calling stored procedures and &apos;Use Procedure Bodies&apos; is false, all parameters must have their type explicitly set..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoNestedTransactions">
+            <summary>
+              Looks up a localized string similar to Nested transactions are not supported..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoServerSSLSupport">
+            <summary>
+              Looks up a localized string similar to The host {0} does not support SSL connections..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoUnixSocketsOnWindows">
+            <summary>
+              Looks up a localized string similar to Unix sockets are not supported on Windows..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoWindowsIdentity">
+            <summary>
+              Looks up a localized string similar to Cannot retrieve Windows identity for current user. Connections that use  IntegratedSecurity cannot be  pooled. Use either &apos;ConnectionReset=true&apos; or  &apos;Pooling=false&apos; in the connection string to fix..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ObjectDisposed">
+            <summary>
+              Looks up a localized string similar to The object is not open or has been disposed..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.OffsetCannotBeNegative">
+            <summary>
+              Looks up a localized string similar to  Offset cannot be negative.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.OffsetMustBeValid">
+            <summary>
+              Looks up a localized string similar to Offset must be a valid position in buffer.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.OldPasswordsNotSupported">
+            <summary>
+              Looks up a localized string similar to Authentication with old password no longer supported, use 4.1 style passwords..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterAlreadyDefined">
+            <summary>
+              Looks up a localized string similar to Parameter &apos;{0}&apos; has already been defined..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterCannotBeNegative">
+            <summary>
+              Looks up a localized string similar to Parameter cannot have a negative value.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterCannotBeNull">
+            <summary>
+              Looks up a localized string similar to Parameter cannot be null.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterIndexNotFound">
+            <summary>
+              Looks up a localized string similar to Parameter index was not found in Parameter Collection..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterIsInvalid">
+            <summary>
+              Looks up a localized string similar to Parameter is invalid..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterMustBeDefined">
+            <summary>
+              Looks up a localized string similar to Parameter &apos;{0}&apos; must be defined..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterNotFoundDuringPrepare">
+            <summary>
+              Looks up a localized string similar to Parameter &apos;{0}&apos; was not found during prepare..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.PasswordMustHaveLegalChars">
+            <summary>
+              Looks up a localized string similar to Password must be valid and contain length characters.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonCategoryHelp">
+            <summary>
+              Looks up a localized string similar to This category includes a series of counters for MySQL..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonCategoryName">
+            <summary>
+              Looks up a localized string similar to .NET Data Provider for MySQL.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonHardProcHelp">
+            <summary>
+              Looks up a localized string similar to The number of times a procedures metadata had to be queried from the server..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonHardProcName">
+            <summary>
+              Looks up a localized string similar to Hard Procedure Queries.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonSoftProcHelp">
+            <summary>
+              Looks up a localized string similar to The number of times a procedures metadata was retrieved from the client-side cache..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonSoftProcName">
+            <summary>
+              Looks up a localized string similar to Soft Procedure Queries.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ProcAndFuncSameName">
+            <summary>
+              Looks up a localized string similar to same name are not supported..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.QueryTooLarge">
+            <summary>
+              Looks up a localized string similar to Packets larger than max_allowed_packet are not allowed..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReadFromStreamFailed">
+            <summary>
+              Looks up a localized string similar to Reading from the stream has failed..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReadingPriorColumnUsingSeqAccess">
+            <summary>
+              Looks up a localized string similar to Invalid attempt to read a prior column using SequentialAccess.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReplicatedConnectionsAllowOnlyReadonlyStatements">
+            <summary>
+              Looks up a localized string similar to Replicated connections allow only readonly statements..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.Replication_ConnectionAttemptFailed">
+            <summary>
+              Looks up a localized string similar to Attempt to connect to &apos;{0}&apos; server failed..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.Replication_NoAvailableServer">
+            <summary>
+              Looks up a localized string similar to No available server found..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReplicationGroupNotFound">
+            <summary>
+              Looks up a localized string similar to Replication group &apos;{0}&apos; not found..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReplicationServerNotFound">
+            <summary>
+              Looks up a localized string similar to Replicated server not found: &apos;{0}&apos;.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.RoutineNotFound">
+            <summary>
+              Looks up a localized string similar to Routine &apos;{0}&apos; cannot be found. Either check the spelling or make sure you have sufficient rights to execute the routine..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.RoutineRequiresReturnParameter">
+            <summary>
+              Looks up a localized string similar to Attempt to call stored function &apos;{0}&apos; without specifying a return parameter.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ServerTooOld">
+            <summary>
+              Looks up a localized string similar to Connector/Net no longer supports server versions prior to 5.0.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.SnapshotNotSupported">
+            <summary>
+              Looks up a localized string similar to Snapshot isolation level is not supported..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.SocketNoSeek">
+            <summary>
+              Looks up a localized string similar to Socket streams do not support seeking.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.SoftProcQuery">
+            <summary>
+              Looks up a localized string similar to Retrieving procedure metadata for {0} from procedure cache..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.SPNotSupported">
+            <summary>
+              Looks up a localized string similar to Stored procedures are not supported on this version of MySQL.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.StreamAlreadyClosed">
+            <summary>
+              Looks up a localized string similar to The stream has already been closed.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.StreamNoRead">
+            <summary>
+              Looks up a localized string similar to  The stream does not support reading.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.StreamNoWrite">
+            <summary>
+              Looks up a localized string similar to The stream does not support writing.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.Timeout">
+            <summary>
+              Looks up a localized string similar to Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TimeoutGettingConnection">
+            <summary>
+              Looks up a localized string similar to error connecting: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceCloseConnection">
+            <summary>
+              Looks up a localized string similar to {0}: Connection Closed.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceErrorMoreThanMaxValueConnections">
+            <summary>
+              Looks up a localized string similar to Unable to trace.  There are more than Int32.MaxValue connections in use..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceFetchError">
+            <summary>
+              Looks up a localized string similar to {0}: Error encountered during row fetch. Number = {1}, Message={2}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceOpenConnection">
+            <summary>
+              Looks up a localized string similar to {0}: Connection Opened: connection string = &apos;{1}&apos;.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceOpenResultError">
+            <summary>
+              Looks up a localized string similar to {0}: Error encountered attempting to open result: Number={1}, Message={2}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceQueryDone">
+            <summary>
+              Looks up a localized string similar to {0}: Query Closed.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceQueryNormalized">
+            <summary>
+              Looks up a localized string similar to {0}: Query Normalized: {2}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceQueryOpened">
+            <summary>
+              Looks up a localized string similar to {0}: Query Opened: {2}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceResult">
+            <summary>
+              Looks up a localized string similar to {0}: Resultset Opened: field(s) = {1}, affected rows = {2}, inserted id = {3}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceResultClosed">
+            <summary>
+              Looks up a localized string similar to {0}: Resultset Closed. Total rows={1}, skipped rows={2}, size (bytes)={3}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceSetDatabase">
+            <summary>
+              Looks up a localized string similar to {0}: Set Database: {1}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceStatementClosed">
+            <summary>
+              Looks up a localized string similar to {0}: Statement closed: statement id = {1}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceStatementExecuted">
+            <summary>
+              Looks up a localized string similar to {0}: Statement executed: statement id = {1}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceStatementPrepared">
+            <summary>
+              Looks up a localized string similar to {0}: Statement prepared: sql=&apos;{1}&apos;, statement id={2}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningBadIndex">
+            <summary>
+              Looks up a localized string similar to {0}: Usage Advisor Warning: Query is using a bad index.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningFieldConversion">
+            <summary>
+              Looks up a localized string similar to {0}: Usage Advisor Warning: The field &apos;{2}&apos; was converted to the following types: {3}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningNoIndex">
+            <summary>
+              Looks up a localized string similar to {0}: Usage Advisor Warning: Query does not use an index.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningSkippedColumns">
+            <summary>
+              Looks up a localized string similar to {0}: Usage Advisor Warning: The following columns were not accessed: {2}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningSkippedRows">
+            <summary>
+              Looks up a localized string similar to {0}: Usage Advisor Warning: Skipped {2} rows. Consider a more focused query..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceWarning">
+            <summary>
+              Looks up a localized string similar to {0}: MySql Warning: Level={1}, Code={2}, Message={3}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TypeIsNotCommandInterceptor">
+            <summary>
+              Looks up a localized string similar to Type &apos;{0}&apos; is not derived from BaseCommandInterceptor.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.TypeIsNotExceptionInterceptor">
+            <summary>
+              Looks up a localized string similar to Type &apos;{0}&apos; is not derived from BaseExceptionInterceptor.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToConnectToHost">
+            <summary>
+              Looks up a localized string similar to Unable to connect to any of the specified MySQL hosts..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToCreateAuthPlugin">
+            <summary>
+              Looks up a localized string similar to Unable to create plugin for authentication method &apos;{0}&apos;. Please see inner exception for details..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToDeriveParameters">
+            <summary>
+              Looks up a localized string similar to Unable to derive stored routine parameters.  The &apos;Parameters&apos; information schema table is not available and access to the stored procedure body has been disabled..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToEnableQueryAnalysis">
+            <summary>
+              Looks up a localized string similar to Unable to enable query analysis.  Be sure the MySql.Data.EMTrace assembly is properly located and registered..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToEnumerateUDF">
+            <summary>
+              Looks up a localized string similar to An error occured attempting to enumerate the user-defined functions.  Do you have SELECT privileges on the mysql.func table?.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToExecuteSP">
+            <summary>
+              Looks up a localized string similar to Unable to execute stored procedure &apos;{0}&apos;..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToParseFK">
+            <summary>
+              Looks up a localized string similar to There was an error parsing the foreign key definition..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToRetrieveParameters">
+            <summary>
+              Looks up a localized string similar to Unable to retrieve stored procedure metadata for routine &apos;{0}&apos;.  Either grant  SELECT privilege to mysql.proc for this user or use &quot;check parameters=false&quot; with  your connection string..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToStartSecondAsyncOp">
+            <summary>
+              Looks up a localized string similar to Unable to start a second async operation while one is running..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnixSocketsNotSupported">
+            <summary>
+              Looks up a localized string similar to Unix sockets are not supported on Windows.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnknownAuthenticationMethod">
+            <summary>
+              Looks up a localized string similar to Unknown authentication method &apos;{0}&apos; was requested..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnknownConnectionProtocol">
+            <summary>
+              Looks up a localized string similar to Unknown connection protocol.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ValueNotCorrectType">
+            <summary>
+              Looks up a localized string similar to Value &apos;{0}&apos; is not of the correct type..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.ValueNotSupportedForGuid">
+            <summary>
+              Looks up a localized string similar to The requested column value could not be treated as or conveted to a Guid..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.WinAuthNotSupportOnPlatform">
+            <summary>
+              Looks up a localized string similar to Windows authentication connections are not supported on {0}.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.WriteToStreamFailed">
+            <summary>
+              Looks up a localized string similar to Writing to the stream failed..
+            </summary>
+        </member>
+        <member name="P:MySql.Data.MySqlClient.Properties.Resources.WrongParameterName">
+            <summary>
+              Looks up a localized string similar to Parameter &apos;{0}&apos; is not found but a parameter with the name &apos;{1}&apos; is found. Parameter names must include the leading parameter marker..
+            </summary>
+        </member>
+        <member name="T:MySql.Data.Common.LowResolutionStopwatch">
+            <summary>
+            This class is modeled after .NET Stopwatch. It provides better
+            performance (no system calls).It is however less precise than
+            .NET Stopwatch, measuring in milliseconds. It is adequate to use
+            when high-precision is not required (e.g for measuring IO timeouts),
+            but not for other tasks.
+            </summary>
+        </member>
+        <member name="F:MySql.Data.Common.MyNetworkStream.MaxRetryCount">
+             <summary>
+             Wrapper around NetworkStream.
+             
+             MyNetworkStream is equivalent to NetworkStream, except 
+             1. It throws TimeoutException if read or write timeout occurs, instead 
+             of IOException, to match behavior of other streams (named pipe and 
+             shared memory). This property comes handy in TimedStream.
+            
+             2. It implements workarounds for WSAEWOULDBLOCK errors, that can start 
+             occuring after stream has times out. For a discussion about the CLR bug,
+             refer to  http://tinyurl.com/lhgpyf. This error should never occur, as
+             we're not using asynchronous operations, but apparerntly it does occur
+             directly after timeout has expired.
+             The workaround is hinted in the URL above and implemented like this:
+             For each IO operation, if it throws WSAEWOULDBLOCK, we explicitely set
+             the socket to Blocking and retry the operation once again.
+             </summary>
+        </member>
+        <member name="M:MySql.Data.Common.MyNetworkStream.SetKeepAlive(System.Net.Sockets.Socket,System.UInt32)">
+            <summary>
+            Set keepalive + timeout on socket.
+            </summary>
+            <param name="s">socket</param>
+            <param name="time">keepalive timeout, in seconds</param>
+        </member>
+        <member name="T:MySql.Data.Common.NamedPipeStream">
+            <summary>
+            Summary description for API.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.Common.Platform.#ctor">
+            <summary>
+            By creating a private ctor, we keep the compiler from creating a default ctor
+            </summary>
+        </member>
+        <member name="M:MySql.Data.Common.QueryNormalizer.ProcessMathSymbols(System.Collections.Generic.List{MySql.Data.Common.Token})">
+            <summary>
+            Mark - or + signs that are unary ops as no output
+            </summary>
+            <param name="tok"></param>
+        </member>
+        <member name="T:MySql.Data.Common.SharedMemory">
+            <summary>
+            Helper class to encapsulate shared memory functionality
+            Also cares of proper cleanup of file mapping object and cew
+            </summary>
+        </member>
+        <member name="T:MySql.Data.Common.SharedMemoryStream">
+            <summary>
+            Summary description for SharedMemoryStream.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.Common.StreamCreator">
+            <summary>
+            Summary description for StreamCreator.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.Common.DBVersion">
+            <summary>
+            Summary description for Version.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.Types.MySqlDateTime">
+            <summary>
+            
+            </summary>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlDateTime.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
+            <summary>
+            Constructs a new <b>MySqlDateTime</b> object by setting the individual time properties to
+            the given values.
+            </summary>
+            <param name="year">The year to use.</param>
+            <param name="month">The month to use.</param>
+            <param name="day">The day to use.</param>
+            <param name="hour">The hour to use.</param>
+            <param name="minute">The minute to use.</param>
+            <param name="second">The second to use.</param>
+            <param name="microsecond">The microsecond to use.</param>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlDateTime.#ctor(System.DateTime)">
+            <summary>
+            Constructs a new <b>MySqlDateTime</b> object by using values from the given <see cref="T:System.DateTime"/> object.
+            </summary>
+            <param name="dt">The <see cref="T:System.DateTime"/> object to copy.</param>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlDateTime.#ctor(MySql.Data.Types.MySqlDateTime)">
+            <summary>
+            Constructs a new <b>MySqlDateTime</b> object by copying the current value of the given object.
+            </summary>
+            <param name="mdt">The <b>MySqlDateTime</b> object to copy.</param>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlDateTime.#ctor(System.String)">
+            <summary>
+            Enables the contruction of a <b>MySqlDateTime</b> object by parsing a string.
+            </summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.IsValidDateTime">
+            <summary>
+            Indicates if this object contains a value that can be represented as a DateTime
+            </summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Year">
+            <summary>Returns the year portion of this datetime</summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Month">
+            <summary>Returns the month portion of this datetime</summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Day">
+            <summary>Returns the day portion of this datetime</summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Hour">
+            <summary>Returns the hour portion of this datetime</summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Minute">
+            <summary>Returns the minute portion of this datetime</summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Second">
+            <summary>Returns the second portion of this datetime</summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Millisecond">
+            <summary>
+            Returns the milliseconds portion of this datetime 
+            expressed as a value between 0 and 999
+            </summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Microsecond">
+            <summary>
+            Returns the microseconds portion of this datetime (6 digit precision)
+            </summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.IsNull">
+            <summary>
+            Returns true if this datetime object has a null value
+            </summary>
+        </member>
+        <member name="P:MySql.Data.Types.MySqlDateTime.Value">
+            <summary>
+            Retrieves the value of this <see cref="T:MySql.Data.Types.MySqlDateTime"/> as a DateTime object.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlDateTime.GetDateTime">
+            <summary>Returns this value as a DateTime</summary>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlDateTime.ToString">
+            <summary>Returns a MySQL specific string representation of this value</summary>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlDateTime.op_Explicit(MySql.Data.Types.MySqlDateTime)~System.DateTime">
+            <summary></summary>
+            <param name="val"></param>
+            <returns></returns>
+        </member>
+        <member name="T:MySql.Data.Types.MySqlBit">
+            <summary>
+            Summary description for MySqlUInt64.
+            </summary>
+        </member>
+        <member name="T:MySql.Data.Types.MySqlConversionException">
+            <summary>
+            Summary description for MySqlConversionException.
+            </summary>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlConversionException.#ctor(System.String)">
+            <summary>Ctor</summary>
+        </member>
+        <member name="M:MySql.Data.Types.MySqlGeometry.ToString">
+            <summary>Returns the Well-Known Text representation of this value</summary>
+            POINT({0} {1})", longitude, latitude
+            http://dev.mysql.com/doc/refman/4.1/en/gis-wkt-format.html
+        </member>
+        <member name="M:MySql.Data.Types.MySqlGeometry.Parse(System.String)">
+            <summary>
+            Get value from WKT format
+            SRID=0;POINT (x y) or POINT (x y)
+            </summary>
+            <param name="value">WKT string format</param>    
+        </member>
+        <member name="M:MySql.Data.Types.MySqlGeometry.TryParse(System.String,MySql.Data.Types.MySqlGeometry@)">
+            <summary>
+            Try to get value from WKT format
+            SRID=0;POINT (x y) or POINT (x y)
+            </summary>
+            <param name="value">WKT string format</param>    
+        </member>
+        <member name="M:zlib.SupportClass.Identity(System.Int64)">
+            <summary>
+            This method returns the literal value received
+            </summary>
+            <param name="literal">The literal to return</param>
+            <returns>The received value</returns>
+        </member>
+        <member name="M:zlib.SupportClass.Identity(System.UInt64)">
+            <summary>
+            This method returns the literal value received
+            </summary>
+            <param name="literal">The literal to return</param>
+            <returns>The received value</returns>
+        </member>
+        <member name="M:zlib.SupportClass.Identity(System.Single)">
+            <summary>
+            This method returns the literal value received
+            </summary>
+            <param name="literal">The literal to return</param>
+            <returns>The received value</returns>
+        </member>
+        <member name="M:zlib.SupportClass.Identity(System.Double)">
+            <summary>
+            This method returns the literal value received
+            </summary>
+            <param name="literal">The literal to return</param>
+            <returns>The received value</returns>
+        </member>
+        <member name="M:zlib.SupportClass.URShift(System.Int32,System.Int32)">
+            <summary>
+            Performs an unsigned bitwise right shift with the specified number
+            </summary>
+            <param name="number">Number to operate on</param>
+            <param name="bits">Ammount of bits to shift</param>
+            <returns>The resulting number from the shift operation</returns>
+        </member>
+        <member name="M:zlib.SupportClass.URShift(System.Int32,System.Int64)">
+            <summary>
+            Performs an unsigned bitwise right shift with the specified number
+            </summary>
+            <param name="number">Number to operate on</param>
+            <param name="bits">Ammount of bits to shift</param>
+            <returns>The resulting number from the shift operation</returns>
+        </member>
+        <member name="M:zlib.SupportClass.URShift(System.Int64,System.Int32)">
+            <summary>
+            Performs an unsigned bitwise right shift with the specified number
+            </summary>
+            <param name="number">Number to operate on</param>
+            <param name="bits">Ammount of bits to shift</param>
+            <returns>The resulting number from the shift operation</returns>
+        </member>
+        <member name="M:zlib.SupportClass.URShift(System.Int64,System.Int64)">
+            <summary>
+            Performs an unsigned bitwise right shift with the specified number
+            </summary>
+            <param name="number">Number to operate on</param>
+            <param name="bits">Ammount of bits to shift</param>
+            <returns>The resulting number from the shift operation</returns>
+        </member>
+        <member name="M:zlib.SupportClass.ReadInput(System.IO.Stream,System.Byte[],System.Int32,System.Int32)">
+            <summary>Reads a number of characters from the current source Stream and writes the data to the target array at the specified index.</summary>
+            <param name="sourceStream">The source Stream to read from.</param>
+            <param name="target">Contains the array of characteres read from the source Stream.</param>
+            <param name="start">The starting index of the target array.</param>
+            <param name="count">The maximum number of characters to read from the source Stream.</param>
+            <returns>The number of characters read. The number will be less than or equal to count depending on the data available in the source Stream. Returns -1 if the end of the stream is reached.</returns>
+        </member>
+        <member name="M:zlib.SupportClass.ReadInput(System.IO.TextReader,System.Byte[],System.Int32,System.Int32)">
+            <summary>Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.</summary>
+            <param name="sourceTextReader">The source TextReader to read from</param>
+            <param name="target">Contains the array of characteres read from the source TextReader.</param>
+            <param name="start">The starting index of the target array.</param>
+            <param name="count">The maximum number of characters to read from the source TextReader.</param>
+            <returns>The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached.</returns>
+        </member>
+        <member name="M:zlib.SupportClass.ToByteArray(System.String)">
+            <summary>
+            Converts a string to an array of bytes
+            </summary>
+            <param name="sourceString">The string to be converted</param>
+            <returns>The new array of bytes</returns>
+        </member>
+        <member name="M:zlib.SupportClass.ToCharArray(System.Byte[])">
+            <summary>
+            Converts an array of bytes to an array of chars
+            </summary>
+            <param name="byteArray">The array of bytes to convert</param>
+            <returns>The new array of chars</returns>
+        </member>
+        <member name="M:zlib.SupportClass.Serialize(System.IO.Stream,System.Object)">
+            <summary>
+            Writes an object to the specified Stream
+            </summary>
+            <param name="stream">The target Stream</param>
+            <param name="objectToSend">The object to be sent</param>
+        </member>
+        <member name="M:zlib.SupportClass.Serialize(System.IO.BinaryWriter,System.Object)">
+            <summary>
+            Writes an object to the specified BinaryWriter
+            </summary>
+            <param name="binaryWriter">The target BinaryWriter</param>
+            <param name="objectToSend">The object to be sent</param>
+        </member>
+        <member name="M:zlib.SupportClass.Deserialize(System.IO.BinaryReader)">
+            <summary>
+            Deserializes an object, or an entire graph of connected objects, and returns the object intance
+            </summary>
+            <param name="binaryReader">Reader instance used to read the object</param>
+            <returns>The object instance</returns>
+        </member>
+        <member name="M:zlib.SupportClass.WriteStackTrace(System.Exception,System.IO.TextWriter)">
+            <summary>
+            Writes the exception stack trace to the received stream
+            </summary>
+            <param name="throwable">Exception to obtain information from</param>
+            <param name="stream">Output sream used to write to</param>
+        </member>
+        <member name="P:zlib.ZInputStream.TotalIn">
+            <summary> Returns the total number of bytes input so far.</summary>
+        </member>
+        <member name="P:zlib.ZInputStream.TotalOut">
+            <summary> Returns the total number of bytes output so far.</summary>
+        </member>
+        <member name="P:zlib.ZOutputStream.TotalIn">
+            <summary> Returns the total number of bytes input so far.</summary>
+        </member>
+        <member name="P:zlib.ZOutputStream.TotalOut">
+            <summary> Returns the total number of bytes output so far.</summary>
+        </member>
+    </members>
+</doc>
Index: branches/ddl/DataConert/DataConert/lib/log4net.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/DataConert/lib/log4net.dll
===================================================================
--- branches/ddl/DataConert/DataConert/lib/log4net.dll	(nonexistent)
+++ branches/ddl/DataConert/DataConert/lib/log4net.dll	(revision 84)

Property changes on: branches/ddl/DataConert/DataConert/lib/log4net.dll
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/DataConert/lib/log4net.xml
===================================================================
--- branches/ddl/DataConert/DataConert/lib/log4net.xml	(nonexistent)
+++ branches/ddl/DataConert/DataConert/lib/log4net.xml	(revision 84)
@@ -0,0 +1,28655 @@
+<?xml version="1.0"?>
+<doc>
+    <assembly>
+        <name>log4net</name>
+    </assembly>
+    <members>
+        <member name="T:log4net.Appender.AdoNetAppender">
+            <summary>
+            Appender that logs to a database.
+            </summary>
+            <remarks>
+            <para>
+            <see cref="T:log4net.Appender.AdoNetAppender"/> appends logging events to a table within a
+            database. The appender can be configured to specify the connection 
+            string by setting the <see cref="P:log4net.Appender.AdoNetAppender.ConnectionString"/> property. 
+            The connection type (provider) can be specified by setting the <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/>
+            property. For more information on database connection strings for
+            your specific database see <a href="http://www.connectionstrings.com/">http://www.connectionstrings.com/</a>.
+            </para>
+            <para>
+            Records are written into the database either using a prepared
+            statement or a stored procedure. The <see cref="P:log4net.Appender.AdoNetAppender.CommandType"/> property
+            is set to <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>) to specify a prepared statement
+            or to <see cref="F:System.Data.CommandType.StoredProcedure"/> (<c>System.Data.CommandType.StoredProcedure</c>) to specify a stored
+            procedure.
+            </para>
+            <para>
+            The prepared statement text or the name of the stored procedure
+            must be set in the <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> property.
+            </para>
+            <para>
+            The prepared statement or stored procedure can take a number
+            of parameters. Parameters are added using the <see cref="M:log4net.Appender.AdoNetAppender.AddParameter(log4net.Appender.AdoNetAppenderParameter)"/>
+            method. This adds a single <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> to the
+            ordered list of parameters. The <see cref="T:log4net.Appender.AdoNetAppenderParameter"/>
+            type may be subclassed if required to provide database specific
+            functionality. The <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> specifies
+            the parameter name, database type, size, and how the value should
+            be generated using a <see cref="T:log4net.Layout.ILayout"/>.
+            </para>
+            </remarks>
+            <example>
+            An example of a SQL Server table that could be logged to:
+            <code lang="SQL">
+            CREATE TABLE [dbo].[Log] ( 
+              [ID] [int] IDENTITY (1, 1) NOT NULL ,
+              [Date] [datetime] NOT NULL ,
+              [Thread] [varchar] (255) NOT NULL ,
+              [Level] [varchar] (20) NOT NULL ,
+              [Logger] [varchar] (255) NOT NULL ,
+              [Message] [varchar] (4000) NOT NULL 
+            ) ON [PRIMARY]
+            </code>
+            </example>
+            <example>
+            An example configuration to log to the above table:
+            <code lang="XML" escaped="true">
+            <appender name="AdoNetAppender_SqlServer" type="log4net.Appender.AdoNetAppender">
+              <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
+              <connectionString value="data source=SQLSVR;initial catalog=test_log4net;integrated security=false;persist security info=True;User ID=sa;Password=sa"/>
+              <commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)"/>
+              <parameter>
+                <parameterName value="@log_date"/>
+                <dbType value="DateTime"/>
+                <layout type="log4net.Layout.PatternLayout" value="%date{yyyy'-'MM'-'dd HH':'mm':'ss'.'fff}"/>
+              </parameter>
+              <parameter>
+                <parameterName value="@thread"/>
+                <dbType value="String"/>
+                <size value="255"/>
+                <layout type="log4net.Layout.PatternLayout" value="%thread"/>
+              </parameter>
+              <parameter>
+                <parameterName value="@log_level"/>
+                <dbType value="String"/>
+                <size value="50"/>
+                <layout type="log4net.Layout.PatternLayout" value="%level"/>
+              </parameter>
+              <parameter>
+                <parameterName value="@logger"/>
+                <dbType value="String"/>
+                <size value="255"/>
+                <layout type="log4net.Layout.PatternLayout" value="%logger"/>
+              </parameter>
+              <parameter>
+                <parameterName value="@message"/>
+                <dbType value="String"/>
+                <size value="4000"/>
+                <layout type="log4net.Layout.PatternLayout" value="%message"/>
+              </parameter>
+            </appender>
+            </code>
+            </example>
+            <author>Julian Biddle</author>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Lance Nehring</author>
+        </member>
+        <member name="T:log4net.Appender.BufferingAppenderSkeleton">
+            <summary>
+            Abstract base class implementation of <see cref="T:log4net.Appender.IAppender"/> that 
+            buffers events in a fixed size buffer.
+            </summary>
+            <remarks>
+            <para>
+            This base class should be used by appenders that need to buffer a 
+            number of events before logging them. For example the <see cref="T:log4net.Appender.AdoNetAppender"/> 
+            buffers events and then submits the entire contents of the buffer to 
+            the underlying database in one go.
+            </para>
+            <para>
+            Subclasses should override the <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>
+            method to deliver the buffered events.
+            </para>
+            <para>The BufferingAppenderSkeleton maintains a fixed size cyclic 
+            buffer of events. The size of the buffer is set using 
+            the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> property.
+            </para>
+            <para>A <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> is used to inspect 
+            each event as it arrives in the appender. If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> 
+            triggers, then the current buffer is sent immediately 
+            (see <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>). Otherwise the event 
+            is stored in the buffer. For example, an evaluator can be used to 
+            deliver the events immediately when an ERROR event arrives.
+            </para>
+            <para>
+            The buffering appender can be configured in a <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode. 
+            By default the appender is NOT lossy. When the buffer is full all 
+            the buffered events are sent with <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>.
+            If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> property is set to <c>true</c> then the 
+            buffer will not be sent when it is full, and new events arriving 
+            in the appender will overwrite the oldest event in the buffer. 
+            In lossy mode the buffer will only be sent when the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/>
+            triggers. This can be useful behavior when you need to know about 
+            ERROR events but not about events with a lower level, configure an 
+            evaluator that will trigger when an ERROR event arrives, the whole 
+            buffer will be sent which gives a history of events leading up to
+            the ERROR event.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Appender.AppenderSkeleton">
+            <summary>
+            Abstract base class implementation of <see cref="T:log4net.Appender.IAppender"/>. 
+            </summary>
+            <remarks>
+            <para>
+            This class provides the code for common functionality, such 
+            as support for threshold filtering and support for general filters.
+            </para>
+            <para>
+            Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
+            they would require that the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
+            be called after the appenders properties have been configured.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Appender.IAppender">
+            <summary>
+            Implement this interface for your own strategies for printing log statements.
+            </summary>
+            <remarks>
+            <para>
+            Implementors should consider extending the <see cref="T:log4net.Appender.AppenderSkeleton"/>
+            class which provides a default implementation of this interface.
+            </para>
+            <para>
+            Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
+            they would require that the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
+            be called after the appenders properties have been configured.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Appender.IAppender.Close">
+            <summary>
+            Closes the appender and releases resources.
+            </summary>
+            <remarks>
+            <para>
+            Releases any resources allocated within the appender such as file handles, 
+            network connections, etc.
+            </para>
+            <para>
+            It is a programming error to append to a closed appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)">
+            <summary>
+            Log the logging event in Appender specific way.
+            </summary>
+            <param name="loggingEvent">The event to log</param>
+            <remarks>
+            <para>
+            This method is called to log a message into this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.IAppender.Name">
+            <summary>
+            Gets or sets the name of this appender.
+            </summary>
+            <value>The name of the appender.</value>
+            <remarks>
+            <para>The name uniquely identifies the appender.</para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.IBulkAppender">
+            <summary>
+            Interface for appenders that support bulk logging.
+            </summary>
+            <remarks>
+            <para>
+            This interface extends the <see cref="T:log4net.Appender.IAppender"/> interface to
+            support bulk logging of <see cref="T:log4net.Core.LoggingEvent"/> objects. Appenders
+            should only implement this interface if they can bulk log efficiently.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Appender.IBulkAppender.DoAppend(log4net.Core.LoggingEvent[])">
+            <summary>
+            Log the array of logging events in Appender specific way.
+            </summary>
+            <param name="loggingEvents">The events to log</param>
+            <remarks>
+            <para>
+            This method is called to log an array of events into this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.IOptionHandler">
+            <summary>
+            Interface used to delay activate a configured object.
+            </summary>
+            <remarks>
+            <para>
+            This allows an object to defer activation of its options until all
+            options have been set. This is required for components which have
+            related options that remain ambiguous until all are set.
+            </para>
+            <para>
+            If a component implements this interface then the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method 
+            must be called by the container after its all the configured properties have been set 
+            and before the component can be used.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Core.IOptionHandler.ActivateOptions">
+            <summary>
+            Activate the options that were previously set with calls to properties.
+            </summary>
+            <remarks>
+            <para>
+            This allows an object to defer activation of its options until all
+            options have been set. This is required for components which have
+            related options that remain ambiguous until all are set.
+            </para>
+            <para>
+            If a component implements this interface then this method must be called
+            after its properties have been set before the component can be used.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.c_renderBufferSize">
+            <summary>
+            Initial buffer size
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.c_renderBufferMaxCapacity">
+            <summary>
+            Maximum buffer size before it is recycled
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>Empty default constructor</para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.Finalize">
+            <summary>
+            Finalizes this appender by calling the implementation's 
+            <see cref="M:log4net.Appender.AppenderSkeleton.Close"/> method.
+            </summary>
+            <remarks>
+            <para>
+            If this appender has not been closed then the <c>Finalize</c> method
+            will call <see cref="M:log4net.Appender.AppenderSkeleton.Close"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.Close">
+            <summary>
+            Closes the appender and release resources.
+            </summary>
+            <remarks>
+            <para>
+            Release any resources allocated within the appender such as file handles, 
+            network connections, etc.
+            </para>
+            <para>
+            It is a programming error to append to a closed appender.
+            </para>
+            <para>
+            This method cannot be overridden by subclasses. This method 
+            delegates the closing of the appender to the <see cref="M:log4net.Appender.AppenderSkeleton.OnClose"/>
+            method which must be overridden in the subclass.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)">
+            <summary>
+            Performs threshold checks and invokes filters before 
+            delegating actual logging to the subclasses specific 
+            <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            This method cannot be overridden by derived classes. A
+            derived class should override the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method
+            which is called by this method.
+            </para>
+            <para>
+            The implementation of this method is as follows:
+            </para>
+            <para>
+            <list type="bullet">
+            	<item>
+            		<description>
+            		Checks that the severity of the <paramref name="loggingEvent"/>
+            		is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
+            		appender.</description>
+            	</item>
+            	<item>
+            		<description>
+            		Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the 
+            		<paramref name="loggingEvent"/>.
+            		</description>
+            	</item>
+            	<item>
+            		<description>
+            		Calls <see cref="M:log4net.Appender.AppenderSkeleton.PreAppendCheck"/> and checks that 
+            		it returns <c>true</c>.</description>
+            	</item>
+            </list>
+            </para>
+            <para>
+            If all of the above steps succeed then the <paramref name="loggingEvent"/>
+            will be passed to the abstract <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])">
+            <summary>
+            Performs threshold checks and invokes filters before 
+            delegating actual logging to the subclasses specific 
+            <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])"/> method.
+            </summary>
+            <param name="loggingEvents">The array of events to log.</param>
+            <remarks>
+            <para>
+            This method cannot be overridden by derived classes. A
+            derived class should override the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])"/> method
+            which is called by this method.
+            </para>
+            <para>
+            The implementation of this method is as follows:
+            </para>
+            <para>
+            <list type="bullet">
+            	<item>
+            		<description>
+            		Checks that the severity of the <paramref name="loggingEvent"/>
+            		is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
+            		appender.</description>
+            	</item>
+            	<item>
+            		<description>
+            		Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the 
+            		<paramref name="loggingEvent"/>.
+            		</description>
+            	</item>
+            	<item>
+            		<description>
+            		Calls <see cref="M:log4net.Appender.AppenderSkeleton.PreAppendCheck"/> and checks that 
+            		it returns <c>true</c>.</description>
+            	</item>
+            </list>
+            </para>
+            <para>
+            If all of the above steps succeed then the <paramref name="loggingEvents"/>
+            will be passed to the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])"/> method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.FilterEvent(log4net.Core.LoggingEvent)">
+            <summary>
+            Test if the logging event should we output by this appender
+            </summary>
+            <param name="loggingEvent">the event to test</param>
+            <returns><c>true</c> if the event should be output, <c>false</c> if the event should be ignored</returns>
+            <remarks>
+            <para>
+            This method checks the logging event against the threshold level set
+            on this appender and also against the filters specified on this
+            appender.
+            </para>
+            <para>
+            The implementation of this method is as follows:
+            </para>
+            <para>
+            <list type="bullet">
+            	<item>
+            		<description>
+            		Checks that the severity of the <paramref name="loggingEvent"/>
+            		is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
+            		appender.</description>
+            	</item>
+            	<item>
+            		<description>
+            		Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the 
+            		<paramref name="loggingEvent"/>.
+            		</description>
+            	</item>
+            </list>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.AddFilter(log4net.Filter.IFilter)">
+            <summary>
+            Adds a filter to the end of the filter chain.
+            </summary>
+            <param name="filter">the filter to add to this appender</param>
+            <remarks>
+            <para>
+            The Filters are organized in a linked list.
+            </para>
+            <para>
+            Setting this property causes the new filter to be pushed onto the 
+            back of the filter chain.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.ClearFilters">
+            <summary>
+            Clears the filter list for this appender.
+            </summary>
+            <remarks>
+            <para>
+            Clears the filter list for this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.IsAsSevereAsThreshold(log4net.Core.Level)">
+            <summary>
+            Checks if the message level is below this appender's threshold.
+            </summary>
+            <param name="level"><see cref="T:log4net.Core.Level"/> to test against.</param>
+            <remarks>
+            <para>
+            If there is no threshold set, then the return value is always <c>true</c>.
+            </para>
+            </remarks>
+            <returns>
+            <c>true</c> if the <paramref name="level"/> meets the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> 
+            requirements of this appender.
+            </returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.OnClose">
+            <summary>
+            Is called when the appender is closed. Derived classes should override 
+            this method if resources need to be released.
+            </summary>
+            <remarks>
+            <para>
+            Releases any resources allocated within the appender such as file handles, 
+            network connections, etc.
+            </para>
+            <para>
+            It is a programming error to append to a closed appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Subclasses of <see cref="T:log4net.Appender.AppenderSkeleton"/> should implement this method 
+            to perform actual logging.
+            </summary>
+            <param name="loggingEvent">The event to append.</param>
+            <remarks>
+            <para>
+            A subclass must implement this method to perform
+            logging of the <paramref name="loggingEvent"/>.
+            </para>
+            <para>This method will be called by <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
+            if all the conditions listed for that method are met.
+            </para>
+            <para>
+            To restrict the logging of events in the appender
+            override the <see cref="M:log4net.Appender.AppenderSkeleton.PreAppendCheck"/> method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])">
+            <summary>
+            Append a bulk array of logging events.
+            </summary>
+            <param name="loggingEvents">the array of logging events</param>
+            <remarks>
+            <para>
+            This base class implementation calls the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/>
+            method for each element in the bulk array.
+            </para>
+            <para>
+            A sub class that can better process a bulk array of events should
+            override this method in addition to <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.PreAppendCheck">
+            <summary>
+            Called before <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> as a precondition.
+            </summary>
+            <remarks>
+            <para>
+            This method is called by <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
+            before the call to the abstract <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method.
+            </para>
+            <para>
+            This method can be overridden in a subclass to extend the checks 
+            made before the event is passed to the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method.
+            </para>
+            <para>
+            A subclass should ensure that they delegate this call to
+            this base class if it is overridden.
+            </para>
+            </remarks>
+            <returns><c>true</c> if the call to <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> should proceed.</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(log4net.Core.LoggingEvent)">
+            <summary>
+            Renders the <see cref="T:log4net.Core.LoggingEvent"/> to a string.
+            </summary>
+            <param name="loggingEvent">The event to render.</param>
+            <returns>The event rendered as a string.</returns>
+            <remarks>
+            <para>
+            Helper method to render a <see cref="T:log4net.Core.LoggingEvent"/> to 
+            a string. This appender must have a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/>
+            set to render the <paramref name="loggingEvent"/> to 
+            a string.
+            </para>
+            <para>If there is exception data in the logging event and 
+            the layout does not process the exception, this method 
+            will append the exception text to the rendered string.
+            </para>
+            <para>
+            Where possible use the alternative version of this method
+            <see cref="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(System.IO.TextWriter,log4net.Core.LoggingEvent)"/>.
+            That method streams the rendering onto an existing Writer
+            which can give better performance if the caller already has
+            a <see cref="T:System.IO.TextWriter"/> open and ready for writing.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Renders the <see cref="T:log4net.Core.LoggingEvent"/> to a string.
+            </summary>
+            <param name="loggingEvent">The event to render.</param>
+            <param name="writer">The TextWriter to write the formatted event to</param>
+            <remarks>
+            <para>
+            Helper method to render a <see cref="T:log4net.Core.LoggingEvent"/> to 
+            a string. This appender must have a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/>
+            set to render the <paramref name="loggingEvent"/> to 
+            a string.
+            </para>
+            <para>If there is exception data in the logging event and 
+            the layout does not process the exception, this method 
+            will append the exception text to the rendered string.
+            </para>
+            <para>
+            Use this method in preference to <see cref="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(log4net.Core.LoggingEvent)"/>
+            where possible. If, however, the caller needs to render the event
+            to a string then <see cref="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(log4net.Core.LoggingEvent)"/> does
+            provide an efficient mechanism for doing so.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_layout">
+            <summary>
+            The layout of this appender.
+            </summary>
+            <remarks>
+            See <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> for more information.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_name">
+            <summary>
+            The name of this appender.
+            </summary>
+            <remarks>
+            See <see cref="P:log4net.Appender.AppenderSkeleton.Name"/> for more information.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_threshold">
+            <summary>
+            The level threshold of this appender.
+            </summary>
+            <remarks>
+            <para>
+            There is no level threshold filtering by default.
+            </para>
+            <para>
+            See <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_errorHandler">
+            <summary>
+            It is assumed and enforced that errorHandler is never null.
+            </summary>
+            <remarks>
+            <para>
+            It is assumed and enforced that errorHandler is never null.
+            </para>
+            <para>
+            See <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/> for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_headFilter">
+            <summary>
+            The first filter in the filter chain.
+            </summary>
+            <remarks>
+            <para>
+            Set to <c>null</c> initially.
+            </para>
+            <para>
+            See <see cref="T:log4net.Filter.IFilter"/> for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_tailFilter">
+            <summary>
+            The last filter in the filter chain.
+            </summary>
+            <remarks>
+            See <see cref="T:log4net.Filter.IFilter"/> for more information.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_closed">
+            <summary>
+            Flag indicating if this appender is closed.
+            </summary>
+            <remarks>
+            See <see cref="M:log4net.Appender.AppenderSkeleton.Close"/> for more information.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_recursiveGuard">
+            <summary>
+            The guard prevents an appender from repeatedly calling its own DoAppend method
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AppenderSkeleton.m_renderWriter">
+            <summary>
+            StringWriter used to render events
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.AppenderSkeleton.Threshold">
+            <summary>
+            Gets or sets the threshold <see cref="T:log4net.Core.Level"/> of this appender.
+            </summary>
+            <value>
+            The threshold <see cref="T:log4net.Core.Level"/> of the appender. 
+            </value>
+            <remarks>
+            <para>
+            All log events with lower level than the threshold level are ignored 
+            by the appender.
+            </para>
+            <para>
+            In configuration files this option is specified by setting the
+            value of the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> option to a level
+            string, such as "DEBUG", "INFO" and so on.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AppenderSkeleton.ErrorHandler">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Core.IErrorHandler"/> for this appender.
+            </summary>
+            <value>The <see cref="T:log4net.Core.IErrorHandler"/> of the appender</value>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Appender.AppenderSkeleton"/> provides a default 
+            implementation for the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/> property. 
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AppenderSkeleton.FilterHead">
+            <summary>
+            The filter chain.
+            </summary>
+            <value>The head of the filter chain filter chain.</value>
+            <remarks>
+            <para>
+            Returns the head Filter. The Filters are organized in a linked list
+            and so all Filters on this Appender are available through the result.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AppenderSkeleton.Layout">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Layout.ILayout"/> for this appender.
+            </summary>
+            <value>The layout of the appender.</value>
+            <remarks>
+            <para>
+            See <see cref="P:log4net.Appender.AppenderSkeleton.RequiresLayout"/> for more information.
+            </para>
+            </remarks>
+            <seealso cref="P:log4net.Appender.AppenderSkeleton.RequiresLayout"/>
+        </member>
+        <member name="P:log4net.Appender.AppenderSkeleton.Name">
+            <summary>
+            Gets or sets the name of this appender.
+            </summary>
+            <value>The name of the appender.</value>
+            <remarks>
+            <para>
+            The name uniquely identifies the appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AppenderSkeleton.RequiresLayout">
+            <summary>
+            Tests if this appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
+            </summary>
+            <remarks>
+            <para>
+            In the rather exceptional case, where the appender 
+            implementation admits a layout but can also work without it, 
+            then the appender should return <c>true</c>.
+            </para>
+            <para>
+            This default implementation always returns <c>true</c>.
+            </para>
+            </remarks>
+            <returns>
+            <c>true</c> if the appender requires a layout object, otherwise <c>false</c>.
+            </returns>
+        </member>
+        <member name="F:log4net.Appender.BufferingAppenderSkeleton.DEFAULT_BUFFER_SIZE">
+            <summary>
+            The default buffer size.
+            </summary>
+            <remarks>
+            The default size of the cyclic buffer used to store events.
+            This is set to 512 by default.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Protected default constructor to allow subclassing.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.#ctor(System.Boolean)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> class.
+            </summary>
+            <param name="eventMustBeFixed">the events passed through this appender must be
+            fixed by the time that they arrive in the derived class' <c>SendBuffer</c> method.</param>
+            <remarks>
+            <para>
+            Protected constructor to allow subclassing.
+            </para>
+            <para>
+            The <paramref name="eventMustBeFixed"/> should be set if the subclass
+            expects the events delivered to be fixed even if the 
+            <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is set to zero, i.e. when no buffering occurs.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.Flush">
+            <summary>
+            Flush the currently buffered events
+            </summary>
+            <remarks>
+            <para>
+            Flushes any events that have been buffered.
+            </para>
+            <para>
+            If the appender is buffering in <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode then the contents
+            of the buffer will NOT be flushed to the appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.Flush(System.Boolean)">
+            <summary>
+            Flush the currently buffered events
+            </summary>
+            <param name="flushLossyBuffer">set to <c>true</c> to flush the buffer of lossy events</param>
+            <remarks>
+            <para>
+            Flushes events that have been buffered. If <paramref name="flushLossyBuffer"/> is
+            <c>false</c> then events will only be flushed if this buffer is non-lossy mode.
+            </para>
+            <para>
+            If the appender is buffering in <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode then the contents
+            of the buffer will only be flushed if <paramref name="flushLossyBuffer"/> is <c>true</c>.
+            In this case the contents of the buffer will be tested against the 
+            <see cref="P:log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator"/> and if triggering will be output. All other buffered
+            events will be discarded.
+            </para>
+            <para>
+            If <paramref name="flushLossyBuffer"/> is <c>true</c> then the buffer will always
+            be emptied by calling this method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.OnClose">
+            <summary>
+            Close this appender instance.
+            </summary>
+            <remarks>
+            <para>
+            Close this appender instance. If this appender is marked
+            as not <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> then the remaining events in 
+            the buffer must be sent when the appender is closed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method. 
+            </summary>
+            <param name="loggingEvent">the event to log</param>
+            <remarks>
+            <para>
+            Stores the <paramref name="loggingEvent"/> in the cyclic buffer.
+            </para>
+            <para>
+            The buffer will be sent (i.e. passed to the <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/> 
+            method) if one of the following conditions is met:
+            </para>
+            <list type="bullet">
+            	<item>
+            		<description>The cyclic buffer is full and this appender is
+            		marked as not lossy (see <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/>)</description>
+            	</item>
+            	<item>
+            		<description>An <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> is set and
+            		it is triggered for the <paramref name="loggingEvent"/>
+            		specified.</description>
+            	</item>
+            </list>
+            <para>
+            Before the event is stored in the buffer it is fixed
+            (see <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(log4net.Core.FixFlags)"/>) to ensure that
+            any data referenced by the event will be valid when the buffer
+            is processed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.SendFromBuffer(log4net.Core.LoggingEvent,log4net.Util.CyclicBuffer)">
+            <summary>
+            Sends the contents of the buffer.
+            </summary>
+            <param name="firstLoggingEvent">The first logging event.</param>
+            <param name="buffer">The buffer containing the events that need to be send.</param>
+            <remarks>
+            <para>
+            The subclass must override <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])">
+            <summary>
+            Sends the events.
+            </summary>
+            <param name="events">The events that need to be send.</param>
+            <remarks>
+            <para>
+            The subclass must override this method to process the buffered events.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_bufferSize">
+            <summary>
+            The size of the cyclic buffer used to hold the logging events.
+            </summary>
+            <remarks>
+            Set to <see cref="F:log4net.Appender.BufferingAppenderSkeleton.DEFAULT_BUFFER_SIZE"/> by default.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_cb">
+            <summary>
+            The cyclic buffer used to store the logging events.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_evaluator">
+            <summary>
+            The triggering event evaluator that causes the buffer to be sent immediately.
+            </summary>
+            <remarks>
+            The object that is used to determine if an event causes the entire
+            buffer to be sent immediately. This field can be <c>null</c>, which 
+            indicates that event triggering is not to be done. The evaluator
+            can be set using the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> property. If this appender
+            has the <see cref="F:log4net.Appender.BufferingAppenderSkeleton.m_lossy"/> (<see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> property) set to 
+            <c>true</c> then an <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be set.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_lossy">
+            <summary>
+            Indicates if the appender should overwrite events in the cyclic buffer 
+            when it becomes full, or if the buffer should be flushed when the 
+            buffer is full.
+            </summary>
+            <remarks>
+            If this field is set to <c>true</c> then an <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must 
+            be set.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_lossyEvaluator">
+            <summary>
+            The triggering event evaluator filters discarded events.
+            </summary>
+            <remarks>
+            The object that is used to determine if an event that is discarded should
+            really be discarded or if it should be sent to the appenders. 
+            This field can be <c>null</c>, which indicates that all discarded events will
+            be discarded. 
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_fixFlags">
+            <summary>
+            Value indicating which fields in the event should be fixed
+            </summary>
+            <remarks>
+            By default all fields are fixed
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_eventMustBeFixed">
+            <summary>
+            The events delivered to the subclass must be fixed.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.BufferingAppenderSkeleton.Lossy">
+            <summary>
+            Gets or sets a value that indicates whether the appender is lossy.
+            </summary>
+            <value>
+            <c>true</c> if the appender is lossy, otherwise <c>false</c>. The default is <c>false</c>.
+            </value>
+            <remarks>
+            <para>
+            This appender uses a buffer to store logging events before 
+            delivering them. A triggering event causes the whole buffer
+            to be send to the remote sink. If the buffer overruns before
+            a triggering event then logging events could be lost. Set
+            <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> to <c>false</c> to prevent logging events 
+            from being lost.
+            </para>
+            <para>If <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> is set to <c>true</c> then an
+            <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be specified.</para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize">
+            <summary>
+            Gets or sets the size of the cyclic buffer used to hold the 
+            logging events.
+            </summary>
+            <value>
+            The size of the cyclic buffer used to hold the logging events.
+            </value>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option takes a positive integer
+            representing the maximum number of logging events to collect in 
+            a cyclic buffer. When the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is reached,
+            oldest events are deleted as new events are added to the
+            buffer. By default the size of the cyclic buffer is 512 events.
+            </para>
+            <para>
+            If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is set to a value less than
+            or equal to 1 then no buffering will occur. The logging event
+            will be delivered synchronously (depending on the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/>
+            and <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> properties). Otherwise the event will
+            be buffered.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> that causes the 
+            buffer to be sent immediately.
+            </summary>
+            <value>
+            The <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> that causes the buffer to be
+            sent immediately.
+            </value>
+            <remarks>
+            <para>
+            The evaluator will be called for each event that is appended to this 
+            appender. If the evaluator triggers then the current buffer will 
+            immediately be sent (see <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>).
+            </para>
+            <para>If <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> is set to <c>true</c> then an
+            <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be specified.</para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator">
+            <summary>
+            Gets or sets the value of the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> to use.
+            </summary>
+            <value>
+            The value of the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> to use.
+            </value>
+            <remarks>
+            <para>
+            The evaluator will be called for each event that is discarded from this 
+            appender. If the evaluator triggers then the current buffer will immediately 
+            be sent (see <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>).
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData">
+            <summary>
+            Gets or sets a value indicating if only part of the logging event data
+            should be fixed.
+            </summary>
+            <value>
+            <c>true</c> if the appender should only fix part of the logging event 
+            data, otherwise <c>false</c>. The default is <c>false</c>.
+            </value>
+            <remarks>
+            <para>
+            Setting this property to <c>true</c> will cause only part of the
+            event data to be fixed and serialized. This will improve performance.
+            </para>
+            <para>
+            See <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(log4net.Core.FixFlags)"/> for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.BufferingAppenderSkeleton.Fix">
+            <summary>
+            Gets or sets a the fields that will be fixed in the event
+            </summary>
+            <value>
+            The event fields that will be fixed before the event is buffered
+            </value>
+            <remarks>
+            <para>
+            The logging event needs to have certain thread specific values 
+            captured before it can be buffered. See <see cref="P:log4net.Core.LoggingEvent.Fix"/>
+            for details.
+            </para>
+            </remarks>
+            <seealso cref="P:log4net.Core.LoggingEvent.Fix"/>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.#ctor">
+            <summary> 
+            Initializes a new instance of the <see cref="T:log4net.Appender.AdoNetAppender"/> class.
+            </summary>
+            <remarks>
+            Public default constructor to initialize a new instance of this class.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.OnClose">
+            <summary>
+            Override the parent method to close the database
+            </summary>
+            <remarks>
+            <para>
+            Closes the database command and database connection.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.SendBuffer(log4net.Core.LoggingEvent[])">
+            <summary>
+            Inserts the events into the database.
+            </summary>
+            <param name="events">The events to insert into the database.</param>
+            <remarks>
+            <para>
+            Insert all the events specified in the <paramref name="events"/>
+            array into the database.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.AddParameter(log4net.Appender.AdoNetAppenderParameter)">
+            <summary>
+            Adds a parameter to the command.
+            </summary>
+            <param name="parameter">The parameter to add to the command.</param>
+            <remarks>
+            <para>
+            Adds a parameter to the ordered list of command parameters.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.SendBuffer(System.Data.IDbTransaction,log4net.Core.LoggingEvent[])">
+            <summary>
+            Writes the events to the database using the transaction specified.
+            </summary>
+            <param name="dbTran">The transaction that the events will be executed under.</param>
+            <param name="events">The array of events to insert into the database.</param>
+            <remarks>
+            <para>
+            The transaction argument can be <c>null</c> if the appender has been
+            configured not to use transactions. See <see cref="P:log4net.Appender.AdoNetAppender.UseTransactions"/>
+            property for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.GetLogStatement(log4net.Core.LoggingEvent)">
+            <summary>
+            Formats the log message into database statement text.
+            </summary>
+            <param name="logEvent">The event being logged.</param>
+            <remarks>
+            This method can be overridden by subclasses to provide 
+            more control over the format of the database statement.
+            </remarks>
+            <returns>
+            Text that can be passed to a <see cref="T:System.Data.IDbCommand"/>.
+            </returns>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.InitializeDatabaseConnection">
+            <summary>
+            Connects to the database.
+            </summary>		
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.ResolveConnectionType">
+            <summary>
+            Retrieves the class type of the ADO.NET provider.
+            </summary>
+            <remarks>
+            <para>
+            Gets the Type of the ADO.NET provider to use to connect to the
+            database. This method resolves the type specified in the 
+            <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/> property.
+            </para>
+            <para>
+            Subclasses can override this method to return a different type
+            if necessary.
+            </para>
+            </remarks>
+            <returns>The <see cref="T:System.Type"/> of the ADO.NET provider</returns>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppender.InitializeDatabaseCommand">
+            <summary>
+            Prepares the database command and initialize the parameters.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_usePreparedCommand">
+            <summary>
+            Flag to indicate if we are using a command object
+            </summary>
+            <remarks>
+            <para>
+            Set to <c>true</c> when the appender is to use a prepared
+            statement or stored procedure to insert into the database.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_parameters">
+            <summary>
+            The list of <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> objects.
+            </summary>
+            <remarks>
+            <para>
+            The list of <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> objects.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_securityContext">
+            <summary>
+            The security context to use for privileged calls
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_dbConnection">
+            <summary>
+            The <see cref="T:System.Data.IDbConnection"/> that will be used
+            to insert logging events into a database.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_dbCommand">
+            <summary>
+            The database command.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_connectionString">
+            <summary>
+            Database connection string.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_connectionType">
+            <summary>
+            String type name of the <see cref="T:System.Data.IDbConnection"/> type name.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_commandText">
+            <summary>
+            The text of the command.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_commandType">
+            <summary>
+            The command type.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_useTransactions">
+            <summary>
+            Indicates whether to use transactions when writing to the database.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppender.m_reconnectOnError">
+            <summary>
+            Indicates whether to use transactions when writing to the database.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppender.ConnectionString">
+            <summary>
+            Gets or sets the database connection string that is used to connect to 
+            the database.
+            </summary>
+            <value>
+            The database connection string used to connect to the database.
+            </value>
+            <remarks>
+            <para>
+            The connections string is specific to the connection type.
+            See <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/> for more information.
+            </para>
+            </remarks>
+            <example>Connection string for MS Access via ODBC:
+            <code>"DSN=MS Access Database;UID=admin;PWD=;SystemDB=C:\data\System.mdw;SafeTransactions = 0;FIL=MS Access;DriverID = 25;DBQ=C:\data\train33.mdb"</code>
+            </example>
+            <example>Another connection string for MS Access via ODBC:
+            <code>"Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Work\cvs_root\log4net-1.2\access.mdb;UID=;PWD=;"</code>
+            </example>
+            <example>Connection string for MS Access via OLE DB:
+            <code>"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Work\cvs_root\log4net-1.2\access.mdb;User Id=;Password=;"</code>
+            </example>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppender.ConnectionType">
+            <summary>
+            Gets or sets the type name of the <see cref="T:System.Data.IDbConnection"/> connection
+            that should be created.
+            </summary>
+            <value>
+            The type name of the <see cref="T:System.Data.IDbConnection"/> connection.
+            </value>
+            <remarks>
+            <para>
+            The type name of the ADO.NET provider to use.
+            </para>
+            <para>
+            The default is to use the OLE DB provider.
+            </para>
+            </remarks>
+            <example>Use the OLE DB Provider. This is the default value.
+            <code>System.Data.OleDb.OleDbConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
+            </example>
+            <example>Use the MS SQL Server Provider. 
+            <code>System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
+            </example>
+            <example>Use the ODBC Provider. 
+            <code>Microsoft.Data.Odbc.OdbcConnection,Microsoft.Data.Odbc,version=1.0.3300.0,publicKeyToken=b77a5c561934e089,culture=neutral</code>
+            This is an optional package that you can download from 
+            <a href="http://msdn.microsoft.com/downloads">http://msdn.microsoft.com/downloads</a> 
+            search for <b>ODBC .NET Data Provider</b>.
+            </example>
+            <example>Use the Oracle Provider. 
+            <code>System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
+            This is an optional package that you can download from 
+            <a href="http://msdn.microsoft.com/downloads">http://msdn.microsoft.com/downloads</a> 
+            search for <b>.NET Managed Provider for Oracle</b>.
+            </example>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppender.CommandText">
+            <summary>
+            Gets or sets the command text that is used to insert logging events
+            into the database.
+            </summary>
+            <value>
+            The command text used to insert logging events into the database.
+            </value>
+            <remarks>
+            <para>
+            Either the text of the prepared statement or the
+            name of the stored procedure to execute to write into
+            the database.
+            </para>
+            <para>
+            The <see cref="P:log4net.Appender.AdoNetAppender.CommandType"/> property determines if
+            this text is a prepared statement or a stored procedure.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppender.CommandType">
+            <summary>
+            Gets or sets the command type to execute.
+            </summary>
+            <value>
+            The command type to execute.
+            </value>
+            <remarks>
+            <para>
+            This value may be either <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>) to specify
+            that the <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> is a prepared statement to execute, 
+            or <see cref="F:System.Data.CommandType.StoredProcedure"/> (<c>System.Data.CommandType.StoredProcedure</c>) to specify that the
+            <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> property is the name of a stored procedure
+            to execute.
+            </para>
+            <para>
+            The default value is <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>).
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppender.UseTransactions">
+            <summary>
+            Should transactions be used to insert logging events in the database.
+            </summary>
+            <value>
+            <c>true</c> if transactions should be used to insert logging events in
+            the database, otherwise <c>false</c>. The default value is <c>true</c>.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets a value that indicates whether transactions should be used
+            to insert logging events in the database.
+            </para>
+            <para>
+            When set a single transaction will be used to insert the buffered events
+            into the database. Otherwise each event will be inserted without using
+            an explicit transaction.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppender.SecurityContext">
+            <summary>
+            Gets or sets the <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> used to call the NetSend method.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> used to call the NetSend method.
+            </value>
+            <remarks>
+            <para>
+            Unless a <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> specified here for this appender
+            the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
+            security context to use. The default behavior is to use the security context
+            of the current thread.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppender.ReconnectOnError">
+            <summary>
+            Should this appender try to reconnect to the database on error.
+            </summary>
+            <value>
+            <c>true</c> if the appender should try to reconnect to the database after an
+            error has occurred, otherwise <c>false</c>. The default value is <c>false</c>, 
+            i.e. not to try to reconnect.
+            </value>
+            <remarks>
+            <para>
+            The default behaviour is for the appender not to try to reconnect to the
+            database if an error occurs. Subsequent logging events are discarded.
+            </para>
+            <para>
+            To force the appender to attempt to reconnect to the database set this
+            property to <c>true</c>.
+            </para>
+            <note>
+            When the appender attempts to connect to the database there may be a
+            delay of up to the connection timeout specified in the connection string.
+            This delay will block the calling application's thread. 
+            Until the connection can be reestablished this potential delay may occur multiple times.
+            </note>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppender.Connection">
+            <summary>
+            Gets or sets the underlying <see cref="T:System.Data.IDbConnection"/>.
+            </summary>
+            <value>
+            The underlying <see cref="T:System.Data.IDbConnection"/>.
+            </value>
+            <remarks>
+            <see cref="T:log4net.Appender.AdoNetAppender"/> creates a <see cref="T:System.Data.IDbConnection"/> to insert 
+            logging events into a database.  Classes deriving from <see cref="T:log4net.Appender.AdoNetAppender"/> 
+            can use this property to get or set this <see cref="T:System.Data.IDbConnection"/>.  Use the 
+            underlying <see cref="T:System.Data.IDbConnection"/> returned from <see cref="P:log4net.Appender.AdoNetAppender.Connection"/> if 
+            you require access beyond that which <see cref="T:log4net.Appender.AdoNetAppender"/> provides.
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.AdoNetAppenderParameter">
+            <summary>
+            Parameter type used by the <see cref="T:log4net.Appender.AdoNetAppender"/>.
+            </summary>
+            <remarks>
+            <para>
+            This class provides the basic database parameter properties
+            as defined by the <see cref="T:System.Data.IDbDataParameter"/> interface.
+            </para>
+            <para>This type can be subclassed to provide database specific
+            functionality. The two methods that are called externally are
+            <see cref="M:log4net.Appender.AdoNetAppenderParameter.Prepare(System.Data.IDbCommand)"/> and <see cref="M:log4net.Appender.AdoNetAppenderParameter.FormatValue(System.Data.IDbCommand,log4net.Core.LoggingEvent)"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppenderParameter.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> class.
+            </summary>
+            <remarks>
+            Default constructor for the AdoNetAppenderParameter class.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppenderParameter.Prepare(System.Data.IDbCommand)">
+            <summary>
+            Prepare the specified database command object.
+            </summary>
+            <param name="command">The command to prepare.</param>
+            <remarks>
+            <para>
+            Prepares the database command object by adding
+            this parameter to its collection of parameters.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AdoNetAppenderParameter.FormatValue(System.Data.IDbCommand,log4net.Core.LoggingEvent)">
+            <summary>
+            Renders the logging event and set the parameter value in the command.
+            </summary>
+            <param name="command">The command containing the parameter.</param>
+            <param name="loggingEvent">The event to be rendered.</param>
+            <remarks>
+            <para>
+            Renders the logging event using this parameters layout
+            object. Sets the value of the parameter on the command object.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppenderParameter.m_parameterName">
+            <summary>
+            The name of this parameter.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppenderParameter.m_dbType">
+            <summary>
+            The database type for this parameter.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppenderParameter.m_inferType">
+            <summary>
+            Flag to infer type rather than use the DbType
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppenderParameter.m_precision">
+            <summary>
+            The precision for this parameter.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppenderParameter.m_scale">
+            <summary>
+            The scale for this parameter.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppenderParameter.m_size">
+            <summary>
+            The size for this parameter.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AdoNetAppenderParameter.m_layout">
+            <summary>
+            The <see cref="T:log4net.Layout.IRawLayout"/> to use to render the
+            logging event into an object for this parameter.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppenderParameter.ParameterName">
+            <summary>
+            Gets or sets the name of this parameter.
+            </summary>
+            <value>
+            The name of this parameter.
+            </value>
+            <remarks>
+            <para>
+            The name of this parameter. The parameter name
+            must match up to a named parameter to the SQL stored procedure
+            or prepared statement.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppenderParameter.DbType">
+            <summary>
+            Gets or sets the database type for this parameter.
+            </summary>
+            <value>
+            The database type for this parameter.
+            </value>
+            <remarks>
+            <para>
+            The database type for this parameter. This property should
+            be set to the database type from the <see cref="P:log4net.Appender.AdoNetAppenderParameter.DbType"/>
+            enumeration. See <see cref="P:System.Data.IDataParameter.DbType"/>.
+            </para>
+            <para>
+            This property is optional. If not specified the ADO.NET provider 
+            will attempt to infer the type from the value.
+            </para>
+            </remarks>
+            <seealso cref="P:System.Data.IDataParameter.DbType"/>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppenderParameter.Precision">
+            <summary>
+            Gets or sets the precision for this parameter.
+            </summary>
+            <value>
+            The precision for this parameter.
+            </value>
+            <remarks>
+            <para>
+            The maximum number of digits used to represent the Value.
+            </para>
+            <para>
+            This property is optional. If not specified the ADO.NET provider 
+            will attempt to infer the precision from the value.
+            </para>
+            </remarks>
+            <seealso cref="P:System.Data.IDbDataParameter.Precision"/>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppenderParameter.Scale">
+            <summary>
+            Gets or sets the scale for this parameter.
+            </summary>
+            <value>
+            The scale for this parameter.
+            </value>
+            <remarks>
+            <para>
+            The number of decimal places to which Value is resolved.
+            </para>
+            <para>
+            This property is optional. If not specified the ADO.NET provider 
+            will attempt to infer the scale from the value.
+            </para>
+            </remarks>
+            <seealso cref="P:System.Data.IDbDataParameter.Scale"/>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppenderParameter.Size">
+            <summary>
+            Gets or sets the size for this parameter.
+            </summary>
+            <value>
+            The size for this parameter.
+            </value>
+            <remarks>
+            <para>
+            The maximum size, in bytes, of the data within the column.
+            </para>
+            <para>
+            This property is optional. If not specified the ADO.NET provider 
+            will attempt to infer the size from the value.
+            </para>
+            </remarks>
+            <seealso cref="P:System.Data.IDbDataParameter.Size"/>
+        </member>
+        <member name="P:log4net.Appender.AdoNetAppenderParameter.Layout">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Layout.IRawLayout"/> to use to 
+            render the logging event into an object for this 
+            parameter.
+            </summary>
+            <value>
+            The <see cref="T:log4net.Layout.IRawLayout"/> used to render the
+            logging event into an object for this parameter.
+            </value>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Layout.IRawLayout"/> that renders the value for this
+            parameter.
+            </para>
+            <para>
+            The <see cref="T:log4net.Layout.RawLayoutConverter"/> can be used to adapt
+            any <see cref="T:log4net.Layout.ILayout"/> into a <see cref="T:log4net.Layout.IRawLayout"/>
+            for use in the property.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.AnsiColorTerminalAppender">
+            <summary>
+            Appends logging events to the terminal using ANSI color escape sequences.
+            </summary>
+            <remarks>
+            <para>
+            AnsiColorTerminalAppender appends log events to the standard output stream
+            or the error output stream using a layout specified by the 
+            user. It also allows the color of a specific level of message to be set.
+            </para>
+            <note>
+            This appender expects the terminal to understand the VT100 control set 
+            in order to interpret the color codes. If the terminal or console does not
+            understand the control codes the behavior is not defined.
+            </note>
+            <para>
+            By default, all output is written to the console's standard output stream.
+            The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> property can be set to direct the output to the
+            error stream.
+            </para>
+            <para>
+            NOTE: This appender writes each message to the <c>System.Console.Out</c> or 
+            <c>System.Console.Error</c> that is set at the time the event is appended.
+            Therefore it is possible to programmatically redirect the output of this appender 
+            (for example NUnit does this to capture program output). While this is the desired
+            behavior of this appender it may have security implications in your application. 
+            </para>
+            <para>
+            When configuring the ANSI colored terminal appender, a mapping should be
+            specified to map a logging level to a color. For example:
+            </para>
+            <code lang="XML" escaped="true">
+            <mapping>
+            	<level value="ERROR"/>
+            	<foreColor value="White"/>
+            	<backColor value="Red"/>
+                <attributes value="Bright,Underscore"/>
+            </mapping>
+            <mapping>
+            	<level value="DEBUG"/>
+            	<backColor value="Green"/>
+            </mapping>
+            </code>
+            <para>
+            The Level is the standard log4net logging level and ForeColor and BackColor can be any
+            of the following values:
+            <list type="bullet">
+            <item><term>Blue</term><description></description></item>
+            <item><term>Green</term><description></description></item>
+            <item><term>Red</term><description></description></item>
+            <item><term>White</term><description></description></item>
+            <item><term>Yellow</term><description></description></item>
+            <item><term>Purple</term><description></description></item>
+            <item><term>Cyan</term><description></description></item>
+            </list>
+            These color values cannot be combined together to make new colors.
+            </para>
+            <para>
+            The attributes can be any combination of the following:
+            <list type="bullet">
+            <item><term>Bright</term><description>foreground is brighter</description></item>
+            <item><term>Dim</term><description>foreground is dimmer</description></item>
+            <item><term>Underscore</term><description>message is underlined</description></item>
+            <item><term>Blink</term><description>foreground is blinking (does not work on all terminals)</description></item>
+            <item><term>Reverse</term><description>foreground and background are reversed</description></item>
+            <item><term>Hidden</term><description>output is hidden</description></item>
+            <item><term>Strikethrough</term><description>message has a line through it</description></item>
+            </list>
+            While any of these attributes may be combined together not all combinations
+            work well together, for example setting both <i>Bright</i> and <i>Dim</i> attributes makes
+            no sense.
+            </para>
+            </remarks>
+            <author>Patrick Wagstrom</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.ConsoleOut">
+            <summary>
+            The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console 
+            standard output stream.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console 
+            standard output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.ConsoleError">
+            <summary>
+            The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console 
+            standard error output stream.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console 
+            standard error output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.PostEventCodes">
+            <summary>
+            Ansi code to reset terminal
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.AnsiColorTerminalAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.AnsiColorTerminalAppender"/> class.
+            </summary>
+            <remarks>
+            The instance of the <see cref="T:log4net.Appender.AnsiColorTerminalAppender"/> class is set up to write 
+            to the standard output stream.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AnsiColorTerminalAppender.AddMapping(log4net.Appender.AnsiColorTerminalAppender.LevelColors)">
+            <summary>
+            Add a mapping of level to color
+            </summary>
+            <param name="mapping">The mapping to add</param>
+            <remarks>
+            <para>
+            Add a <see cref="T:log4net.Appender.AnsiColorTerminalAppender.LevelColors"/> mapping to this appender.
+            Each mapping defines the foreground and background colours
+            for a level.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AnsiColorTerminalAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes the event to the console.
+            </para>
+            <para>
+            The format of the output will depend on the appender's layout.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AnsiColorTerminalAppender.ActivateOptions">
+            <summary>
+            Initialize the options for this appender
+            </summary>
+            <remarks>
+            <para>
+            Initialize the level to color mappings set on this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.m_writeToErrorStream">
+            <summary>
+            Flag to write output to the error stream rather than the standard output stream
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.m_levelMapping">
+            <summary>
+            Mapping from level object to color value
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.AnsiColorTerminalAppender.Target">
+            <summary>
+            Target is the value of the console output stream.
+            </summary>
+            <value>
+            Target is the value of the console output stream.
+            This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
+            </value>
+            <remarks>
+            <para>
+            Target is the value of the console output stream.
+            This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AnsiColorTerminalAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes">
+            <summary>
+            The enum of possible display attributes
+            </summary>
+            <remarks>
+            <para>
+            The following flags can be combined together to
+            form the ANSI color attributes.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Appender.AnsiColorTerminalAppender"/>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Bright">
+            <summary>
+            text is bright
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Dim">
+            <summary>
+            text is dim
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Underscore">
+            <summary>
+            text is underlined
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Blink">
+            <summary>
+            text is blinking
+            </summary>
+            <remarks>
+            Not all terminals support this attribute
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Reverse">
+            <summary>
+            text and background colors are reversed
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Hidden">
+            <summary>
+            text is hidden
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Strikethrough">
+            <summary>
+            text is displayed with a strikethrough
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.AnsiColorTerminalAppender.AnsiColor">
+            <summary>
+            The enum of possible foreground or background color values for 
+            use with the color mapping method
+            </summary>
+            <remarks>
+            <para>
+            The output can be in one for the following ANSI colors.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Appender.AnsiColorTerminalAppender"/>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Black">
+            <summary>
+            color is black
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Red">
+            <summary>
+            color is red
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Green">
+            <summary>
+            color is green
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Yellow">
+            <summary>
+            color is yellow
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Blue">
+            <summary>
+            color is blue
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Magenta">
+            <summary>
+            color is magenta
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Cyan">
+            <summary>
+            color is cyan
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.White">
+            <summary>
+            color is white
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.AnsiColorTerminalAppender.LevelColors">
+            <summary>
+            A class to act as a mapping between the level that a logging call is made at and
+            the color it should be displayed as.
+            </summary>
+            <remarks>
+            <para>
+            Defines the mapping between a level and the color it should be displayed in.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.LevelMappingEntry">
+            <summary>
+            An entry in the <see cref="T:log4net.Util.LevelMapping"/>
+            </summary>
+            <remarks>
+            <para>
+            This is an abstract base class for types that are stored in the
+            <see cref="T:log4net.Util.LevelMapping"/> object.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.LevelMappingEntry.#ctor">
+            <summary>
+            Default protected constructor
+            </summary>
+            <remarks>
+            <para>
+            Default protected constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LevelMappingEntry.ActivateOptions">
+            <summary>
+            Initialize any options defined on this entry
+            </summary>
+            <remarks>
+            <para>
+            Should be overridden by any classes that need to initialise based on their options
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.LevelMappingEntry.Level">
+            <summary>
+            The level that is the key for this mapping 
+            </summary>
+            <value>
+            The <see cref="P:log4net.Util.LevelMappingEntry.Level"/> that is the key for this mapping 
+            </value>
+            <remarks>
+            <para>
+            Get or set the <see cref="P:log4net.Util.LevelMappingEntry.Level"/> that is the key for this
+            mapping subclass.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ActivateOptions">
+            <summary>
+            Initialize the options for the object
+            </summary>
+            <remarks>
+            <para>
+            Combine the <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor"/> together
+            and append the attributes.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor">
+            <summary>
+            The mapped foreground color for the specified level
+            </summary>
+            <remarks>
+            <para>
+            Required property.
+            The mapped foreground color for the specified level
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor">
+            <summary>
+            The mapped background color for the specified level
+            </summary>
+            <remarks>
+            <para>
+            Required property.
+            The mapped background color for the specified level
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes">
+            <summary>
+            The color attributes for the specified level
+            </summary>
+            <remarks>
+            <para>
+            Required property.
+            The color attributes for the specified level
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.CombinedColor">
+            <summary>
+            The combined <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor"/>, <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor"/> and
+            <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes"/> suitable for setting the ansi terminal color.
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.AppenderCollection">
+            <summary>
+            A strongly-typed collection of <see cref="T:log4net.Appender.IAppender"/> objects.
+            </summary>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.ReadOnly(log4net.Appender.AppenderCollection)">
+            <summary>
+            Creates a read-only wrapper for a <c>AppenderCollection</c> instance.
+            </summary>
+            <param name="list">list to create a readonly wrapper arround</param>
+            <returns>
+            An <c>AppenderCollection</c> wrapper that is read-only.
+            </returns>
+        </member>
+        <member name="F:log4net.Appender.AppenderCollection.EmptyCollection">
+            <summary>
+            An empty readonly static AppenderCollection
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.#ctor">
+            <summary>
+            Initializes a new instance of the <c>AppenderCollection</c> class
+            that is empty and has the default initial capacity.
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.#ctor(System.Int32)">
+            <summary>
+            Initializes a new instance of the <c>AppenderCollection</c> class
+            that has the specified initial capacity.
+            </summary>
+            <param name="capacity">
+            The number of elements that the new <c>AppenderCollection</c> is initially capable of storing.
+            </param>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection)">
+            <summary>
+            Initializes a new instance of the <c>AppenderCollection</c> class
+            that contains elements copied from the specified <c>AppenderCollection</c>.
+            </summary>
+            <param name="c">The <c>AppenderCollection</c> whose elements are copied to the new collection.</param>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.IAppender[])">
+            <summary>
+            Initializes a new instance of the <c>AppenderCollection</c> class
+            that contains elements copied from the specified <see cref="T:log4net.Appender.IAppender"/> array.
+            </summary>
+            <param name="a">The <see cref="T:log4net.Appender.IAppender"/> array whose elements are copied to the new list.</param>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.#ctor(System.Collections.ICollection)">
+            <summary>
+            Initializes a new instance of the <c>AppenderCollection</c> class
+            that contains elements copied from the specified <see cref="T:log4net.Appender.IAppender"/> collection.
+            </summary>
+            <param name="col">The <see cref="T:log4net.Appender.IAppender"/> collection whose elements are copied to the new list.</param>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection.Tag)">
+            <summary>
+            Allow subclasses to avoid our default constructors
+            </summary>
+            <param name="tag"></param>
+            <exclude/>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[])">
+            <summary>
+            Copies the entire <c>AppenderCollection</c> to a one-dimensional
+            <see cref="T:log4net.Appender.IAppender"/> array.
+            </summary>
+            <param name="array">The one-dimensional <see cref="T:log4net.Appender.IAppender"/> array to copy to.</param>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[],System.Int32)">
+            <summary>
+            Copies the entire <c>AppenderCollection</c> to a one-dimensional
+            <see cref="T:log4net.Appender.IAppender"/> array, starting at the specified index of the target array.
+            </summary>
+            <param name="array">The one-dimensional <see cref="T:log4net.Appender.IAppender"/> array to copy to.</param>
+            <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Add(log4net.Appender.IAppender)">
+            <summary>
+            Adds a <see cref="T:log4net.Appender.IAppender"/> to the end of the <c>AppenderCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to be added to the end of the <c>AppenderCollection</c>.</param>
+            <returns>The index at which the value has been added.</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Clear">
+            <summary>
+            Removes all elements from the <c>AppenderCollection</c>.
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Clone">
+            <summary>
+            Creates a shallow copy of the <see cref="T:log4net.Appender.AppenderCollection"/>.
+            </summary>
+            <returns>A new <see cref="T:log4net.Appender.AppenderCollection"/> with a shallow copy of the collection data.</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Contains(log4net.Appender.IAppender)">
+            <summary>
+            Determines whether a given <see cref="T:log4net.Appender.IAppender"/> is in the <c>AppenderCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to check for.</param>
+            <returns><c>true</c> if <paramref name="item"/> is found in the <c>AppenderCollection</c>; otherwise, <c>false</c>.</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.IndexOf(log4net.Appender.IAppender)">
+            <summary>
+            Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Appender.IAppender"/>
+            in the <c>AppenderCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to locate in the <c>AppenderCollection</c>.</param>
+            <returns>
+            The zero-based index of the first occurrence of <paramref name="item"/> 
+            in the entire <c>AppenderCollection</c>, if found; otherwise, -1.
+            </returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Insert(System.Int32,log4net.Appender.IAppender)">
+            <summary>
+            Inserts an element into the <c>AppenderCollection</c> at the specified index.
+            </summary>
+            <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
+            <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to insert.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Remove(log4net.Appender.IAppender)">
+            <summary>
+            Removes the first occurrence of a specific <see cref="T:log4net.Appender.IAppender"/> from the <c>AppenderCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to remove from the <c>AppenderCollection</c>.</param>
+            <exception cref="T:System.ArgumentException">
+            The specified <see cref="T:log4net.Appender.IAppender"/> was not found in the <c>AppenderCollection</c>.
+            </exception>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.RemoveAt(System.Int32)">
+            <summary>
+            Removes the element at the specified index of the <c>AppenderCollection</c>.
+            </summary>
+            <param name="index">The zero-based index of the element to remove.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.GetEnumerator">
+            <summary>
+            Returns an enumerator that can iterate through the <c>AppenderCollection</c>.
+            </summary>
+            <returns>An <see cref="T:log4net.Appender.AppenderCollection.Enumerator"/> for the entire <c>AppenderCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.AppenderCollection)">
+            <summary>
+            Adds the elements of another <c>AppenderCollection</c> to the current <c>AppenderCollection</c>.
+            </summary>
+            <param name="x">The <c>AppenderCollection</c> whose elements should be added to the end of the current <c>AppenderCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.IAppender[])">
+            <summary>
+            Adds the elements of a <see cref="T:log4net.Appender.IAppender"/> array to the current <c>AppenderCollection</c>.
+            </summary>
+            <param name="x">The <see cref="T:log4net.Appender.IAppender"/> array whose elements should be added to the end of the <c>AppenderCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.AddRange(System.Collections.ICollection)">
+            <summary>
+            Adds the elements of a <see cref="T:log4net.Appender.IAppender"/> collection to the current <c>AppenderCollection</c>.
+            </summary>
+            <param name="col">The <see cref="T:log4net.Appender.IAppender"/> collection whose elements should be added to the end of the <c>AppenderCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.TrimToSize">
+            <summary>
+            Sets the capacity to the actual number of elements.
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.ToArray">
+            <summary>
+            Return the collection elements as an array
+            </summary>
+            <returns>the array</returns>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.ValidateIndex(System.Int32)">
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.ValidateIndex(System.Int32,System.Boolean)">
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.Count">
+            <summary>
+            Gets the number of elements actually contained in the <c>AppenderCollection</c>.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.IsSynchronized">
+            <summary>
+            Gets a value indicating whether access to the collection is synchronized (thread-safe).
+            </summary>
+            <returns>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</returns>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.SyncRoot">
+            <summary>
+            Gets an object that can be used to synchronize access to the collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.Item(System.Int32)">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Appender.IAppender"/> at the specified index.
+            </summary>
+            <param name="index">The zero-based index of the element to get or set.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            	<para><paramref name="index"/> is less than zero</para>
+            	<para>-or-</para>
+            	<para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.IsFixedSize">
+            <summary>
+            Gets a value indicating whether the collection has a fixed size.
+            </summary>
+            <value>true if the collection has a fixed size; otherwise, false. The default is false</value>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.IsReadOnly">
+            <summary>
+            Gets a value indicating whether the IList is read-only.
+            </summary>
+            <value>true if the collection is read-only; otherwise, false. The default is false</value>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.Capacity">
+            <summary>
+            Gets or sets the number of elements the <c>AppenderCollection</c> can contain.
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator">
+            <summary>
+            Supports type-safe iteration over a <see cref="T:log4net.Appender.AppenderCollection"/>.
+            </summary>
+            <exclude/>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.MoveNext">
+            <summary>
+            Advances the enumerator to the next element in the collection.
+            </summary>
+            <returns>
+            <c>true</c> if the enumerator was successfully advanced to the next element; 
+            <c>false</c> if the enumerator has passed the end of the collection.
+            </returns>
+            <exception cref="T:System.InvalidOperationException">
+            The collection was modified after the enumerator was created.
+            </exception>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.Reset">
+            <summary>
+            Sets the enumerator to its initial position, before the first element in the collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.Current">
+            <summary>
+            Gets the current element in the collection.
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.AppenderCollection.Tag">
+            <summary>
+            Type visible only to our subclasses
+            Used to access protected constructor
+            </summary>
+            <exclude/>
+        </member>
+        <member name="F:log4net.Appender.AppenderCollection.Tag.Default">
+            <summary>
+            A value
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.AppenderCollection.Enumerator">
+            <summary>
+            Supports simple iteration over a <see cref="T:log4net.Appender.AppenderCollection"/>.
+            </summary>
+            <exclude/>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Enumerator.#ctor(log4net.Appender.AppenderCollection)">
+            <summary>
+            Initializes a new instance of the <c>Enumerator</c> class.
+            </summary>
+            <param name="tc"></param>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Enumerator.MoveNext">
+            <summary>
+            Advances the enumerator to the next element in the collection.
+            </summary>
+            <returns>
+            <c>true</c> if the enumerator was successfully advanced to the next element; 
+            <c>false</c> if the enumerator has passed the end of the collection.
+            </returns>
+            <exception cref="T:System.InvalidOperationException">
+            The collection was modified after the enumerator was created.
+            </exception>
+        </member>
+        <member name="M:log4net.Appender.AppenderCollection.Enumerator.Reset">
+            <summary>
+            Sets the enumerator to its initial position, before the first element in the collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.AppenderCollection.Enumerator.Current">
+            <summary>
+            Gets the current element in the collection.
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection">
+            <exclude/>
+        </member>
+        <member name="T:log4net.Appender.AspNetTraceAppender">
+            <summary>
+            <para>
+            Appends log events to the ASP.NET <see cref="T:System.Web.TraceContext"/> system.
+            </para>
+            </summary>
+            <remarks>
+            <para>
+            Diagnostic information and tracing messages that you specify are appended to the output 
+            of the page that is sent to the requesting browser. Optionally, you can view this information
+            from a separate trace viewer (Trace.axd) that displays trace information for every page in a 
+            given application.
+            </para>
+            <para>
+            Trace statements are processed and displayed only when tracing is enabled. You can control 
+            whether tracing is displayed to a page, to the trace viewer, or both.
+            </para>
+            <para>
+            The logging event is passed to the <see cref="M:System.Web.TraceContext.Write(System.String)"/> or 
+            <see cref="M:System.Web.TraceContext.Warn(System.String)"/> method depending on the level of the logging event.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Appender.AspNetTraceAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.AspNetTraceAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.AspNetTraceAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Write the logging event to the ASP.NET trace
+            </summary>
+            <param name="loggingEvent">the event to log</param>
+            <remarks>
+            <para>
+            Write the logging event to the ASP.NET trace
+            <c>HttpContext.Current.Trace</c> 
+            (<see cref="T:System.Web.TraceContext"/>).
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.AspNetTraceAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.BufferingForwardingAppender">
+            <summary>
+            Buffers events and then forwards them to attached appenders.
+            </summary>
+            <remarks>
+            <para>
+            The events are buffered in this appender until conditions are
+            met to allow the appender to deliver the events to the attached 
+            appenders. See <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> for the
+            conditions that cause the buffer to be sent.
+            </para>
+            <para>The forwarding appender can be used to specify different 
+            thresholds and filters for the same appender at different locations 
+            within the hierarchy.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Core.IAppenderAttachable">
+            <summary>
+            Interface for attaching appenders to objects.
+            </summary>
+            <remarks>
+            <para>
+            Interface for attaching, removing and retrieving appenders.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.IAppenderAttachable.AddAppender(log4net.Appender.IAppender)">
+            <summary>
+            Attaches an appender.
+            </summary>
+            <param name="appender">The appender to add.</param>
+            <remarks>
+            <para>
+            Add the specified appender. The implementation may
+            choose to allow or deny duplicate appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IAppenderAttachable.GetAppender(System.String)">
+            <summary>
+            Gets an attached appender with the specified name.
+            </summary>
+            <param name="name">The name of the appender to get.</param>
+            <returns>
+            The appender with the name specified, or <c>null</c> if no appender with the
+            specified name is found.
+            </returns>
+            <remarks>
+            <para>
+            Returns an attached appender with the <paramref name="name"/> specified.
+            If no appender with the specified name is found <c>null</c> will be
+            returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IAppenderAttachable.RemoveAllAppenders">
+            <summary>
+            Removes all attached appenders.
+            </summary>
+            <remarks>
+            <para>
+            Removes and closes all attached appenders
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IAppenderAttachable.RemoveAppender(log4net.Appender.IAppender)">
+            <summary>
+            Removes the specified appender from the list of attached appenders.
+            </summary>
+            <param name="appender">The appender to remove.</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            <para>
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IAppenderAttachable.RemoveAppender(System.String)">
+            <summary>
+            Removes the appender with the specified name from the list of appenders.
+            </summary>
+            <param name="name">The name of the appender to remove.</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            <para>
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.IAppenderAttachable.Appenders">
+            <summary>
+            Gets all attached appenders.
+            </summary>
+            <value>
+            A collection of attached appenders.
+            </value>
+            <remarks>
+            <para>
+            Gets a collection of attached appenders.
+            If there are no attached appenders the
+            implementation should return an empty 
+            collection rather than <c>null</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingForwardingAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.BufferingForwardingAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingForwardingAppender.OnClose">
+            <summary>
+            Closes the appender and releases resources.
+            </summary>
+            <remarks>
+            <para>
+            Releases any resources allocated within the appender such as file handles, 
+            network connections, etc.
+            </para>
+            <para>
+            It is a programming error to append to a closed appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingForwardingAppender.SendBuffer(log4net.Core.LoggingEvent[])">
+            <summary>
+            Send the events.
+            </summary>
+            <param name="events">The events that need to be send.</param>
+            <remarks>
+            <para>
+            Forwards the events to the attached appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingForwardingAppender.AddAppender(log4net.Appender.IAppender)">
+            <summary>
+            Adds an <see cref="T:log4net.Appender.IAppender"/> to the list of appenders of this
+            instance.
+            </summary>
+            <param name="newAppender">The <see cref="T:log4net.Appender.IAppender"/> to add to this appender.</param>
+            <remarks>
+            <para>
+            If the specified <see cref="T:log4net.Appender.IAppender"/> is already in the list of
+            appenders, then it won't be added again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingForwardingAppender.GetAppender(System.String)">
+            <summary>
+            Looks for the appender with the specified name.
+            </summary>
+            <param name="name">The name of the appender to lookup.</param>
+            <returns>
+            The appender with the specified name, or <c>null</c>.
+            </returns>
+            <remarks>
+            <para>
+            Get the named appender attached to this buffering appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAllAppenders">
+            <summary>
+            Removes all previously added appenders from this appender.
+            </summary>
+            <remarks>
+            <para>
+            This is useful when re-reading configuration information.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAppender(log4net.Appender.IAppender)">
+            <summary>
+            Removes the specified appender from the list of appenders.
+            </summary>
+            <param name="appender">The appender to remove.</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAppender(System.String)">
+            <summary>
+            Removes the appender with the specified name from the list of appenders.
+            </summary>
+            <param name="name">The name of the appender to remove.</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.BufferingForwardingAppender.m_appenderAttachedImpl">
+            <summary>
+            Implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.BufferingForwardingAppender.Appenders">
+            <summary>
+            Gets the appenders contained in this appender as an 
+            <see cref="T:System.Collections.ICollection"/>.
+            </summary>
+            <remarks>
+            If no appenders can be found, then an <see cref="T:log4net.Util.EmptyCollection"/> 
+            is returned.
+            </remarks>
+            <returns>
+            A collection of the appenders in this appender.
+            </returns>
+        </member>
+        <member name="T:log4net.Appender.ColoredConsoleAppender">
+            <summary>
+            Appends logging events to the console.
+            </summary>
+            <remarks>
+            <para>
+            ColoredConsoleAppender appends log events to the standard output stream
+            or the error output stream using a layout specified by the 
+            user. It also allows the color of a specific type of message to be set.
+            </para>
+            <para>
+            By default, all output is written to the console's standard output stream.
+            The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> property can be set to direct the output to the
+            error stream.
+            </para>
+            <para>
+            NOTE: This appender writes directly to the application's attached console
+            not to the <c>System.Console.Out</c> or <c>System.Console.Error</c> <c>TextWriter</c>.
+            The <c>System.Console.Out</c> and <c>System.Console.Error</c> streams can be
+            programmatically redirected (for example NUnit does this to capture program output).
+            This appender will ignore these redirections because it needs to use Win32
+            API calls to colorize the output. To respect these redirections the <see cref="T:log4net.Appender.ConsoleAppender"/>
+            must be used.
+            </para>
+            <para>
+            When configuring the colored console appender, mapping should be
+            specified to map a logging level to a color. For example:
+            </para>
+            <code lang="XML" escaped="true">
+            <mapping>
+            	<level value="ERROR"/>
+            	<foreColor value="White"/>
+            	<backColor value="Red, HighIntensity"/>
+            </mapping>
+            <mapping>
+            	<level value="DEBUG"/>
+            	<backColor value="Green"/>
+            </mapping>
+            </code>
+            <para>
+            The Level is the standard log4net logging level and ForeColor and BackColor can be any
+            combination of the following values:
+            <list type="bullet">
+            <item><term>Blue</term><description></description></item>
+            <item><term>Green</term><description></description></item>
+            <item><term>Red</term><description></description></item>
+            <item><term>White</term><description></description></item>
+            <item><term>Yellow</term><description></description></item>
+            <item><term>Purple</term><description></description></item>
+            <item><term>Cyan</term><description></description></item>
+            <item><term>HighIntensity</term><description></description></item>
+            </list>
+            </para>
+            </remarks>
+            <author>Rick Hobbs</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.ConsoleOut">
+            <summary>
+            The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console 
+            standard output stream.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console 
+            standard output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.ConsoleError">
+            <summary>
+            The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console 
+            standard error output stream.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console 
+            standard error output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class.
+            </summary>
+            <remarks>
+            The instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class is set up to write 
+            to the standard output stream.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor(log4net.Layout.ILayout)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class
+            with the specified layout.
+            </summary>
+            <param name="layout">the layout to use for this appender</param>
+            <remarks>
+            The instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class is set up to write 
+            to the standard output stream.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor(log4net.Layout.ILayout,System.Boolean)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class
+            with the specified layout.
+            </summary>
+            <param name="layout">the layout to use for this appender</param>
+            <param name="writeToErrorStream">flag set to <c>true</c> to write to the console error stream</param>
+            <remarks>
+            When <paramref name="writeToErrorStream"/> is set to <c>true</c>, output is written to
+            the standard error output stream.  Otherwise, output is written to the standard
+            output stream.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ColoredConsoleAppender.AddMapping(log4net.Appender.ColoredConsoleAppender.LevelColors)">
+            <summary>
+            Add a mapping of level to color - done by the config file
+            </summary>
+            <param name="mapping">The mapping to add</param>
+            <remarks>
+            <para>
+            Add a <see cref="T:log4net.Appender.ColoredConsoleAppender.LevelColors"/> mapping to this appender.
+            Each mapping defines the foreground and background colors
+            for a level.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ColoredConsoleAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes the event to the console.
+            </para>
+            <para>
+            The format of the output will depend on the appender's layout.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ColoredConsoleAppender.ActivateOptions">
+            <summary>
+            Initialize the options for this appender
+            </summary>
+            <remarks>
+            <para>
+            Initialize the level to color mappings set on this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.m_writeToErrorStream">
+            <summary>
+            Flag to write output to the error stream rather than the standard output stream
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.m_levelMapping">
+            <summary>
+            Mapping from level object to color value
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.m_consoleOutputWriter">
+            <summary>
+            The console output stream writer to write to
+            </summary>
+            <remarks>
+            <para>
+            This writer is not thread safe.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.ColoredConsoleAppender.Target">
+            <summary>
+            Target is the value of the console output stream.
+            This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
+            </summary>
+            <value>
+            Target is the value of the console output stream.
+            This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
+            </value>
+            <remarks>
+            <para>
+            Target is the value of the console output stream.
+            This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.ColoredConsoleAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.ColoredConsoleAppender.Colors">
+            <summary>
+            The enum of possible color values for use with the color mapping method
+            </summary>
+            <remarks>
+            <para>
+            The following flags can be combined together to
+            form the colors.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Appender.ColoredConsoleAppender"/>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Blue">
+            <summary>
+            color is blue
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Green">
+            <summary>
+            color is green
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Red">
+            <summary>
+            color is red
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.White">
+            <summary>
+            color is white
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Yellow">
+            <summary>
+            color is yellow
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Purple">
+            <summary>
+            color is purple
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Cyan">
+            <summary>
+            color is cyan
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.HighIntensity">
+            <summary>
+            color is intensified
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.ColoredConsoleAppender.LevelColors">
+            <summary>
+            A class to act as a mapping between the level that a logging call is made at and
+            the color it should be displayed as.
+            </summary>
+            <remarks>
+            <para>
+            Defines the mapping between a level and the color it should be displayed in.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ColoredConsoleAppender.LevelColors.ActivateOptions">
+            <summary>
+            Initialize the options for the object
+            </summary>
+            <remarks>
+            <para>
+            Combine the <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor"/> together.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor">
+            <summary>
+            The mapped foreground color for the specified level
+            </summary>
+            <remarks>
+            <para>
+            Required property.
+            The mapped foreground color for the specified level.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor">
+            <summary>
+            The mapped background color for the specified level
+            </summary>
+            <remarks>
+            <para>
+            Required property.
+            The mapped background color for the specified level.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.CombinedColor">
+            <summary>
+            The combined <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor"/> suitable for 
+            setting the console color.
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.ConsoleAppender">
+            <summary>
+            Appends logging events to the console.
+            </summary>
+            <remarks>
+            <para>
+            ConsoleAppender appends log events to the standard output stream
+            or the error output stream using a layout specified by the 
+            user.
+            </para>
+            <para>
+            By default, all output is written to the console's standard output stream.
+            The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> property can be set to direct the output to the
+            error stream.
+            </para>
+            <para>
+            NOTE: This appender writes each message to the <c>System.Console.Out</c> or 
+            <c>System.Console.Error</c> that is set at the time the event is appended.
+            Therefore it is possible to programmatically redirect the output of this appender 
+            (for example NUnit does this to capture program output). While this is the desired
+            behavior of this appender it may have security implications in your application. 
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Appender.ConsoleAppender.ConsoleOut">
+            <summary>
+            The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console 
+            standard output stream.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console 
+            standard output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.ConsoleAppender.ConsoleError">
+            <summary>
+            The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console 
+            standard error output stream.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console 
+            standard error output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ConsoleAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class.
+            </summary>
+            <remarks>
+            The instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class is set up to write 
+            to the standard output stream.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ConsoleAppender.#ctor(log4net.Layout.ILayout)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class
+            with the specified layout.
+            </summary>
+            <param name="layout">the layout to use for this appender</param>
+            <remarks>
+            The instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class is set up to write 
+            to the standard output stream.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ConsoleAppender.#ctor(log4net.Layout.ILayout,System.Boolean)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class
+            with the specified layout.
+            </summary>
+            <param name="layout">the layout to use for this appender</param>
+            <param name="writeToErrorStream">flag set to <c>true</c> to write to the console error stream</param>
+            <remarks>
+            When <paramref name="writeToErrorStream"/> is set to <c>true</c>, output is written to
+            the standard error output stream.  Otherwise, output is written to the standard
+            output stream.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ConsoleAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes the event to the console.
+            </para>
+            <para>
+            The format of the output will depend on the appender's layout.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.ConsoleAppender.Target">
+            <summary>
+            Target is the value of the console output stream.
+            This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
+            </summary>
+            <value>
+            Target is the value of the console output stream.
+            This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
+            </value>
+            <remarks>
+            <para>
+            Target is the value of the console output stream.
+            This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.ConsoleAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.DebugAppender">
+            <summary>
+            Appends log events to the <see cref="T:System.Diagnostics.Debug"/> system.
+            </summary>
+            <remarks>
+            <para>
+            The application configuration file can be used to control what listeners 
+            are actually used. See the MSDN documentation for the 
+            <see cref="T:System.Diagnostics.Debug"/> class for details on configuring the
+            debug system.
+            </para>
+            <para>
+            Events are written using the <see cref="M:System.Diagnostics.Debug.Write(System.String,System.String)"/>
+            method. The event's logger name is passed as the value for the category name to the Write method.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Appender.DebugAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.DebugAppender"/>.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.DebugAppender.#ctor(log4net.Layout.ILayout)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.DebugAppender"/> 
+            with a specified layout.
+            </summary>
+            <param name="layout">The layout to use with this appender.</param>
+            <remarks>
+            <para>
+            Obsolete constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.DebugAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Writes the logging event to the <see cref="T:System.Diagnostics.Debug"/> system.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes the logging event to the <see cref="T:System.Diagnostics.Debug"/> system.
+            If <see cref="P:log4net.Appender.DebugAppender.ImmediateFlush"/> is <c>true</c> then the <see cref="M:System.Diagnostics.Debug.Flush"/>
+            is called.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.DebugAppender.m_immediateFlush">
+            <summary>
+            Immediate flush means that the underlying writer or output stream
+            will be flushed at the end of each append operation.
+            </summary>
+            <remarks>
+            <para>
+            Immediate flush is slower but ensures that each append request is 
+            actually written. If <see cref="P:log4net.Appender.DebugAppender.ImmediateFlush"/> is set to
+            <c>false</c>, then there is a good chance that the last few
+            logs events are not actually written to persistent media if and
+            when the application crashes.
+            </para>
+            <para>
+            The default value is <c>true</c>.</para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.DebugAppender.ImmediateFlush">
+            <summary>
+            Gets or sets a value that indicates whether the appender will 
+            flush at the end of each write.
+            </summary>
+            <remarks>
+            <para>The default behavior is to flush at the end of each 
+            write. If the option is set to<c>false</c>, then the underlying 
+            stream can defer writing to physical medium to a later time. 
+            </para>
+            <para>
+            Avoiding the flush operation at the end of each append results 
+            in a performance gain of 10 to 20 percent. However, there is safety
+            trade-off involved in skipping flushing. Indeed, when flushing is
+            skipped, then it is likely that the last few log events will not
+            be recorded on disk when the application exits. This is a high
+            price to pay even for a 20% performance gain.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.DebugAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.EventLogAppender">
+            <summary>
+            Writes events to the system event log.
+            </summary>
+            <remarks>
+            <para>
+            The <c>EventID</c> of the event log entry can be
+            set using the <c>EventLogEventID</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
+            on the <see cref="T:log4net.Core.LoggingEvent"/>.
+            </para>
+            <para>
+            There is a limit of 32K characters for an event log message
+            </para>
+            <para>
+            When configuring the EventLogAppender a mapping can be
+            specified to map a logging level to an event log entry type. For example:
+            </para>
+            <code lang="XML">
+            &lt;mapping&gt;
+            	&lt;level value="ERROR" /&gt;
+            	&lt;eventLogEntryType value="Error" /&gt;
+            &lt;/mapping&gt;
+            &lt;mapping&gt;
+            	&lt;level value="DEBUG" /&gt;
+            	&lt;eventLogEntryType value="Information" /&gt;
+            &lt;/mapping&gt;
+            </code>
+            <para>
+            The Level is the standard log4net logging level and eventLogEntryType can be any value
+            from the <see cref="T:System.Diagnostics.EventLogEntryType"/> enum, i.e.:
+            <list type="bullet">
+            <item><term>Error</term><description>an error event</description></item>
+            <item><term>Warning</term><description>a warning event</description></item>
+            <item><term>Information</term><description>an informational event</description></item>
+            </list>
+            </para>
+            </remarks>
+            <author>Aspi Havewala</author>
+            <author>Douglas de la Torre</author>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Thomas Voss</author>
+        </member>
+        <member name="M:log4net.Appender.EventLogAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.EventLogAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.EventLogAppender.#ctor(log4net.Layout.ILayout)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.EventLogAppender"/> class
+            with the specified <see cref="T:log4net.Layout.ILayout"/>.
+            </summary>
+            <param name="layout">The <see cref="T:log4net.Layout.ILayout"/> to use with this appender.</param>
+            <remarks>
+            <para>
+            Obsolete constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.EventLogAppender.AddMapping(log4net.Appender.EventLogAppender.Level2EventLogEntryType)">
+            <summary>
+            Add a mapping of level to <see cref="T:System.Diagnostics.EventLogEntryType"/> - done by the config file
+            </summary>
+            <param name="mapping">The mapping to add</param>
+            <remarks>
+            <para>
+            Add a <see cref="T:log4net.Appender.EventLogAppender.Level2EventLogEntryType"/> mapping to this appender.
+            Each mapping defines the event log entry type for a level.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.EventLogAppender.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.EventLogAppender.CreateEventSource(System.String,System.String,System.String)">
+            <summary>
+            Create an event log source
+            </summary>
+            <remarks>
+            Uses different API calls under NET_2_0
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.EventLogAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
+            method. 
+            </summary>
+            <param name="loggingEvent">the event to log</param>
+            <remarks>
+            <para>Writes the event to the system event log using the 
+            <see cref="P:log4net.Appender.EventLogAppender.ApplicationName"/>.</para>
+            
+            <para>If the event has an <c>EventID</c> property (see <see cref="P:log4net.Core.LoggingEvent.Properties"/>)
+            set then this integer will be used as the event log event id.</para>
+            
+            <para>
+            There is a limit of 32K characters for an event log message
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.EventLogAppender.GetEntryType(log4net.Core.Level)">
+            <summary>
+            Get the equivalent <see cref="T:System.Diagnostics.EventLogEntryType"/> for a <see cref="T:log4net.Core.Level"/> <paramref name="p"/>
+            </summary>
+            <param name="level">the Level to convert to an EventLogEntryType</param>
+            <returns>The equivalent <see cref="T:System.Diagnostics.EventLogEntryType"/> for a <see cref="T:log4net.Core.Level"/> <paramref name="p"/></returns>
+            <remarks>
+            Because there are fewer applicable <see cref="T:System.Diagnostics.EventLogEntryType"/>
+            values to use in logging levels than there are in the 
+            <see cref="T:log4net.Core.Level"/> this is a one way mapping. There is
+            a loss of information during the conversion.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.EventLogAppender.m_logName">
+            <summary>
+            The log name is the section in the event logs where the messages
+            are stored.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.EventLogAppender.m_applicationName">
+            <summary>
+            Name of the application to use when logging.  This appears in the
+            application column of the event log named by <see cref="F:log4net.Appender.EventLogAppender.m_logName"/>.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.EventLogAppender.m_machineName">
+            <summary>
+            The name of the machine which holds the event log. This is
+            currently only allowed to be '.' i.e. the current machine.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.EventLogAppender.m_levelMapping">
+            <summary>
+            Mapping from level object to EventLogEntryType
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.EventLogAppender.m_securityContext">
+            <summary>
+            The security context to use for privileged calls
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.EventLogAppender.LogName">
+            <summary>
+            The name of the log where messages will be stored.
+            </summary>
+            <value>
+            The string name of the log where messages will be stored.
+            </value>
+            <remarks>
+            <para>This is the name of the log as it appears in the Event Viewer
+            tree. The default value is to log into the <c>Application</c>
+            log, this is where most applications write their events. However
+            if you need a separate log for your application (or applications)
+            then you should set the <see cref="P:log4net.Appender.EventLogAppender.LogName"/> appropriately.</para>
+            <para>This should not be used to distinguish your event log messages
+            from those of other applications, the <see cref="P:log4net.Appender.EventLogAppender.ApplicationName"/>
+            property should be used to distinguish events. This property should be 
+            used to group together events into a single log.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.EventLogAppender.ApplicationName">
+            <summary>
+            Property used to set the Application name.  This appears in the
+            event logs when logging.
+            </summary>
+            <value>
+            The string used to distinguish events from different sources.
+            </value>
+            <remarks>
+            Sets the event log source property.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.EventLogAppender.MachineName">
+            <summary>
+            This property is used to return the name of the computer to use
+            when accessing the event logs.  Currently, this is the current
+            computer, denoted by a dot "."
+            </summary>
+            <value>
+            The string name of the machine holding the event log that 
+            will be logged into.
+            </value>
+            <remarks>
+            This property cannot be changed. It is currently set to '.'
+            i.e. the local machine. This may be changed in future.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.EventLogAppender.SecurityContext">
+            <summary>
+            Gets or sets the <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> used to write to the EventLog.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> used to write to the EventLog.
+            </value>
+            <remarks>
+            <para>
+            The system security context used to write to the EventLog.
+            </para>
+            <para>
+            Unless a <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> specified here for this appender
+            the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
+            security context to use. The default behavior is to use the security context
+            of the current thread.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.EventLogAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.EventLogAppender.Level2EventLogEntryType">
+            <summary>
+            A class to act as a mapping between the level that a logging call is made at and
+            the color it should be displayed as.
+            </summary>
+            <remarks>
+            <para>
+            Defines the mapping between a level and its event log entry type.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType">
+            <summary>
+            The <see cref="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType"/> for this entry
+            </summary>
+            <remarks>
+            <para>
+            Required property.
+            The <see cref="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType"/> for this entry
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.FileAppender">
+            <summary>
+            Appends logging events to a file.
+            </summary>
+            <remarks>
+            <para>
+            Logging events are sent to the file specified by
+            the <see cref="P:log4net.Appender.FileAppender.File"/> property.
+            </para>
+            <para>
+            The file can be opened in either append or overwrite mode 
+            by specifying the <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property.
+            If the file path is relative it is taken as relative from 
+            the application base directory. The file encoding can be
+            specified by setting the <see cref="P:log4net.Appender.FileAppender.Encoding"/> property.
+            </para>
+            <para>
+            The layout's <see cref="P:log4net.Layout.ILayout.Header"/> and <see cref="P:log4net.Layout.ILayout.Footer"/>
+            values will be written each time the file is opened and closed
+            respectively. If the <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property is <see langword="true"/>
+            then the file may contain multiple copies of the header and footer.
+            </para>
+            <para>
+            This appender will first try to open the file for writing when <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/>
+            is called. This will typically be during configuration.
+            If the file cannot be opened for writing the appender will attempt
+            to open the file again each time a message is logged to the appender.
+            If the file cannot be opened for writing when a message is logged then
+            the message will be discarded by this appender.
+            </para>
+            <para>
+            The <see cref="T:log4net.Appender.FileAppender"/> supports pluggable file locking models via
+            the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> property.
+            The default behavior, implemented by <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/> 
+            is to obtain an exclusive write lock on the file until this appender is closed.
+            The alternative model, <see cref="T:log4net.Appender.FileAppender.MinimalLock"/>, only holds a
+            write lock while the appender is writing a logging event.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Rodrigo B. de Oliveira</author>
+            <author>Douglas de la Torre</author>
+            <author>Niall Daley</author>
+        </member>
+        <member name="T:log4net.Appender.TextWriterAppender">
+            <summary>
+            Sends logging events to a <see cref="T:System.IO.TextWriter"/>.
+            </summary>
+            <remarks>
+            <para>
+            An Appender that writes to a <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            <para>
+            This appender may be used stand alone if initialized with an appropriate
+            writer, however it is typically used as a base class for an appender that
+            can open a <see cref="T:System.IO.TextWriter"/> to write to.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Douglas de la Torre</author>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.#ctor(log4net.Layout.ILayout,System.IO.Stream)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class and
+            sets the output destination to a new <see cref="T:System.IO.StreamWriter"/> initialized 
+            with the specified <see cref="T:System.IO.Stream"/>.
+            </summary>
+            <param name="layout">The layout to use with this appender.</param>
+            <param name="os">The <see cref="T:System.IO.Stream"/> to output to.</param>
+            <remarks>
+            <para>
+            Obsolete constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.#ctor(log4net.Layout.ILayout,System.IO.TextWriter)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class and sets
+            the output destination to the specified <see cref="T:System.IO.StreamWriter"/>.
+            </summary>
+            <param name="layout">The layout to use with this appender</param>
+            <param name="writer">The <see cref="T:System.IO.TextWriter"/> to output to</param>
+            <remarks>
+            The <see cref="T:System.IO.TextWriter"/> must have been previously opened.
+            </remarks>
+            <remarks>
+            <para>
+            Obsolete constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.PreAppendCheck">
+            <summary>
+            This method determines if there is a sense in attempting to append.
+            </summary>
+            <remarks>
+            <para>
+            This method checked if an output target has been set and if a
+            layout has been set. 
+            </para>
+            </remarks>
+            <returns><c>false</c> if any of the preconditions fail.</returns>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
+            method. 
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes a log statement to the output stream if the output stream exists 
+            and is writable.  
+            </para>
+            <para>
+            The format of the output will depend on the appender's layout.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.Append(log4net.Core.LoggingEvent[])">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])"/>
+            method. 
+            </summary>
+            <param name="loggingEvents">The array of events to log.</param>
+            <remarks>
+            <para>
+            This method writes all the bulk logged events to the output writer
+            before flushing the stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.OnClose">
+            <summary>
+            Close this appender instance. The underlying stream or writer is also closed.
+            </summary>
+            <remarks>
+            Closed appenders cannot be reused.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.WriteFooterAndCloseWriter">
+            <summary>
+            Writes the footer and closes the underlying <see cref="T:System.IO.TextWriter"/>.
+            </summary>
+            <remarks>
+            <para>
+            Writes the footer and closes the underlying <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.CloseWriter">
+            <summary>
+            Closes the underlying <see cref="T:System.IO.TextWriter"/>.
+            </summary>
+            <remarks>
+            <para>
+            Closes the underlying <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.Reset">
+            <summary>
+            Clears internal references to the underlying <see cref="T:System.IO.TextWriter"/> 
+            and other variables.
+            </summary>
+            <remarks>
+            <para>
+            Subclasses can override this method for an alternate closing behavior.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.WriteFooter">
+            <summary>
+            Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
+            </summary>
+            <remarks>
+            <para>
+            Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.WriteHeader">
+            <summary>
+            Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
+            </summary>
+            <remarks>
+            <para>
+            Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TextWriterAppender.PrepareWriter">
+            <summary>
+            Called to allow a subclass to lazily initialize the writer
+            </summary>
+            <remarks>
+            <para>
+            This method is called when an event is logged and the <see cref="P:log4net.Appender.TextWriterAppender.Writer"/> or
+            <see cref="P:log4net.Appender.TextWriterAppender.QuietWriter"/> have not been set. This allows a subclass to
+            attempt to initialize the writer multiple times.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.TextWriterAppender.m_qtw">
+            <summary>
+            This is the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
+            will be written to. 
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.TextWriterAppender.m_immediateFlush">
+            <summary>
+            Immediate flush means that the underlying <see cref="T:System.IO.TextWriter"/> 
+            or output stream will be flushed at the end of each append operation.
+            </summary>
+            <remarks>
+            <para>
+            Immediate flush is slower but ensures that each append request is 
+            actually written. If <see cref="P:log4net.Appender.TextWriterAppender.ImmediateFlush"/> is set to
+            <c>false</c>, then there is a good chance that the last few
+            logging events are not actually persisted if and when the application 
+            crashes.
+            </para>
+            <para>
+            The default value is <c>true</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.TextWriterAppender.ImmediateFlush">
+            <summary>
+            Gets or set whether the appender will flush at the end 
+            of each append operation.
+            </summary>
+            <value>
+            <para>
+            The default behavior is to flush at the end of each 
+            append operation.
+            </para>
+            <para>
+            If this option is set to <c>false</c>, then the underlying 
+            stream can defer persisting the logging event to a later 
+            time.
+            </para>
+            </value>
+            <remarks>
+            Avoiding the flush operation at the end of each append results in
+            a performance gain of 10 to 20 percent. However, there is safety
+            trade-off involved in skipping flushing. Indeed, when flushing is
+            skipped, then it is likely that the last few log events will not
+            be recorded on disk when the application exits. This is a high
+            price to pay even for a 20% performance gain.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.TextWriterAppender.Writer">
+            <summary>
+            Sets the <see cref="T:System.IO.TextWriter"/> where the log output will go.
+            </summary>
+            <remarks>
+            <para>
+            The specified <see cref="T:System.IO.TextWriter"/> must be open and writable.
+            </para>
+            <para>
+            The <see cref="T:System.IO.TextWriter"/> will be closed when the appender 
+            instance is closed.
+            </para>
+            <para>
+            <b>Note:</b> Logging to an unopened <see cref="T:System.IO.TextWriter"/> will fail.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.TextWriterAppender.ErrorHandler">
+            <summary>
+            Gets or set the <see cref="T:log4net.Core.IErrorHandler"/> and the underlying 
+            <see cref="T:log4net.Util.QuietTextWriter"/>, if any, for this appender. 
+            </summary>
+            <value>
+            The <see cref="T:log4net.Core.IErrorHandler"/> for this appender.
+            </value>
+        </member>
+        <member name="P:log4net.Appender.TextWriterAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.TextWriterAppender.QuietWriter">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
+            will be written to. 
+            </summary>
+            <value>
+            The <see cref="T:log4net.Util.QuietTextWriter"/> where logging events are written.
+            </value>
+            <remarks>
+            <para>
+            This is the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
+            will be written to. 
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.#ctor(log4net.Layout.ILayout,System.String,System.Boolean)">
+            <summary>
+            Construct a new appender using the layout, file and append mode.
+            </summary>
+            <param name="layout">the layout to use with this appender</param>
+            <param name="filename">the full path to the file to write to</param>
+            <param name="append">flag to indicate if the file should be appended to</param>
+            <remarks>
+            <para>
+            Obsolete constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.#ctor(log4net.Layout.ILayout,System.String)">
+            <summary>
+            Construct a new appender using the layout and file specified.
+            The file will be appended to.
+            </summary>
+            <param name="layout">the layout to use with this appender</param>
+            <param name="filename">the full path to the file to write to</param>
+            <remarks>
+            <para>
+            Obsolete constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.ActivateOptions">
+            <summary>
+            Activate the options on the file appender. 
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            This will cause the file to be opened.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.Reset">
+            <summary>
+            Closes any previously opened file and calls the parent's <see cref="M:log4net.Appender.TextWriterAppender.Reset"/>.
+            </summary>
+            <remarks>
+            <para>
+            Resets the filename and the file stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.PrepareWriter">
+            <summary>
+            Called to initialize the file writer
+            </summary>
+            <remarks>
+            <para>
+            Will be called for each logged message until the file is
+            successfully opened.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
+            method. 
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes a log statement to the output stream if the output stream exists 
+            and is writable.  
+            </para>
+            <para>
+            The format of the output will depend on the appender's layout.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent[])">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])"/>
+            method. 
+            </summary>
+            <param name="loggingEvents">The array of events to log.</param>
+            <remarks>
+            <para>
+            Acquires the output file locks once before writing all the events to
+            the stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.WriteFooter">
+            <summary>
+            Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
+            </summary>
+            <remarks>
+            <para>
+            Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.WriteHeader">
+            <summary>
+            Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
+            </summary>
+            <remarks>
+            <para>
+            Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.CloseWriter">
+            <summary>
+            Closes the underlying <see cref="T:System.IO.TextWriter"/>.
+            </summary>
+            <remarks>
+            <para>
+            Closes the underlying <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.CloseFile">
+            <summary>
+            Closes the previously opened file.
+            </summary>
+            <remarks>
+            <para>
+            Writes the <see cref="P:log4net.Layout.ILayout.Footer"/> to the file and then
+            closes the file.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.SafeOpenFile(System.String,System.Boolean)">
+            <summary>
+            Sets and <i>opens</i> the file where the log output will go. The specified file must be writable.
+            </summary>
+            <param name="fileName">The path to the log file. Must be a fully qualified path.</param>
+            <param name="append">If true will append to fileName. Otherwise will truncate fileName</param>
+            <remarks>
+            <para>
+            Calls <see cref="M:log4net.Appender.FileAppender.OpenFile(System.String,System.Boolean)"/> but guarantees not to throw an exception.
+            Errors are passed to the <see cref="P:log4net.Appender.TextWriterAppender.ErrorHandler"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.OpenFile(System.String,System.Boolean)">
+            <summary>
+            Sets and <i>opens</i> the file where the log output will go. The specified file must be writable.
+            </summary>
+            <param name="fileName">The path to the log file. Must be a fully qualified path.</param>
+            <param name="append">If true will append to fileName. Otherwise will truncate fileName</param>
+            <remarks>
+            <para>
+            If there was already an opened file, then the previous file
+            is closed first.
+            </para>
+            <para>
+            This method will ensure that the directory structure
+            for the <paramref name="fileName"/> specified exists.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.Stream)">
+            <summary>
+            Sets the quiet writer used for file output
+            </summary>
+            <param name="fileStream">the file stream that has been opened for writing</param>
+            <remarks>
+            <para>
+            This implementation of <see cref="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.Stream)"/> creates a <see cref="T:System.IO.StreamWriter"/>
+            over the <paramref name="fileStream"/> and passes it to the 
+            <see cref="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.TextWriter)"/> method.
+            </para>
+            <para>
+            This method can be overridden by sub classes that want to wrap the
+            <see cref="T:System.IO.Stream"/> in some way, for example to encrypt the output
+            data using a <c>System.Security.Cryptography.CryptoStream</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.TextWriter)">
+            <summary>
+            Sets the quiet writer being used.
+            </summary>
+            <param name="writer">the writer over the file stream that has been opened for writing</param>
+            <remarks>
+            <para>
+            This method can be overridden by sub classes that want to
+            wrap the <see cref="T:System.IO.TextWriter"/> in some way.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.ConvertToFullPath(System.String)">
+            <summary>
+            Convert a path into a fully qualified path.
+            </summary>
+            <param name="path">The path to convert.</param>
+            <returns>The fully qualified path.</returns>
+            <remarks>
+            <para>
+            Converts the path specified to a fully
+            qualified path. If the path is relative it is
+            taken as relative from the application base 
+            directory.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.FileAppender.m_appendToFile">
+            <summary>
+            Flag to indicate if we should append to the file
+            or overwrite the file. The default is to append.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.FileAppender.m_fileName">
+            <summary>
+            The name of the log file.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.FileAppender.m_encoding">
+            <summary>
+            The encoding to use for the file stream.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.FileAppender.m_securityContext">
+            <summary>
+            The security context to use for privileged calls
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.FileAppender.m_stream">
+            <summary>
+            The stream to log to. Has added locking semantics
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.FileAppender.m_lockingModel">
+            <summary>
+            The locking model to use
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.FileAppender.File">
+            <summary>
+            Gets or sets the path to the file that logging will be written to.
+            </summary>
+            <value>
+            The path to the file that logging will be written to.
+            </value>
+            <remarks>
+            <para>
+            If the path is relative it is taken as relative from 
+            the application base directory.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.FileAppender.AppendToFile">
+            <summary>
+            Gets or sets a flag that indicates whether the file should be
+            appended to or overwritten.
+            </summary>
+            <value>
+            Indicates whether the file should be appended to or overwritten.
+            </value>
+            <remarks>
+            <para>
+            If the value is set to false then the file will be overwritten, if 
+            it is set to true then the file will be appended to.
+            </para>
+            The default value is true.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.FileAppender.Encoding">
+            <summary>
+            Gets or sets <see cref="P:log4net.Appender.FileAppender.Encoding"/> used to write to the file.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Appender.FileAppender.Encoding"/> used to write to the file.
+            </value>
+            <remarks>
+            <para>
+            The default encoding set is <see cref="P:System.Text.Encoding.Default"/>
+            which is the encoding for the system's current ANSI code page.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.FileAppender.SecurityContext">
+            <summary>
+            Gets or sets the <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> used to write to the file.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> used to write to the file.
+            </value>
+            <remarks>
+            <para>
+            Unless a <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> specified here for this appender
+            the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
+            security context to use. The default behavior is to use the security context
+            of the current thread.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.FileAppender.LockingModel">
+            <summary>
+            Gets or sets the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to handle locking of the file.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to lock the file.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to handle locking of the file.
+            </para>
+            <para>
+            There are two built in locking models, <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/> and <see cref="T:log4net.Appender.FileAppender.MinimalLock"/>.
+            The former locks the file from the start of logging to the end and the 
+            later lock only for the minimal amount of time when logging each message.
+            </para>
+            <para>
+            The default locking model is the <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.FileAppender.LockingStream">
+            <summary>
+            Write only <see cref="T:System.IO.Stream"/> that uses the <see cref="T:log4net.Appender.FileAppender.LockingModelBase"/> 
+            to manage access to an underlying resource.
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.LockingStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)">
+            <summary>
+            True asynchronous writes are not supported, the implementation forces a synchronous write.
+            </summary>
+        </member>
+        <member name="T:log4net.Core.LogException">
+            <summary>
+            Exception base type for log4net.
+            </summary>
+            <remarks>
+            <para>
+            This type extends <see cref="T:System.ApplicationException"/>. It
+            does not add any new functionality but does differentiate the
+            type of exception being thrown.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.LogException.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogException.#ctor(System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="message">A message to include with the exception.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class with
+            the specified message.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogException.#ctor(System.String,System.Exception)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="message">A message to include with the exception.</param>
+            <param name="innerException">A nested exception to include.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class
+            with the specified message and inner exception.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+            <summary>
+            Serialization constructor
+            </summary>
+            <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
+            <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class 
+            with serialized data.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.FileAppender.LockingModelBase">
+            <summary>
+            Locking model base class
+            </summary>
+            <remarks>
+            <para>
+            Base class for the locking models available to the <see cref="T:log4net.Appender.FileAppender"/> derived loggers.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.LockingModelBase.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
+            <summary>
+            Open the output file
+            </summary>
+            <param name="filename">The filename to use</param>
+            <param name="append">Whether to append to the file, or overwrite</param>
+            <param name="encoding">The encoding to use</param>
+            <remarks>
+            <para>
+            Open the file specified and prepare for logging. 
+            No writes will be made until <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/> is called.
+            Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/>,
+            <see cref="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.LockingModelBase.CloseFile"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.LockingModelBase.CloseFile">
+            <summary>
+            Close the file
+            </summary>
+            <remarks>
+            <para>
+            Close the file. No further writes will be made.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock">
+            <summary>
+            Acquire the lock on the file
+            </summary>
+            <returns>A stream that is ready to be written to.</returns>
+            <remarks>
+            <para>
+            Acquire the lock on the file in preparation for writing to it. 
+            Return a stream pointing to the file. <see cref="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock"/>
+            must be called to release the lock on the output file.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock">
+            <summary>
+            Release the lock on the file
+            </summary>
+            <remarks>
+            <para>
+            Release the lock on the file. No further writes will be made to the 
+            stream until <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/> is called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.FileAppender.LockingModelBase.CurrentAppender">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Appender.FileAppender"/> for this LockingModel
+            </summary>
+            <value>
+            The <see cref="T:log4net.Appender.FileAppender"/> for this LockingModel
+            </value>
+            <remarks>
+            <para>
+            The file appender this locking model is attached to and working on
+            behalf of.
+            </para>
+            <para>
+            The file appender is used to locate the security context and the error handler to use.
+            </para>
+            <para>
+            The value of this property will be set before <see cref="M:log4net.Appender.FileAppender.LockingModelBase.OpenFile(System.String,System.Boolean,System.Text.Encoding)"/> is
+            called.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.FileAppender.ExclusiveLock">
+            <summary>
+            Hold an exclusive lock on the output file
+            </summary>
+            <remarks>
+            <para>
+            Open the file once for writing and hold it open until <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile"/> is called. 
+            Maintains an exclusive lock on the file during this time.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.ExclusiveLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
+            <summary>
+            Open the file specified and prepare for logging.
+            </summary>
+            <param name="filename">The filename to use</param>
+            <param name="append">Whether to append to the file, or overwrite</param>
+            <param name="encoding">The encoding to use</param>
+            <remarks>
+            <para>
+            Open the file specified and prepare for logging. 
+            No writes will be made until <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock"/> is called.
+            Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock"/>,
+            <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile">
+            <summary>
+            Close the file
+            </summary>
+            <remarks>
+            <para>
+            Close the file. No further writes will be made.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock">
+            <summary>
+            Acquire the lock on the file
+            </summary>
+            <returns>A stream that is ready to be written to.</returns>
+            <remarks>
+            <para>
+            Does nothing. The lock is already taken
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock">
+            <summary>
+            Release the lock on the file
+            </summary>
+            <remarks>
+            <para>
+            Does nothing. The lock will be released when the file is closed.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.FileAppender.MinimalLock">
+            <summary>
+            Acquires the file lock for each write
+            </summary>
+            <remarks>
+            <para>
+            Opens the file once for each <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/>/<see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/> cycle, 
+            thus holding the lock for the minimal amount of time. This method of locking
+            is considerably slower than <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/> but allows 
+            other processes to move/delete the log file whilst logging continues.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.MinimalLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
+            <summary>
+            Prepares to open the file when the first message is logged.
+            </summary>
+            <param name="filename">The filename to use</param>
+            <param name="append">Whether to append to the file, or overwrite</param>
+            <param name="encoding">The encoding to use</param>
+            <remarks>
+            <para>
+            Open the file specified and prepare for logging. 
+            No writes will be made until <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/> is called.
+            Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/>,
+            <see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.MinimalLock.CloseFile"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.MinimalLock.CloseFile">
+            <summary>
+            Close the file
+            </summary>
+            <remarks>
+            <para>
+            Close the file. No further writes will be made.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock">
+            <summary>
+            Acquire the lock on the file
+            </summary>
+            <returns>A stream that is ready to be written to.</returns>
+            <remarks>
+            <para>
+            Acquire the lock on the file in preparation for writing to it. 
+            Return a stream pointing to the file. <see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/>
+            must be called to release the lock on the output file.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock">
+            <summary>
+            Release the lock on the file
+            </summary>
+            <remarks>
+            <para>
+            Release the lock on the file. No further writes will be made to the 
+            stream until <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/> is called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.ForwardingAppender">
+            <summary>
+            This appender forwards logging events to attached appenders.
+            </summary>
+            <remarks>
+            <para>
+            The forwarding appender can be used to specify different thresholds
+            and filters for the same appender at different locations within the hierarchy.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.ForwardingAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.OnClose">
+            <summary>
+            Closes the appender and releases resources.
+            </summary>
+            <remarks>
+            <para>
+            Releases any resources allocated within the appender such as file handles, 
+            network connections, etc.
+            </para>
+            <para>
+            It is a programming error to append to a closed appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Forward the logging event to the attached appenders 
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Delivers the logging event to all the attached appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.Append(log4net.Core.LoggingEvent[])">
+            <summary>
+            Forward the logging events to the attached appenders 
+            </summary>
+            <param name="loggingEvents">The array of events to log.</param>
+            <remarks>
+            <para>
+            Delivers the logging events to all the attached appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.AddAppender(log4net.Appender.IAppender)">
+            <summary>
+            Adds an <see cref="T:log4net.Appender.IAppender"/> to the list of appenders of this
+            instance.
+            </summary>
+            <param name="newAppender">The <see cref="T:log4net.Appender.IAppender"/> to add to this appender.</param>
+            <remarks>
+            <para>
+            If the specified <see cref="T:log4net.Appender.IAppender"/> is already in the list of
+            appenders, then it won't be added again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.GetAppender(System.String)">
+            <summary>
+            Looks for the appender with the specified name.
+            </summary>
+            <param name="name">The name of the appender to lookup.</param>
+            <returns>
+            The appender with the specified name, or <c>null</c>.
+            </returns>
+            <remarks>
+            <para>
+            Get the named appender attached to this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.RemoveAllAppenders">
+            <summary>
+            Removes all previously added appenders from this appender.
+            </summary>
+            <remarks>
+            <para>
+            This is useful when re-reading configuration information.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.RemoveAppender(log4net.Appender.IAppender)">
+            <summary>
+            Removes the specified appender from the list of appenders.
+            </summary>
+            <param name="appender">The appender to remove.</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.ForwardingAppender.RemoveAppender(System.String)">
+            <summary>
+            Removes the appender with the specified name from the list of appenders.
+            </summary>
+            <param name="name">The name of the appender to remove.</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.ForwardingAppender.m_appenderAttachedImpl">
+            <summary>
+            Implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.ForwardingAppender.Appenders">
+            <summary>
+            Gets the appenders contained in this appender as an 
+            <see cref="T:System.Collections.ICollection"/>.
+            </summary>
+            <remarks>
+            If no appenders can be found, then an <see cref="T:log4net.Util.EmptyCollection"/> 
+            is returned.
+            </remarks>
+            <returns>
+            A collection of the appenders in this appender.
+            </returns>
+        </member>
+        <member name="T:log4net.Appender.LocalSyslogAppender">
+            <summary>
+            Logs events to a local syslog service.
+            </summary>
+            <remarks>
+            <note>
+            This appender uses the POSIX libc library functions <c>openlog</c>, <c>syslog</c>, and <c>closelog</c>.
+            If these functions are not available on the local system then this appender will not work!
+            </note>
+            <para>
+            The functions <c>openlog</c>, <c>syslog</c>, and <c>closelog</c> are specified in SUSv2 and 
+            POSIX 1003.1-2001 standards. These are used to log messages to the local syslog service.
+            </para>
+            <para>
+            This appender talks to a local syslog service. If you need to log to a remote syslog
+            daemon and you cannot configure your local syslog service to do this you may be
+            able to use the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> to log via UDP.
+            </para>
+            <para>
+            Syslog messages must have a facility and and a severity. The severity
+            is derived from the Level of the logging event.
+            The facility must be chosen from the set of defined syslog 
+            <see cref="T:log4net.Appender.LocalSyslogAppender.SyslogFacility"/> values. The facilities list is predefined
+            and cannot be extended.
+            </para>
+            <para>
+            An identifier is specified with each log message. This can be specified
+            by setting the <see cref="P:log4net.Appender.LocalSyslogAppender.Identity"/> property. The identity (also know 
+            as the tag) must not contain white space. The default value for the
+            identity is the application name (from <see cref="P:log4net.Util.SystemInfo.ApplicationFriendlyName"/>).
+            </para>
+            </remarks>
+            <author>Rob Lyon</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.LocalSyslogAppender"/> class.
+            </summary>
+            <remarks>
+            This instance of the <see cref="T:log4net.Appender.LocalSyslogAppender"/> class is set up to write 
+            to a local syslog service.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.AddMapping(log4net.Appender.LocalSyslogAppender.LevelSeverity)">
+            <summary>
+            Add a mapping of level to severity
+            </summary>
+            <param name="mapping">The mapping to add</param>
+            <remarks>
+            <para>
+            Adds a <see cref="T:log4net.Appender.LocalSyslogAppender.LevelSeverity"/> to this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set.
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes the event to a remote syslog daemon.
+            </para>
+            <para>
+            The format of the output will depend on the appender's layout.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.OnClose">
+            <summary>
+            Close the syslog when the appender is closed
+            </summary>
+            <remarks>
+            <para>
+            Close the syslog when the appender is closed
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.GetSeverity(log4net.Core.Level)">
+            <summary>
+            Translates a log4net level to a syslog severity.
+            </summary>
+            <param name="level">A log4net level.</param>
+            <returns>A syslog severity.</returns>
+            <remarks>
+            <para>
+            Translates a log4net level to a syslog severity.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.GeneratePriority(log4net.Appender.LocalSyslogAppender.SyslogFacility,log4net.Appender.LocalSyslogAppender.SyslogSeverity)">
+            <summary>
+            Generate a syslog priority.
+            </summary>
+            <param name="facility">The syslog facility.</param>
+            <param name="severity">The syslog severity.</param>
+            <returns>A syslog priority.</returns>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.m_facility">
+            <summary>
+            The facility. The default facility is <see cref="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User"/>.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.m_identity">
+            <summary>
+            The message identity
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.m_handleToIdentity">
+            <summary>
+            Marshaled handle to the identity string. We have to hold on to the
+            string as the <c>openlog</c> and <c>syslog</c> APIs just hold the
+            pointer to the ident and dereference it for each log message.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.m_levelMapping">
+            <summary>
+            Mapping from level object to syslog severity
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.openlog(System.IntPtr,System.Int32,log4net.Appender.LocalSyslogAppender.SyslogFacility)">
+            <summary>
+            Open connection to system logger.
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.syslog(System.Int32,System.String,System.String)">
+            <summary>
+            Generate a log message.
+            </summary>
+            <remarks>
+            <para>
+            The libc syslog method takes a format string and a variable argument list similar
+            to the classic printf function. As this type of vararg list is not supported
+            by C# we need to specify the arguments explicitly. Here we have specified the
+            format string with a single message argument. The caller must set the format 
+            string to <c>"%s"</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.LocalSyslogAppender.closelog">
+            <summary>
+            Close descriptor used to write to system logger.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.LocalSyslogAppender.Identity">
+            <summary>
+            Message identity
+            </summary>
+            <remarks>
+            <para>
+            An identifier is specified with each log message. This can be specified
+            by setting the <see cref="P:log4net.Appender.LocalSyslogAppender.Identity"/> property. The identity (also know 
+            as the tag) must not contain white space. The default value for the
+            identity is the application name (from <see cref="P:log4net.Util.SystemInfo.ApplicationFriendlyName"/>).
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.LocalSyslogAppender.Facility">
+            <summary>
+            Syslog facility
+            </summary>
+            <remarks>
+            Set to one of the <see cref="T:log4net.Appender.LocalSyslogAppender.SyslogFacility"/> values. The list of
+            facilities is predefined and cannot be extended. The default value
+            is <see cref="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User"/>.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.LocalSyslogAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.LocalSyslogAppender.SyslogSeverity">
+            <summary>
+            syslog severities
+            </summary>
+            <remarks>
+            <para>
+            The log4net Level maps to a syslog severity using the
+            <see cref="M:log4net.Appender.LocalSyslogAppender.AddMapping(log4net.Appender.LocalSyslogAppender.LevelSeverity)"/> method and the <see cref="T:log4net.Appender.LocalSyslogAppender.LevelSeverity"/>
+            class. The severity is set on <see cref="P:log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Emergency">
+            <summary>
+            system is unusable
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Alert">
+            <summary>
+            action must be taken immediately
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Critical">
+            <summary>
+            critical conditions
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Error">
+            <summary>
+            error conditions
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Warning">
+            <summary>
+            warning conditions
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Notice">
+            <summary>
+            normal but significant condition
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Informational">
+            <summary>
+            informational
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Debug">
+            <summary>
+            debug-level messages
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.LocalSyslogAppender.SyslogFacility">
+            <summary>
+            syslog facilities
+            </summary>
+            <remarks>
+            <para>
+            The syslog facility defines which subsystem the logging comes from.
+            This is set on the <see cref="P:log4net.Appender.LocalSyslogAppender.Facility"/> property.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Kernel">
+            <summary>
+            kernel messages
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User">
+            <summary>
+            random user-level messages
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Mail">
+            <summary>
+            mail system
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Daemons">
+            <summary>
+            system daemons
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Authorization">
+            <summary>
+            security/authorization messages
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Syslog">
+            <summary>
+            messages generated internally by syslogd
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Printer">
+            <summary>
+            line printer subsystem
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.News">
+            <summary>
+            network news subsystem
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Uucp">
+            <summary>
+            UUCP subsystem
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Clock">
+            <summary>
+            clock (cron/at) daemon
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Authorization2">
+            <summary>
+            security/authorization  messages (private)
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Ftp">
+            <summary>
+            ftp daemon
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Ntp">
+            <summary>
+            NTP subsystem
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Audit">
+            <summary>
+            log audit
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Alert">
+            <summary>
+            log alert
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Clock2">
+            <summary>
+            clock daemon
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local0">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local1">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local2">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local3">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local4">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local5">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local6">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local7">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.LocalSyslogAppender.LevelSeverity">
+            <summary>
+            A class to act as a mapping between the level that a logging call is made at and
+            the syslog severity that is should be logged at.
+            </summary>
+            <remarks>
+            <para>
+            A class to act as a mapping between the level that a logging call is made at and
+            the syslog severity that is should be logged at.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity">
+            <summary>
+            The mapped syslog severity for the specified level
+            </summary>
+            <remarks>
+            <para>
+            Required property.
+            The mapped syslog severity for the specified level
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.MemoryAppender">
+            <summary>
+            Stores logging events in an array.
+            </summary>
+            <remarks>
+            <para>
+            The memory appender stores all the logging events
+            that are appended in an in-memory array.
+            </para>
+            <para>
+            Use the <see cref="M:log4net.Appender.MemoryAppender.GetEvents"/> method to get
+            the current list of events that have been appended.
+            </para>
+            <para>
+            Use the <see cref="M:log4net.Appender.MemoryAppender.Clear"/> method to clear the
+            current list of events.
+            </para>
+            </remarks>
+            <author>Julian Biddle</author>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Appender.MemoryAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.MemoryAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.MemoryAppender.GetEvents">
+            <summary>
+            Gets the events that have been logged.
+            </summary>
+            <returns>The events that have been logged</returns>
+            <remarks>
+            <para>
+            Gets the events that have been logged.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.MemoryAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method. 
+            </summary>
+            <param name="loggingEvent">the event to log</param>
+            <remarks>
+            <para>Stores the <paramref name="loggingEvent"/> in the events list.</para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.MemoryAppender.Clear">
+            <summary>
+            Clear the list of events
+            </summary>
+            <remarks>
+            Clear the list of events
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.MemoryAppender.m_eventsList">
+            <summary>
+            The list of events that have been appended.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.MemoryAppender.m_fixFlags">
+            <summary>
+            Value indicating which fields in the event should be fixed
+            </summary>
+            <remarks>
+            By default all fields are fixed
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.MemoryAppender.OnlyFixPartialEventData">
+            <summary>
+            Gets or sets a value indicating whether only part of the logging event 
+            data should be fixed.
+            </summary>
+            <value>
+            <c>true</c> if the appender should only fix part of the logging event 
+            data, otherwise <c>false</c>. The default is <c>false</c>.
+            </value>
+            <remarks>
+            <para>
+            Setting this property to <c>true</c> will cause only part of the event 
+            data to be fixed and stored in the appender, hereby improving performance. 
+            </para>
+            <para>
+            See <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)"/> for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.MemoryAppender.Fix">
+            <summary>
+            Gets or sets the fields that will be fixed in the event
+            </summary>
+            <remarks>
+            <para>
+            The logging event needs to have certain thread specific values 
+            captured before it can be buffered. See <see cref="P:log4net.Core.LoggingEvent.Fix"/>
+            for details.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.NetSendAppender">
+            <summary>
+            Logs entries by sending network messages using the 
+            <see cref="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)"/> native function.
+            </summary>
+            <remarks>
+            <para>
+            You can send messages only to names that are active 
+            on the network. If you send the message to a user name, 
+            that user must be logged on and running the Messenger 
+            service to receive the message.
+            </para>
+            <para>
+            The receiver will get a top most window displaying the 
+            messages one at a time, therefore this appender should 
+            not be used to deliver a high volume of messages.
+            </para>
+            <para>
+            The following table lists some possible uses for this appender :
+            </para>
+            <para>
+            <list type="table">
+                <listheader>
+                    <term>Action</term>
+                    <description>Property Value(s)</description>
+                </listheader>
+                <item>
+                    <term>Send a message to a user account on the local machine</term>
+                    <description>
+                        <para>
+                        <paramref name="Server"/> = &lt;name of the local machine&gt;
+                        </para>
+                        <para>
+                        <paramref name="Recipient"/> = &lt;user name&gt;
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>Send a message to a user account on a remote machine</term>
+                    <description>
+                        <para>
+                        <paramref name="Server"/> = &lt;name of the remote machine&gt;
+                        </para>
+                        <para>
+                        <paramref name="Recipient"/> = &lt;user name&gt;
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>Send a message to a domain user account</term>
+                    <description>
+                        <para>
+                        <paramref name="Server"/> = &lt;name of a domain controller | uninitialized&gt;
+                        </para>
+                        <para>
+                        <paramref name="Recipient"/> = &lt;user name&gt;
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>Send a message to all the names in a workgroup or domain</term>
+                    <description>
+                        <para>
+                        <paramref name="Recipient"/> = &lt;workgroup name | domain name&gt;*
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>Send a message from the local machine to a remote machine</term>
+                    <description>
+                        <para>
+                        <paramref name="Server"/> = &lt;name of the local machine | uninitialized&gt;
+                        </para>
+                        <para>
+                        <paramref name="Recipient"/> = &lt;name of the remote machine&gt;
+                        </para>
+                    </description>
+                </item>
+            </list>
+            </para>
+            <para>
+            <b>Note :</b> security restrictions apply for sending 
+            network messages, see <see cref="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)"/> 
+            for more information.
+            </para>
+            </remarks>
+            <example>
+            <para>
+            An example configuration section to log information 
+            using this appender from the local machine, named 
+            LOCAL_PC, to machine OPERATOR_PC :
+            </para>
+            <code lang="XML" escaped="true">
+            <appender name="NetSendAppender_Operator" type="log4net.Appender.NetSendAppender">
+                <server value="LOCAL_PC"/>
+                <recipient value="OPERATOR_PC"/>
+                <layout type="log4net.Layout.PatternLayout" value="%-5p %c [%x] - %m%n"/>
+            </appender>
+            </code>
+            </example>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Appender.NetSendAppender.m_server">
+            <summary>
+            The DNS or NetBIOS name of the server on which the function is to execute.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.NetSendAppender.m_sender">
+            <summary>
+            The sender of the network message.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.NetSendAppender.m_recipient">
+            <summary>
+            The message alias to which the message should be sent.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.NetSendAppender.m_securityContext">
+            <summary>
+            The security context to use for privileged calls
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.NetSendAppender.#ctor">
+            <summary>
+            Initializes the appender.
+            </summary>
+            <remarks>
+            The default constructor initializes all fields to their default values.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.NetSendAppender.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set.
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            The appender will be ignored if no <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> was specified.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException">The required property <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> was not specified.</exception>
+        </member>
+        <member name="M:log4net.Appender.NetSendAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Sends the event using a network message.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)">
+            <summary>
+            Sends a buffer of information to a registered message alias.
+            </summary>
+            <param name="serverName">The DNS or NetBIOS name of the server on which the function is to execute.</param>
+            <param name="msgName">The message alias to which the message buffer should be sent</param>
+            <param name="fromName">The originator of the message.</param>
+            <param name="buffer">The message text.</param>
+            <param name="bufferSize">The length, in bytes, of the message text.</param>
+            <remarks>
+            <para>
+            The following restrictions apply for sending network messages:
+            </para>
+            <para>
+            <list type="table">
+                <listheader>
+                    <term>Platform</term>
+                    <description>Requirements</description>
+                </listheader>
+                <item>
+                    <term>Windows NT</term>
+                    <description>
+                        <para>
+                        No special group membership is required to send a network message.
+                        </para>
+                        <para>
+                        Admin, Accounts, Print, or Server Operator group membership is required to 
+                        successfully send a network message on a remote server.
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>Windows 2000 or later</term>
+                    <description>
+                        <para>
+                        If you send a message on a domain controller that is running Active Directory, 
+                        access is allowed or denied based on the access control list (ACL) for the securable 
+                        object. The default ACL permits only Domain Admins and Account Operators to send a network message. 
+                        </para>
+                        <para>
+                        On a member server or workstation, only Administrators and Server Operators can send a network message. 
+                        </para>
+                    </description>
+                </item>
+            </list>
+            </para>
+            <para>
+            For more information see <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/security_requirements_for_the_network_management_functions.asp">Security Requirements for the Network Management Functions</a>.
+            </para>
+            </remarks>
+            <returns>
+            <para>
+            If the function succeeds, the return value is zero.
+            </para>
+            </returns>
+        </member>
+        <member name="P:log4net.Appender.NetSendAppender.Sender">
+            <summary>
+            Gets or sets the sender of the message.
+            </summary>
+            <value>
+            The sender of the message.
+            </value>
+            <remarks>
+            If this property is not specified, the message is sent from the local computer.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.NetSendAppender.Recipient">
+            <summary>
+            Gets or sets the message alias to which the message should be sent.
+            </summary>
+            <value>
+            The recipient of the message.
+            </value>
+            <remarks>
+            This property should always be specified in order to send a message.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.NetSendAppender.Server">
+            <summary>
+            Gets or sets the DNS or NetBIOS name of the remote server on which the function is to execute.
+            </summary>
+            <value>
+            DNS or NetBIOS name of the remote server on which the function is to execute.
+            </value>
+            <remarks>
+            <para>
+            For Windows NT 4.0 and earlier, the string should begin with \\.
+            </para>
+            <para>
+            If this property is not specified, the local computer is used. 
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.NetSendAppender.SecurityContext">
+            <summary>
+            Gets or sets the <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> used to call the NetSend method.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> used to call the NetSend method.
+            </value>
+            <remarks>
+            <para>
+            Unless a <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> specified here for this appender
+            the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
+            security context to use. The default behavior is to use the security context
+            of the current thread.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.NetSendAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.OutputDebugStringAppender">
+            <summary>
+            Appends log events to the OutputDebugString system.
+            </summary>
+            <remarks>
+            <para>
+            OutputDebugStringAppender appends log events to the
+            OutputDebugString system.
+            </para>
+            <para>
+            The string is passed to the native <c>OutputDebugString</c> 
+            function.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Appender.OutputDebugStringAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.OutputDebugStringAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.OutputDebugStringAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Write the logging event to the output debug string API
+            </summary>
+            <param name="loggingEvent">the event to log</param>
+            <remarks>
+            <para>
+            Write the logging event to the output debug string API
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.OutputDebugStringAppender.OutputDebugString(System.String)">
+            <summary>
+            Stub for OutputDebugString native method
+            </summary>
+            <param name="message">the string to output</param>
+            <remarks>
+            <para>
+            Stub for OutputDebugString native method
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.OutputDebugStringAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.RemoteSyslogAppender">
+            <summary>
+            Logs events to a remote syslog daemon.
+            </summary>
+            <remarks>
+            <para>
+            The BSD syslog protocol is used to remotely log to
+            a syslog daemon. The syslogd listens for for messages
+            on UDP port 514.
+            </para>
+            <para>
+            The syslog UDP protocol is not authenticated. Most syslog daemons
+            do not accept remote log messages because of the security implications.
+            You may be able to use the LocalSyslogAppender to talk to a local
+            syslog service.
+            </para>
+            <para>
+            There is an RFC 3164 that claims to document the BSD Syslog Protocol.
+            This RFC can be seen here: http://www.faqs.org/rfcs/rfc3164.html.
+            This appender generates what the RFC calls an "Original Device Message",
+            i.e. does not include the TIMESTAMP or HOSTNAME fields. By observation
+            this format of message will be accepted by all current syslog daemon
+            implementations. The daemon will attach the current time and the source
+            hostname or IP address to any messages received.
+            </para>
+            <para>
+            Syslog messages must have a facility and and a severity. The severity
+            is derived from the Level of the logging event.
+            The facility must be chosen from the set of defined syslog 
+            <see cref="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility"/> values. The facilities list is predefined
+            and cannot be extended.
+            </para>
+            <para>
+            An identifier is specified with each log message. This can be specified
+            by setting the <see cref="P:log4net.Appender.RemoteSyslogAppender.Identity"/> property. The identity (also know 
+            as the tag) must not contain white space. The default value for the
+            identity is the application name (from <see cref="P:log4net.Core.LoggingEvent.Domain"/>).
+            </para>
+            </remarks>
+            <author>Rob Lyon</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="T:log4net.Appender.UdpAppender">
+             <summary>
+             Sends logging events as connectionless UDP datagrams to a remote host or a 
+             multicast group using an <see cref="T:System.Net.Sockets.UdpClient"/>.
+             </summary>
+             <remarks>
+             <para>
+             UDP guarantees neither that messages arrive, nor that they arrive in the correct order.
+             </para>
+             <para>
+             To view the logging results, a custom application can be developed that listens for logging 
+             events.
+             </para>
+             <para>
+             When decoding events send via this appender remember to use the same encoding
+             to decode the events as was used to send the events. See the <see cref="P:log4net.Appender.UdpAppender.Encoding"/>
+             property to specify the encoding to use.
+             </para>
+             </remarks>
+             <example>
+             This example shows how to log receive logging events that are sent 
+             on IP address 244.0.0.1 and port 8080 to the console. The event is 
+             encoded in the packet as a unicode string and it is decoded as such. 
+             <code lang="C#">
+             IPEndPoint remoteEndPoint = new IPEndPoint(IPAddress.Any, 0);
+             UdpClient udpClient;
+             byte[] buffer;
+             string loggingEvent;
+             
+             try 
+             {
+                 udpClient = new UdpClient(8080);
+                 
+                 while(true) 
+                 {
+                     buffer = udpClient.Receive(ref remoteEndPoint);
+                     loggingEvent = System.Text.Encoding.Unicode.GetString(buffer);
+                     Console.WriteLine(loggingEvent);
+                 }
+             } 
+             catch(Exception e) 
+             {
+                 Console.WriteLine(e.ToString());
+             }
+             </code>
+             <code lang="Visual Basic">
+             Dim remoteEndPoint as IPEndPoint
+             Dim udpClient as UdpClient
+             Dim buffer as Byte()
+             Dim loggingEvent as String
+             
+             Try 
+                 remoteEndPoint = new IPEndPoint(IPAddress.Any, 0)
+                 udpClient = new UdpClient(8080)
+            
+                 While True
+                     buffer = udpClient.Receive(ByRef remoteEndPoint)
+                     loggingEvent = System.Text.Encoding.Unicode.GetString(buffer)
+                     Console.WriteLine(loggingEvent)
+                 Wend
+             Catch e As Exception
+                 Console.WriteLine(e.ToString())
+             End Try
+             </code>
+             <para>
+             An example configuration section to log information using this appender to the 
+             IP 224.0.0.1 on port 8080:
+             </para>
+             <code lang="XML" escaped="true">
+             <appender name="UdpAppender" type="log4net.Appender.UdpAppender">
+                 <remoteAddress value="224.0.0.1"/>
+                 <remotePort value="8080"/>
+                 <layout type="log4net.Layout.PatternLayout" value="%-5level %logger [%ndc] - %message%newline"/>
+             </appender>
+             </code>
+             </example>
+             <author>Gert Driesen</author>
+             <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Appender.UdpAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.UdpAppender"/> class.
+            </summary>
+            <remarks>
+            The default constructor initializes all fields to their default values.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.UdpAppender.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set.
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            The appender will be ignored if no <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> was specified or 
+            an invalid remote or local TCP port number was specified.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException">The required property <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> was not specified.</exception>
+            <exception cref="T:System.ArgumentOutOfRangeException">The TCP port number assigned to <see cref="P:log4net.Appender.UdpAppender.LocalPort"/> or <see cref="P:log4net.Appender.UdpAppender.RemotePort"/> is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
+        </member>
+        <member name="M:log4net.Appender.UdpAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Sends the event using an UDP datagram.
+            </para>
+            <para>
+            Exceptions are passed to the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.UdpAppender.OnClose">
+            <summary>
+            Closes the UDP connection and releases all resources associated with 
+            this <see cref="T:log4net.Appender.UdpAppender"/> instance.
+            </summary>
+            <remarks>
+            <para>
+            Disables the underlying <see cref="T:System.Net.Sockets.UdpClient"/> and releases all managed 
+            and unmanaged resources associated with the <see cref="T:log4net.Appender.UdpAppender"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.UdpAppender.InitializeClientConnection">
+            <summary>
+            Initializes the underlying  <see cref="T:System.Net.Sockets.UdpClient"/> connection.
+            </summary>
+            <remarks>
+            <para>
+            The underlying <see cref="T:System.Net.Sockets.UdpClient"/> is initialized and binds to the 
+            port number from which you intend to communicate.
+            </para>
+            <para>
+            Exceptions are passed to the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.UdpAppender.m_remoteAddress">
+            <summary>
+            The IP address of the remote host or multicast group to which 
+            the logging event will be sent.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.UdpAppender.m_remotePort">
+            <summary>
+            The TCP port number of the remote host or multicast group to 
+            which the logging event will be sent.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.UdpAppender.m_remoteEndPoint">
+            <summary>
+            The cached remote endpoint to which the logging events will be sent.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.UdpAppender.m_localPort">
+            <summary>
+            The TCP port number from which the <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.UdpAppender.m_client">
+            <summary>
+            The <see cref="T:System.Net.Sockets.UdpClient"/> instance that will be used for sending the 
+            logging events.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.UdpAppender.m_encoding">
+            <summary>
+            The encoding to use for the packet.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.UdpAppender.RemoteAddress">
+            <summary>
+            Gets or sets the IP address of the remote host or multicast group to which
+            the underlying <see cref="T:System.Net.Sockets.UdpClient"/> should sent the logging event.
+            </summary>
+            <value>
+            The IP address of the remote host or multicast group to which the logging event 
+            will be sent.
+            </value>
+            <remarks>
+            <para>
+            Multicast addresses are identified by IP class <b>D</b> addresses (in the range 224.0.0.0 to
+            239.255.255.255).  Multicast packets can pass across different networks through routers, so
+            it is possible to use multicasts in an Internet scenario as long as your network provider 
+            supports multicasting.
+            </para>
+            <para>
+            Hosts that want to receive particular multicast messages must register their interest by joining
+            the multicast group.  Multicast messages are not sent to networks where no host has joined
+            the multicast group.  Class <b>D</b> IP addresses are used for multicast groups, to differentiate
+            them from normal host addresses, allowing nodes to easily detect if a message is of interest.
+            </para>
+            <para>
+            Static multicast addresses that are needed globally are assigned by IANA.  A few examples are listed in the table below:
+            </para>
+            <para>
+            <list type="table">
+                <listheader>
+                    <term>IP Address</term>
+                    <description>Description</description>
+                </listheader>
+                <item>
+                    <term>224.0.0.1</term>
+                    <description>
+                        <para>
+                        Sends a message to all system on the subnet.
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>224.0.0.2</term>
+                    <description>
+                        <para>
+                        Sends a message to all routers on the subnet.
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>224.0.0.12</term>
+                    <description>
+                        <para>
+                        The DHCP server answers messages on the IP address 224.0.0.12, but only on a subnet.
+                        </para>
+                    </description>
+                </item>
+            </list>
+            </para>
+            <para>
+            A complete list of actually reserved multicast addresses and their owners in the ranges
+            defined by RFC 3171 can be found at the <A href="http://www.iana.org/assignments/multicast-addresses">IANA web site</A>. 
+            </para>
+            <para>
+            The address range 239.0.0.0 to 239.255.255.255 is reserved for administrative scope-relative 
+            addresses.  These addresses can be reused with other local groups.  Routers are typically 
+            configured with filters to prevent multicast traffic in this range from flowing outside
+            of the local network.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.UdpAppender.RemotePort">
+            <summary>
+            Gets or sets the TCP port number of the remote host or multicast group to which 
+            the underlying <see cref="T:System.Net.Sockets.UdpClient"/> should sent the logging event.
+            </summary>
+            <value>
+            An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/> 
+            indicating the TCP port number of the remote host or multicast group to which the logging event 
+            will be sent.
+            </value>
+            <remarks>
+            The underlying <see cref="T:System.Net.Sockets.UdpClient"/> will send messages to this TCP port number
+            on the remote host or multicast group.
+            </remarks>
+            <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
+        </member>
+        <member name="P:log4net.Appender.UdpAppender.LocalPort">
+            <summary>
+            Gets or sets the TCP port number from which the underlying <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
+            </summary>
+            <value>
+            An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/> 
+            indicating the TCP port number from which the underlying <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
+            </value>
+            <remarks>
+            <para>
+            The underlying <see cref="T:System.Net.Sockets.UdpClient"/> will bind to this port for sending messages.
+            </para>
+            <para>
+            Setting the value to 0 (the default) will cause the udp client not to bind to
+            a local port.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
+        </member>
+        <member name="P:log4net.Appender.UdpAppender.Encoding">
+            <summary>
+            Gets or sets <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
+            </value>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.UdpAppender.Client">
+            <summary>
+            Gets or sets the underlying <see cref="T:System.Net.Sockets.UdpClient"/>.
+            </summary>
+            <value>
+            The underlying <see cref="T:System.Net.Sockets.UdpClient"/>.
+            </value>
+            <remarks>
+            <see cref="T:log4net.Appender.UdpAppender"/> creates a <see cref="T:System.Net.Sockets.UdpClient"/> to send logging events 
+            over a network.  Classes deriving from <see cref="T:log4net.Appender.UdpAppender"/> can use this
+            property to get or set this <see cref="T:System.Net.Sockets.UdpClient"/>.  Use the underlying <see cref="T:System.Net.Sockets.UdpClient"/>
+            returned from <see cref="P:log4net.Appender.UdpAppender.Client"/> if you require access beyond that which 
+            <see cref="T:log4net.Appender.UdpAppender"/> provides.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.UdpAppender.RemoteEndPoint">
+            <summary>
+            Gets or sets the cached remote endpoint to which the logging events should be sent.
+            </summary>
+            <value>
+            The cached remote endpoint to which the logging events will be sent.
+            </value>
+            <remarks>
+            The <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> method will initialize the remote endpoint 
+            with the values of the <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> and <see cref="P:log4net.Appender.UdpAppender.RemotePort"/>
+            properties.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.UdpAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.DefaultSyslogPort">
+            <summary>
+            Syslog port 514
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.RemoteSyslogAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> class.
+            </summary>
+            <remarks>
+            This instance of the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> class is set up to write 
+            to a remote syslog daemon.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemoteSyslogAppender.AddMapping(log4net.Appender.RemoteSyslogAppender.LevelSeverity)">
+            <summary>
+            Add a mapping of level to severity
+            </summary>
+            <param name="mapping">The mapping to add</param>
+            <remarks>
+            <para>
+            Add a <see cref="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity"/> mapping to this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemoteSyslogAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes the event to a remote syslog daemon.
+            </para>
+            <para>
+            The format of the output will depend on the appender's layout.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemoteSyslogAppender.ActivateOptions">
+            <summary>
+            Initialize the options for this appender
+            </summary>
+            <remarks>
+            <para>
+            Initialize the level to syslog severity mappings set on this appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemoteSyslogAppender.GetSeverity(log4net.Core.Level)">
+            <summary>
+            Translates a log4net level to a syslog severity.
+            </summary>
+            <param name="level">A log4net level.</param>
+            <returns>A syslog severity.</returns>
+            <remarks>
+            <para>
+            Translates a log4net level to a syslog severity.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemoteSyslogAppender.GeneratePriority(log4net.Appender.RemoteSyslogAppender.SyslogFacility,log4net.Appender.RemoteSyslogAppender.SyslogSeverity)">
+            <summary>
+            Generate a syslog priority.
+            </summary>
+            <param name="facility">The syslog facility.</param>
+            <param name="severity">The syslog severity.</param>
+            <returns>A syslog priority.</returns>
+            <remarks>
+            <para>
+            Generate a syslog priority.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.m_facility">
+            <summary>
+            The facility. The default facility is <see cref="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User"/>.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.m_identity">
+            <summary>
+            The message identity
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.m_levelMapping">
+            <summary>
+            Mapping from level object to syslog severity
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.RemoteSyslogAppender.Identity">
+            <summary>
+            Message identity
+            </summary>
+            <remarks>
+            <para>
+            An identifier is specified with each log message. This can be specified
+            by setting the <see cref="P:log4net.Appender.RemoteSyslogAppender.Identity"/> property. The identity (also know 
+            as the tag) must not contain white space. The default value for the
+            identity is the application name (from <see cref="P:log4net.Core.LoggingEvent.Domain"/>).
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RemoteSyslogAppender.Facility">
+            <summary>
+            Syslog facility
+            </summary>
+            <remarks>
+            Set to one of the <see cref="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility"/> values. The list of
+            facilities is predefined and cannot be extended. The default value
+            is <see cref="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User"/>.
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.RemoteSyslogAppender.SyslogSeverity">
+            <summary>
+            syslog severities
+            </summary>
+            <remarks>
+            <para>
+            The syslog severities.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Emergency">
+            <summary>
+            system is unusable
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Alert">
+            <summary>
+            action must be taken immediately
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Critical">
+            <summary>
+            critical conditions
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Error">
+            <summary>
+            error conditions
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Warning">
+            <summary>
+            warning conditions
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Notice">
+            <summary>
+            normal but significant condition
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Informational">
+            <summary>
+            informational
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Debug">
+            <summary>
+            debug-level messages
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility">
+            <summary>
+            syslog facilities
+            </summary>
+            <remarks>
+            <para>
+            The syslog facilities
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Kernel">
+            <summary>
+            kernel messages
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User">
+            <summary>
+            random user-level messages
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Mail">
+            <summary>
+            mail system
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Daemons">
+            <summary>
+            system daemons
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Authorization">
+            <summary>
+            security/authorization messages
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Syslog">
+            <summary>
+            messages generated internally by syslogd
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Printer">
+            <summary>
+            line printer subsystem
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.News">
+            <summary>
+            network news subsystem
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Uucp">
+            <summary>
+            UUCP subsystem
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Clock">
+            <summary>
+            clock (cron/at) daemon
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Authorization2">
+            <summary>
+            security/authorization  messages (private)
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Ftp">
+            <summary>
+            ftp daemon
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Ntp">
+            <summary>
+            NTP subsystem
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Audit">
+            <summary>
+            log audit
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Alert">
+            <summary>
+            log alert
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Clock2">
+            <summary>
+            clock daemon
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local0">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local1">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local2">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local3">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local4">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local5">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local6">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local7">
+            <summary>
+            reserved for local use
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity">
+            <summary>
+            A class to act as a mapping between the level that a logging call is made at and
+            the syslog severity that is should be logged at.
+            </summary>
+            <remarks>
+            <para>
+            A class to act as a mapping between the level that a logging call is made at and
+            the syslog severity that is should be logged at.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RemoteSyslogAppender.LevelSeverity.Severity">
+            <summary>
+            The mapped syslog severity for the specified level
+            </summary>
+            <remarks>
+            <para>
+            Required property.
+            The mapped syslog severity for the specified level
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.RemotingAppender">
+            <summary>
+            Delivers logging events to a remote logging sink. 
+            </summary>
+            <remarks>
+            <para>
+            This Appender is designed to deliver events to a remote sink. 
+            That is any object that implements the <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
+            interface. It delivers the events using .NET remoting. The
+            object to deliver events to is specified by setting the
+            appenders <see cref="P:log4net.Appender.RemotingAppender.Sink"/> property.</para>
+            <para>
+            The RemotingAppender buffers events before sending them. This allows it to 
+            make more efficient use of the remoting infrastructure.</para>
+            <para>
+            Once the buffer is full the events are still not sent immediately. 
+            They are scheduled to be sent using a pool thread. The effect is that 
+            the send occurs asynchronously. This is very important for a 
+            number of non obvious reasons. The remoting infrastructure will 
+            flow thread local variables (stored in the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>),
+            if they are marked as <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>, across the 
+            remoting boundary. If the server is not contactable then
+            the remoting infrastructure will clear the <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>
+            objects from the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>. To prevent a logging failure from
+            having side effects on the calling application the remoting call must be made
+            from a separate thread to the one used by the application. A <see cref="T:System.Threading.ThreadPool"/>
+            thread is used for this. If no <see cref="T:System.Threading.ThreadPool"/> thread is available then
+            the events will block in the thread pool manager until a thread is available.</para>
+            <para>
+            Because the events are sent asynchronously using pool threads it is possible to close 
+            this appender before all the queued events have been sent.
+            When closing the appender attempts to wait until all the queued events have been sent, but 
+            this will timeout after 30 seconds regardless.</para>
+            <para>
+            If this appender is being closed because the <see cref="E:System.AppDomain.ProcessExit"/>
+            event has fired it may not be possible to send all the queued events. During process
+            exit the runtime limits the time that a <see cref="E:System.AppDomain.ProcessExit"/>
+            event handler is allowed to run for. If the runtime terminates the threads before
+            the queued events have been sent then they will be lost. To ensure that all events
+            are sent the appender must be closed before the application exits. See 
+            <see cref="M:log4net.Core.LoggerManager.Shutdown"/> for details on how to shutdown
+            log4net programmatically.</para>
+            </remarks>
+            <seealso cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Daniel Cazzulino</author>
+        </member>
+        <member name="M:log4net.Appender.RemotingAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.RemotingAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemotingAppender.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemotingAppender.SendBuffer(log4net.Core.LoggingEvent[])">
+            <summary>
+            Send the contents of the buffer to the remote sink.
+            </summary>
+            <remarks>
+            The events are not sent immediately. They are scheduled to be sent
+            using a pool thread. The effect is that the send occurs asynchronously.
+            This is very important for a number of non obvious reasons. The remoting
+            infrastructure will flow thread local variables (stored in the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>),
+            if they are marked as <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>, across the 
+            remoting boundary. If the server is not contactable then
+            the remoting infrastructure will clear the <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>
+            objects from the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>. To prevent a logging failure from
+            having side effects on the calling application the remoting call must be made
+            from a separate thread to the one used by the application. A <see cref="T:System.Threading.ThreadPool"/>
+            thread is used for this. If no <see cref="T:System.Threading.ThreadPool"/> thread is available then
+            the events will block in the thread pool manager until a thread is available.
+            </remarks>
+            <param name="events">The events to send.</param>
+        </member>
+        <member name="M:log4net.Appender.RemotingAppender.OnClose">
+            <summary>
+            Override base class close.
+            </summary>
+            <remarks>
+            <para>
+            This method waits while there are queued work items. The events are
+            sent asynchronously using <see cref="T:System.Threading.ThreadPool"/> work items. These items
+            will be sent once a thread pool thread is available to send them, therefore
+            it is possible to close the appender before all the queued events have been
+            sent.</para>
+            <para>
+            This method attempts to wait until all the queued events have been sent, but this 
+            method will timeout after 30 seconds regardless.</para>
+            <para>
+            If the appender is being closed because the <see cref="E:System.AppDomain.ProcessExit"/>
+            event has fired it may not be possible to send all the queued events. During process
+            exit the runtime limits the time that a <see cref="E:System.AppDomain.ProcessExit"/>
+            event handler is allowed to run for.</para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemotingAppender.BeginAsyncSend">
+            <summary>
+            A work item is being queued into the thread pool
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.RemotingAppender.EndAsyncSend">
+            <summary>
+            A work item from the thread pool has completed
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.RemotingAppender.SendBufferCallback(System.Object)">
+            <summary>
+            Send the contents of the buffer to the remote sink.
+            </summary>
+            <remarks>
+            This method is designed to be used with the <see cref="T:System.Threading.ThreadPool"/>.
+            This method expects to be passed an array of <see cref="T:log4net.Core.LoggingEvent"/>
+            objects in the state param.
+            </remarks>
+            <param name="state">the logging events to send</param>
+        </member>
+        <member name="F:log4net.Appender.RemotingAppender.m_sinkUrl">
+            <summary>
+            The URL of the remote sink.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemotingAppender.m_sinkObj">
+            <summary>
+            The local proxy (.NET remoting) for the remote logging sink.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemotingAppender.m_queuedCallbackCount">
+            <summary>
+            The number of queued callbacks currently waiting or executing
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RemotingAppender.m_workQueueEmptyEvent">
+            <summary>
+            Event used to signal when there are no queued work items
+            </summary>
+            <remarks>
+            This event is set when there are no queued work items. In this
+            state it is safe to close the appender.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RemotingAppender.Sink">
+            <summary>
+            Gets or sets the URL of the well-known object that will accept 
+            the logging events.
+            </summary>
+            <value>
+            The well-known URL of the remote sink.
+            </value>
+            <remarks>
+            <para>
+            The URL of the remoting sink that will accept logging events.
+            The sink must implement the <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
+            interface.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink">
+            <summary>
+            Interface used to deliver <see cref="T:log4net.Core.LoggingEvent"/> objects to a remote sink.
+            </summary>
+            <remarks>
+            This interface must be implemented by a remoting sink
+            if the <see cref="T:log4net.Appender.RemotingAppender"/> is to be used
+            to deliver logging events to the sink.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RemotingAppender.IRemoteLoggingSink.LogEvents(log4net.Core.LoggingEvent[])">
+            <summary>
+            Delivers logging events to the remote sink
+            </summary>
+            <param name="events">Array of events to log.</param>
+            <remarks>
+            <para>
+            Delivers logging events to the remote sink
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.RollingFileAppender">
+            <summary>
+            Appender that rolls log files based on size or date or both.
+            </summary>
+            <remarks>
+            <para>
+            RollingFileAppender can roll log files based on size or date or both
+            depending on the setting of the <see cref="P:log4net.Appender.RollingFileAppender.RollingStyle"/> property.
+            When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Size"/> the log file will be rolled
+            once its size exceeds the <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/>.
+            When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Date"/> the log file will be rolled
+            once the date boundary specified in the <see cref="P:log4net.Appender.RollingFileAppender.DatePattern"/> property
+            is crossed.
+            When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Composite"/> the log file will be
+            rolled once the date boundary specified in the <see cref="P:log4net.Appender.RollingFileAppender.DatePattern"/> property
+            is crossed, but within a date boundary the file will also be rolled
+            once its size exceeds the <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/>.
+            When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Once"/> the log file will be rolled when
+            the appender is configured. This effectively means that the log file can be
+            rolled once per program execution.
+            </para>
+            <para>
+            A of few additional optional features have been added:
+            <list type="bullet">
+            <item>Attach date pattern for current log file <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/></item>
+            <item>Backup number increments for newer files <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/></item>
+            <item>Infinite number of backups by file size <see cref="P:log4net.Appender.RollingFileAppender.MaxSizeRollBackups"/></item>
+            </list>
+            </para>
+            
+            <note>
+            <para>
+            For large or infinite numbers of backup files a <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> 
+            greater than zero is highly recommended, otherwise all the backup files need
+            to be renamed each time a new backup is created.
+            </para>
+            <para>
+            When Date/Time based rolling is used setting <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> 
+            to <see langword="true"/> will reduce the number of file renamings to few or none.
+            </para>
+            </note>
+            
+            <note type="caution">
+            <para>
+            Changing <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> or <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> without clearing
+            the log file directory of backup files will cause unexpected and unwanted side effects.  
+            </para>
+            </note>
+            
+            <para>
+            If Date/Time based rolling is enabled this appender will attempt to roll existing files
+            in the directory without a Date/Time tag based on the last write date of the base log file.
+            The appender only rolls the log file when a message is logged. If Date/Time based rolling 
+            is enabled then the appender will not roll the log file at the Date/Time boundary but
+            at the point when the next message is logged after the boundary has been crossed.
+            </para>
+            
+            <para>
+            The <see cref="T:log4net.Appender.RollingFileAppender"/> extends the <see cref="T:log4net.Appender.FileAppender"/> and
+            has the same behavior when opening the log file.
+            The appender will first try to open the file for writing when <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>
+            is called. This will typically be during configuration.
+            If the file cannot be opened for writing the appender will attempt
+            to open the file again each time a message is logged to the appender.
+            If the file cannot be opened for writing when a message is logged then
+            the message will be discarded by this appender.
+            </para>
+            <para>
+            When rolling a backup file necessitates deleting an older backup file the
+            file to be deleted is moved to a temporary name before being deleted.
+            </para>
+            
+            <note type="caution">
+            <para>
+            A maximum number of backup files when rolling on date/time boundaries is not supported.
+            </para>
+            </note>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Aspi Havewala</author>
+            <author>Douglas de la Torre</author>
+            <author>Edward Smit</author>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.RollingFileAppender"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.SetQWForFiles(System.IO.TextWriter)">
+            <summary>
+            Sets the quiet writer being used.
+            </summary>
+            <remarks>
+            This method can be overridden by sub classes.
+            </remarks>
+            <param name="writer">the writer to set</param>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Write out a logging event.
+            </summary>
+            <param name="loggingEvent">the event to write to file.</param>
+            <remarks>
+            <para>
+            Handles append time behavior for RollingFileAppender.  This checks
+            if a roll over either by date (checked first) or time (checked second)
+            is need and then appends to the file last.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.Append(log4net.Core.LoggingEvent[])">
+            <summary>
+            Write out an array of logging events.
+            </summary>
+            <param name="loggingEvents">the events to write to file.</param>
+            <remarks>
+            <para>
+            Handles append time behavior for RollingFileAppender.  This checks
+            if a roll over either by date (checked first) or time (checked second)
+            is need and then appends to the file last.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.AdjustFileBeforeAppend">
+            <summary>
+            Performs any required rolling before outputting the next event
+            </summary>
+            <remarks>
+            <para>
+            Handles append time behavior for RollingFileAppender.  This checks
+            if a roll over either by date (checked first) or time (checked second)
+            is need and then appends to the file last.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.OpenFile(System.String,System.Boolean)">
+            <summary>
+            Creates and opens the file for logging.  If <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/>
+            is false then the fully qualified name is determined and used.
+            </summary>
+            <param name="fileName">the name of the file to open</param>
+            <param name="append">true to append to existing file</param>
+            <remarks>
+            <para>This method will ensure that the directory structure
+            for the <paramref name="fileName"/> specified exists.</para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.GetNextOutputFileName(System.String)">
+            <summary>
+            Get the current output file name
+            </summary>
+            <param name="fileName">the base file name</param>
+            <returns>the output file name</returns>
+            <remarks>
+            The output file name is based on the base fileName specified.
+            If <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> is set then the output 
+            file name is the same as the base file passed in. Otherwise
+            the output file depends on the date pattern, on the count
+            direction or both.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.DetermineCurSizeRollBackups">
+            <summary>
+            Determines curSizeRollBackups (only within the current roll point)
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.GetWildcardPatternForFile(System.String)">
+            <summary>
+            Generates a wildcard pattern that can be used to find all files
+            that are similar to the base file name.
+            </summary>
+            <param name="baseFileName"></param>
+            <returns></returns>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.GetExistingFiles(System.String)">
+            <summary>
+            Builds a list of filenames for all files matching the base filename plus a file
+            pattern.
+            </summary>
+            <param name="baseFilePath"></param>
+            <returns></returns>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.RollOverIfDateBoundaryCrossing">
+            <summary>
+            Initiates a roll over if needed for crossing a date boundary since the last run.
+            </summary>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.ExistingInit">
+            <summary>
+            Initializes based on existing conditions at time of <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>.
+            </summary>
+            <remarks>
+            <para>
+            Initializes based on existing conditions at time of <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>.
+            The following is done
+            <list type="bullet">
+            <item>determine curSizeRollBackups (only within the current roll point)</item>
+            <item>initiates a roll over if needed for crossing a date boundary since the last run.</item>
+            </list>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.InitializeFromOneFile(System.String,System.String)">
+            <summary>
+            Does the work of bumping the 'current' file counter higher
+            to the highest count when an incremental file name is seen.
+            The highest count is either the first file (when count direction
+            is greater than 0) or the last file (when count direction less than 0).
+            In either case, we want to know the highest count that is present.
+            </summary>
+            <param name="baseFile"></param>
+            <param name="curFileName"></param>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.InitializeRollBackups(System.String,System.Collections.ArrayList)">
+            <summary>
+            Takes a list of files and a base file name, and looks for 
+            'incremented' versions of the base file.  Bumps the max
+            count up to the highest count seen.
+            </summary>
+            <param name="baseFile"></param>
+            <param name="arrayFiles"></param>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.ComputeCheckPeriod(System.String)">
+            <summary>
+            Calculates the RollPoint for the datePattern supplied.
+            </summary>
+            <param name="datePattern">the date pattern to calculate the check period for</param>
+            <returns>The RollPoint that is most accurate for the date pattern supplied</returns>
+            <remarks>
+            Essentially the date pattern is examined to determine what the
+            most suitable roll point is. The roll point chosen is the roll point
+            with the smallest period that can be detected using the date pattern
+            supplied. i.e. if the date pattern only outputs the year, month, day 
+            and hour then the smallest roll point that can be detected would be
+            and hourly roll point as minutes could not be detected.
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            Sets initial conditions including date/time roll over information, first check,
+            scheduledFilename, and calls <see cref="M:log4net.Appender.RollingFileAppender.ExistingInit"/> to initialize
+            the current number of backups.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.RollOverTime(System.Boolean)">
+            <summary>
+            Rollover the file(s) to date/time tagged file(s).
+            </summary>
+            <param name="fileIsOpen">set to true if the file to be rolled is currently open</param>
+            <remarks>
+            <para>
+            Rollover the file(s) to date/time tagged file(s).
+            Resets curSizeRollBackups. 
+            If fileIsOpen is set then the new file is opened (through SafeOpenFile).
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.RollFile(System.String,System.String)">
+            <summary>
+            Renames file <paramref name="fromFile"/> to file <paramref name="toFile"/>.
+            </summary>
+            <param name="fromFile">Name of existing file to roll.</param>
+            <param name="toFile">New name for file.</param>
+            <remarks>
+            <para>
+            Renames file <paramref name="fromFile"/> to file <paramref name="toFile"/>. It
+            also checks for existence of target file and deletes if it does.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.FileExists(System.String)">
+            <summary>
+            Test if a file exists at a specified path
+            </summary>
+            <param name="path">the path to the file</param>
+            <returns>true if the file exists</returns>
+            <remarks>
+            <para>
+            Test if a file exists at a specified path
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.DeleteFile(System.String)">
+            <summary>
+            Deletes the specified file if it exists.
+            </summary>
+            <param name="fileName">The file to delete.</param>
+            <remarks>
+            <para>
+            Delete a file if is exists.
+            The file is first moved to a new filename then deleted.
+            This allows the file to be removed even when it cannot
+            be deleted, but it still can be moved.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.RollOverSize">
+            <summary>
+            Implements file roll base on file size.
+            </summary>
+            <remarks>
+            <para>
+            If the maximum number of size based backups is reached
+            (<c>curSizeRollBackups == maxSizeRollBackups</c>) then the oldest
+            file is deleted -- its index determined by the sign of countDirection.
+            If <c>countDirection</c> &lt; 0, then files
+            {<c>File.1</c>, ..., <c>File.curSizeRollBackups -1</c>}
+            are renamed to {<c>File.2</c>, ...,
+            <c>File.curSizeRollBackups</c>}. Moreover, <c>File</c> is
+            renamed <c>File.1</c> and closed.
+            </para>
+            <para>
+            A new file is created to receive further log output.
+            </para>
+            <para>
+            If <c>maxSizeRollBackups</c> is equal to zero, then the
+            <c>File</c> is truncated with no backup files created.
+            </para>
+            <para>
+            If <c>maxSizeRollBackups</c> &lt; 0, then <c>File</c> is
+            renamed if needed and no files are deleted.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.RollOverRenameFiles(System.String)">
+            <summary>
+            Implements file roll.
+            </summary>
+            <param name="baseFileName">the base name to rename</param>
+            <remarks>
+            <para>
+            If the maximum number of size based backups is reached
+            (<c>curSizeRollBackups == maxSizeRollBackups</c>) then the oldest
+            file is deleted -- its index determined by the sign of countDirection.
+            If <c>countDirection</c> &lt; 0, then files
+            {<c>File.1</c>, ..., <c>File.curSizeRollBackups -1</c>}
+            are renamed to {<c>File.2</c>, ...,
+            <c>File.curSizeRollBackups</c>}. 
+            </para>
+            <para>
+            If <c>maxSizeRollBackups</c> is equal to zero, then the
+            <c>File</c> is truncated with no backup files created.
+            </para>
+            <para>
+            If <c>maxSizeRollBackups</c> &lt; 0, then <c>File</c> is
+            renamed if needed and no files are deleted.
+            </para>
+            <para>
+            This is called by <see cref="M:log4net.Appender.RollingFileAppender.RollOverSize"/> to rename the files.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.RollingFileAppender.NextCheckDate(System.DateTime,log4net.Appender.RollingFileAppender.RollPoint)">
+            <summary>
+            Get the start time of the next window for the current rollpoint
+            </summary>
+            <param name="currentDateTime">the current date</param>
+            <param name="rollPoint">the type of roll point we are working with</param>
+            <returns>the start time for the next roll point an interval after the currentDateTime date</returns>
+            <remarks>
+            <para>
+            Returns the date of the next roll point after the currentDateTime date passed to the method.
+            </para>
+            <para>
+            The basic strategy is to subtract the time parts that are less significant
+            than the rollpoint from the current time. This should roll the time back to
+            the start of the time window for the current rollpoint. Then we add 1 window
+            worth of time and get the start time of the next window for the rollpoint.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_dateTime">
+            <summary>
+            This object supplies the current date/time.  Allows test code to plug in
+            a method to control this class when testing date/time based rolling.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_datePattern">
+            <summary>
+            The date pattern. By default, the pattern is set to <c>".yyyy-MM-dd"</c> 
+            meaning daily rollover.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_scheduledFilename">
+            <summary>
+            The actual formatted filename that is currently being written to
+            or will be the file transferred to on roll over
+            (based on staticLogFileName).
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_nextCheck">
+            <summary>
+            The timestamp when we shall next recompute the filename.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_now">
+            <summary>
+            Holds date of last roll over
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_rollPoint">
+            <summary>
+            The type of rolling done
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_maxFileSize">
+            <summary>
+            The default maximum file size is 10MB
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_maxSizeRollBackups">
+            <summary>
+            There is zero backup files by default
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_curSizeRollBackups">
+            <summary>
+            How many sized based backups have been made so far
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_countDirection">
+            <summary>
+            The rolling file count direction. 
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_rollingStyle">
+            <summary>
+            The rolling mode used in this appender.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_rollDate">
+            <summary>
+            Cache flag set if we are rolling by date.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_rollSize">
+            <summary>
+            Cache flag set if we are rolling by size.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_staticLogFileName">
+            <summary>
+            Value indicating whether to always log to the same file.
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.m_baseFileName">
+            <summary>
+            FileName provided in configuration.  Used for rolling properly
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.s_date1970">
+            <summary>
+            The 1st of January 1970 in UTC
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.DatePattern">
+            <summary>
+            Gets or sets the date pattern to be used for generating file names
+            when rolling over on date.
+            </summary>
+            <value>
+            The date pattern to be used for generating file names when rolling 
+            over on date.
+            </value>
+            <remarks>
+            <para>
+            Takes a string in the same format as expected by 
+            <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/>.
+            </para>
+            <para>
+            This property determines the rollover schedule when rolling over
+            on date.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.MaxSizeRollBackups">
+            <summary>
+            Gets or sets the maximum number of backup files that are kept before
+            the oldest is erased.
+            </summary>
+            <value>
+            The maximum number of backup files that are kept before the oldest is
+            erased.
+            </value>
+            <remarks>
+            <para>
+            If set to zero, then there will be no backup files and the log file 
+            will be truncated when it reaches <see cref="P:log4net.Appender.RollingFileAppender.MaxFileSize"/>.  
+            </para>
+            <para>
+            If a negative number is supplied then no deletions will be made.  Note 
+            that this could result in very slow performance as a large number of 
+            files are rolled over unless <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> is used.
+            </para>
+            <para>
+            The maximum applies to <b>each</b> time based group of files and 
+            <b>not</b> the total.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.MaxFileSize">
+            <summary>
+            Gets or sets the maximum size that the output file is allowed to reach
+            before being rolled over to backup files.
+            </summary>
+            <value>
+            The maximum size in bytes that the output file is allowed to reach before being 
+            rolled over to backup files.
+            </value>
+            <remarks>
+            <para>
+            This property is equivalent to <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/> except
+            that it is required for differentiating the setter taking a
+            <see cref="T:System.Int64"/> argument from the setter taking a <see cref="T:System.String"/> 
+            argument.
+            </para>
+            <para>
+            The default maximum file size is 10MB (10*1024*1024).
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.MaximumFileSize">
+            <summary>
+            Gets or sets the maximum size that the output file is allowed to reach
+            before being rolled over to backup files.
+            </summary>
+            <value>
+            The maximum size that the output file is allowed to reach before being 
+            rolled over to backup files.
+            </value>
+            <remarks>
+            <para>
+            This property allows you to specify the maximum size with the
+            suffixes "KB", "MB" or "GB" so that the size is interpreted being 
+            expressed respectively in kilobytes, megabytes or gigabytes. 
+            </para>
+            <para>
+            For example, the value "10KB" will be interpreted as 10240 bytes.
+            </para>
+            <para>
+            The default maximum file size is 10MB.
+            </para>
+            <para>
+            If you have the option to set the maximum file size programmatically
+            consider using the <see cref="P:log4net.Appender.RollingFileAppender.MaxFileSize"/> property instead as this
+            allows you to set the size in bytes as a <see cref="T:System.Int64"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.CountDirection">
+            <summary>
+            Gets or sets the rolling file count direction. 
+            </summary>
+            <value>
+            The rolling file count direction.
+            </value>
+            <remarks>
+            <para>
+            Indicates if the current file is the lowest numbered file or the
+            highest numbered file.
+            </para>
+            <para>
+            By default newer files have lower numbers (<see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &lt; 0),
+            i.e. log.1 is most recent, log.5 is the 5th backup, etc...
+            </para>
+            <para>
+            <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &gt;= 0 does the opposite i.e.
+            log.1 is the first backup made, log.5 is the 5th backup made, etc.
+            For infinite backups use <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &gt;= 0 to reduce 
+            rollover costs.
+            </para>
+            <para>The default file count direction is -1.</para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.RollingStyle">
+            <summary>
+            Gets or sets the rolling style.
+            </summary>
+            <value>The rolling style.</value>
+            <remarks>
+            <para>
+            The default rolling style is <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Composite"/>.
+            </para>
+            <para>
+            When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Once"/> this appender's
+            <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property is set to <c>false</c>, otherwise
+            the appender would append to a single file rather than rolling
+            the file each time it is opened.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.StaticLogFileName">
+            <summary>
+            Gets or sets a value indicating whether to always log to
+            the same file.
+            </summary>
+            <value>
+            <c>true</c> if always should be logged to the same file, otherwise <c>false</c>.
+            </value>
+            <remarks>
+            <para>
+            By default file.log is always the current file.  Optionally
+            file.log.yyyy-mm-dd for current formatted datePattern can by the currently
+            logging file (or file.log.curSizeRollBackup or even
+            file.log.yyyy-mm-dd.curSizeRollBackup).
+            </para>
+            <para>
+            This will make time based rollovers with a large number of backups 
+            much faster as the appender it won't have to rename all the backups!
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.RollingFileAppender.RollingMode">
+            <summary>
+            Style of rolling to use
+            </summary>
+            <remarks>
+            <para>
+            Style of rolling to use
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Once">
+            <summary>
+            Roll files once per program execution
+            </summary>
+            <remarks>
+            <para>
+            Roll files once per program execution.
+            Well really once each time this appender is
+            configured.
+            </para>
+            <para>
+            Setting this option also sets <c>AppendToFile</c> to
+            <c>false</c> on the <c>RollingFileAppender</c>, otherwise
+            this appender would just be a normal file appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Size">
+            <summary>
+            Roll files based only on the size of the file
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Date">
+            <summary>
+            Roll files based only on the date
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Composite">
+            <summary>
+            Roll files based on both the size and date of the file
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.RollingFileAppender.RollPoint">
+            <summary>
+            The code assumes that the following 'time' constants are in a increasing sequence.
+            </summary>
+            <remarks>
+            <para>
+            The code assumes that the following 'time' constants are in a increasing sequence.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollPoint.InvalidRollPoint">
+            <summary>
+            Roll the log not based on the date
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfMinute">
+            <summary>
+            Roll the log for each minute
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfHour">
+            <summary>
+            Roll the log for each hour
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollPoint.HalfDay">
+            <summary>
+            Roll the log twice a day (midday and midnight)
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfDay">
+            <summary>
+            Roll the log each day (midnight)
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfWeek">
+            <summary>
+            Roll the log each week
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfMonth">
+            <summary>
+            Roll the log each month
+            </summary>
+        </member>
+        <member name="T:log4net.Appender.RollingFileAppender.IDateTime">
+            <summary>
+            This interface is used to supply Date/Time information to the <see cref="T:log4net.Appender.RollingFileAppender"/>.
+            </summary>
+            <remarks>
+            This interface is used to supply Date/Time information to the <see cref="T:log4net.Appender.RollingFileAppender"/>.
+            Used primarily to allow test classes to plug themselves in so they can
+            supply test date/times.
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.IDateTime.Now">
+            <summary>
+            Gets the <i>current</i> time.
+            </summary>
+            <value>The <i>current</i> time.</value>
+            <remarks>
+            <para>
+            Gets the <i>current</i> time.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.RollingFileAppender.DefaultDateTime">
+            <summary>
+            Default implementation of <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> that returns the current time.
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.RollingFileAppender.DefaultDateTime.Now">
+            <summary>
+            Gets the <b>current</b> time.
+            </summary>
+            <value>The <b>current</b> time.</value>
+            <remarks>
+            <para>
+            Gets the <b>current</b> time.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.SmtpAppender">
+            <summary>
+            Send an e-mail when a specific logging event occurs, typically on errors 
+            or fatal errors.
+            </summary>
+            <remarks>
+            <para>
+            The number of logging events delivered in this e-mail depend on
+            the value of <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option. The
+            <see cref="T:log4net.Appender.SmtpAppender"/> keeps only the last
+            <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> logging events in its 
+            cyclic buffer. This keeps memory requirements at a reasonable level while 
+            still delivering useful application context.
+            </para>
+            <note type="caution">
+            Authentication and setting the server Port are only available on the MS .NET 1.1 runtime.
+            For these features to be enabled you need to ensure that you are using a version of
+            the log4net assembly that is built against the MS .NET 1.1 framework and that you are
+            running the your application on the MS .NET 1.1 runtime. On all other platforms only sending
+            unauthenticated messages to a server listening on port 25 (the default) is supported.
+            </note>
+            <para>
+            Authentication is supported by setting the <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> property to
+            either <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> or <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/>.
+            If using <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> authentication then the <see cref="P:log4net.Appender.SmtpAppender.Username"/>
+            and <see cref="P:log4net.Appender.SmtpAppender.Password"/> properties must also be set.
+            </para>
+            <para>
+            To set the SMTP server port use the <see cref="P:log4net.Appender.SmtpAppender.Port"/> property. The default port is 25.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Appender.SmtpAppender.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.SmtpAppender.SendBuffer(log4net.Core.LoggingEvent[])">
+            <summary>
+            Sends the contents of the cyclic buffer as an e-mail message.
+            </summary>
+            <param name="events">The logging events to send.</param>
+        </member>
+        <member name="M:log4net.Appender.SmtpAppender.SendEmail(System.String)">
+            <summary>
+            Send the email message
+            </summary>
+            <param name="messageBody">the body text to include in the mail</param>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.To">
+            <summary>
+            Gets or sets a semicolon-delimited list of recipient e-mail addresses.
+            </summary>
+            <value>
+            A semicolon-delimited list of e-mail addresses.
+            </value>
+            <remarks>
+            <para>
+            A semicolon-delimited list of recipient e-mail addresses.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.From">
+            <summary>
+            Gets or sets the e-mail address of the sender.
+            </summary>
+            <value>
+            The e-mail address of the sender.
+            </value>
+            <remarks>
+            <para>
+            The e-mail address of the sender.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.Subject">
+            <summary>
+            Gets or sets the subject line of the e-mail message.
+            </summary>
+            <value>
+            The subject line of the e-mail message.
+            </value>
+            <remarks>
+            <para>
+            The subject line of the e-mail message.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.SmtpHost">
+            <summary>
+            Gets or sets the name of the SMTP relay mail server to use to send 
+            the e-mail messages.
+            </summary>
+            <value>
+            The name of the e-mail relay server. If SmtpServer is not set, the 
+            name of the local SMTP server is used.
+            </value>
+            <remarks>
+            <para>
+            The name of the e-mail relay server. If SmtpServer is not set, the 
+            name of the local SMTP server is used.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.LocationInfo">
+            <summary>
+            Obsolete
+            </summary>
+            <remarks>
+            Use the BufferingAppenderSkeleton Fix methods instead 
+            </remarks>
+            <remarks>
+            <para>
+            Obsolete property.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.Authentication">
+            <summary>
+            The mode to use to authentication with the SMTP server
+            </summary>
+            <remarks>
+            <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
+            <para>
+            Valid Authentication mode values are: <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None"/>, 
+            <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>, and <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/>. 
+            The default value is <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None"/>. When using 
+            <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> you must specify the <see cref="P:log4net.Appender.SmtpAppender.Username"/> 
+            and <see cref="P:log4net.Appender.SmtpAppender.Password"/> to use to authenticate.
+            When using <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/> the Windows credentials for the current
+            thread, if impersonating, or the process will be used to authenticate. 
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.Username">
+            <summary>
+            The username to use to authenticate with the SMTP server
+            </summary>
+            <remarks>
+            <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
+            <para>
+            A <see cref="P:log4net.Appender.SmtpAppender.Username"/> and <see cref="P:log4net.Appender.SmtpAppender.Password"/> must be specified when 
+            <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> is set to <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>, 
+            otherwise the username will be ignored. 
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.Password">
+            <summary>
+            The password to use to authenticate with the SMTP server
+            </summary>
+            <remarks>
+            <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
+            <para>
+            A <see cref="P:log4net.Appender.SmtpAppender.Username"/> and <see cref="P:log4net.Appender.SmtpAppender.Password"/> must be specified when 
+            <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> is set to <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>, 
+            otherwise the password will be ignored. 
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.Port">
+            <summary>
+            The port on which the SMTP server is listening
+            </summary>
+            <remarks>
+            <note type="caution">Server Port is only available on the MS .NET 1.1 runtime.</note>
+            <para>
+            The port on which the SMTP server is listening. The default
+            port is <c>25</c>. The Port can only be changed when running on
+            the MS .NET 1.1 runtime.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.Priority">
+            <summary>
+            Gets or sets the priority of the e-mail message
+            </summary>
+            <value>
+            One of the <see cref="T:System.Net.Mail.MailPriority"/> values.
+            </value>
+            <remarks>
+            <para>
+            Sets the priority of the e-mails generated by this
+            appender. The default priority is <see cref="F:System.Net.Mail.MailPriority.Normal"/>.
+            </para>
+            <para>
+            If you are using this appender to report errors then
+            you may want to set the priority to <see cref="F:System.Net.Mail.MailPriority.High"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.SmtpAppender.SmtpAuthentication">
+            <summary>
+            Values for the <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> property.
+            </summary>
+            <remarks>
+            <para>
+            SMTP authentication modes.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None">
+            <summary>
+            No authentication
+            </summary>
+        </member>
+        <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic">
+            <summary>
+            Basic authentication.
+            </summary>
+            <remarks>
+            Requires a username and password to be supplied
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm">
+            <summary>
+            Integrated authentication
+            </summary>
+            <remarks>
+            Uses the Windows credentials from the current thread or process to authenticate.
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.SmtpPickupDirAppender">
+            <summary>
+            Send an email when a specific logging event occurs, typically on errors 
+            or fatal errors. Rather than sending via smtp it writes a file into the
+            directory specified by <see cref="P:log4net.Appender.SmtpPickupDirAppender.PickupDir"/>. This allows services such
+            as the IIS SMTP agent to manage sending the messages.
+            </summary>
+            <remarks>
+            <para>
+            The configuration for this appender is identical to that of the <c>SMTPAppender</c>,
+            except that instead of specifying the <c>SMTPAppender.SMTPHost</c> you specify
+            <see cref="P:log4net.Appender.SmtpPickupDirAppender.PickupDir"/>.
+            </para>
+            <para>
+            The number of logging events delivered in this e-mail depend on
+            the value of <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option. The
+            <see cref="T:log4net.Appender.SmtpPickupDirAppender"/> keeps only the last
+            <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> logging events in its 
+            cyclic buffer. This keeps memory requirements at a reasonable level while 
+            still delivering useful application context.
+            </para>
+            </remarks>
+            <author>Niall Daley</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Appender.SmtpPickupDirAppender.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.SmtpPickupDirAppender.SendBuffer(log4net.Core.LoggingEvent[])">
+            <summary>
+            Sends the contents of the cyclic buffer as an e-mail message.
+            </summary>
+            <param name="events">The logging events to send.</param>
+            <remarks>
+            <para>
+            Sends the contents of the cyclic buffer as an e-mail message.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions">
+            <summary>
+            Activate the options on this appender. 
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.SmtpPickupDirAppender.ConvertToFullPath(System.String)">
+            <summary>
+            Convert a path into a fully qualified path.
+            </summary>
+            <param name="path">The path to convert.</param>
+            <returns>The fully qualified path.</returns>
+            <remarks>
+            <para>
+            Converts the path specified to a fully
+            qualified path. If the path is relative it is
+            taken as relative from the application base 
+            directory.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.SmtpPickupDirAppender.m_securityContext">
+            <summary>
+            The security context to use for privileged calls
+            </summary>
+        </member>
+        <member name="P:log4net.Appender.SmtpPickupDirAppender.To">
+            <summary>
+            Gets or sets a semicolon-delimited list of recipient e-mail addresses.
+            </summary>
+            <value>
+            A semicolon-delimited list of e-mail addresses.
+            </value>
+            <remarks>
+            <para>
+            A semicolon-delimited list of e-mail addresses.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpPickupDirAppender.From">
+            <summary>
+            Gets or sets the e-mail address of the sender.
+            </summary>
+            <value>
+            The e-mail address of the sender.
+            </value>
+            <remarks>
+            <para>
+            The e-mail address of the sender.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpPickupDirAppender.Subject">
+            <summary>
+            Gets or sets the subject line of the e-mail message.
+            </summary>
+            <value>
+            The subject line of the e-mail message.
+            </value>
+            <remarks>
+            <para>
+            The subject line of the e-mail message.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpPickupDirAppender.PickupDir">
+            <summary>
+            Gets or sets the path to write the messages to.
+            </summary>
+            <remarks>
+            <para>
+            Gets or sets the path to write the messages to. This should be the same
+            as that used by the agent sending the messages.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext">
+            <summary>
+            Gets or sets the <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> used to write to the pickup directory.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> used to write to the pickup directory.
+            </value>
+            <remarks>
+            <para>
+            Unless a <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> specified here for this appender
+            the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
+            security context to use. The default behavior is to use the security context
+            of the current thread.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.SmtpPickupDirAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.TelnetAppender">
+            <summary>
+            Appender that allows clients to connect via Telnet to receive log messages
+            </summary>
+            <remarks>	
+            <para>
+            The TelnetAppender accepts socket connections and streams logging messages
+            back to the client.  
+            The output is provided in a telnet-friendly way so that a log can be monitored 
+            over a TCP/IP socket.
+            This allows simple remote monitoring of application logging.
+            </para>
+            <para>
+            The default <see cref="P:log4net.Appender.TelnetAppender.Port"/> is 23 (the telnet port).
+            </para>
+            </remarks>
+            <author>Keith Long</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.OnClose">
+            <summary>
+            Overrides the parent method to close the socket handler
+            </summary>
+            <remarks>
+            <para>
+            Closes all the outstanding connections.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.ActivateOptions">
+            <summary>
+            Initialize the appender based on the options set.
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            Create the socket handler and wait for connections
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Writes the logging event to each connected client.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes the logging event to each connected client.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.TelnetAppender.Port">
+            <summary>
+            Gets or sets the TCP port number on which this <see cref="T:log4net.Appender.TelnetAppender"/> will listen for connections.
+            </summary>
+            <value>
+            An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/> 
+            indicating the TCP port number on which this <see cref="T:log4net.Appender.TelnetAppender"/> will listen for connections.
+            </value>
+            <remarks>
+            <para>
+            The default value is 23 (the telnet port).
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> 
+            or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
+        </member>
+        <member name="P:log4net.Appender.TelnetAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.TelnetAppender.SocketHandler">
+            <summary>
+            Helper class to manage connected clients
+            </summary>
+            <remarks>
+            <para>
+            The SocketHandler class is used to accept connections from
+            clients.  It is threaded so that clients can connect/disconnect
+            asynchronously.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.#ctor(System.Int32)">
+            <summary>
+            Opens a new server port on <paramref ref="port"/>
+            </summary>
+            <param name="port">the local port to listen on for connections</param>
+            <remarks>
+            <para>
+            Creates a socket handler on the specified local server port.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.Send(System.String)">
+            <summary>
+            Sends a string message to each of the connected clients
+            </summary>
+            <param name="message">the text to send</param>
+            <remarks>
+            <para>
+            Sends a string message to each of the connected clients
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.AddClient(log4net.Appender.TelnetAppender.SocketHandler.SocketClient)">
+            <summary>
+            Add a client to the internal clients list
+            </summary>
+            <param name="client">client to add</param>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.RemoveClient(log4net.Appender.TelnetAppender.SocketHandler.SocketClient)">
+            <summary>
+            Remove a client from the internal clients list
+            </summary>
+            <param name="client">client to remove</param>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.OnConnect(System.IAsyncResult)">
+            <summary>
+            Callback used to accept a connection on the server socket
+            </summary>
+            <param name="asyncResult">The result of the asynchronous operation</param>
+            <remarks>
+            <para>
+            On connection adds to the list of connections 
+            if there are two many open connections you will be disconnected
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.Dispose">
+            <summary>
+            Close all network connections
+            </summary>
+            <remarks>
+            <para>
+            Make sure we close all network connections
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.TelnetAppender.SocketHandler.HasConnections">
+            <summary>
+            Test if this handler has active connections
+            </summary>
+            <value>
+            <c>true</c> if this handler has active connections
+            </value>
+            <remarks>
+            <para>
+            This property will be <c>true</c> while this handler has
+            active connections, that is at least one connection that 
+            the handler will attempt to send a message to.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.TelnetAppender.SocketHandler.SocketClient">
+            <summary>
+            Class that represents a client connected to this handler
+            </summary>
+            <remarks>
+            <para>
+            Class that represents a client connected to this handler
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.#ctor(System.Net.Sockets.Socket)">
+            <summary>
+            Create this <see cref="T:log4net.Appender.TelnetAppender.SocketHandler.SocketClient"/> for the specified <see cref="T:System.Net.Sockets.Socket"/>
+            </summary>
+            <param name="socket">the client's socket</param>
+            <remarks>
+            <para>
+            Opens a stream writer on the socket.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Send(System.String)">
+            <summary>
+            Write a string to the client
+            </summary>
+            <param name="message">string to send</param>
+            <remarks>
+            <para>
+            Write a string to the client
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Dispose">
+            <summary>
+            Cleanup the clients connection
+            </summary>
+            <remarks>
+            <para>
+            Close the socket connection.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Appender.TraceAppender">
+            <summary>
+            Appends log events to the <see cref="T:System.Diagnostics.Trace"/> system.
+            </summary>
+            <remarks>
+            <para>
+            The application configuration file can be used to control what listeners 
+            are actually used. See the MSDN documentation for the 
+            <see cref="T:System.Diagnostics.Trace"/> class for details on configuring the
+            trace system.
+            </para>
+            <para>
+            Events are written using the <c>System.Diagnostics.Trace.Write(string,string)</c>
+            method. The event's logger name is passed as the value for the category name to the Write method.
+            </para>
+            <para>
+            <b>Compact Framework</b><br/>
+            The Compact Framework does not support the <see cref="T:System.Diagnostics.Trace"/>
+            class for any operation except <c>Assert</c>. When using the Compact Framework this
+            appender will write to the <see cref="T:System.Diagnostics.Debug"/> system rather than
+            the Trace system. This appender will therefore behave like the <see cref="T:log4net.Appender.DebugAppender"/>.
+            </para>
+            </remarks>
+            <author>Douglas de la Torre</author>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Appender.TraceAppender.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.TraceAppender"/>.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TraceAppender.#ctor(log4net.Layout.ILayout)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Appender.TraceAppender"/> 
+            with a specified layout.
+            </summary>
+            <param name="layout">The layout to use with this appender.</param>
+            <remarks>
+            <para>
+            Obsolete constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Appender.TraceAppender.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Writes the logging event to the <see cref="T:System.Diagnostics.Trace"/> system.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Writes the logging event to the <see cref="T:System.Diagnostics.Trace"/> system.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Appender.TraceAppender.m_immediateFlush">
+            <summary>
+            Immediate flush means that the underlying writer or output stream
+            will be flushed at the end of each append operation.
+            </summary>
+            <remarks>
+            <para>
+            Immediate flush is slower but ensures that each append request is 
+            actually written. If <see cref="P:log4net.Appender.TraceAppender.ImmediateFlush"/> is set to
+            <c>false</c>, then there is a good chance that the last few
+            logs events are not actually written to persistent media if and
+            when the application crashes.
+            </para>
+            <para>
+            The default value is <c>true</c>.</para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.TraceAppender.ImmediateFlush">
+            <summary>
+            Gets or sets a value that indicates whether the appender will 
+            flush at the end of each write.
+            </summary>
+            <remarks>
+            <para>The default behavior is to flush at the end of each 
+            write. If the option is set to<c>false</c>, then the underlying 
+            stream can defer writing to physical medium to a later time. 
+            </para>
+            <para>
+            Avoiding the flush operation at the end of each append results 
+            in a performance gain of 10 to 20 percent. However, there is safety
+            trade-off involved in skipping flushing. Indeed, when flushing is
+            skipped, then it is likely that the last few log events will not
+            be recorded on disk when the application exits. This is a high
+            price to pay even for a 20% performance gain.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Appender.TraceAppender.RequiresLayout">
+            <summary>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            This appender requires a <see cref="N:log4net.Layout"/> to be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.AliasDomainAttribute">
+            <summary>
+            Assembly level attribute that specifies a domain to alias to this assembly's repository.
+            </summary>
+            <remarks>
+            <para>
+            <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
+            </para>
+            <para>
+            An assembly's logger repository is defined by its <see cref="T:log4net.Config.DomainAttribute"/>,
+            however this can be overridden by an assembly loaded before the target assembly.
+            </para>
+            <para>
+            An assembly can alias another assembly's domain to its repository by
+            specifying this attribute with the name of the target domain.
+            </para>
+            <para>
+            This attribute can only be specified on the assembly and may be used
+            as many times as necessary to alias all the required domains.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Config.AliasRepositoryAttribute">
+            <summary>
+            Assembly level attribute that specifies a repository to alias to this assembly's repository.
+            </summary>
+            <remarks>
+            <para>
+            An assembly's logger repository is defined by its <see cref="T:log4net.Config.RepositoryAttribute"/>,
+            however this can be overridden by an assembly loaded before the target assembly.
+            </para>
+            <para>
+            An assembly can alias another assembly's repository to its repository by
+            specifying this attribute with the name of the target repository.
+            </para>
+            <para>
+            This attribute can only be specified on the assembly and may be used
+            as many times as necessary to alias all the required repositories.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Config.AliasRepositoryAttribute.#ctor(System.String)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.AliasRepositoryAttribute"/> class with 
+            the specified repository to alias to this assembly's repository.
+            </summary>
+            <param name="name">The repository to alias to this assemby's repository.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Config.AliasRepositoryAttribute"/> class with 
+            the specified repository to alias to this assembly's repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Config.AliasRepositoryAttribute.Name">
+            <summary>
+            Gets or sets the repository to alias to this assemby's repository.
+            </summary>
+            <value>
+            The repository to alias to this assemby's repository.
+            </value>
+            <remarks>
+            <para>
+            The name of the repository to alias to this assemby's repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.AliasDomainAttribute.#ctor(System.String)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.AliasDomainAttribute"/> class with 
+            the specified domain to alias to this assembly's repository.
+            </summary>
+            <param name="name">The domain to alias to this assemby's repository.</param>
+            <remarks>
+            <para>
+            Obsolete. Use <see cref="T:log4net.Config.AliasRepositoryAttribute"/> instead of <see cref="T:log4net.Config.AliasDomainAttribute"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.BasicConfigurator">
+            <summary>
+            Use this class to quickly configure a <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
+            </summary>
+            <remarks>
+            <para>
+            Allows very simple programmatic configuration of log4net.
+            </para>
+            <para>
+            Only one appender can be configured using this configurator.
+            The appender is set at the root of the hierarchy and all logging
+            events will be delivered to that appender.
+            </para>
+            <para>
+            Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
+            they would require that the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
+            be called after the appenders properties have been configured.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Config.BasicConfigurator.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.BasicConfigurator"/> class. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to prevent instantiation of this class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.BasicConfigurator.Configure">
+            <summary>
+            Initializes the log4net system with a default configuration.
+            </summary>
+            <remarks>
+            <para>
+            Initializes the log4net logging system using a <see cref="T:log4net.Appender.ConsoleAppender"/>
+            that will write to <c>Console.Out</c>. The log messages are
+            formatted using the <see cref="T:log4net.Layout.PatternLayout"/> layout object
+            with the <see cref="F:log4net.Layout.PatternLayout.DetailConversionPattern"/>
+            layout style.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Appender.IAppender)">
+            <summary>
+            Initializes the log4net system using the specified appender.
+            </summary>
+            <param name="appender">The appender to use to log all logging events.</param>
+            <remarks>
+            <para>
+            Initializes the log4net system using the specified appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> with a default configuration.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <remarks>
+            <para>
+            Initializes the specified repository using a <see cref="T:log4net.Appender.ConsoleAppender"/>
+            that will write to <c>Console.Out</c>. The log messages are
+            formatted using the <see cref="T:log4net.Layout.PatternLayout"/> layout object
+            with the <see cref="F:log4net.Layout.PatternLayout.DetailConversionPattern"/>
+            layout style.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository,log4net.Appender.IAppender)">
+            <summary>
+            Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="appender">The appender to use to log all logging events.</param>
+            <remarks>
+            <para>
+            Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.ConfiguratorAttribute">
+            <summary>
+            Base class for all log4net configuration attributes.
+            </summary>
+            <remarks>
+            This is an abstract class that must be extended by 
+            specific configurators. This attribute allows the
+            configurator to be parameterized by an assembly level
+            attribute.
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Config.ConfiguratorAttribute.#ctor(System.Int32)">
+            <summary>
+            Constructor used by subclasses.
+            </summary>
+            <param name="priority">the ordering priority for this configurator</param>
+            <remarks>
+            <para>
+            The <paramref name="priority"/> is used to order the configurator
+            attributes before they are invoked. Higher priority configurators are executed
+            before lower priority ones.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.ConfiguratorAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
+            </summary>
+            <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
+            <param name="targetRepository">The repository to configure.</param>
+            <remarks>
+            <para>
+            Abstract method implemented by a subclass. When this method is called
+            the subclass should configure the <paramref name="targetRepository"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.ConfiguratorAttribute.CompareTo(System.Object)">
+            <summary>
+            Compare this instance to another ConfiguratorAttribute
+            </summary>
+            <param name="obj">the object to compare to</param>
+            <returns>see <see cref="M:System.IComparable.CompareTo(System.Object)"/></returns>
+            <remarks>
+            <para>
+            Compares the priorities of the two <see cref="T:log4net.Config.ConfiguratorAttribute"/> instances.
+            Sorts by priority in descending order. Objects with the same priority are
+            randomly ordered.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.DomainAttribute">
+            <summary>
+            Assembly level attribute that specifies the logging domain for the assembly.
+            </summary>
+            <remarks>
+            <para>
+            <b>DomainAttribute is obsolete. Use RepositoryAttribute instead of DomainAttribute.</b>
+            </para>
+            <para>
+            Assemblies are mapped to logging domains. Each domain has its own
+            logging repository. This attribute specified on the assembly controls
+            the configuration of the domain. The <see cref="P:log4net.Config.RepositoryAttribute.Name"/> property specifies the name
+            of the domain that this assembly is a part of. The <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/>
+            specifies the type of the repository objects to create for the domain. If 
+            this attribute is not specified and a <see cref="P:log4net.Config.RepositoryAttribute.Name"/> is not specified
+            then the assembly will be part of the default shared logging domain.
+            </para>
+            <para>
+            This attribute can only be specified on the assembly and may only be used
+            once per assembly.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Config.RepositoryAttribute">
+            <summary>
+            Assembly level attribute that specifies the logging repository for the assembly.
+            </summary>
+            <remarks>
+            <para>
+            Assemblies are mapped to logging repository. This attribute specified 
+            on the assembly controls
+            the configuration of the repository. The <see cref="P:log4net.Config.RepositoryAttribute.Name"/> property specifies the name
+            of the repository that this assembly is a part of. The <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/>
+            specifies the type of the <see cref="T:log4net.Repository.ILoggerRepository"/> object 
+            to create for the assembly. If this attribute is not specified or a <see cref="P:log4net.Config.RepositoryAttribute.Name"/> 
+            is not specified then the assembly will be part of the default shared logging repository.
+            </para>
+            <para>
+            This attribute can only be specified on the assembly and may only be used
+            once per assembly.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Config.RepositoryAttribute.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.RepositoryAttribute"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.RepositoryAttribute.#ctor(System.String)">
+            <summary>
+            Initialize a new instance of the <see cref="T:log4net.Config.RepositoryAttribute"/> class 
+            with the name of the repository.
+            </summary>
+            <param name="name">The name of the repository.</param>
+            <remarks>
+            <para>
+            Initialize the attribute with the name for the assembly's repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Config.RepositoryAttribute.Name">
+            <summary>
+            Gets or sets the name of the logging repository.
+            </summary>
+            <value>
+            The string name to use as the name of the repository associated with this
+            assembly.
+            </value>
+            <remarks>
+            <para>
+            This value does not have to be unique. Several assemblies can share the
+            same repository. They will share the logging configuration of the repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Config.RepositoryAttribute.RepositoryType">
+            <summary>
+            Gets or sets the type of repository to create for this assembly.
+            </summary>
+            <value>
+            The type of repository to create for this assembly.
+            </value>
+            <remarks>
+            <para>
+            The type of the repository to create for the assembly.
+            The type must implement the <see cref="T:log4net.Repository.ILoggerRepository"/>
+            interface.
+            </para>
+            <para>
+            This will be the type of repository created when 
+            the repository is created. If multiple assemblies reference the
+            same repository then the repository is only created once using the
+            <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/> of the first assembly to call into the 
+            repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.DomainAttribute.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.DomainAttribute"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Obsolete. Use RepositoryAttribute instead of DomainAttribute.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.DomainAttribute.#ctor(System.String)">
+            <summary>
+            Initialize a new instance of the <see cref="T:log4net.Config.DomainAttribute"/> class 
+            with the name of the domain.
+            </summary>
+            <param name="name">The name of the domain.</param>
+            <remarks>
+            <para>
+            Obsolete. Use RepositoryAttribute instead of DomainAttribute.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.DOMConfigurator">
+            <summary>
+            Use this class to initialize the log4net environment using an Xml tree.
+            </summary>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            <para>
+            Configures a <see cref="T:log4net.Repository.ILoggerRepository"/> using an Xml tree.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.#ctor">
+            <summary>
+            Private constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.Configure">
+            <summary>
+            Automatically configures the log4net system based on the 
+            application's configuration settings.
+            </summary>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            Each application has a configuration file. This has the
+            same name as the application with '.config' appended.
+            This file is XML and calling this function prompts the
+            configurator to look in that file for a section called
+            <c>log4net</c> that contains the configuration data.
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Automatically configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using settings
+            stored in the application's configuration file.
+            </summary>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            Each application has a configuration file. This has the
+            same name as the application with '.config' appended.
+            This file is XML and calling this function prompts the
+            configurator to look in that file for a section called
+            <c>log4net</c> that contains the configuration data.
+            </remarks>
+            <param name="repository">The repository to configure.</param>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.Configure(System.Xml.XmlElement)">
+            <summary>
+            Configures log4net using a <c>log4net</c> element
+            </summary>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            Loads the log4net configuration from the XML element
+            supplied as <paramref name="element"/>.
+            </remarks>
+            <param name="element">The element to parse.</param>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified XML 
+            element.
+            </summary>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            Loads the log4net configuration from the XML element
+            supplied as <paramref name="element"/>.
+            </remarks>
+            <param name="repository">The repository to configure.</param>
+            <param name="element">The element to parse.</param>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)">
+            <summary>
+            Configures log4net using the specified configuration file.
+            </summary>
+            <param name="configFile">The XML file to load the configuration from.</param>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            <para>
+            The configuration file must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the log4net configuration data.
+            </para>
+            <para>
+            The log4net configuration file can possible be specified in the application's
+            configuration file (either <c>MyAppName.exe.config</c> for a
+            normal application on <c>Web.config</c> for an ASP.NET application).
+            </para>
+            <example>
+            The following example configures log4net using a configuration file, of which the 
+            location is stored in the application's configuration file :
+            </example>
+            <code lang="C#">
+            using log4net.Config;
+            using System.IO;
+            using System.Configuration;
+            
+            ...
+            
+            DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
+            </code>
+            <para>
+            In the <c>.config</c> file, the path to the log4net can be specified like this :
+            </para>
+            <code lang="XML" escaped="true">
+            <configuration>
+            	<appSettings>
+            		<add key="log4net-config-file" value="log.config"/>
+            	</appSettings>
+            </configuration>
+            </code>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.Configure(System.IO.Stream)">
+            <summary>
+            Configures log4net using the specified configuration file.
+            </summary>
+            <param name="configStream">A stream to load the XML configuration from.</param>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            <para>
+            The configuration data must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the log4net configuration data.
+            </para>
+            <para>
+            Note that this method will NOT close the stream parameter.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration 
+            file.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configFile">The XML file to load the configuration from.</param>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            <para>
+            The configuration file must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            The log4net configuration file can possible be specified in the application's
+            configuration file (either <c>MyAppName.exe.config</c> for a
+            normal application on <c>Web.config</c> for an ASP.NET application).
+            </para>
+            <example>
+            The following example configures log4net using a configuration file, of which the 
+            location is stored in the application's configuration file :
+            </example>
+            <code lang="C#">
+            using log4net.Config;
+            using System.IO;
+            using System.Configuration;
+            
+            ...
+            
+            DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
+            </code>
+            <para>
+            In the <c>.config</c> file, the path to the log4net can be specified like this :
+            </para>
+            <code lang="XML" escaped="true">
+            <configuration>
+            	<appSettings>
+            		<add key="log4net-config-file" value="log.config"/>
+            	</appSettings>
+            </configuration>
+            </code>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.Stream)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration 
+            file.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configStream">The stream to load the XML configuration from.</param>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            <para>
+            The configuration data must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            Note that this method will NOT close the stream parameter.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.ConfigureAndWatch(System.IO.FileInfo)">
+            <summary>
+            Configures log4net using the file specified, monitors the file for changes 
+            and reloads the configuration if a change is detected.
+            </summary>
+            <param name="configFile">The XML file to load the configuration from.</param>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            <para>
+            The configuration file must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
+            and depends on the behavior of that class.
+            </para>
+            <para>
+            For more information on how to configure log4net using
+            a separate configuration file, see <see cref="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)"/>.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)"/>
+        </member>
+        <member name="M:log4net.Config.DOMConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the file specified, 
+            monitors the file for changes and reloads the configuration if a change 
+            is detected.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configFile">The XML file to load the configuration from.</param>
+            <remarks>
+            <para>
+            <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
+            </para>
+            <para>
+            The configuration file must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
+            and depends on the behavior of that class.
+            </para>
+            <para>
+            For more information on how to configure log4net using
+            a separate configuration file, see <see cref="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)"/>.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)"/>
+        </member>
+        <member name="T:log4net.Config.DOMConfiguratorAttribute">
+            <summary>
+            Assembly level attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>.
+            </summary>
+            <remarks>
+            <para>
+            <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
+            </para>
+            <para>
+            This attribute may only be used at the assembly scope and can only
+            be used once per assembly.
+            </para>
+            <para>
+            Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
+            without calling one of the <see cref="M:log4net.Config.XmlConfigurator.Configure"/>
+            methods.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Config.XmlConfiguratorAttribute">
+            <summary>
+            Assembly level attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>.
+            </summary>
+            <remarks>
+            <para>
+            This attribute may only be used at the assembly scope and can only
+            be used once per assembly.
+            </para>
+            <para>
+            Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
+            without calling one of the <see cref="M:log4net.Config.XmlConfigurator.Configure"/>
+            methods.
+            </para>
+            <para>
+            If neither of the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> or <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>
+            properties are set the configuration is loaded from the application's .config file.
+            If set the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> property takes priority over the
+            <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> property. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> property
+            specifies a path to a file to load the config from. The path is relative to the
+            application's base directory; <see cref="P:System.AppDomain.BaseDirectory"/>.
+            The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> property is used as a postfix to the assembly file name.
+            The config file must be located in the  application's base directory; <see cref="P:System.AppDomain.BaseDirectory"/>.
+            For example in a console application setting the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> to
+            <c>config</c> has the same effect as not specifying the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> or 
+            <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> properties.
+            </para>
+            <para>
+            The <see cref="P:log4net.Config.XmlConfiguratorAttribute.Watch"/> property can be set to cause the <see cref="T:log4net.Config.XmlConfigurator"/>
+            to watch the configuration file for changes.
+            </para>
+            <note>
+            <para>
+            Log4net will only look for assembly level configuration attributes once.
+            When using the log4net assembly level attributes to control the configuration 
+            of log4net you must ensure that the first call to any of the 
+            <see cref="T:log4net.Core.LoggerManager"/> methods is made from the assembly with the configuration
+            attributes. 
+            </para>
+            <para>
+            If you cannot guarantee the order in which log4net calls will be made from 
+            different assemblies you must use programmatic configuration instead, i.e.
+            call the <see cref="M:log4net.Config.XmlConfigurator.Configure"/> method directly.
+            </para>
+            </note>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Config.XmlConfiguratorAttribute.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfiguratorAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
+            </summary>
+            <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
+            <param name="targetRepository">The repository to configure.</param>
+            <remarks>
+            <para>
+            Configure the repository using the <see cref="T:log4net.Config.XmlConfigurator"/>.
+            The <paramref name="targetRepository"/> specified must extend the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>
+            class otherwise the <see cref="T:log4net.Config.XmlConfigurator"/> will not be able to
+            configure it.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="repository"/> does not extend <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.</exception>
+        </member>
+        <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Attempt to load configuration from the local file system
+            </summary>
+            <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
+            <param name="targetRepository">The repository to configure.</param>
+        </member>
+        <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
+            <summary>
+            Configure the specified repository using a <see cref="T:System.IO.FileInfo"/>
+            </summary>
+            <param name="targetRepository">The repository to configure.</param>
+            <param name="configFile">the FileInfo pointing to the config file</param>
+        </member>
+        <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromUri(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Attempt to load configuration from a URI
+            </summary>
+            <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
+            <param name="targetRepository">The repository to configure.</param>
+        </member>
+        <member name="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile">
+            <summary>
+            Gets or sets the filename of the configuration file.
+            </summary>
+            <value>
+            The filename of the configuration file.
+            </value>
+            <remarks>
+            <para>
+            If specified, this is the name of the configuration file to use with
+            the <see cref="T:log4net.Config.XmlConfigurator"/>. This file path is relative to the
+            <b>application base</b> directory (<see cref="P:System.AppDomain.BaseDirectory"/>).
+            </para>
+            <para>
+            The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> takes priority over the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension">
+            <summary>
+            Gets or sets the extension of the configuration file.
+            </summary>
+            <value>
+            The extension of the configuration file.
+            </value>
+            <remarks>
+            <para>
+            If specified this is the extension for the configuration file.
+            The path to the config file is built by using the <b>application 
+            base</b> directory (<see cref="P:System.AppDomain.BaseDirectory"/>),
+            the <b>assembly file name</b> and the config file extension.
+            </para>
+            <para>
+            If the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> is set to <c>MyExt</c> then
+            possible config file names would be: <c>MyConsoleApp.exe.MyExt</c> or
+            <c>MyClassLibrary.dll.MyExt</c>.
+            </para>
+            <para>
+            The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> takes priority over the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Config.XmlConfiguratorAttribute.Watch">
+            <summary>
+            Gets or sets a value indicating whether to watch the configuration file.
+            </summary>
+            <value>
+            <c>true</c> if the configuration should be watched, <c>false</c> otherwise.
+            </value>
+            <remarks>
+            <para>
+            If this flag is specified and set to <c>true</c> then the framework
+            will watch the configuration file and will reload the config each time 
+            the file is modified.
+            </para>
+            <para>
+            The config file can only be watched if it is loaded from local disk.
+            In a No-Touch (Smart Client) deployment where the application is downloaded
+            from a web server the config file may not reside on the local disk
+            and therefore it may not be able to watch it.
+            </para>
+            <note>
+            Watching configuration is not supported on the SSCLI.
+            </note>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.Log4NetConfigurationSectionHandler">
+            <summary>
+            Class to register for the log4net section of the configuration file
+            </summary>
+            <remarks>
+            The log4net section of the configuration file needs to have a section
+            handler registered. This is the section handler used. It simply returns
+            the XML element that is the root of the section.
+            </remarks>
+            <example>
+            Example of registering the log4net section handler :
+            <code lang="XML" escaped="true">
+            <configuration>
+            	<configSections>
+            		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
+            	</configSections>
+            	<log4net>
+            		log4net configuration XML goes here
+            	</log4net>
+            </configuration>
+            </code>
+            </example>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Config.Log4NetConfigurationSectionHandler.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> class.
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.Log4NetConfigurationSectionHandler.Create(System.Object,System.Object,System.Xml.XmlNode)">
+            <summary>
+            Parses the configuration section.
+            </summary>
+            <param name="parent">The configuration settings in a corresponding parent configuration section.</param>
+            <param name="configContext">The configuration context when called from the ASP.NET configuration system. Otherwise, this parameter is reserved and is a null reference.</param>
+            <param name="section">The <see cref="T:System.Xml.XmlNode"/> for the log4net section.</param>
+            <returns>The <see cref="T:System.Xml.XmlNode"/> for the log4net section.</returns>
+            <remarks>
+            <para>
+            Returns the <see cref="T:System.Xml.XmlNode"/> containing the configuration data,
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.PluginAttribute">
+            <summary>
+            Assembly level attribute that specifies a plugin to attach to 
+            the repository.
+            </summary>
+            <remarks>
+            <para>
+            Specifies the type of a plugin to create and attach to the
+            assembly's repository. The plugin type must implement the
+            <see cref="T:log4net.Plugin.IPlugin"/> interface.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Plugin.IPluginFactory">
+            <summary>
+            Interface used to create plugins.
+            </summary>
+            <remarks>
+            <para>
+            Interface used to create  a plugin.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Plugin.IPluginFactory.CreatePlugin">
+            <summary>
+            Creates the plugin object.
+            </summary>
+            <returns>the new plugin instance</returns>
+            <remarks>
+            <para>
+            Create and return a new plugin instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.PluginAttribute.#ctor(System.String)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.PluginAttribute"/> class
+            with the specified type.
+            </summary>
+            <param name="typeName">The type name of plugin to create.</param>
+            <remarks>
+            <para>
+            Create the attribute with the plugin type specified.
+            </para>
+            <para>
+            Where possible use the constructor that takes a <see cref="T:System.Type"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.PluginAttribute.#ctor(System.Type)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.PluginAttribute"/> class
+            with the specified type.
+            </summary>
+            <param name="type">The type of plugin to create.</param>
+            <remarks>
+            <para>
+            Create the attribute with the plugin type specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.PluginAttribute.CreatePlugin">
+            <summary>
+            Creates the plugin object defined by this attribute.
+            </summary>
+            <remarks>
+            <para>
+            Creates the instance of the <see cref="T:log4net.Plugin.IPlugin"/> object as 
+            specified by this attribute.
+            </para>
+            </remarks>
+            <returns>The plugin object.</returns>
+        </member>
+        <member name="M:log4net.Config.PluginAttribute.ToString">
+            <summary>
+            Returns a representation of the properties of this object.
+            </summary>
+            <remarks>
+            <para>
+            Overrides base class <see cref="M:System.Object.ToString"/> method to 
+            return a representation of the properties of this object.
+            </para>
+            </remarks>
+            <returns>A representation of the properties of this object</returns>
+        </member>
+        <member name="P:log4net.Config.PluginAttribute.Type">
+            <summary>
+            Gets or sets the type for the plugin.
+            </summary>
+            <value>
+            The type for the plugin.
+            </value>
+            <remarks>
+            <para>
+            The type for the plugin.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Config.PluginAttribute.TypeName">
+            <summary>
+            Gets or sets the type name for the plugin.
+            </summary>
+            <value>
+            The type name for the plugin.
+            </value>
+            <remarks>
+            <para>
+            The type name for the plugin.
+            </para>
+            <para>
+            Where possible use the <see cref="P:log4net.Config.PluginAttribute.Type"/> property instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.SecurityContextProviderAttribute">
+            <summary>
+            Assembly level attribute to configure the <see cref="T:log4net.Core.SecurityContextProvider"/>.
+            </summary>
+            <remarks>
+            <para>
+            This attribute may only be used at the assembly scope and can only
+            be used once per assembly.
+            </para>
+            <para>
+            Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
+            without calling one of the <see cref="M:log4net.Config.XmlConfigurator.Configure"/>
+            methods.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Config.SecurityContextProviderAttribute.#ctor(System.Type)">
+            <summary>
+            Construct provider attribute with type specified
+            </summary>
+            <param name="providerType">the type of the provider to use</param>
+            <remarks>
+            <para>
+            The provider specified must subclass the <see cref="T:log4net.Core.SecurityContextProvider"/>
+            class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.SecurityContextProviderAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Configures the SecurityContextProvider
+            </summary>
+            <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
+            <param name="targetRepository">The repository to configure.</param>
+            <remarks>
+            <para>
+            Creates a provider instance from the <see cref="P:log4net.Config.SecurityContextProviderAttribute.ProviderType"/> specified.
+            Sets this as the default security context provider <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Config.SecurityContextProviderAttribute.ProviderType">
+            <summary>
+            Gets or sets the type of the provider to use.
+            </summary>
+            <value>
+            the type of the provider to use.
+            </value>
+            <remarks>
+            <para>
+            The provider specified must subclass the <see cref="T:log4net.Core.SecurityContextProvider"/>
+            class.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.XmlConfigurator">
+            <summary>
+            Use this class to initialize the log4net environment using an Xml tree.
+            </summary>
+            <remarks>
+            <para>
+            Configures a <see cref="T:log4net.Repository.ILoggerRepository"/> using an Xml tree.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.#ctor">
+            <summary>
+            Private constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure">
+            <summary>
+            Automatically configures the log4net system based on the 
+            application's configuration settings.
+            </summary>
+            <remarks>
+            <para>
+            Each application has a configuration file. This has the
+            same name as the application with '.config' appended.
+            This file is XML and calling this function prompts the
+            configurator to look in that file for a section called
+            <c>log4net</c> that contains the configuration data.
+            </para>
+            <para>
+            To use this method to configure log4net you must specify 
+            the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> section
+            handler for the <c>log4net</c> configuration section. See the
+            <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> for an example.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Automatically configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using settings
+            stored in the application's configuration file.
+            </summary>
+            <remarks>
+            <para>
+            Each application has a configuration file. This has the
+            same name as the application with '.config' appended.
+            This file is XML and calling this function prompts the
+            configurator to look in that file for a section called
+            <c>log4net</c> that contains the configuration data.
+            </para>
+            <para>
+            To use this method to configure log4net you must specify 
+            the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> section
+            handler for the <c>log4net</c> configuration section. See the
+            <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> for an example.
+            </para>
+            </remarks>
+            <param name="repository">The repository to configure.</param>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(System.Xml.XmlElement)">
+            <summary>
+            Configures log4net using a <c>log4net</c> element
+            </summary>
+            <remarks>
+            <para>
+            Loads the log4net configuration from the XML element
+            supplied as <paramref name="element"/>.
+            </para>
+            </remarks>
+            <param name="element">The element to parse.</param>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified XML 
+            element.
+            </summary>
+            <remarks>
+            Loads the log4net configuration from the XML element
+            supplied as <paramref name="element"/>.
+            </remarks>
+            <param name="repository">The repository to configure.</param>
+            <param name="element">The element to parse.</param>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)">
+            <summary>
+            Configures log4net using the specified configuration file.
+            </summary>
+            <param name="configFile">The XML file to load the configuration from.</param>
+            <remarks>
+            <para>
+            The configuration file must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the log4net configuration data.
+            </para>
+            <para>
+            The log4net configuration file can possible be specified in the application's
+            configuration file (either <c>MyAppName.exe.config</c> for a
+            normal application on <c>Web.config</c> for an ASP.NET application).
+            </para>
+            <para>
+            The first element matching <c>&lt;configuration&gt;</c> will be read as the 
+            configuration. If this file is also a .NET .config file then you must specify 
+            a configuration section for the <c>log4net</c> element otherwise .NET will 
+            complain. Set the type for the section handler to <see cref="T:System.Configuration.IgnoreSectionHandler"/>, for example:
+            <code lang="XML" escaped="true">
+            <configSections>
+            	<section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
+            </configSections>
+            </code>
+            </para>
+            <example>
+            The following example configures log4net using a configuration file, of which the 
+            location is stored in the application's configuration file :
+            </example>
+            <code lang="C#">
+            using log4net.Config;
+            using System.IO;
+            using System.Configuration;
+            
+            ...
+            
+            XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
+            </code>
+            <para>
+            In the <c>.config</c> file, the path to the log4net can be specified like this :
+            </para>
+            <code lang="XML" escaped="true">
+            <configuration>
+            	<appSettings>
+            		<add key="log4net-config-file" value="log.config"/>
+            	</appSettings>
+            </configuration>
+            </code>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(System.Uri)">
+            <summary>
+            Configures log4net using the specified configuration URI.
+            </summary>
+            <param name="configUri">A URI to load the XML configuration from.</param>
+            <remarks>
+            <para>
+            The configuration data must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the log4net configuration data.
+            </para>
+            <para>
+            The <see cref="T:System.Net.WebRequest"/> must support the URI scheme specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(System.IO.Stream)">
+            <summary>
+            Configures log4net using the specified configuration data stream.
+            </summary>
+            <param name="configStream">A stream to load the XML configuration from.</param>
+            <remarks>
+            <para>
+            The configuration data must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the log4net configuration data.
+            </para>
+            <para>
+            Note that this method will NOT close the stream parameter.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration 
+            file.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configFile">The XML file to load the configuration from.</param>
+            <remarks>
+            <para>
+            The configuration file must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            The log4net configuration file can possible be specified in the application's
+            configuration file (either <c>MyAppName.exe.config</c> for a
+            normal application on <c>Web.config</c> for an ASP.NET application).
+            </para>
+            <para>
+            The first element matching <c>&lt;configuration&gt;</c> will be read as the 
+            configuration. If this file is also a .NET .config file then you must specify 
+            a configuration section for the <c>log4net</c> element otherwise .NET will 
+            complain. Set the type for the section handler to <see cref="T:System.Configuration.IgnoreSectionHandler"/>, for example:
+            <code lang="XML" escaped="true">
+            <configSections>
+            	<section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
+            </configSections>
+            </code>
+            </para>
+            <example>
+            The following example configures log4net using a configuration file, of which the 
+            location is stored in the application's configuration file :
+            </example>
+            <code lang="C#">
+            using log4net.Config;
+            using System.IO;
+            using System.Configuration;
+            
+            ...
+            
+            XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
+            </code>
+            <para>
+            In the <c>.config</c> file, the path to the log4net can be specified like this :
+            </para>
+            <code lang="XML" escaped="true">
+            <configuration>
+            	<appSettings>
+            		<add key="log4net-config-file" value="log.config"/>
+            	</appSettings>
+            </configuration>
+            </code>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Uri)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration 
+            URI.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configUri">A URI to load the XML configuration from.</param>
+            <remarks>
+            <para>
+            The configuration data must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            The <see cref="T:System.Net.WebRequest"/> must support the URI scheme specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.Stream)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration 
+            file.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configStream">The stream to load the XML configuration from.</param>
+            <remarks>
+            <para>
+            The configuration data must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            Note that this method will NOT close the stream parameter.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo)">
+            <summary>
+            Configures log4net using the file specified, monitors the file for changes 
+            and reloads the configuration if a change is detected.
+            </summary>
+            <param name="configFile">The XML file to load the configuration from.</param>
+            <remarks>
+            <para>
+            The configuration file must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
+            and depends on the behavior of that class.
+            </para>
+            <para>
+            For more information on how to configure log4net using
+            a separate configuration file, see <see cref="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)"/>.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)"/>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
+            <summary>
+            Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the file specified, 
+            monitors the file for changes and reloads the configuration if a change 
+            is detected.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configFile">The XML file to load the configuration from.</param>
+            <remarks>
+            <para>
+            The configuration file must be valid XML. It must contain
+            at least one element called <c>log4net</c> that holds
+            the configuration data.
+            </para>
+            <para>
+            The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
+            and depends on the behavior of that class.
+            </para>
+            <para>
+            For more information on how to configure log4net using
+            a separate configuration file, see <see cref="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)"/>.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)"/>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.ConfigureFromXml(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
+            <summary>
+            Configures the specified repository using a <c>log4net</c> element.
+            </summary>
+            <param name="repository">The hierarchy to configure.</param>
+            <param name="element">The element to parse.</param>
+            <remarks>
+            <para>
+            Loads the log4net configuration from the XML element
+            supplied as <paramref name="element"/>.
+            </para>
+            <para>
+            This method is ultimately called by one of the Configure methods 
+            to load the configuration from an <see cref="T:System.Xml.XmlElement"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler">
+            <summary>
+            Class used to watch config files.
+            </summary>
+            <remarks>
+            <para>
+            Uses the <see cref="T:System.IO.FileSystemWatcher"/> to monitor
+            changes to a specified file. Because multiple change notifications
+            may be raised when the file is modified, a timer is used to
+            compress the notifications into a single event. The timer
+            waits for <see cref="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis"/> time before delivering
+            the event notification. If any further <see cref="T:System.IO.FileSystemWatcher"/>
+            change notifications arrive while the timer is waiting it
+            is reset and waits again for <see cref="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis"/> to
+            elapse.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis">
+            <summary>
+            The default amount of time to wait after receiving notification
+            before reloading the config file.
+            </summary>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.StartWatching(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
+            <summary>
+            Watch a specified config file used to configure a repository
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configFile">The configuration file to watch.</param>
+            <remarks>
+            <para>
+            Watch a specified config file used to configure a repository
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_configFile">
+            <summary>
+            Holds the FileInfo used to configure the XmlConfigurator
+            </summary>
+        </member>
+        <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_repository">
+            <summary>
+            Holds the repository being configured.
+            </summary>
+        </member>
+        <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_timer">
+            <summary>
+            The timer used to compress the notification events.
+            </summary>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.#ctor(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/> class.
+            </summary>
+            <param name="repository">The repository to configure.</param>
+            <param name="configFile">The configuration file to watch.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.ConfigureAndWatchHandler_OnChanged(System.Object,System.IO.FileSystemEventArgs)">
+            <summary>
+            Event handler used by <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/>.
+            </summary>
+            <param name="source">The <see cref="T:System.IO.FileSystemWatcher"/> firing the event.</param>
+            <param name="e">The argument indicates the file that caused the event to be fired.</param>
+            <remarks>
+            <para>
+            This handler reloads the configuration from the file when the event is fired.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.ConfigureAndWatchHandler_OnRenamed(System.Object,System.IO.RenamedEventArgs)">
+            <summary>
+            Event handler used by <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/>.
+            </summary>
+            <param name="source">The <see cref="T:System.IO.FileSystemWatcher"/> firing the event.</param>
+            <param name="e">The argument indicates the file that caused the event to be fired.</param>
+            <remarks>
+            <para>
+            This handler reloads the configuration from the file when the event is fired.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.OnWatchedFileChange(System.Object)">
+            <summary>
+            Called by the timer when the configuration has been updated.
+            </summary>
+            <param name="state">null</param>
+        </member>
+        <member name="T:log4net.Core.CompactRepositorySelector">
+            <summary>
+            The implementation of the <see cref="T:log4net.Core.IRepositorySelector"/> interface suitable
+            for use with the compact framework
+            </summary>
+            <remarks>
+            <para>
+            This <see cref="T:log4net.Core.IRepositorySelector"/> implementation is a simple
+            mapping between repository name and <see cref="T:log4net.Repository.ILoggerRepository"/>
+            object.
+            </para>
+            <para>
+            The .NET Compact Framework 1.0 does not support retrieving assembly
+            level attributes therefore unlike the <c>DefaultRepositorySelector</c>
+            this selector does not examine the calling assembly for attributes.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="T:log4net.Core.IRepositorySelector">
+            <summary>
+            Interface used by the <see cref="T:log4net.LogManager"/> to select the <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.LogManager"/> uses a <see cref="T:log4net.Core.IRepositorySelector"/> 
+            to specify the policy for selecting the correct <see cref="T:log4net.Repository.ILoggerRepository"/> 
+            to return to the caller.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.IRepositorySelector.GetRepository(System.Reflection.Assembly)">
+            <summary>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
+            </summary>
+            <param name="assembly">The assembly to use to lookup to the <see cref="T:log4net.Repository.ILoggerRepository"/></param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the assembly.</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
+            </para>
+            <para>
+            How the association between <see cref="T:System.Reflection.Assembly"/> and <see cref="T:log4net.Repository.ILoggerRepository"/>
+            is made is not defined. The implementation may choose any method for
+            this association. The results of this method must be repeatable, i.e.
+            when called again with the same arguments the result must be the
+            save value.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IRepositorySelector.GetRepository(System.String)">
+            <summary>
+            Gets the named <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </summary>
+            <param name="repositoryName">The name to use to lookup to the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <returns>The named <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
+            <remarks>
+            Lookup a named <see cref="T:log4net.Repository.ILoggerRepository"/>. This is the repository created by
+            calling <see cref="M:log4net.Core.IRepositorySelector.CreateRepository(System.String,System.Type)"/>.
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Creates a new repository for the assembly specified.
+            </summary>
+            <param name="assembly">The assembly to use to create the domain to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <returns>The repository created.</returns>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the domain
+            specified such that a call to <see cref="M:log4net.Core.IRepositorySelector.GetRepository(System.Reflection.Assembly)"/> with the
+            same assembly specified will return the same repository instance.
+            </para>
+            <para>
+            How the association between <see cref="T:System.Reflection.Assembly"/> and <see cref="T:log4net.Repository.ILoggerRepository"/>
+            is made is not defined. The implementation may choose any method for
+            this association.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IRepositorySelector.CreateRepository(System.String,System.Type)">
+            <summary>
+            Creates a new repository with the name specified.
+            </summary>
+            <param name="repositoryName">The name to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <returns>The repository created.</returns>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the name
+            specified such that a call to <see cref="M:log4net.Core.IRepositorySelector.GetRepository(System.String)"/> with the
+            same name will return the same repository instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IRepositorySelector.ExistsRepository(System.String)">
+            <summary>
+            Test if a named repository exists
+            </summary>
+            <param name="repositoryName">the named repository to check</param>
+            <returns><c>true</c> if the repository exists</returns>
+            <remarks>
+            <para>
+            Test if a named repository exists. Use <see cref="M:log4net.Core.IRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)"/>
+            to create a new repository and <see cref="M:log4net.Core.IRepositorySelector.GetRepository(System.Reflection.Assembly)"/> to retrieve 
+            a repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IRepositorySelector.GetAllRepositories">
+            <summary>
+            Gets an array of all currently defined repositories.
+            </summary>
+            <returns>
+            An array of the <see cref="T:log4net.Repository.ILoggerRepository"/> instances created by 
+            this <see cref="T:log4net.Core.IRepositorySelector"/>.</returns>
+            <remarks>
+            <para>
+            Gets an array of all of the repositories created by this selector.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent">
+            <summary>
+            Event to notify that a logger repository has been created.
+            </summary>
+            <value>
+            Event to notify that a logger repository has been created.
+            </value>
+            <remarks>
+            <para>
+            Event raised when a new repository is created.
+            The event source will be this selector. The event args will
+            be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
+            holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.CompactRepositorySelector.#ctor(System.Type)">
+            <summary>
+            Create a new repository selector
+            </summary>
+            <param name="defaultRepositoryType">the type of the repositories to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
+            <remarks>
+            <para>
+            Create an new compact repository selector.
+            The default type for repositories must be specified,
+            an appropriate value would be <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException">throw if <paramref name="defaultRepositoryType"/> is null</exception>
+            <exception cref="T:System.ArgumentOutOfRangeException">throw if <paramref name="defaultRepositoryType"/> does not implement <see cref="T:log4net.Repository.ILoggerRepository"/></exception>
+        </member>
+        <member name="M:log4net.Core.CompactRepositorySelector.GetRepository(System.Reflection.Assembly)">
+            <summary>
+            Get the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly
+            </summary>
+            <param name="assembly">not used</param>
+            <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
+            <remarks>
+            <para>
+            The <paramref name="assembly"/> argument is not used. This selector does not create a
+            separate repository for each assembly. 
+            </para>
+            <para>
+            As a named repository is not specified the default repository is 
+            returned. The default repository is named <c>log4net-default-repository</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.CompactRepositorySelector.GetRepository(System.String)">
+            <summary>
+            Get the named <see cref="T:log4net.Repository.ILoggerRepository"/>
+            </summary>
+            <param name="repositoryName">the name of the repository to lookup</param>
+            <returns>The named <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
+            <remarks>
+            <para>
+            Get the named <see cref="T:log4net.Repository.ILoggerRepository"/>. The default 
+            repository is <c>log4net-default-repository</c>. Other repositories 
+            must be created using the <see cref="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.String,System.Type)"/>.
+            If the named repository does not exist an exception is thrown.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException">throw if <paramref name="repositoryName"/> is null</exception>
+            <exception cref="T:log4net.Core.LogException">throw if the <paramref name="repositoryName"/> does not exist</exception>
+        </member>
+        <member name="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Create a new repository for the assembly specified 
+            </summary>
+            <param name="assembly">not used</param>
+            <param name="repositoryType">the type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
+            <returns>the repository created</returns>
+            <remarks>
+            <para>
+            The <paramref name="assembly"/> argument is not used. This selector does not create a
+            separate repository for each assembly. 
+            </para>
+            <para>
+            If the <paramref name="repositoryType"/> is <c>null</c> then the
+            default repository type specified to the constructor is used.
+            </para>
+            <para>
+            As a named repository is not specified the default repository is 
+            returned. The default repository is named <c>log4net-default-repository</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.String,System.Type)">
+            <summary>
+            Create a new repository for the repository specified
+            </summary>
+            <param name="repositoryName">the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/></param>
+            <param name="repositoryType">the type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            If this param is null then the default repository type is used.</param>
+            <returns>the repository created</returns>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.Core.CompactRepositorySelector.GetRepository(System.String)"/> with the
+            same repository specified will return the same repository instance.
+            </para>
+            <para>
+            If the named repository already exists an exception will be thrown.
+            </para>
+            <para>
+            If <paramref name="repositoryType"/> is <c>null</c> then the default 
+            repository type specified to the constructor is used.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException">throw if <paramref name="repositoryName"/> is null</exception>
+            <exception cref="T:log4net.Core.LogException">throw if the <paramref name="repositoryName"/> already exists</exception>
+        </member>
+        <member name="M:log4net.Core.CompactRepositorySelector.ExistsRepository(System.String)">
+            <summary>
+            Test if a named repository exists
+            </summary>
+            <param name="repositoryName">the named repository to check</param>
+            <returns><c>true</c> if the repository exists</returns>
+            <remarks>
+            <para>
+            Test if a named repository exists. Use <see cref="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.String,System.Type)"/>
+            to create a new repository and <see cref="M:log4net.Core.CompactRepositorySelector.GetRepository(System.String)"/> to retrieve 
+            a repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.CompactRepositorySelector.GetAllRepositories">
+            <summary>
+            Gets a list of <see cref="T:log4net.Repository.ILoggerRepository"/> objects
+            </summary>
+            <returns>an array of all known <see cref="T:log4net.Repository.ILoggerRepository"/> objects</returns>
+            <remarks>
+            <para>
+            Gets an array of all of the repositories created by this selector.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.CompactRepositorySelector.OnLoggerRepositoryCreatedEvent(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Notify the registered listeners that the repository has been created
+            </summary>
+            <param name="repository">The repository that has been created</param>
+            <remarks>
+            <para>
+            Raises the <event cref="E:log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent">LoggerRepositoryCreatedEvent</event>
+            event.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent">
+            <summary>
+            Event to notify that a logger repository has been created.
+            </summary>
+            <value>
+            Event to notify that a logger repository has been created.
+            </value>
+            <remarks>
+            <para>
+            Event raised when a new repository is created.
+            The event source will be this selector. The event args will
+            be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
+            holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.DefaultRepositorySelector">
+            <summary>
+            The default implementation of the <see cref="T:log4net.Core.IRepositorySelector"/> interface.
+            </summary>
+            <remarks>
+            <para>
+            Uses attributes defined on the calling assembly to determine how to
+            configure the hierarchy for the repository.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.#ctor(System.Type)">
+            <summary>
+            Creates a new repository selector.
+            </summary>
+            <param name="defaultRepositoryType">The type of the repositories to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
+            <remarks>
+            <para>
+            Create an new repository selector.
+            The default type for repositories must be specified,
+            an appropriate value would be <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException"><paramref name="defaultRepositoryType"/> is <see langword="null"/>.</exception>
+            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="defaultRepositoryType"/> does not implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)">
+            <summary>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
+            </summary>
+            <param name="repositoryAssembly">The assembly use to lookup the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <remarks>
+            <para>
+            The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and the repository 
+            to create can be overridden by specifying the <see cref="T:log4net.Config.RepositoryAttribute"/> 
+            attribute on the <paramref name="repositoryAssembly"/>.
+            </para>
+            <para>
+            The default values are to use the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> 
+            implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
+            <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
+            </para>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically configured using 
+            any <see cref="T:log4net.Config.ConfiguratorAttribute"/> attributes defined on
+            the <paramref name="repositoryAssembly"/>.
+            </para>
+            </remarks>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the assembly</returns>
+            <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.String)">
+            <summary>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified repository.
+            </summary>
+            <param name="repositoryName">The repository to use to lookup the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified repository.</returns>
+            <remarks>
+            <para>
+            Returns the named repository. If <paramref name="repositoryName"/> is <c>null</c>
+            a <see cref="T:System.ArgumentNullException"/> is thrown. If the repository 
+            does not exist a <see cref="T:log4net.Core.LogException"/> is thrown.
+            </para>
+            <para>
+            Use <see cref="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.String,System.Type)"/> to create a repository.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException"><paramref name="repositoryName"/> is <see langword="null"/>.</exception>
+            <exception cref="T:log4net.Core.LogException"><paramref name="repositoryName"/> does not exist.</exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Create a new repository for the assembly specified 
+            </summary>
+            <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <returns>The repository created.</returns>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)"/> with the
+            same assembly specified will return the same repository instance.
+            </para>
+            <para>
+            The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and
+            the repository to create can be overridden by specifying the
+            <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the 
+            <paramref name="repositoryAssembly"/>.  The default values are to use the 
+            <paramref name="repositoryType"/> implementation of the 
+            <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
+            <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
+            </para>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically
+            configured using any <see cref="T:log4net.Config.ConfiguratorAttribute"/> 
+            attributes defined on the <paramref name="repositoryAssembly"/>.
+            </para>
+            <para>
+            If a repository for the <paramref name="repositoryAssembly"/> already exists
+            that repository will be returned. An error will not be raised and that 
+            repository may be of a different type to that specified in <paramref name="repositoryType"/>.
+            Also the <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
+            assembly may be used to override the repository type specified in 
+            <paramref name="repositoryType"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type,System.String,System.Boolean)">
+            <summary>
+            Creates a new repository for the assembly specified.
+            </summary>
+            <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <param name="repositoryName">The name to assign to the created repository</param>
+            <param name="readAssemblyAttributes">Set to <c>true</c> to read and apply the assembly attributes</param>
+            <returns>The repository created.</returns>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)"/> with the
+            same assembly specified will return the same repository instance.
+            </para>
+            <para>
+            The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and
+            the repository to create can be overridden by specifying the
+            <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the 
+            <paramref name="repositoryAssembly"/>.  The default values are to use the 
+            <paramref name="repositoryType"/> implementation of the 
+            <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
+            <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
+            </para>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically
+            configured using any <see cref="T:log4net.Config.ConfiguratorAttribute"/> 
+            attributes defined on the <paramref name="repositoryAssembly"/>.
+            </para>
+            <para>
+            If a repository for the <paramref name="repositoryAssembly"/> already exists
+            that repository will be returned. An error will not be raised and that 
+            repository may be of a different type to that specified in <paramref name="repositoryType"/>.
+            Also the <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
+            assembly may be used to override the repository type specified in 
+            <paramref name="repositoryType"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.String,System.Type)">
+            <summary>
+            Creates a new repository for the specified repository.
+            </summary>
+            <param name="repositoryName">The repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
+            <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            If this param is <see langword="null"/> then the default repository type is used.</param>
+            <returns>The new repository.</returns>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.String)"/> with the
+            same repository specified will return the same repository instance.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException"><paramref name="repositoryName"/> is <see langword="null"/>.</exception>
+            <exception cref="T:log4net.Core.LogException"><paramref name="repositoryName"/> already exists.</exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.ExistsRepository(System.String)">
+            <summary>
+            Test if a named repository exists
+            </summary>
+            <param name="repositoryName">the named repository to check</param>
+            <returns><c>true</c> if the repository exists</returns>
+            <remarks>
+            <para>
+            Test if a named repository exists. Use <see cref="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.String,System.Type)"/>
+            to create a new repository and <see cref="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.String)"/> to retrieve 
+            a repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.GetAllRepositories">
+            <summary>
+            Gets a list of <see cref="T:log4net.Repository.ILoggerRepository"/> objects
+            </summary>
+            <returns>an array of all known <see cref="T:log4net.Repository.ILoggerRepository"/> objects</returns>
+            <remarks>
+            <para>
+            Gets an array of all of the repositories created by this selector.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.AliasRepository(System.String,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Aliases a repository to an existing repository.
+            </summary>
+            <param name="repositoryAlias">The repository to alias.</param>
+            <param name="repositoryTarget">The repository that the repository is aliased to.</param>
+            <remarks>
+            <para>
+            The repository specified will be aliased to the repository when created. 
+            The repository must not already exist.
+            </para>
+            <para>
+            When the repository is created it must utilize the same repository type as 
+            the repository it is aliased to, otherwise the aliasing will fail.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException">
+            <para><paramref name="repositoryAlias"/> is <see langword="null"/>.</para>
+            <para>-or-</para>
+            <para><paramref name="repositoryTarget"/> is <see langword="null"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.OnLoggerRepositoryCreatedEvent(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Notifies the registered listeners that the repository has been created.
+            </summary>
+            <param name="repository">The repository that has been created.</param>
+            <remarks>
+            <para>
+            Raises the <see cref="E:log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent"/> event.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(System.Reflection.Assembly,System.String@,System.Type@)">
+            <summary>
+            Gets the repository name and repository type for the specified assembly.
+            </summary>
+            <param name="assembly">The assembly that has a <see cref="T:log4net.Config.RepositoryAttribute"/>.</param>
+            <param name="repositoryName">in/out param to hold the repository name to use for the assembly, caller should set this to the default value before calling.</param>
+            <param name="repositoryType">in/out param to hold the type of the repository to create for the assembly, caller should set this to the default value before calling.</param>
+            <exception cref="T:System.ArgumentNullException"><paramref name="assembly"/> is <see langword="null"/>.</exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.ConfigureRepository(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Configures the repository using information from the assembly.
+            </summary>
+            <param name="assembly">The assembly containing <see cref="T:log4net.Config.ConfiguratorAttribute"/>
+            attributes which define the configuration for the repository.</param>
+            <param name="repository">The repository to configure.</param>
+            <exception cref="T:System.ArgumentNullException">
+            <para><paramref name="assembly"/> is <see langword="null"/>.</para>
+            <para>-or-</para>
+            <para><paramref name="repository"/> is <see langword="null"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.LoadPlugins(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Loads the attribute defined plugins on the assembly.
+            </summary>
+            <param name="assembly">The assembly that contains the attributes.</param>
+            <param name="repository">The repository to add the plugins to.</param>
+            <exception cref="T:System.ArgumentNullException">
+            <para><paramref name="assembly"/> is <see langword="null"/>.</para>
+            <para>-or-</para>
+            <para><paramref name="repository"/> is <see langword="null"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Core.DefaultRepositorySelector.LoadAliases(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
+            <summary>
+            Loads the attribute defined aliases on the assembly.
+            </summary>
+            <param name="assembly">The assembly that contains the attributes.</param>
+            <param name="repository">The repository to alias to.</param>
+            <exception cref="T:System.ArgumentNullException">
+            <para><paramref name="assembly"/> is <see langword="null"/>.</para>
+            <para>-or-</para>
+            <para><paramref name="repository"/> is <see langword="null"/>.</para>
+            </exception>
+        </member>
+        <member name="E:log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent">
+            <summary>
+            Event to notify that a logger repository has been created.
+            </summary>
+            <value>
+            Event to notify that a logger repository has been created.
+            </value>
+            <remarks>
+            <para>
+            Event raised when a new repository is created.
+            The event source will be this selector. The event args will
+            be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
+            holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.ErrorCode">
+            <summary>
+            Defined error codes that can be passed to the <see cref="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)"/> method.
+            </summary>
+            <remarks>
+            <para>
+            Values passed to the <see cref="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)"/> method.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Core.ErrorCode.GenericFailure">
+            <summary>
+            A general error
+            </summary>
+        </member>
+        <member name="F:log4net.Core.ErrorCode.WriteFailure">
+            <summary>
+            Error while writing output
+            </summary>
+        </member>
+        <member name="F:log4net.Core.ErrorCode.FlushFailure">
+            <summary>
+            Failed to flush file
+            </summary>
+        </member>
+        <member name="F:log4net.Core.ErrorCode.CloseFailure">
+            <summary>
+            Failed to close file
+            </summary>
+        </member>
+        <member name="F:log4net.Core.ErrorCode.FileOpenFailure">
+            <summary>
+            Unable to open output file
+            </summary>
+        </member>
+        <member name="F:log4net.Core.ErrorCode.MissingLayout">
+            <summary>
+            No layout specified
+            </summary>
+        </member>
+        <member name="F:log4net.Core.ErrorCode.AddressParseFailure">
+            <summary>
+            Failed to parse address
+            </summary>
+        </member>
+        <member name="T:log4net.Core.IErrorHandler">
+            <summary>
+            Appenders may delegate their error handling to an <see cref="T:log4net.Core.IErrorHandler"/>.
+            </summary>
+            <remarks>
+            <para>
+            Error handling is a particularly tedious to get right because by
+            definition errors are hard to predict and to reproduce. 
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)">
+            <summary>
+            Handles the error and information about the error condition is passed as 
+            a parameter.
+            </summary>
+            <param name="message">The message associated with the error.</param>
+            <param name="e">The <see cref="T:System.Exception"/> that was thrown when the error occurred.</param>
+            <param name="errorCode">The error code associated with the error.</param>
+            <remarks>
+            <para>
+            Handles the error and information about the error condition is passed as 
+            a parameter.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception)">
+            <summary>
+            Prints the error message passed as a parameter.
+            </summary>
+            <param name="message">The message associated with the error.</param>
+            <param name="e">The <see cref="T:System.Exception"/> that was thrown when the error occurred.</param>
+            <remarks>
+            <para>
+            See <see cref="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.IErrorHandler.Error(System.String)">
+            <summary>
+            Prints the error message passed as a parameter.
+            </summary>
+            <param name="message">The message associated with the error.</param>
+            <remarks>
+            <para>
+            See <see cref="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.IFixingRequired">
+            <summary>
+            Interface for objects that require fixing.
+            </summary>
+            <remarks>
+            <para>
+            Interface that indicates that the object requires fixing before it
+            can be taken outside the context of the appender's 
+            <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method.
+            </para>
+            <para>
+            When objects that implement this interface are stored 
+            in the context properties maps <see cref="T:log4net.GlobalContext"/>
+            <see cref="P:log4net.GlobalContext.Properties"/> and <see cref="T:log4net.ThreadContext"/>
+            <see cref="P:log4net.ThreadContext.Properties"/> are fixed 
+            (see <see cref="P:log4net.Core.LoggingEvent.Fix"/>) the <see cref="M:log4net.Core.IFixingRequired.GetFixedObject"/>
+            method will be called.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Core.IFixingRequired.GetFixedObject">
+            <summary>
+            Get a portable version of this object
+            </summary>
+            <returns>the portable instance of this object</returns>
+            <remarks>
+            <para>
+            Get a portable instance object that represents the current
+            state of this object. The portable object can be stored
+            and logged from any thread with identical results.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.ILogger">
+            <summary>
+            Interface that all loggers implement
+            </summary>
+            <remarks>
+            <para>
+            This interface supports logging events and testing if a level
+            is enabled for logging.
+            </para>
+            <para>
+            These methods will not throw exceptions. Note to implementor, ensure
+            that the implementation of these methods cannot allow an exception
+            to be thrown to the caller.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.ILogger.Log(System.Type,log4net.Core.Level,System.Object,System.Exception)">
+            <summary>
+            This generic form is intended to be used by wrappers.
+            </summary>
+            <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
+            the stack boundary into the logging system for this call.</param>
+            <param name="level">The level of the message to be logged.</param>
+            <param name="message">The message object to log.</param>
+            <param name="exception">the exception to log, including its stack trace. Pass <c>null</c> to not log an exception.</param>
+            <remarks>
+            <para>
+            Generates a logging event for the specified <paramref name="level"/> using
+            the <paramref name="message"/> and <paramref name="exception"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.ILogger.Log(log4net.Core.LoggingEvent)">
+            <summary>
+            This is the most generic printing method that is intended to be used 
+            by wrappers.
+            </summary>
+            <param name="logEvent">The event being logged.</param>
+            <remarks>
+            <para>
+            Logs the specified logging event through this logger.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.ILogger.IsEnabledFor(log4net.Core.Level)">
+            <summary>
+            Checks if this logger is enabled for a given <see cref="T:log4net.Core.Level"/> passed as parameter.
+            </summary>
+            <param name="level">The level to check.</param>
+            <returns>
+            <c>true</c> if this logger is enabled for <c>level</c>, otherwise <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Test if this logger is going to log events of the specified <paramref name="level"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.ILogger.Name">
+            <summary>
+            Gets the name of the logger.
+            </summary>
+            <value>
+            The name of the logger.
+            </value>
+            <remarks>
+            <para>
+            The name of this logger
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.ILogger.Repository">
+            <summary>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this 
+            <c>Logger</c> instance is attached to.
+            </summary>
+            <value>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> that this logger belongs to.
+            </value>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this 
+            <c>Logger</c> instance is attached to.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.ILoggerWrapper">
+            <summary>
+            Base interface for all wrappers
+            </summary>
+            <remarks>
+            <para>
+            Base interface for all wrappers.
+            </para>
+            <para>
+            All wrappers must implement this interface.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="P:log4net.Core.ILoggerWrapper.Logger">
+            <summary>
+            Get the implementation behind this wrapper object.
+            </summary>
+            <value>
+            The <see cref="T:log4net.Core.ILogger"/> object that in implementing this object.
+            </value>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Core.ILogger"/> object that in implementing this
+            object. The <c>Logger</c> object may not 
+            be the same object as this object because of logger decorators.
+            This gets the actual underlying objects that is used to process
+            the log events.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LoggerRepositoryCreationEventHandler">
+            <summary>
+            Delegate used to handle logger repository creation event notifications
+            </summary>
+            <param name="sender">The <see cref="T:log4net.Core.IRepositorySelector"/> which created the repository.</param>
+            <param name="e">The <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> event args
+            that holds the <see cref="T:log4net.Repository.ILoggerRepository"/> instance that has been created.</param>
+            <remarks>
+            <para>
+            Delegate used to handle logger repository creation event notifications.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LoggerRepositoryCreationEventArgs">
+            <summary>
+            Provides data for the <see cref="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent"/> event.
+            </summary>
+            <remarks>
+            <para>
+            A <see cref="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent"/> 
+            event is raised every time a <see cref="T:log4net.Repository.ILoggerRepository"/> is created.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggerRepositoryCreationEventArgs.m_repository">
+            <summary>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LoggerRepositoryCreationEventArgs.#ctor(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Construct instance using <see cref="T:log4net.Repository.ILoggerRepository"/> specified
+            </summary>
+            <param name="repository">the <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created</param>
+            <remarks>
+            <para>
+            Construct instance using <see cref="T:log4net.Repository.ILoggerRepository"/> specified
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggerRepositoryCreationEventArgs.LoggerRepository">
+            <summary>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
+            </summary>
+            <value>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
+            </value>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.ITriggeringEventEvaluator">
+            <summary>
+            Test if an <see cref="T:log4net.Core.LoggingEvent"/> triggers an action
+            </summary>
+            <remarks>
+            <para>
+            Implementations of this interface allow certain appenders to decide
+            when to perform an appender specific action.
+            </para>
+            <para>
+            The action or behavior triggered is defined by the implementation.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Core.ITriggeringEventEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
+            <summary>
+            Test if this event triggers the action
+            </summary>
+            <param name="loggingEvent">The event to check</param>
+            <returns><c>true</c> if this event triggers the action, otherwise <c>false</c></returns>
+            <remarks>
+            <para>
+            Return <c>true</c> if this event triggers the action
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.Level">
+            <summary>
+            Defines the default set of levels recognized by the system.
+            </summary>
+            <remarks>
+            <para>
+            Each <see cref="T:log4net.Core.LoggingEvent"/> has an associated <see cref="T:log4net.Core.Level"/>.
+            </para>
+            <para>
+            Levels have a numeric <see cref="P:log4net.Core.Level.Value"/> that defines the relative 
+            ordering between levels. Two Levels with the same <see cref="P:log4net.Core.Level.Value"/> 
+            are deemed to be equivalent.
+            </para>
+            <para>
+            The levels that are recognized by log4net are set for each <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and each repository can have different levels defined. The levels are stored
+            in the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/> on the repository. Levels are
+            looked up by name from the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>.
+            </para>
+            <para>
+            When logging at level INFO the actual level used is not <see cref="F:log4net.Core.Level.Info"/> but
+            the value of <c>LoggerRepository.LevelMap["INFO"]</c>. The default value for this is
+            <see cref="F:log4net.Core.Level.Info"/>, but this can be changed by reconfiguring the level map.
+            </para>
+            <para>
+            Each level has a <see cref="P:log4net.Core.Level.DisplayName"/> in addition to its <see cref="P:log4net.Core.Level.Name"/>. The 
+            <see cref="P:log4net.Core.Level.DisplayName"/> is the string that is written into the output log. By default
+            the display name is the same as the level name, but this can be used to alias levels
+            or to localize the log output.
+            </para>
+            <para>
+            Some of the predefined levels recognized by the system are:
+            </para>
+            <list type="bullet">
+            	<item>
+            		<description><see cref="F:log4net.Core.Level.Off"/>.</description>
+            	</item>
+            	<item>
+            		<description><see cref="F:log4net.Core.Level.Fatal"/>.</description>
+            	</item>
+            	<item>
+            		<description><see cref="F:log4net.Core.Level.Error"/>.</description>
+            	</item>
+            	<item>
+            		<description><see cref="F:log4net.Core.Level.Warn"/>.</description>
+            	</item>
+            	<item>
+            		<description><see cref="F:log4net.Core.Level.Info"/>.</description>
+            	</item>
+            	<item>
+            		<description><see cref="F:log4net.Core.Level.Debug"/>.</description>
+            	</item>
+            	<item>
+            		<description><see cref="F:log4net.Core.Level.All"/>.</description>
+            	</item>
+            </list>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.Level.#ctor(System.Int32,System.String,System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="level">Integer value for this level, higher values represent more severe levels.</param>
+            <param name="levelName">The string name of this level.</param>
+            <param name="displayName">The display name for this level. This may be localized or otherwise different from the name</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.Level"/> class with
+            the specified level name and value.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.#ctor(System.Int32,System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="level">Integer value for this level, higher values represent more severe levels.</param>
+            <param name="levelName">The string name of this level.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.Level"/> class with
+            the specified level name and value.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.ToString">
+            <summary>
+            Returns the <see cref="T:System.String"/> representation of the current 
+            <see cref="T:log4net.Core.Level"/>.
+            </summary>
+            <returns>
+            A <see cref="T:System.String"/> representation of the current <see cref="T:log4net.Core.Level"/>.
+            </returns>
+            <remarks>
+            <para>
+            Returns the level <see cref="P:log4net.Core.Level.Name"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.Equals(System.Object)">
+            <summary>
+            Compares levels.
+            </summary>
+            <param name="o">The object to compare against.</param>
+            <returns><c>true</c> if the objects are equal.</returns>
+            <remarks>
+            <para>
+            Compares the levels of <see cref="T:log4net.Core.Level"/> instances, and 
+            defers to base class if the target object is not a <see cref="T:log4net.Core.Level"/>
+            instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.GetHashCode">
+            <summary>
+            Returns a hash code
+            </summary>
+            <returns>A hash code for the current <see cref="T:log4net.Core.Level"/>.</returns>
+            <remarks>
+            <para>
+            Returns a hash code suitable for use in hashing algorithms and data 
+            structures like a hash table.
+            </para>
+            <para>
+            Returns the hash code of the level <see cref="P:log4net.Core.Level.Value"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.CompareTo(System.Object)">
+            <summary>
+            Compares this instance to a specified object and returns an 
+            indication of their relative values.
+            </summary>
+            <param name="r">A <see cref="T:log4net.Core.Level"/> instance or <see langword="null"/> to compare with this instance.</param>
+            <returns>
+            A 32-bit signed integer that indicates the relative order of the 
+            values compared. The return value has these meanings:
+            <list type="table">
+            	<listheader>
+            		<term>Value</term>
+            		<description>Meaning</description>
+            	</listheader>
+            	<item>
+            		<term>Less than zero</term>
+            		<description>This instance is less than <paramref name="r"/>.</description>
+            	</item>
+            	<item>
+            		<term>Zero</term>
+            		<description>This instance is equal to <paramref name="r"/>.</description>
+            	</item>
+            	<item>
+            		<term>Greater than zero</term>
+            		<description>
+            			<para>This instance is greater than <paramref name="r"/>.</para>
+            			<para>-or-</para>
+            			<para><paramref name="r"/> is <see langword="null"/>.</para>
+            			</description>
+            	</item>
+            </list>
+            </returns>
+            <remarks>
+            <para>
+            <paramref name="r"/> must be an instance of <see cref="T:log4net.Core.Level"/> 
+            or <see langword="null"/>; otherwise, an exception is thrown.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentException"><paramref name="r"/> is not a <see cref="T:log4net.Core.Level"/>.</exception>
+        </member>
+        <member name="M:log4net.Core.Level.op_GreaterThan(log4net.Core.Level,log4net.Core.Level)">
+            <summary>
+            Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/> 
+            is greater than another specified <see cref="T:log4net.Core.Level"/>.
+            </summary>
+            <param name="l">A <see cref="T:log4net.Core.Level"/></param>
+            <param name="r">A <see cref="T:log4net.Core.Level"/></param>
+            <returns>
+            <c>true</c> if <paramref name="l"/> is greater than 
+            <paramref name="r"/>; otherwise, <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Compares two levels.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.op_LessThan(log4net.Core.Level,log4net.Core.Level)">
+            <summary>
+            Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/> 
+            is less than another specified <see cref="T:log4net.Core.Level"/>.
+            </summary>
+            <param name="l">A <see cref="T:log4net.Core.Level"/></param>
+            <param name="r">A <see cref="T:log4net.Core.Level"/></param>
+            <returns>
+            <c>true</c> if <paramref name="l"/> is less than 
+            <paramref name="r"/>; otherwise, <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Compares two levels.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.op_GreaterThanOrEqual(log4net.Core.Level,log4net.Core.Level)">
+            <summary>
+            Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/> 
+            is greater than or equal to another specified <see cref="T:log4net.Core.Level"/>.
+            </summary>
+            <param name="l">A <see cref="T:log4net.Core.Level"/></param>
+            <param name="r">A <see cref="T:log4net.Core.Level"/></param>
+            <returns>
+            <c>true</c> if <paramref name="l"/> is greater than or equal to 
+            <paramref name="r"/>; otherwise, <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Compares two levels.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.op_LessThanOrEqual(log4net.Core.Level,log4net.Core.Level)">
+            <summary>
+            Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/> 
+            is less than or equal to another specified <see cref="T:log4net.Core.Level"/>.
+            </summary>
+            <param name="l">A <see cref="T:log4net.Core.Level"/></param>
+            <param name="r">A <see cref="T:log4net.Core.Level"/></param>
+            <returns>
+            <c>true</c> if <paramref name="l"/> is less than or equal to 
+            <paramref name="r"/>; otherwise, <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Compares two levels.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.op_Equality(log4net.Core.Level,log4net.Core.Level)">
+            <summary>
+            Returns a value indicating whether two specified <see cref="T:log4net.Core.Level"/> 
+            objects have the same value.
+            </summary>
+            <param name="l">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
+            <param name="r">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
+            <returns>
+            <c>true</c> if the value of <paramref name="l"/> is the same as the 
+            value of <paramref name="r"/>; otherwise, <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Compares two levels.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.op_Inequality(log4net.Core.Level,log4net.Core.Level)">
+            <summary>
+            Returns a value indicating whether two specified <see cref="T:log4net.Core.Level"/> 
+            objects have different values.
+            </summary>
+            <param name="l">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
+            <param name="r">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
+            <returns>
+            <c>true</c> if the value of <paramref name="l"/> is different from
+            the value of <paramref name="r"/>; otherwise, <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Compares two levels.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.Level.Compare(log4net.Core.Level,log4net.Core.Level)">
+            <summary>
+            Compares two specified <see cref="T:log4net.Core.Level"/> instances.
+            </summary>
+            <param name="l">The first <see cref="T:log4net.Core.Level"/> to compare.</param>
+            <param name="r">The second <see cref="T:log4net.Core.Level"/> to compare.</param>
+            <returns>
+            A 32-bit signed integer that indicates the relative order of the 
+            two values compared. The return value has these meanings:
+            <list type="table">
+            	<listheader>
+            		<term>Value</term>
+            		<description>Meaning</description>
+            	</listheader>
+            	<item>
+            		<term>Less than zero</term>
+            		<description><paramref name="l"/> is less than <paramref name="r"/>.</description>
+            	</item>
+            	<item>
+            		<term>Zero</term>
+            		<description><paramref name="l"/> is equal to <paramref name="r"/>.</description>
+            	</item>
+            	<item>
+            		<term>Greater than zero</term>
+            		<description><paramref name="l"/> is greater than <paramref name="r"/>.</description>
+            	</item>
+            </list>
+            </returns>
+            <remarks>
+            <para>
+            Compares two levels.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.Level.Off">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Off"/> level designates a higher level than all the rest.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Emergency">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Emergency"/> level designates very severe error events. 
+            System unusable, emergencies.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Fatal">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Fatal"/> level designates very severe error events 
+            that will presumably lead the application to abort.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Alert">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Alert"/> level designates very severe error events. 
+            Take immediate action, alerts.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Critical">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Critical"/> level designates very severe error events. 
+            Critical condition, critical.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Severe">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Severe"/> level designates very severe error events.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Error">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Error"/> level designates error events that might 
+            still allow the application to continue running.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Warn">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Warn"/> level designates potentially harmful 
+            situations.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Notice">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Notice"/> level designates informational messages 
+            that highlight the progress of the application at the highest level.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Info">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Info"/> level designates informational messages that 
+            highlight the progress of the application at coarse-grained level.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Debug">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Debug"/> level designates fine-grained informational 
+            events that are most useful to debug an application.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Fine">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Fine"/> level designates fine-grained informational 
+            events that are most useful to debug an application.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Trace">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Trace"/> level designates fine-grained informational 
+            events that are most useful to debug an application.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Finer">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Finer"/> level designates fine-grained informational 
+            events that are most useful to debug an application.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Verbose">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Verbose"/> level designates fine-grained informational 
+            events that are most useful to debug an application.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.Finest">
+            <summary>
+            The <see cref="F:log4net.Core.Level.Finest"/> level designates fine-grained informational 
+            events that are most useful to debug an application.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.Level.All">
+            <summary>
+            The <see cref="F:log4net.Core.Level.All"/> level designates the lowest level possible.
+            </summary>
+        </member>
+        <member name="P:log4net.Core.Level.Name">
+            <summary>
+            Gets the name of this level.
+            </summary>
+            <value>
+            The name of this level.
+            </value>
+            <remarks>
+            <para>
+            Gets the name of this level.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.Level.Value">
+            <summary>
+            Gets the value of this level.
+            </summary>
+            <value>
+            The value of this level.
+            </value>
+            <remarks>
+            <para>
+            Gets the value of this level.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.Level.DisplayName">
+            <summary>
+            Gets the display name of this level.
+            </summary>
+            <value>
+            The display name of this level.
+            </value>
+            <remarks>
+            <para>
+            Gets the display name of this level.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LevelCollection">
+            <summary>
+            A strongly-typed collection of <see cref="T:log4net.Core.Level"/> objects.
+            </summary>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.ReadOnly(log4net.Core.LevelCollection)">
+            <summary>
+            Creates a read-only wrapper for a <c>LevelCollection</c> instance.
+            </summary>
+            <param name="list">list to create a readonly wrapper arround</param>
+            <returns>
+            A <c>LevelCollection</c> wrapper that is read-only.
+            </returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.#ctor">
+            <summary>
+            Initializes a new instance of the <c>LevelCollection</c> class
+            that is empty and has the default initial capacity.
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.#ctor(System.Int32)">
+            <summary>
+            Initializes a new instance of the <c>LevelCollection</c> class
+            that has the specified initial capacity.
+            </summary>
+            <param name="capacity">
+            The number of elements that the new <c>LevelCollection</c> is initially capable of storing.
+            </param>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection)">
+            <summary>
+            Initializes a new instance of the <c>LevelCollection</c> class
+            that contains elements copied from the specified <c>LevelCollection</c>.
+            </summary>
+            <param name="c">The <c>LevelCollection</c> whose elements are copied to the new collection.</param>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.Level[])">
+            <summary>
+            Initializes a new instance of the <c>LevelCollection</c> class
+            that contains elements copied from the specified <see cref="T:log4net.Core.Level"/> array.
+            </summary>
+            <param name="a">The <see cref="T:log4net.Core.Level"/> array whose elements are copied to the new list.</param>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.#ctor(System.Collections.ICollection)">
+            <summary>
+            Initializes a new instance of the <c>LevelCollection</c> class
+            that contains elements copied from the specified <see cref="T:log4net.Core.Level"/> collection.
+            </summary>
+            <param name="col">The <see cref="T:log4net.Core.Level"/> collection whose elements are copied to the new list.</param>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection.Tag)">
+            <summary>
+            Allow subclasses to avoid our default constructors
+            </summary>
+            <param name="tag"></param>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[])">
+            <summary>
+            Copies the entire <c>LevelCollection</c> to a one-dimensional
+            <see cref="T:log4net.Core.Level"/> array.
+            </summary>
+            <param name="array">The one-dimensional <see cref="T:log4net.Core.Level"/> array to copy to.</param>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[],System.Int32)">
+            <summary>
+            Copies the entire <c>LevelCollection</c> to a one-dimensional
+            <see cref="T:log4net.Core.Level"/> array, starting at the specified index of the target array.
+            </summary>
+            <param name="array">The one-dimensional <see cref="T:log4net.Core.Level"/> array to copy to.</param>
+            <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Add(log4net.Core.Level)">
+            <summary>
+            Adds a <see cref="T:log4net.Core.Level"/> to the end of the <c>LevelCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Core.Level"/> to be added to the end of the <c>LevelCollection</c>.</param>
+            <returns>The index at which the value has been added.</returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Clear">
+            <summary>
+            Removes all elements from the <c>LevelCollection</c>.
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Clone">
+            <summary>
+            Creates a shallow copy of the <see cref="T:log4net.Core.LevelCollection"/>.
+            </summary>
+            <returns>A new <see cref="T:log4net.Core.LevelCollection"/> with a shallow copy of the collection data.</returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Contains(log4net.Core.Level)">
+            <summary>
+            Determines whether a given <see cref="T:log4net.Core.Level"/> is in the <c>LevelCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Core.Level"/> to check for.</param>
+            <returns><c>true</c> if <paramref name="item"/> is found in the <c>LevelCollection</c>; otherwise, <c>false</c>.</returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.IndexOf(log4net.Core.Level)">
+            <summary>
+            Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Core.Level"/>
+            in the <c>LevelCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Core.Level"/> to locate in the <c>LevelCollection</c>.</param>
+            <returns>
+            The zero-based index of the first occurrence of <paramref name="item"/> 
+            in the entire <c>LevelCollection</c>, if found; otherwise, -1.
+            </returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Insert(System.Int32,log4net.Core.Level)">
+            <summary>
+            Inserts an element into the <c>LevelCollection</c> at the specified index.
+            </summary>
+            <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
+            <param name="item">The <see cref="T:log4net.Core.Level"/> to insert.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Remove(log4net.Core.Level)">
+            <summary>
+            Removes the first occurrence of a specific <see cref="T:log4net.Core.Level"/> from the <c>LevelCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Core.Level"/> to remove from the <c>LevelCollection</c>.</param>
+            <exception cref="T:System.ArgumentException">
+            The specified <see cref="T:log4net.Core.Level"/> was not found in the <c>LevelCollection</c>.
+            </exception>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.RemoveAt(System.Int32)">
+            <summary>
+            Removes the element at the specified index of the <c>LevelCollection</c>.
+            </summary>
+            <param name="index">The zero-based index of the element to remove.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.GetEnumerator">
+            <summary>
+            Returns an enumerator that can iterate through the <c>LevelCollection</c>.
+            </summary>
+            <returns>An <see cref="T:log4net.Core.LevelCollection.Enumerator"/> for the entire <c>LevelCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.AddRange(log4net.Core.LevelCollection)">
+            <summary>
+            Adds the elements of another <c>LevelCollection</c> to the current <c>LevelCollection</c>.
+            </summary>
+            <param name="x">The <c>LevelCollection</c> whose elements should be added to the end of the current <c>LevelCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.AddRange(log4net.Core.Level[])">
+            <summary>
+            Adds the elements of a <see cref="T:log4net.Core.Level"/> array to the current <c>LevelCollection</c>.
+            </summary>
+            <param name="x">The <see cref="T:log4net.Core.Level"/> array whose elements should be added to the end of the <c>LevelCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.AddRange(System.Collections.ICollection)">
+            <summary>
+            Adds the elements of a <see cref="T:log4net.Core.Level"/> collection to the current <c>LevelCollection</c>.
+            </summary>
+            <param name="col">The <see cref="T:log4net.Core.Level"/> collection whose elements should be added to the end of the <c>LevelCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.TrimToSize">
+            <summary>
+            Sets the capacity to the actual number of elements.
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.ValidateIndex(System.Int32)">
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.ValidateIndex(System.Int32,System.Boolean)">
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.Count">
+            <summary>
+            Gets the number of elements actually contained in the <c>LevelCollection</c>.
+            </summary>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.IsSynchronized">
+            <summary>
+            Gets a value indicating whether access to the collection is synchronized (thread-safe).
+            </summary>
+            <value>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</value>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.SyncRoot">
+            <summary>
+            Gets an object that can be used to synchronize access to the collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.Item(System.Int32)">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Core.Level"/> at the specified index.
+            </summary>
+            <param name="index">The zero-based index of the element to get or set.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.IsFixedSize">
+            <summary>
+            Gets a value indicating whether the collection has a fixed size.
+            </summary>
+            <value>true if the collection has a fixed size; otherwise, false. The default is false</value>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.IsReadOnly">
+            <summary>
+            Gets a value indicating whether the IList is read-only.
+            </summary>
+            <value>true if the collection is read-only; otherwise, false. The default is false</value>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.Capacity">
+            <summary>
+            Gets or sets the number of elements the <c>LevelCollection</c> can contain.
+            </summary>
+        </member>
+        <member name="T:log4net.Core.LevelCollection.ILevelCollectionEnumerator">
+            <summary>
+            Supports type-safe iteration over a <see cref="T:log4net.Core.LevelCollection"/>.
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.MoveNext">
+            <summary>
+            Advances the enumerator to the next element in the collection.
+            </summary>
+            <returns>
+            <c>true</c> if the enumerator was successfully advanced to the next element; 
+            <c>false</c> if the enumerator has passed the end of the collection.
+            </returns>
+            <exception cref="T:System.InvalidOperationException">
+            The collection was modified after the enumerator was created.
+            </exception>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Reset">
+            <summary>
+            Sets the enumerator to its initial position, before the first element in the collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Current">
+            <summary>
+            Gets the current element in the collection.
+            </summary>
+        </member>
+        <member name="T:log4net.Core.LevelCollection.Tag">
+            <summary>
+            Type visible only to our subclasses
+            Used to access protected constructor
+            </summary>
+        </member>
+        <member name="F:log4net.Core.LevelCollection.Tag.Default">
+            <summary>
+            A value
+            </summary>
+        </member>
+        <member name="T:log4net.Core.LevelCollection.Enumerator">
+            <summary>
+            Supports simple iteration over a <see cref="T:log4net.Core.LevelCollection"/>.
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Enumerator.#ctor(log4net.Core.LevelCollection)">
+            <summary>
+            Initializes a new instance of the <c>Enumerator</c> class.
+            </summary>
+            <param name="tc"></param>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Enumerator.MoveNext">
+            <summary>
+            Advances the enumerator to the next element in the collection.
+            </summary>
+            <returns>
+            <c>true</c> if the enumerator was successfully advanced to the next element; 
+            <c>false</c> if the enumerator has passed the end of the collection.
+            </returns>
+            <exception cref="T:System.InvalidOperationException">
+            The collection was modified after the enumerator was created.
+            </exception>
+        </member>
+        <member name="M:log4net.Core.LevelCollection.Enumerator.Reset">
+            <summary>
+            Sets the enumerator to its initial position, before the first element in the collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Core.LevelCollection.Enumerator.Current">
+            <summary>
+            Gets the current element in the collection.
+            </summary>
+        </member>
+        <member name="T:log4net.Core.LevelEvaluator">
+            <summary>
+            An evaluator that triggers at a threshold level
+            </summary>
+            <remarks>
+            <para>
+            This evaluator will trigger if the level of the event
+            passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
+            is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
+            level.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Core.LevelEvaluator.m_threshold">
+            <summary>
+            The threshold for triggering
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LevelEvaluator.#ctor">
+            <summary>
+            Create a new evaluator using the <see cref="F:log4net.Core.Level.Off"/> threshold.
+            </summary>
+            <remarks>
+            <para>
+            Create a new evaluator using the <see cref="F:log4net.Core.Level.Off"/> threshold.
+            </para>
+            <para>
+            This evaluator will trigger if the level of the event
+            passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
+            is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
+            level.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LevelEvaluator.#ctor(log4net.Core.Level)">
+            <summary>
+            Create a new evaluator using the specified <see cref="T:log4net.Core.Level"/> threshold.
+            </summary>
+            <param name="threshold">the threshold to trigger at</param>
+            <remarks>
+            <para>
+            Create a new evaluator using the specified <see cref="T:log4net.Core.Level"/> threshold.
+            </para>
+            <para>
+            This evaluator will trigger if the level of the event
+            passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
+            is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
+            level.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
+            <summary>
+            Is this <paramref name="loggingEvent"/> the triggering event?
+            </summary>
+            <param name="loggingEvent">The event to check</param>
+            <returns>This method returns <c>true</c>, if the event level
+            is equal or higher than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>. 
+            Otherwise it returns <c>false</c></returns>
+            <remarks>
+            <para>
+            This evaluator will trigger if the level of the event
+            passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
+            is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
+            level.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LevelEvaluator.Threshold">
+            <summary>
+            the threshold to trigger at
+            </summary>
+            <value>
+            The <see cref="T:log4net.Core.Level"/> that will cause this evaluator to trigger
+            </value>
+            <remarks>
+            <para>
+            This evaluator will trigger if the level of the event
+            passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
+            is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
+            level.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LevelMap">
+            <summary>
+            Mapping between string name and Level object
+            </summary>
+            <remarks>
+            <para>
+            Mapping between string name and <see cref="T:log4net.Core.Level"/> object.
+            This mapping is held separately for each <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            The level name is case insensitive.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Core.LevelMap.m_mapName2Level">
+            <summary>
+            Mapping from level name to Level object. The
+            level name is case insensitive
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LevelMap.#ctor">
+            <summary>
+            Construct the level map
+            </summary>
+            <remarks>
+            <para>
+            Construct the level map.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LevelMap.Clear">
+            <summary>
+            Clear the internal maps of all levels
+            </summary>
+            <remarks>
+            <para>
+            Clear the internal maps of all levels
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LevelMap.Add(System.String,System.Int32)">
+            <summary>
+            Create a new Level and add it to the map
+            </summary>
+            <param name="name">the string to display for the Level</param>
+            <param name="value">the level value to give to the Level</param>
+            <remarks>
+            <para>
+            Create a new Level and add it to the map
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Core.LevelMap.Add(System.String,System.Int32,System.String)"/>
+        </member>
+        <member name="M:log4net.Core.LevelMap.Add(System.String,System.Int32,System.String)">
+            <summary>
+            Create a new Level and add it to the map
+            </summary>
+            <param name="name">the string to display for the Level</param>
+            <param name="value">the level value to give to the Level</param>
+            <param name="displayName">the display name to give to the Level</param>
+            <remarks>
+            <para>
+            Create a new Level and add it to the map
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LevelMap.Add(log4net.Core.Level)">
+            <summary>
+            Add a Level to the map
+            </summary>
+            <param name="level">the Level to add</param>
+            <remarks>
+            <para>
+            Add a Level to the map
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LevelMap.LookupWithDefault(log4net.Core.Level)">
+            <summary>
+            Lookup a named level from the map
+            </summary>
+            <param name="defaultLevel">the name of the level to lookup is taken from this level. 
+            If the level is not set on the map then this level is added</param>
+            <returns>the level in the map with the name specified</returns>
+            <remarks>
+            <para>
+            Lookup a named level from the map. The name of the level to lookup is taken
+            from the <see cref="P:log4net.Core.Level.Name"/> property of the <paramref name="defaultLevel"/>
+            argument.
+            </para>
+            <para>
+            If no level with the specified name is found then the 
+            <paramref name="defaultLevel"/> argument is added to the level map
+            and returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LevelMap.Item(System.String)">
+            <summary>
+            Lookup a <see cref="T:log4net.Core.Level"/> by name
+            </summary>
+            <param name="name">The name of the Level to lookup</param>
+            <returns>a Level from the map with the name specified</returns>
+            <remarks>
+            <para>
+            Returns the <see cref="T:log4net.Core.Level"/> from the
+            map with the name specified. If the no level is
+            found then <c>null</c> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LevelMap.AllLevels">
+            <summary>
+            Return all possible levels as a list of Level objects.
+            </summary>
+            <returns>all possible levels as a list of Level objects</returns>
+            <remarks>
+            <para>
+            Return all possible levels as a list of Level objects.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LocationInfo">
+            <summary>
+            The internal representation of caller location information.
+            </summary>
+            <remarks>
+            <para>
+            This class uses the <c>System.Diagnostics.StackTrace</c> class to generate
+            a call stack. The caller's information is then extracted from this stack.
+            </para>
+            <para>
+            The <c>System.Diagnostics.StackTrace</c> class is not supported on the 
+            .NET Compact Framework 1.0 therefore caller location information is not
+            available on that framework.
+            </para>
+            <para>
+            The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
+            </para>
+            <para>
+            "StackTrace information will be most informative with Debug build configurations. 
+            By default, Debug builds include debug symbols, while Release builds do not. The 
+            debug symbols contain most of the file, method name, line number, and column 
+            information used in constructing StackFrame and StackTrace objects. StackTrace 
+            might not report as many method calls as expected, due to code transformations 
+            that occur during optimization."
+            </para>
+            <para>
+            This means that in a Release build the caller information may be incomplete or may 
+            not exist at all! Therefore caller location information cannot be relied upon in a Release build.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Core.LocationInfo.NA">
+            <summary>
+            When location information is not available the constant
+            <c>NA</c> is returned. Current value of this string
+            constant is <b>?</b>.
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LocationInfo.#ctor(System.Type)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
+            the stack boundary into the logging system for this call.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.LocationInfo"/>
+            class based on the current thread.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LocationInfo.#ctor(System.String,System.String,System.String,System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="className">The fully qualified class name.</param>
+            <param name="methodName">The method name.</param>
+            <param name="fileName">The file name.</param>
+            <param name="lineNumber">The line number of the method within the file.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.LocationInfo"/>
+            class with the specified data.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LocationInfo.ClassName">
+            <summary>
+            Gets the fully qualified class name of the caller making the logging 
+            request.
+            </summary>
+            <value>
+            The fully qualified class name of the caller making the logging 
+            request.
+            </value>
+            <remarks>
+            <para>
+            Gets the fully qualified class name of the caller making the logging 
+            request.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LocationInfo.FileName">
+            <summary>
+            Gets the file name of the caller.
+            </summary>
+            <value>
+            The file name of the caller.
+            </value>
+            <remarks>
+            <para>
+            Gets the file name of the caller.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LocationInfo.LineNumber">
+            <summary>
+            Gets the line number of the caller.
+            </summary>
+            <value>
+            The line number of the caller.
+            </value>
+            <remarks>
+            <para>
+            Gets the line number of the caller.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LocationInfo.MethodName">
+            <summary>
+            Gets the method name of the caller.
+            </summary>
+            <value>
+            The method name of the caller.
+            </value>
+            <remarks>
+            <para>
+            Gets the method name of the caller.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LocationInfo.FullInfo">
+            <summary>
+            Gets all available caller information
+            </summary>
+            <value>
+            All available caller information, in the format
+            <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
+            </value>
+            <remarks>
+            <para>
+            Gets all available caller information, in the format
+            <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LoggerManager">
+            <summary>
+            Static manager that controls the creation of repositories
+            </summary>
+            <remarks>
+            <para>
+            Static manager that controls the creation of repositories
+            </para>
+            <para>
+            This class is used by the wrapper managers (e.g. <see cref="T:log4net.LogManager"/>)
+            to provide access to the <see cref="T:log4net.Core.ILogger"/> objects.
+            </para>
+            <para>
+            This manager also holds the <see cref="T:log4net.Core.IRepositorySelector"/> that is used to
+            lookup and create repositories. The selector can be set either programmatically using
+            the <see cref="P:log4net.Core.LoggerManager.RepositorySelector"/> property, or by setting the <c>log4net.RepositorySelector</c>
+            AppSetting in the applications config file to the fully qualified type name of the
+            selector to use. 
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.#ctor">
+            <summary>
+            Private constructor to prevent instances. Only static methods should be used.
+            </summary>
+            <remarks>
+            <para>
+            Private constructor to prevent instances. Only static methods should be used.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.#cctor">
+            <summary>
+            Hook the shutdown event
+            </summary>
+            <remarks>
+            <para>
+            On the full .NET runtime, the static constructor hooks up the 
+            <c>AppDomain.ProcessExit</c> and <c>AppDomain.DomainUnload</c>> events. 
+            These are used to shutdown the log4net system as the application exits.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.RegisterAppDomainEvents">
+            <summary>
+            Register for ProcessExit and DomainUnload events on the AppDomain
+            </summary>
+            <remarks>
+            <para>
+            This needs to be in a separate method because the events make
+            a LinkDemand for the ControlAppDomain SecurityPermission. Because
+            this is a LinkDemand it is demanded at JIT time. Therefore we cannot
+            catch the exception in the method itself, we have to catch it in the
+            caller.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetLoggerRepository(System.String)">
+            <summary>
+            Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <param name="repository">the repository to lookup in</param>
+            <returns>Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
+            by the <paramref name="repository"/> argument.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetLoggerRepository(System.Reflection.Assembly)">
+            <summary>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetRepository(System.String)">
+            <summary>
+            Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <param name="repository">the repository to lookup in</param>
+            <returns>Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
+            by the <paramref name="repository"/> argument.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetRepository(System.Reflection.Assembly)">
+            <summary>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
+            <remarks>
+            <para>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.Exists(System.String,System.String)">
+            <summary>
+            Returns the named logger if it exists.
+            </summary>
+            <param name="repository">The repository to lookup in.</param>
+            <param name="name">The fully qualified logger name to look for.</param>
+            <returns>
+            The logger found, or <c>null</c> if the named logger does not exist in the
+            specified repository.
+            </returns>
+            <remarks>
+            <para>
+            If the named logger exists (in the specified repository) then it
+            returns a reference to the logger, otherwise it returns
+            <c>null</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.Exists(System.Reflection.Assembly,System.String)">
+            <summary>
+            Returns the named logger if it exists.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <param name="name">The fully qualified logger name to look for.</param>
+            <returns>
+            The logger found, or <c>null</c> if the named logger does not exist in the
+            specified assembly's repository.
+            </returns>
+            <remarks>
+            <para>
+            If the named logger exists (in the specified assembly's repository) then it
+            returns a reference to the logger, otherwise it returns
+            <c>null</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetCurrentLoggers(System.String)">
+            <summary>
+            Returns all the currently defined loggers in the specified repository.
+            </summary>
+            <param name="repository">The repository to lookup in.</param>
+            <returns>All the defined loggers.</returns>
+            <remarks>
+            <para>
+            The root logger is <b>not</b> included in the returned array.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetCurrentLoggers(System.Reflection.Assembly)">
+            <summary>
+            Returns all the currently defined loggers in the specified assembly's repository.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <returns>All the defined loggers.</returns>
+            <remarks>
+            <para>
+            The root logger is <b>not</b> included in the returned array.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetLogger(System.String,System.String)">
+            <summary>
+            Retrieves or creates a named logger.
+            </summary>
+            <param name="repository">The repository to lookup in.</param>
+            <param name="name">The name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+            <remarks>
+            <para>
+            Retrieves a logger named as the <paramref name="name"/>
+            parameter. If the named logger already exists, then the
+            existing instance will be returned. Otherwise, a new instance is
+            created.
+            </para>
+            <para>
+            By default, loggers do not have a set level but inherit
+            it from the hierarchy. This is one of the central features of
+            log4net.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly,System.String)">
+            <summary>
+            Retrieves or creates a named logger.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <param name="name">The name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+            <remarks>
+            <para>
+            Retrieves a logger named as the <paramref name="name"/>
+            parameter. If the named logger already exists, then the
+            existing instance will be returned. Otherwise, a new instance is
+            created.
+            </para>
+            <para>
+            By default, loggers do not have a set level but inherit
+            it from the hierarchy. This is one of the central features of
+            log4net.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetLogger(System.String,System.Type)">
+            <summary>
+            Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
+            </summary>
+            <param name="repository">The repository to lookup in.</param>
+            <param name="type">The <paramref name="type"/> of which the fullname will be used as the name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+            <remarks>
+            <para>
+            Gets the logger for the fully qualified name of the type specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
+            </summary>
+            <param name="repositoryAssembly">the assembly to use to lookup the repository</param>
+            <param name="type">The <paramref name="type"/> of which the fullname will be used as the name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+            <remarks>
+            <para>
+            Gets the logger for the fully qualified name of the type specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.Shutdown">
+            <summary>
+            Shuts down the log4net system.
+            </summary>
+            <remarks>
+            <para>
+            Calling this method will <b>safely</b> close and remove all
+            appenders in all the loggers including root contained in all the
+            default repositories.
+            </para>
+            <para>
+            Some appenders need to be closed before the application exists. 
+            Otherwise, pending logging events might be lost.
+            </para>
+            <para>
+            The <c>shutdown</c> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.ShutdownRepository(System.String)">
+            <summary>
+            Shuts down the repository for the repository specified.
+            </summary>
+            <param name="repository">The repository to shutdown.</param>
+            <remarks>
+            <para>
+            Calling this method will <b>safely</b> close and remove all
+            appenders in all the loggers including root contained in the
+            repository for the <paramref name="repository"/> specified.
+            </para>
+            <para>
+            Some appenders need to be closed before the application exists. 
+            Otherwise, pending logging events might be lost.
+            </para>
+            <para>
+            The <c>shutdown</c> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.ShutdownRepository(System.Reflection.Assembly)">
+            <summary>
+            Shuts down the repository for the repository specified.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <remarks>
+            <para>
+            Calling this method will <b>safely</b> close and remove all
+            appenders in all the loggers including root contained in the
+            repository for the repository. The repository is looked up using
+            the <paramref name="repositoryAssembly"/> specified.
+            </para>
+            <para>
+            Some appenders need to be closed before the application exists. 
+            Otherwise, pending logging events might be lost.
+            </para>
+            <para>
+            The <c>shutdown</c> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.ResetConfiguration(System.String)">
+            <summary>
+            Resets all values contained in this repository instance to their defaults.
+            </summary>
+            <param name="repository">The repository to reset.</param>
+            <remarks>
+            <para>
+            Resets all values contained in the repository instance to their
+            defaults.  This removes all appenders from all loggers, sets
+            the level of all non-root loggers to <c>null</c>,
+            sets their additivity flag to <c>true</c> and sets the level
+            of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
+            message disabling is set its default "off" value.
+            </para>		
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.ResetConfiguration(System.Reflection.Assembly)">
+            <summary>
+            Resets all values contained in this repository instance to their defaults.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository to reset.</param>
+            <remarks>
+            <para>
+            Resets all values contained in the repository instance to their
+            defaults.  This removes all appenders from all loggers, sets
+            the level of all non-root loggers to <c>null</c>,
+            sets their additivity flag to <c>true</c> and sets the level
+            of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
+            message disabling is set its default "off" value.
+            </para>		
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.CreateDomain(System.String)">
+            <summary>
+            Creates a repository with the specified name.
+            </summary>
+            <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <remarks>
+            <para>
+            <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
+            </para>
+            <para>
+            Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
+            <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
+            </para>
+            <para>
+            The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
+            An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.CreateRepository(System.String)">
+            <summary>
+            Creates a repository with the specified name.
+            </summary>
+            <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <remarks>
+            <para>
+            Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
+            <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
+            </para>
+            <para>
+            The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
+            An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.CreateDomain(System.String,System.Type)">
+            <summary>
+            Creates a repository with the specified name and repository type.
+            </summary>
+            <param name="repository">The name of the repository, this must be unique to the repository.</param>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <remarks>
+            <para>
+            <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
+            </para>
+            <para>
+            The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
+            An Exception will be thrown if the repository already exists.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.CreateRepository(System.String,System.Type)">
+            <summary>
+            Creates a repository with the specified name and repository type.
+            </summary>
+            <param name="repository">The name of the repository, this must be unique to the repository.</param>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <remarks>
+            <para>
+            The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
+            An Exception will be thrown if the repository already exists.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.CreateDomain(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Creates a repository for the specified assembly and repository type.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <remarks>
+            <para>
+            <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
+            </para>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.Core.LoggerManager.GetRepository(System.Reflection.Assembly)"/> with the
+            same assembly specified will return the same repository instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.CreateRepository(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Creates a repository for the specified assembly and repository type.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.Core.LoggerManager.GetRepository(System.Reflection.Assembly)"/> with the
+            same assembly specified will return the same repository instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetAllRepositories">
+            <summary>
+            Gets an array of all currently defined repositories.
+            </summary>
+            <returns>An array of all the known <see cref="T:log4net.Repository.ILoggerRepository"/> objects.</returns>
+            <remarks>
+            <para>
+            Gets an array of all currently defined repositories.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.GetVersionInfo">
+            <summary>
+            Internal method to get pertinent version info.
+            </summary>
+            <returns>A string of version info.</returns>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.OnDomainUnload(System.Object,System.EventArgs)">
+            <summary>
+            Called when the <see cref="E:System.AppDomain.DomainUnload"/> event fires
+            </summary>
+            <param name="sender">the <see cref="T:System.AppDomain"/> that is exiting</param>
+            <param name="e">null</param>
+            <remarks>
+            <para>
+            Called when the <see cref="E:System.AppDomain.DomainUnload"/> event fires.
+            </para>
+            <para>
+            When the event is triggered the log4net system is <see cref="M:log4net.Core.LoggerManager.Shutdown"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggerManager.OnProcessExit(System.Object,System.EventArgs)">
+            <summary>
+            Called when the <see cref="E:System.AppDomain.ProcessExit"/> event fires
+            </summary>
+            <param name="sender">the <see cref="T:System.AppDomain"/> that is exiting</param>
+            <param name="e">null</param>
+            <remarks>
+            <para>
+            Called when the <see cref="E:System.AppDomain.ProcessExit"/> event fires.
+            </para>
+            <para>
+            When the event is triggered the log4net system is <see cref="M:log4net.Core.LoggerManager.Shutdown"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggerManager.s_repositorySelector">
+            <summary>
+            Initialize the default repository selector
+            </summary>
+        </member>
+        <member name="P:log4net.Core.LoggerManager.RepositorySelector">
+            <summary>
+            Gets or sets the repository selector used by the <see cref="T:log4net.LogManager"/>.
+            </summary>
+            <value>
+            The repository selector used by the <see cref="T:log4net.LogManager"/>.
+            </value>
+            <remarks>
+            <para>
+            The repository selector (<see cref="T:log4net.Core.IRepositorySelector"/>) is used by 
+            the <see cref="T:log4net.LogManager"/> to create and select repositories 
+            (<see cref="T:log4net.Repository.ILoggerRepository"/>).
+            </para>
+            <para>
+            The caller to <see cref="T:log4net.LogManager"/> supplies either a string name 
+            or an assembly (if not supplied the assembly is inferred using 
+            <see cref="M:System.Reflection.Assembly.GetCallingAssembly"/>).
+            </para>
+            <para>
+            This context is used by the selector to lookup a specific repository.
+            </para>
+            <para>
+            For the full .NET Framework, the default repository is <c>DefaultRepositorySelector</c>;
+            for the .NET Compact Framework <c>CompactRepositorySelector</c> is the default
+            repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LoggerWrapperImpl">
+            <summary>
+            Implementation of the <see cref="T:log4net.Core.ILoggerWrapper"/> interface.
+            </summary>
+            <remarks>
+            <para>
+            This class should be used as the base for all wrapper implementations.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.LoggerWrapperImpl.#ctor(log4net.Core.ILogger)">
+            <summary>
+            Constructs a new wrapper for the specified logger.
+            </summary>
+            <param name="logger">The logger to wrap.</param>
+            <remarks>
+            <para>
+            Constructs a new wrapper for the specified logger.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggerWrapperImpl.m_logger">
+            <summary>
+            The logger that this object is wrapping
+            </summary>
+        </member>
+        <member name="P:log4net.Core.LoggerWrapperImpl.Logger">
+            <summary>
+            Gets the implementation behind this wrapper object.
+            </summary>
+            <value>
+            The <see cref="T:log4net.Core.ILogger"/> object that this object is implementing.
+            </value>
+            <remarks>
+            <para>
+            The <c>Logger</c> object may not be the same object as this object 
+            because of logger decorators.
+            </para>
+            <para>
+            This gets the actual underlying objects that is used to process
+            the log events.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LoggingEventData">
+            <summary>
+            Portable data structure used by <see cref="T:log4net.Core.LoggingEvent"/>
+            </summary>
+            <remarks>
+            <para>
+            Portable data structure used by <see cref="T:log4net.Core.LoggingEvent"/>
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.LoggerName">
+            <summary>
+            The logger name.
+            </summary>
+            <remarks>
+            <para>
+            The logger name.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.Level">
+            <summary>
+            Level of logging event.
+            </summary>
+            <remarks>
+            <para>
+            Level of logging event. Level cannot be Serializable
+            because it is a flyweight.  Due to its special serialization it
+            cannot be declared final either.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.Message">
+            <summary>
+            The application supplied message.
+            </summary>
+            <remarks>
+            <para>
+            The application supplied message of logging event.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.ThreadName">
+            <summary>
+            The name of thread
+            </summary>
+            <remarks>
+            <para>
+            The name of thread in which this logging event was generated
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.TimeStamp">
+            <summary>
+            The time the event was logged
+            </summary>
+            <remarks>
+            <para>
+            The TimeStamp is stored in the local time zone for this computer.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.LocationInfo">
+            <summary>
+            Location information for the caller.
+            </summary>
+            <remarks>
+            <para>
+            Location information for the caller.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.UserName">
+            <summary>
+            String representation of the user
+            </summary>
+            <remarks>
+            <para>
+            String representation of the user's windows name,
+            like DOMAIN\username
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.Identity">
+            <summary>
+            String representation of the identity.
+            </summary>
+            <remarks>
+            <para>
+            String representation of the current thread's principal identity.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.ExceptionString">
+            <summary>
+            The string representation of the exception
+            </summary>
+            <remarks>
+            <para>
+            The string representation of the exception
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.Domain">
+            <summary>
+            String representation of the AppDomain.
+            </summary>
+            <remarks>
+            <para>
+            String representation of the AppDomain.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEventData.Properties">
+            <summary>
+            Additional event specific properties
+            </summary>
+            <remarks>
+            <para>
+            A logger or an appender may attach additional
+            properties to specific events. These properties
+            have a string key and an object value.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.FixFlags">
+            <summary>
+            Flags passed to the <see cref="P:log4net.Core.LoggingEvent.Fix"/> property
+            </summary>
+            <remarks>
+            <para>
+            Flags passed to the <see cref="P:log4net.Core.LoggingEvent.Fix"/> property
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Core.FixFlags.Mdc">
+            <summary>
+            Fix the MDC
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.Ndc">
+            <summary>
+            Fix the NDC
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.Message">
+            <summary>
+            Fix the rendered message
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.ThreadName">
+            <summary>
+            Fix the thread name
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.LocationInfo">
+            <summary>
+            Fix the callers location information
+            </summary>
+            <remarks>
+            CAUTION: Very slow to generate
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.FixFlags.UserName">
+            <summary>
+            Fix the callers windows user name
+            </summary>
+            <remarks>
+            CAUTION: Slow to generate
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.FixFlags.Domain">
+            <summary>
+            Fix the domain friendly name
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.Identity">
+            <summary>
+            Fix the callers principal name
+            </summary>
+            <remarks>
+            CAUTION: May be slow to generate
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.FixFlags.Exception">
+            <summary>
+            Fix the exception text
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.Properties">
+            <summary>
+            Fix the event properties
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.None">
+            <summary>
+            No fields fixed
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.All">
+            <summary>
+            All fields fixed
+            </summary>
+        </member>
+        <member name="F:log4net.Core.FixFlags.Partial">
+            <summary>
+            Partial fields fixed
+            </summary>
+            <remarks>
+            <para>
+            This set of partial fields gives good performance. The following fields are fixed:
+            </para>
+            <list type="bullet">
+            <item><description><see cref="F:log4net.Core.FixFlags.Message"/></description></item>
+            <item><description><see cref="F:log4net.Core.FixFlags.ThreadName"/></description></item>
+            <item><description><see cref="F:log4net.Core.FixFlags.Exception"/></description></item>
+            <item><description><see cref="F:log4net.Core.FixFlags.Domain"/></description></item>
+            <item><description><see cref="F:log4net.Core.FixFlags.Properties"/></description></item>
+            </list>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LoggingEvent">
+            <summary>
+            The internal representation of logging events. 
+            </summary>
+            <remarks>
+            <para>
+            When an affirmative decision is made to log then a 
+            <see cref="T:log4net.Core.LoggingEvent"/> instance is created. This instance 
+            is passed around to the different log4net components.
+            </para>
+            <para>
+            This class is of concern to those wishing to extend log4net.
+            </para>
+            <para>
+            Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
+            are considered volatile, that is the values are correct at the
+            time the event is delivered to appenders, but will not be consistent
+            at any time afterwards. If an event is to be stored and then processed
+            at a later time these volatile values must be fixed by calling
+            <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/>. There is a performance penalty
+            for incurred by calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> but it
+            is essential to maintaining data consistency.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Douglas de la Torre</author>
+            <author>Daniel Cazzulino</author>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.HostNameProperty">
+            <summary>
+            The key into the Properties map for the host name value.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.IdentityProperty">
+            <summary>
+            The key into the Properties map for the thread identity value.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.UserNameProperty">
+            <summary>
+            The key into the Properties map for the user name value.
+            </summary>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,System.String,log4net.Core.Level,System.Object,System.Exception)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
+            from the supplied parameters.
+            </summary>
+            <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
+            the stack boundary into the logging system for this call.</param>
+            <param name="repository">The repository this event is logged in.</param>
+            <param name="loggerName">The name of the logger of this event.</param>
+            <param name="level">The level of this event.</param>
+            <param name="message">The message of this event.</param>
+            <param name="exception">The exception for this event.</param>
+            <remarks>
+            <para>
+            Except <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>, <see cref="P:log4net.Core.LoggingEvent.Level"/> and <see cref="P:log4net.Core.LoggingEvent.LoggerName"/>, 
+            all fields of <c>LoggingEvent</c> are filled when actually needed. Call
+            <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> to cache all data locally
+            to prevent inconsistencies.
+            </para>
+            <para>This method is called by the log4net framework
+            to create a logging event.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,log4net.Core.LoggingEventData,log4net.Core.FixFlags)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class 
+            using specific data.
+            </summary>
+            <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
+            the stack boundary into the logging system for this call.</param>
+            <param name="repository">The repository this event is logged in.</param>
+            <param name="data">Data used to initialize the logging event.</param>
+            <param name="fixedData">The fields in the <paranref name="data"/> struct that have already been fixed.</param>
+            <remarks>
+            <para>
+            This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
+            to be created independently of the log4net framework. This can
+            be useful if you require a custom serialization scheme.
+            </para>
+            <para>
+            Use the <see cref="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)"/> method to obtain an 
+            instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
+            </para>
+            <para>
+            The <paramref name="fixedData"/> parameter should be used to specify which fields in the
+            <paramref name="data"/> struct have been preset. Fields not specified in the <paramref name="fixedData"/>
+            will be captured from the environment if requested or fixed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,log4net.Core.LoggingEventData)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class 
+            using specific data.
+            </summary>
+            <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
+            the stack boundary into the logging system for this call.</param>
+            <param name="repository">The repository this event is logged in.</param>
+            <param name="data">Data used to initialize the logging event.</param>
+            <remarks>
+            <para>
+            This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
+            to be created independently of the log4net framework. This can
+            be useful if you require a custom serialization scheme.
+            </para>
+            <para>
+            Use the <see cref="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)"/> method to obtain an 
+            instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
+            </para>
+            <para>
+            This constructor sets this objects <see cref="P:log4net.Core.LoggingEvent.Fix"/> flags to <see cref="F:log4net.Core.FixFlags.All"/>,
+            this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
+            parameter and no other data should be captured from the environment.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.#ctor(log4net.Core.LoggingEventData)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class 
+            using specific data.
+            </summary>
+            <param name="data">Data used to initialize the logging event.</param>
+            <remarks>
+            <para>
+            This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
+            to be created independently of the log4net framework. This can
+            be useful if you require a custom serialization scheme.
+            </para>
+            <para>
+            Use the <see cref="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)"/> method to obtain an 
+            instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
+            </para>
+            <para>
+            This constructor sets this objects <see cref="P:log4net.Core.LoggingEvent.Fix"/> flags to <see cref="F:log4net.Core.FixFlags.All"/>,
+            this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
+            parameter and no other data should be captured from the environment.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+            <summary>
+            Serialization constructor
+            </summary>
+            <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
+            <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class 
+            with serialized data.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.EnsureRepository(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Ensure that the repository is set.
+            </summary>
+            <param name="repository">the value for the repository</param>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)">
+            <summary>
+            Write the rendered message to a TextWriter
+            </summary>
+            <param name="writer">the writer to write the message to</param>
+            <remarks>
+            <para>
+            Unlike the <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property this method
+            does store the message data in the internal cache. Therefore 
+            if called only once this method should be faster than the
+            <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property, however if the message is
+            to be accessed multiple times then the property will be more efficient.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+            <summary>
+            Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
+            </summary>
+            <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> to populate with data.</param>
+            <param name="context">The destination for this serialization.</param>
+            <remarks>
+            <para>
+            The data in this event must be fixed before it can be serialized.
+            </para>
+            <para>
+            The <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> method must be called during the
+            <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method call if this event 
+            is to be used outside that method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.GetLoggingEventData">
+            <summary>
+            Gets the portable data for this <see cref="T:log4net.Core.LoggingEvent"/>.
+            </summary>
+            <returns>The <see cref="T:log4net.Core.LoggingEventData"/> for this event.</returns>
+            <remarks>
+            <para>
+            A new <see cref="T:log4net.Core.LoggingEvent"/> can be constructed using a
+            <see cref="T:log4net.Core.LoggingEventData"/> instance.
+            </para>
+            <para>
+            Does a <see cref="F:log4net.Core.FixFlags.Partial"/> fix of the data
+            in the logging event before returning the event data.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)">
+            <summary>
+            Gets the portable data for this <see cref="T:log4net.Core.LoggingEvent"/>.
+            </summary>
+            <param name="fixFlags">The set of data to ensure is fixed in the LoggingEventData</param>
+            <returns>The <see cref="T:log4net.Core.LoggingEventData"/> for this event.</returns>
+            <remarks>
+            <para>
+            A new <see cref="T:log4net.Core.LoggingEvent"/> can be constructed using a
+            <see cref="T:log4net.Core.LoggingEventData"/> instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.GetExceptionStrRep">
+            <summary>
+            Returns this event's exception's rendered using the 
+            <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
+            </summary>
+            <returns>
+            This event's exception's rendered using the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
+            </returns>
+            <remarks>
+            <para>
+            <b>Obsolete. Use <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/> instead.</b>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.GetExceptionString">
+            <summary>
+            Returns this event's exception's rendered using the 
+            <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
+            </summary>
+            <returns>
+            This event's exception's rendered using the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
+            </returns>
+            <remarks>
+            <para>
+            Returns this event's exception's rendered using the 
+            <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.FixVolatileData">
+            <summary>
+            Fix instance fields that hold volatile data.
+            </summary>
+            <remarks>
+            <para>
+            Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
+            are considered volatile, that is the values are correct at the
+            time the event is delivered to appenders, but will not be consistent
+            at any time afterwards. If an event is to be stored and then processed
+            at a later time these volatile values must be fixed by calling
+            <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/>. There is a performance penalty
+            incurred by calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> but it
+            is essential to maintaining data consistency.
+            </para>
+            <para>
+            Calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> is equivalent to
+            calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)"/> passing the parameter
+            <c>false</c>.
+            </para>
+            <para>
+            See <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)"/> for more
+            information.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)">
+            <summary>
+            Fixes instance fields that hold volatile data.
+            </summary>
+            <param name="fastButLoose">Set to <c>true</c> to not fix data that takes a long time to fix.</param>
+            <remarks>
+            <para>
+            Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
+            are considered volatile, that is the values are correct at the
+            time the event is delivered to appenders, but will not be consistent
+            at any time afterwards. If an event is to be stored and then processed
+            at a later time these volatile values must be fixed by calling
+            <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/>. There is a performance penalty
+            for incurred by calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> but it
+            is essential to maintaining data consistency.
+            </para>
+            <para>
+            The <paramref name="fastButLoose"/> param controls the data that
+            is fixed. Some of the data that can be fixed takes a long time to 
+            generate, therefore if you do not require those settings to be fixed
+            they can be ignored by setting the <paramref name="fastButLoose"/> param
+            to <c>true</c>. This setting will ignore the <see cref="P:log4net.Core.LoggingEvent.LocationInformation"/>
+            and <see cref="P:log4net.Core.LoggingEvent.UserName"/> settings.
+            </para>
+            <para>
+            Set <paramref name="fastButLoose"/> to <c>false</c> to ensure that all 
+            settings are fixed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.FixVolatileData(log4net.Core.FixFlags)">
+            <summary>
+            Fix the fields specified by the <see cref="T:log4net.Core.FixFlags"/> parameter
+            </summary>
+            <param name="flags">the fields to fix</param>
+            <remarks>
+            <para>
+            Only fields specified in the <paramref name="flags"/> will be fixed.
+            Fields will not be fixed if they have previously been fixed.
+            It is not possible to 'unfix' a field.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.LookupProperty(System.String)">
+            <summary>
+            Lookup a composite property in this event
+            </summary>
+            <param name="key">the key for the property to lookup</param>
+            <returns>the value for the property</returns>
+            <remarks>
+            <para>
+            This event has composite properties that combine together properties from
+            several different contexts in the following order:
+            <list type="definition">
+            	<item>
+            		<term>this events properties</term>
+            		<description>
+            		This event has <see cref="P:log4net.Core.LoggingEvent.Properties"/> that can be set. These 
+            		properties are specific to this event only.
+            		</description>
+            	</item>
+            	<item>
+            		<term>the thread properties</term>
+            		<description>
+            		The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
+            		thread. These properties are shared by all events logged on this thread.
+            		</description>
+            	</item>
+            	<item>
+            		<term>the global properties</term>
+            		<description>
+            		The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These 
+            		properties are shared by all the threads in the AppDomain.
+            		</description>
+            	</item>
+            </list>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LoggingEvent.GetProperties">
+            <summary>
+            Get all the composite properties in this event
+            </summary>
+            <returns>the <see cref="T:log4net.Util.PropertiesDictionary"/> containing all the properties</returns>
+            <remarks>
+            <para>
+            See <see cref="M:log4net.Core.LoggingEvent.LookupProperty(System.String)"/> for details of the composite properties 
+            stored by the event.
+            </para>
+            <para>
+            This method returns a single <see cref="T:log4net.Util.PropertiesDictionary"/> containing all the
+            properties defined for this event.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_data">
+            <summary>
+            The internal logging event data.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_compositeProperties">
+            <summary>
+            The internal logging event data.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_eventProperties">
+            <summary>
+            The internal logging event data.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_callerStackBoundaryDeclaringType">
+            <summary>
+            The fully qualified Type of the calling 
+            logger class in the stack frame (i.e. the declaring type of the method).
+            </summary>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_message">
+            <summary>
+            The application supplied message of logging event.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_thrownException">
+            <summary>
+            The exception that was thrown.
+            </summary>
+            <remarks>
+            This is not serialized. The string representation
+            is serialized instead.
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_repository">
+            <summary>
+            The repository that generated the logging event
+            </summary>
+            <remarks>
+            This is not serialized.
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_fixFlags">
+            <summary>
+            The fix state for this event
+            </summary>
+            <remarks>
+            These flags indicate which fields have been fixed.
+            Not serialized.
+            </remarks>
+        </member>
+        <member name="F:log4net.Core.LoggingEvent.m_cacheUpdatable">
+            <summary>
+            Indicated that the internal cache is updateable (ie not fixed)
+            </summary>
+            <remarks>
+            This is a seperate flag to m_fixFlags as it allows incrementel fixing and simpler
+            changes in the caching strategy.
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.StartTime">
+            <summary>
+            Gets the time when the current process started.
+            </summary>
+            <value>
+            This is the time when this process started.
+            </value>
+            <remarks>
+            <para>
+            The TimeStamp is stored in the local time zone for this computer.
+            </para>
+            <para>
+            Tries to get the start time for the current process.
+            Failing that it returns the time of the first call to
+            this property.
+            </para>
+            <para>
+            Note that AppDomains may be loaded and unloaded within the
+            same process without the process terminating and therefore
+            without the process start time being reset.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.Level">
+            <summary>
+            Gets the <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
+            </value>
+            <remarks>
+            <para>
+            Gets the <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.TimeStamp">
+            <summary>
+            Gets the time of the logging event.
+            </summary>
+            <value>
+            The time of the logging event.
+            </value>
+            <remarks>
+            <para>
+            The TimeStamp is stored in the local time zone for this computer.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.LoggerName">
+            <summary>
+            Gets the name of the logger that logged the event.
+            </summary>
+            <value>
+            The name of the logger that logged the event.
+            </value>
+            <remarks>
+            <para>
+            Gets the name of the logger that logged the event.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.LocationInformation">
+            <summary>
+            Gets the location information for this logging event.
+            </summary>
+            <value>
+            The location information for this logging event.
+            </value>
+            <remarks>
+            <para>
+            The collected information is cached for future use.
+            </para>
+            <para>
+            See the <see cref="T:log4net.Core.LocationInfo"/> class for more information on
+            supported frameworks and the different behavior in Debug and
+            Release builds.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.MessageObject">
+            <summary>
+            Gets the message object used to initialize this event.
+            </summary>
+            <value>
+            The message object used to initialize this event.
+            </value>
+            <remarks>
+            <para>
+            Gets the message object used to initialize this event.
+            Note that this event may not have a valid message object.
+            If the event is serialized the message object will not 
+            be transferred. To get the text of the message the
+            <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property must be used 
+            not this property.
+            </para>
+            <para>
+            If there is no defined message object for this event then
+            null will be returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.ExceptionObject">
+            <summary>
+            Gets the exception object used to initialize this event.
+            </summary>
+            <value>
+            The exception object used to initialize this event.
+            </value>
+            <remarks>
+            <para>
+            Gets the exception object used to initialize this event.
+            Note that this event may not have a valid exception object.
+            If the event is serialized the exception object will not 
+            be transferred. To get the text of the exception the
+            <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/> method must be used 
+            not this property.
+            </para>
+            <para>
+            If there is no defined exception object for this event then
+            null will be returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.Repository">
+            <summary>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> that this event was created in.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> that this event was created in.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.RenderedMessage">
+            <summary>
+            Gets the message, rendered through the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
+            </summary>
+            <value>
+            The message rendered through the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
+            </value>
+            <remarks>
+            <para>
+            The collected information is cached for future use.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.ThreadName">
+            <summary>
+            Gets the name of the current thread.  
+            </summary>
+            <value>
+            The name of the current thread, or the thread ID when 
+            the name is not available.
+            </value>
+            <remarks>
+            <para>
+            The collected information is cached for future use.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.UserName">
+            <summary>
+            Gets the name of the current user.
+            </summary>
+            <value>
+            The name of the current user, or <c>NOT AVAILABLE</c> when the 
+            underlying runtime has no support for retrieving the name of the 
+            current user.
+            </value>
+            <remarks>
+            <para>
+            Calls <c>WindowsIdentity.GetCurrent().Name</c> to get the name of
+            the current windows user.
+            </para>
+            <para>
+            To improve performance, we could cache the string representation of 
+            the name, and reuse that as long as the identity stayed constant.  
+            Once the identity changed, we would need to re-assign and re-render 
+            the string.
+            </para>
+            <para>
+            However, the <c>WindowsIdentity.GetCurrent()</c> call seems to 
+            return different objects every time, so the current implementation 
+            doesn't do this type of caching.
+            </para>
+            <para>
+            Timing for these operations:
+            </para>
+            <list type="table">
+              <listheader>
+                <term>Method</term>
+                <description>Results</description>
+              </listheader>
+              <item>
+                <term><c>WindowsIdentity.GetCurrent()</c></term>
+                <description>10000 loops, 00:00:00.2031250 seconds</description>
+              </item>
+              <item>
+                <term><c>WindowsIdentity.GetCurrent().Name</c></term>
+                <description>10000 loops, 00:00:08.0468750 seconds</description>
+              </item>
+            </list>
+            <para>
+            This means we could speed things up almost 40 times by caching the 
+            value of the <c>WindowsIdentity.GetCurrent().Name</c> property, since 
+            this takes (8.04-0.20) = 7.84375 seconds.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.Identity">
+            <summary>
+            Gets the identity of the current thread principal.
+            </summary>
+            <value>
+            The string name of the identity of the current thread principal.
+            </value>
+            <remarks>
+            <para>
+            Calls <c>System.Threading.Thread.CurrentPrincipal.Identity.Name</c> to get
+            the name of the current thread principal.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.Domain">
+            <summary>
+            Gets the AppDomain friendly name.
+            </summary>
+            <value>
+            The AppDomain friendly name.
+            </value>
+            <remarks>
+            <para>
+            Gets the AppDomain friendly name.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.Properties">
+            <summary>
+            Additional event specific properties.
+            </summary>
+            <value>
+            Additional event specific properties.
+            </value>
+            <remarks>
+            <para>
+            A logger or an appender may attach additional
+            properties to specific events. These properties
+            have a string key and an object value.
+            </para>
+            <para>
+            This property is for events that have been added directly to
+            this event. The aggregate properties (which include these
+            event properties) can be retrieved using <see cref="M:log4net.Core.LoggingEvent.LookupProperty(System.String)"/>
+            and <see cref="M:log4net.Core.LoggingEvent.GetProperties"/>.
+            </para>
+            <para>
+            Once the properties have been fixed <see cref="P:log4net.Core.LoggingEvent.Fix"/> this property
+            returns the combined cached properties. This ensures that updates to
+            this property are always reflected in the underlying storage. When
+            returning the combined properties there may be more keys in the
+            Dictionary than expected.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LoggingEvent.Fix">
+            <summary>
+            The fixed fields in this event
+            </summary>
+            <value>
+            The set of fields that are fixed in this event
+            </value>
+            <remarks>
+            <para>
+            Fields will not be fixed if they have previously been fixed.
+            It is not possible to 'unfix' a field.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.LogImpl">
+            <summary>
+            Implementation of <see cref="T:log4net.ILog"/> wrapper interface.
+            </summary>
+            <remarks>
+            <para>
+            This implementation of the <see cref="T:log4net.ILog"/> interface
+            forwards to the <see cref="T:log4net.Core.ILogger"/> held by the base class.
+            </para>
+            <para>
+            This logger has methods to allow the caller to log at the following
+            levels:
+            </para>
+            <list type="definition">
+              <item>
+                <term>DEBUG</term>
+                <description>
+                The <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object[])"/> methods log messages
+                at the <c>DEBUG</c> level. That is the level with that name defined in the
+                repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
+                for this level is <see cref="F:log4net.Core.Level.Debug"/>. The <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/>
+                property tests if this level is enabled for logging.
+                </description>
+              </item>
+              <item>
+                <term>INFO</term>
+                <description>
+                The <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object[])"/> methods log messages
+                at the <c>INFO</c> level. That is the level with that name defined in the
+                repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
+                for this level is <see cref="F:log4net.Core.Level.Info"/>. The <see cref="P:log4net.Core.LogImpl.IsInfoEnabled"/>
+                property tests if this level is enabled for logging.
+                </description>
+              </item>
+              <item>
+                <term>WARN</term>
+                <description>
+                The <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object[])"/> methods log messages
+                at the <c>WARN</c> level. That is the level with that name defined in the
+                repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
+                for this level is <see cref="F:log4net.Core.Level.Warn"/>. The <see cref="P:log4net.Core.LogImpl.IsWarnEnabled"/>
+                property tests if this level is enabled for logging.
+                </description>
+              </item>
+              <item>
+                <term>ERROR</term>
+                <description>
+                The <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object[])"/> methods log messages
+                at the <c>ERROR</c> level. That is the level with that name defined in the
+                repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
+                for this level is <see cref="F:log4net.Core.Level.Error"/>. The <see cref="P:log4net.Core.LogImpl.IsErrorEnabled"/>
+                property tests if this level is enabled for logging.
+                </description>
+              </item>
+              <item>
+                <term>FATAL</term>
+                <description>
+                The <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object[])"/> methods log messages
+                at the <c>FATAL</c> level. That is the level with that name defined in the
+                repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
+                for this level is <see cref="F:log4net.Core.Level.Fatal"/>. The <see cref="P:log4net.Core.LogImpl.IsFatalEnabled"/>
+                property tests if this level is enabled for logging.
+                </description>
+              </item>
+            </list>
+            <para>
+            The values for these levels and their semantic meanings can be changed by 
+            configuring the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/> for the repository.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.ILog">
+            <summary>
+            The ILog interface is use by application to log messages into
+            the log4net framework.
+            </summary>
+            <remarks>
+            <para>
+            Use the <see cref="T:log4net.LogManager"/> to obtain logger instances
+            that implement this interface. The <see cref="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.Type)"/>
+            static method is used to get logger instances.
+            </para>
+            <para>
+            This class contains methods for logging at different levels and also
+            has properties for determining if those logging levels are
+            enabled in the current configuration.
+            </para>
+            <para>
+            This interface can be implemented in different ways. This documentation
+            specifies reasonable behavior that a caller can expect from the actual
+            implementation, however different implementations reserve the right to
+            do things differently.
+            </para>
+            </remarks>
+            <example>Simple example of logging messages
+            <code lang="C#">
+            ILog log = LogManager.GetLogger("application-log");
+            
+            log.Info("Application Start");
+            log.Debug("This is a debug message");
+            
+            if (log.IsDebugEnabled)
+            {
+            	log.Debug("This is another debug message");
+            }
+            </code>
+            </example>
+            <seealso cref="T:log4net.LogManager"/>
+            <seealso cref="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.Type)"/>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.ILog.Debug(System.Object)">
+            <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads>
+            <summary>
+            Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>DEBUG</c>
+            enabled by comparing the level of this logger with the 
+            <see cref="F:log4net.Core.Level.Debug"/> level. If this logger is
+            <c>DEBUG</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger 
+            and also higher in the hierarchy depending on the value of 
+            the additivity flag.
+            </para>
+            <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> 
+            to this method will print the name of the <see cref="T:System.Exception"/> 
+            but no stack trace. To print a stack trace use the 
+            <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Debug(System.Object,System.Exception)">
+            <summary>
+            Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level including
+            the stack trace of the <see cref="T:System.Exception"/> passed
+            as a parameter.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            See the <see cref="M:log4net.ILog.Debug(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.DebugFormat(System.String,System.Object[])">
+            <overloads>Log a formatted string with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads>
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.DebugFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.DebugFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.DebugFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Info(System.Object)">
+            <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads>
+            <summary>
+            Logs a message object with the <see cref="F:log4net.Core.Level.Info"/> level.
+            </summary>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>INFO</c>
+            enabled by comparing the level of this logger with the 
+            <see cref="F:log4net.Core.Level.Info"/> level. If this logger is
+            <c>INFO</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger 
+            and also higher in the hierarchy depending on the value of the 
+            additivity flag.
+            </para>
+            <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> 
+            to this method will print the name of the <see cref="T:System.Exception"/> 
+            but no stack trace. To print a stack trace use the 
+            <see cref="M:log4net.ILog.Info(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+            <param name="message">The message object to log.</param>
+            <seealso cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Info(System.Object,System.Exception)">
+            <summary>
+            Logs a message object with the <c>INFO</c> level including
+            the stack trace of the <see cref="T:System.Exception"/> passed
+            as a parameter.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            See the <see cref="M:log4net.ILog.Info(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Info(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.InfoFormat(System.String,System.Object[])">
+            <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads>
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.InfoFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Info(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.InfoFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Info(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.InfoFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Info(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Warn(System.Object)">
+            <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads>
+            <summary>
+            Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.
+            </summary>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>WARN</c>
+            enabled by comparing the level of this logger with the 
+            <see cref="F:log4net.Core.Level.Warn"/> level. If this logger is
+            <c>WARN</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger 
+            and also higher in the hierarchy depending on the value of the 
+            additivity flag.
+            </para>
+            <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> 
+            to this method will print the name of the <see cref="T:System.Exception"/> 
+            but no stack trace. To print a stack trace use the 
+            <see cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+            <param name="message">The message object to log.</param>
+            <seealso cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Warn(System.Object,System.Exception)">
+            <summary>
+            Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level including
+            the stack trace of the <see cref="T:System.Exception"/> passed
+            as a parameter.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            See the <see cref="M:log4net.ILog.Warn(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.WarnFormat(System.String,System.Object[])">
+            <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads>
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.WarnFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.WarnFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.WarnFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Error(System.Object)">
+            <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads>
+            <summary>
+            Logs a message object with the <see cref="F:log4net.Core.Level.Error"/> level.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>ERROR</c>
+            enabled by comparing the level of this logger with the 
+            <see cref="F:log4net.Core.Level.Error"/> level. If this logger is
+            <c>ERROR</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger 
+            and also higher in the hierarchy depending on the value of the 
+            additivity flag.
+            </para>
+            <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> 
+            to this method will print the name of the <see cref="T:System.Exception"/> 
+            but no stack trace. To print a stack trace use the 
+            <see cref="M:log4net.ILog.Error(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Error(System.Object,System.Exception)">
+            <summary>
+            Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level including
+            the stack trace of the <see cref="T:System.Exception"/> passed
+            as a parameter.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            See the <see cref="M:log4net.ILog.Error(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Error(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object[])">
+            <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads>
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Error(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Error(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Error(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Fatal(System.Object)">
+            <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads>
+            <summary>
+            Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.
+            </summary>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>FATAL</c>
+            enabled by comparing the level of this logger with the 
+            <see cref="F:log4net.Core.Level.Fatal"/> level. If this logger is
+            <c>FATAL</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger 
+            and also higher in the hierarchy depending on the value of the 
+            additivity flag.
+            </para>
+            <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> 
+            to this method will print the name of the <see cref="T:System.Exception"/> 
+            but no stack trace. To print a stack trace use the 
+            <see cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+            <param name="message">The message object to log.</param>
+            <seealso cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.Fatal(System.Object,System.Exception)">
+            <summary>
+            Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level including
+            the stack trace of the <see cref="T:System.Exception"/> passed
+            as a parameter.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            See the <see cref="M:log4net.ILog.Fatal(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.FatalFormat(System.String,System.Object[])">
+            <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads>
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.FatalFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.FatalFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.FatalFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
+            <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
+        </member>
+        <member name="M:log4net.ILog.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <c>String.Format</c> method. See
+            <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
+            <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
+        </member>
+        <member name="P:log4net.ILog.IsDebugEnabled">
+            <summary>
+            Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Debug"/> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Debug"/> events, <c>false</c> otherwise.
+            </value>
+            <remarks>
+            <para>
+            This function is intended to lessen the computational cost of
+            disabled log debug statements.
+            </para>
+            <para> For some ILog interface <c>log</c>, when you write:</para>
+            <code lang="C#">
+            log.Debug("This is entry number: " + i );
+            </code>
+            <para>
+            You incur the cost constructing the message, string construction and concatenation in
+            this case, regardless of whether the message is logged or not.
+            </para>
+            <para>
+            If you are worried about speed (who isn't), then you should write:
+            </para>
+            <code lang="C#">
+            if (log.IsDebugEnabled)
+            { 
+                log.Debug("This is entry number: " + i );
+            }
+            </code>
+            <para>
+            This way you will not incur the cost of parameter
+            construction if debugging is disabled for <c>log</c>. On
+            the other hand, if the <c>log</c> is debug enabled, you
+            will incur the cost of evaluating whether the logger is debug
+            enabled twice. Once in <see cref="P:log4net.ILog.IsDebugEnabled"/> and once in
+            the <see cref="M:log4net.ILog.Debug(System.Object)"/>.  This is an insignificant overhead
+            since evaluating a logger takes about 1% of the time it
+            takes to actually log. This is the preferred style of logging.
+            </para>
+            <para>Alternatively if your logger is available statically then the is debug
+            enabled state can be stored in a static variable like this:
+            </para>
+            <code lang="C#">
+            private static readonly bool isDebugEnabled = log.IsDebugEnabled;
+            </code>
+            <para>
+            Then when you come to log you can write:
+            </para>
+            <code lang="C#">
+            if (isDebugEnabled)
+            { 
+                log.Debug("This is entry number: " + i );
+            }
+            </code>
+            <para>
+            This way the debug enabled state is only queried once
+            when the class is loaded. Using a <c>private static readonly</c>
+            variable is the most efficient because it is a run time constant
+            and can be heavily optimized by the JIT compiler.
+            </para>
+            <para>
+            Of course if you use a static readonly variable to
+            hold the enabled state of the logger then you cannot
+            change the enabled state at runtime to vary the logging
+            that is produced. You have to decide if you need absolute
+            speed or runtime flexibility.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
+            <seealso cref="M:log4net.ILog.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/>
+        </member>
+        <member name="P:log4net.ILog.IsInfoEnabled">
+            <summary>
+            Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Info"/> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Info"/> events, <c>false</c> otherwise.
+            </value>
+            <remarks>
+            For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
+            </remarks>
+            <seealso cref="M:log4net.ILog.Info(System.Object)"/>
+            <seealso cref="M:log4net.ILog.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="P:log4net.ILog.IsWarnEnabled">
+            <summary>
+            Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Warn"/> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Warn"/> events, <c>false</c> otherwise.
+            </value>
+            <remarks>
+            For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
+            </remarks>
+            <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
+            <seealso cref="M:log4net.ILog.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="P:log4net.ILog.IsErrorEnabled">
+            <summary>
+            Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Error"/> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Error"/> events, <c>false</c> otherwise.
+            </value>
+            <remarks>
+            For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
+            </remarks>
+            <seealso cref="M:log4net.ILog.Error(System.Object)"/>
+            <seealso cref="M:log4net.ILog.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="P:log4net.ILog.IsFatalEnabled">
+            <summary>
+            Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Fatal"/> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Fatal"/> events, <c>false</c> otherwise.
+            </value>
+            <remarks>
+            For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
+            </remarks>
+            <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
+            <seealso cref="M:log4net.ILog.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="M:log4net.Core.LogImpl.#ctor(log4net.Core.ILogger)">
+            <summary>
+            Construct a new wrapper for the specified logger.
+            </summary>
+            <param name="logger">The logger to wrap.</param>
+            <remarks>
+            <para>
+            Construct a new wrapper for the specified logger.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.ReloadLevels(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Virtual method called when the configuration of the repository changes
+            </summary>
+            <param name="repository">the repository holding the levels</param>
+            <remarks>
+            <para>
+            Virtual method called when the configuration of the repository changes
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Debug(System.Object)">
+            <summary>
+            Logs a message object with the <c>DEBUG</c> level.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>DEBUG</c>
+            enabled by comparing the level of this logger with the 
+            <c>DEBUG</c> level. If this logger is
+            <c>DEBUG</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger 
+            and also higher in the hierarchy depending on the value of the 
+            additivity flag.
+            </para>
+            <para>
+            <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> 
+            to this method will print the name of the <see cref="T:System.Exception"/> 
+            but no stack trace. To print a stack trace use the 
+            <see cref="M:log4net.Core.LogImpl.Debug(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Debug(System.Object,System.Exception)">
+            <summary>
+            Logs a message object with the <c>DEBUG</c> level
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            Logs a message object with the <c>DEBUG</c> level including
+            the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/> passed
+            as a parameter.
+            </para>
+            <para>
+            See the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
+        </member>
+        <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>DEBUG</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>DEBUG</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>DEBUG</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>DEBUG</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>DEBUG</c> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Info(System.Object)">
+            <summary>
+            Logs a message object with the <c>INFO</c> level.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>INFO</c>
+            enabled by comparing the level of this logger with the 
+            <c>INFO</c> level. If this logger is
+            <c>INFO</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger 
+            and also higher in the hierarchy depending on the value of 
+            the additivity flag.
+            </para>
+            <para>
+            <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> 
+            to this method will print the name of the <see cref="T:System.Exception"/> 
+            but no stack trace. To print a stack trace use the 
+            <see cref="M:log4net.Core.LogImpl.Info(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Info(System.Object,System.Exception)">
+            <summary>
+            Logs a message object with the <c>INFO</c> level.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            Logs a message object with the <c>INFO</c> level including
+            the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/> 
+            passed as a parameter.
+            </para>
+            <para>
+            See the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
+        </member>
+        <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>INFO</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>INFO</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>INFO</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>INFO</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>INFO</c> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Warn(System.Object)">
+            <summary>
+            Logs a message object with the <c>WARN</c> level.
+            </summary>
+            <param name="message">the message object to log</param>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>WARN</c>
+            enabled by comparing the level of this logger with the 
+            <c>WARN</c> level. If this logger is
+            <c>WARN</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger and 
+            also higher in the hierarchy depending on the value of the 
+            additivity flag.
+            </para>
+            <para>
+            <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
+            method will print the name of the <see cref="T:System.Exception"/> but no
+            stack trace. To print a stack trace use the 
+            <see cref="M:log4net.Core.LogImpl.Warn(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Warn(System.Object,System.Exception)">
+            <summary>
+            Logs a message object with the <c>WARN</c> level
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            Logs a message object with the <c>WARN</c> level including
+            the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/> 
+            passed as a parameter.
+            </para>
+            <para>
+            See the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
+        </member>
+        <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>WARN</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>WARN</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>WARN</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>WARN</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>WARN</c> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Error(System.Object)">
+            <summary>
+            Logs a message object with the <c>ERROR</c> level.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>ERROR</c>
+            enabled by comparing the level of this logger with the 
+            <c>ERROR</c> level. If this logger is
+            <c>ERROR</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger and 
+            also higher in the hierarchy depending on the value of the 
+            additivity flag.
+            </para>
+            <para>
+            <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
+            method will print the name of the <see cref="T:System.Exception"/> but no
+            stack trace. To print a stack trace use the 
+            <see cref="M:log4net.Core.LogImpl.Error(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Error(System.Object,System.Exception)">
+            <summary>
+            Logs a message object with the <c>ERROR</c> level
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            Logs a message object with the <c>ERROR</c> level including
+            the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/> 
+            passed as a parameter.
+            </para>
+            <para>
+            See the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
+        </member>
+        <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>ERROR</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>ERROR</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>ERROR</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>ERROR</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>ERROR</c> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Fatal(System.Object)">
+            <summary>
+            Logs a message object with the <c>FATAL</c> level.
+            </summary>
+            <param name="message">The message object to log.</param>
+            <remarks>
+            <para>
+            This method first checks if this logger is <c>FATAL</c>
+            enabled by comparing the level of this logger with the 
+            <c>FATAL</c> level. If this logger is
+            <c>FATAL</c> enabled, then it converts the message object
+            (passed as parameter) to a string by invoking the appropriate
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then 
+            proceeds to call all the registered appenders in this logger and 
+            also higher in the hierarchy depending on the value of the 
+            additivity flag.
+            </para>
+            <para>
+            <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
+            method will print the name of the <see cref="T:System.Exception"/> but no
+            stack trace. To print a stack trace use the 
+            <see cref="M:log4net.Core.LogImpl.Fatal(System.Object,System.Exception)"/> form instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.Fatal(System.Object,System.Exception)">
+            <summary>
+            Logs a message object with the <c>FATAL</c> level
+            </summary>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            Logs a message object with the <c>FATAL</c> level including
+            the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/> 
+            passed as a parameter.
+            </para>
+            <para>
+            See the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/> form for more detailed information.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
+        </member>
+        <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>FATAL</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>FATAL</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>FATAL</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object,System.Object,System.Object)">
+            <summary>
+            Logs a formatted message string with the <c>FATAL</c> level.
+            </summary>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="arg0">An Object to format</param>
+            <param name="arg1">An Object to format</param>
+            <param name="arg2">An Object to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
+            format provider. To specify a localized provider use the
+            <see cref="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Logs a formatted message string with the <c>FATAL</c> level.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
+            <param name="format">A String containing zero or more format items</param>
+            <param name="args">An Object array containing zero or more objects to format</param>
+            <remarks>
+            <para>
+            The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
+            <c>String.Format</c> for details of the syntax of the format string and the behavior
+            of the formatting.
+            </para>
+            <para>
+            This method does not take an <see cref="T:System.Exception"/> object to include in the
+            log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
+            methods instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.LogImpl.LoggerRepositoryConfigurationChanged(System.Object,System.EventArgs)">
+            <summary>
+            Event handler for the <see cref="E:log4net.Repository.ILoggerRepository.ConfigurationChanged"/> event
+            </summary>
+            <param name="sender">the repository</param>
+            <param name="e">Empty</param>
+        </member>
+        <member name="F:log4net.Core.LogImpl.ThisDeclaringType">
+            <summary>
+            The fully qualified name of this declaring type not the type of any subclass.
+            </summary>
+        </member>
+        <member name="P:log4net.Core.LogImpl.IsDebugEnabled">
+            <summary>
+            Checks if this logger is enabled for the <c>DEBUG</c>
+            level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <c>DEBUG</c> events,
+            <c>false</c> otherwise.
+            </value>
+            <remarks>
+            <para>
+            This function is intended to lessen the computational cost of
+            disabled log debug statements.
+            </para>
+            <para>
+            For some <c>log</c> Logger object, when you write:
+            </para>
+            <code lang="C#">
+            log.Debug("This is entry number: " + i );
+            </code>
+            <para>
+            You incur the cost constructing the message, concatenation in
+            this case, regardless of whether the message is logged or not.
+            </para>
+            <para>
+            If you are worried about speed, then you should write:
+            </para>
+            <code lang="C#">
+            if (log.IsDebugEnabled())
+            { 
+             log.Debug("This is entry number: " + i );
+            }
+            </code>
+            <para>
+            This way you will not incur the cost of parameter
+            construction if debugging is disabled for <c>log</c>. On
+            the other hand, if the <c>log</c> is debug enabled, you
+            will incur the cost of evaluating whether the logger is debug
+            enabled twice. Once in <c>IsDebugEnabled</c> and once in
+            the <c>Debug</c>.  This is an insignificant overhead
+            since evaluating a logger takes about 1% of the time it
+            takes to actually log.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.LogImpl.IsInfoEnabled">
+            <summary>
+            Checks if this logger is enabled for the <c>INFO</c> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <c>INFO</c> events,
+            <c>false</c> otherwise.
+            </value>
+            <remarks>
+            <para>
+            See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples 
+            of using this method.
+            </para>
+            </remarks>
+            <seealso cref="P:log4net.Core.LogImpl.IsDebugEnabled"/>
+        </member>
+        <member name="P:log4net.Core.LogImpl.IsWarnEnabled">
+            <summary>
+            Checks if this logger is enabled for the <c>WARN</c> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <c>WARN</c> events,
+            <c>false</c> otherwise.
+            </value>
+            <remarks>
+            <para>
+            See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples 
+            of using this method.
+            </para>
+            </remarks>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="P:log4net.Core.LogImpl.IsErrorEnabled">
+            <summary>
+            Checks if this logger is enabled for the <c>ERROR</c> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <c>ERROR</c> events,
+            <c>false</c> otherwise.
+            </value>
+            <remarks>
+            <para>
+            See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples of using this method.
+            </para>
+            </remarks>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="P:log4net.Core.LogImpl.IsFatalEnabled">
+            <summary>
+            Checks if this logger is enabled for the <c>FATAL</c> level.
+            </summary>
+            <value>
+            <c>true</c> if this logger is enabled for <c>FATAL</c> events,
+            <c>false</c> otherwise.
+            </value>
+            <remarks>
+            <para>
+            See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples of using this method.
+            </para>
+            </remarks>
+            <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
+        </member>
+        <member name="T:log4net.Core.SecurityContext">
+            <summary>
+            A SecurityContext used by log4net when interacting with protected resources
+            </summary>
+            <remarks>
+            <para>
+            A SecurityContext used by log4net when interacting with protected resources
+            for example with operating system services. This can be used to impersonate
+            a principal that has been granted privileges on the system resources.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Core.SecurityContext.Impersonate(System.Object)">
+            <summary>
+            Impersonate this SecurityContext
+            </summary>
+            <param name="state">State supplied by the caller</param>
+            <returns>An <see cref="T:System.IDisposable"/> instance that will
+            revoke the impersonation of this SecurityContext, or <c>null</c></returns>
+            <remarks>
+            <para>
+            Impersonate this security context. Further calls on the current
+            thread should now be made in the security context provided
+            by this object. When the <see cref="T:System.IDisposable"/> result 
+            <see cref="M:System.IDisposable.Dispose"/> method is called the security
+            context of the thread should be reverted to the state it was in
+            before <see cref="M:log4net.Core.SecurityContext.Impersonate(System.Object)"/> was called.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.SecurityContextProvider">
+            <summary>
+            The <see cref="T:log4net.Core.SecurityContextProvider"/> providers default <see cref="T:log4net.Core.SecurityContext"/> instances.
+            </summary>
+            <remarks>
+            <para>
+            A configured component that interacts with potentially protected system
+            resources uses a <see cref="T:log4net.Core.SecurityContext"/> to provide the elevated
+            privileges required. If the <see cref="T:log4net.Core.SecurityContext"/> object has
+            been not been explicitly provided to the component then the component
+            will request one from this <see cref="T:log4net.Core.SecurityContextProvider"/>.
+            </para>
+            <para>
+            By default the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is
+            an instance of <see cref="T:log4net.Core.SecurityContextProvider"/> which returns only
+            <see cref="T:log4net.Util.NullSecurityContext"/> objects. This is a reasonable default
+            where the privileges required are not know by the system.
+            </para>
+            <para>
+            This default behavior can be overridden by subclassing the <see cref="T:log4net.Core.SecurityContextProvider"/>
+            and overriding the <see cref="M:log4net.Core.SecurityContextProvider.CreateSecurityContext(System.Object)"/> method to return
+            the desired <see cref="T:log4net.Core.SecurityContext"/> objects. The default provider
+            can be replaced by programmatically setting the value of the 
+            <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> property.
+            </para>
+            <para>
+            An alternative is to use the <c>log4net.Config.SecurityContextProviderAttribute</c>
+            This attribute can be applied to an assembly in the same way as the
+            <c>log4net.Config.XmlConfiguratorAttribute"</c>. The attribute takes
+            the type to use as the <see cref="T:log4net.Core.SecurityContextProvider"/> as an argument.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Core.SecurityContextProvider.s_defaultProvider">
+            <summary>
+            The default provider
+            </summary>
+        </member>
+        <member name="M:log4net.Core.SecurityContextProvider.#ctor">
+            <summary>
+            Protected default constructor to allow subclassing
+            </summary>
+            <remarks>
+            <para>
+            Protected default constructor to allow subclassing
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.SecurityContextProvider.CreateSecurityContext(System.Object)">
+            <summary>
+            Create a SecurityContext for a consumer
+            </summary>
+            <param name="consumer">The consumer requesting the SecurityContext</param>
+            <returns>An impersonation context</returns>
+            <remarks>
+            <para>
+            The default implementation is to return a <see cref="T:log4net.Util.NullSecurityContext"/>.
+            </para>
+            <para>
+            Subclasses should override this method to provide their own
+            behavior.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Core.SecurityContextProvider.DefaultProvider">
+            <summary>
+            Gets or sets the default SecurityContextProvider
+            </summary>
+            <value>
+            The default SecurityContextProvider
+            </value>
+            <remarks>
+            <para>
+            The default provider is used by configured components that
+            require a <see cref="T:log4net.Core.SecurityContext"/> and have not had one
+            given to them.
+            </para>
+            <para>
+            By default this is an instance of <see cref="T:log4net.Core.SecurityContextProvider"/>
+            that returns <see cref="T:log4net.Util.NullSecurityContext"/> objects.
+            </para>
+            <para>
+            The default provider can be set programmatically by setting
+            the value of this property to a sub class of <see cref="T:log4net.Core.SecurityContextProvider"/>
+            that has the desired behavior.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.WrapperCreationHandler">
+            <summary>
+            Delegate used to handle creation of new wrappers.
+            </summary>
+            <param name="logger">The logger to wrap in a wrapper.</param>
+            <remarks>
+            <para>
+            Delegate used to handle creation of new wrappers. This delegate
+            is called from the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/>
+            method to construct the wrapper for the specified logger.
+            </para>
+            <para>
+            The delegate to use is supplied to the <see cref="T:log4net.Core.WrapperMap"/>
+            constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Core.WrapperMap">
+            <summary>
+            Maps between logger objects and wrapper objects.
+            </summary>
+            <remarks>
+            <para>
+            This class maintains a mapping between <see cref="T:log4net.Core.ILogger"/> objects and
+            <see cref="T:log4net.Core.ILoggerWrapper"/> objects. Use the <see cref="M:log4net.Core.WrapperMap.GetWrapper(log4net.Core.ILogger)"/> method to 
+            lookup the <see cref="T:log4net.Core.ILoggerWrapper"/> for the specified <see cref="T:log4net.Core.ILogger"/>.
+            </para>
+            <para>
+            New wrapper instances are created by the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/>
+            method. The default behavior is for this method to delegate construction
+            of the wrapper to the <see cref="T:log4net.Core.WrapperCreationHandler"/> delegate supplied
+            to the constructor. This allows specialization of the behavior without
+            requiring subclassing of this type.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Core.WrapperMap.#ctor(log4net.Core.WrapperCreationHandler)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap"/>
+            </summary>
+            <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap"/> class with 
+            the specified handler to create the wrapper objects.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.WrapperMap.GetWrapper(log4net.Core.ILogger)">
+            <summary>
+            Gets the wrapper object for the specified logger.
+            </summary>
+            <returns>The wrapper object for the specified logger</returns>
+            <remarks>
+            <para>
+            If the logger is null then the corresponding wrapper is null.
+            </para>
+            <para>
+            Looks up the wrapper it it has previously been requested and
+            returns it. If the wrapper has never been requested before then
+            the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/> virtual method is
+            called.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)">
+            <summary>
+            Creates the wrapper object for the specified logger.
+            </summary>
+            <param name="logger">The logger to wrap in a wrapper.</param>
+            <returns>The wrapper object for the logger.</returns>
+            <remarks>
+            <para>
+            This implementation uses the <see cref="T:log4net.Core.WrapperCreationHandler"/>
+            passed to the constructor to create the wrapper. This method
+            can be overridden in a subclass.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.WrapperMap.RepositoryShutdown(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Called when a monitored repository shutdown event is received.
+            </summary>
+            <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that is shutting down</param>
+            <remarks>
+            <para>
+            This method is called when a <see cref="T:log4net.Repository.ILoggerRepository"/> that this
+            <see cref="T:log4net.Core.WrapperMap"/> is holding loggers for has signaled its shutdown
+            event <see cref="E:log4net.Repository.ILoggerRepository.ShutdownEvent"/>. The default
+            behavior of this method is to release the references to the loggers
+            and their wrappers generated for this repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Core.WrapperMap.ILoggerRepository_Shutdown(System.Object,System.EventArgs)">
+            <summary>
+            Event handler for repository shutdown event.
+            </summary>
+            <param name="sender">The sender of the event.</param>
+            <param name="e">The event args.</param>
+        </member>
+        <member name="F:log4net.Core.WrapperMap.m_repositories">
+            <summary>
+            Map of logger repositories to hashtables of ILogger to ILoggerWrapper mappings
+            </summary>
+        </member>
+        <member name="F:log4net.Core.WrapperMap.m_createWrapperHandler">
+            <summary>
+            The handler to use to create the extension wrapper objects.
+            </summary>
+        </member>
+        <member name="F:log4net.Core.WrapperMap.m_shutdownHandler">
+            <summary>
+            Internal reference to the delegate used to register for repository shutdown events.
+            </summary>
+        </member>
+        <member name="P:log4net.Core.WrapperMap.Repositories">
+            <summary>
+            Gets the map of logger repositories.
+            </summary>
+            <value>
+            Map of logger repositories.
+            </value>
+            <remarks>
+            <para>
+            Gets the hashtable that is keyed on <see cref="T:log4net.Repository.ILoggerRepository"/>. The
+            values are hashtables keyed on <see cref="T:log4net.Core.ILogger"/> with the
+            value being the corresponding <see cref="T:log4net.Core.ILoggerWrapper"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.DateFormatter.AbsoluteTimeDateFormatter">
+            <summary>
+            Formats a <see cref="T:System.DateTime"/> as <c>"HH:mm:ss,fff"</c>.
+            </summary>
+            <remarks>
+            <para>
+            Formats a <see cref="T:System.DateTime"/> in the format <c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.DateFormatter.IDateFormatter">
+            <summary>
+            Render a <see cref="T:System.DateTime"/> as a string.
+            </summary>
+            <remarks>
+            <para>
+            Interface to abstract the rendering of a <see cref="T:System.DateTime"/>
+            instance into a string.
+            </para>
+            <para>
+            The <see cref="M:log4net.DateFormatter.IDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)"/> method is used to render the
+            date to a text writer.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.DateFormatter.IDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
+            <summary>
+            Formats the specified date as a string.
+            </summary>
+            <param name="dateToFormat">The date to format.</param>
+            <param name="writer">The writer to write to.</param>
+            <remarks>
+            <para>
+            Format the <see cref="T:System.DateTime"/> as a string and write it
+            to the <see cref="T:System.IO.TextWriter"/> provided.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.AbsoluteTimeDateFormat">
+            <summary>
+            String constant used to specify AbsoluteTimeDateFormat in layouts. Current value is <b>ABSOLUTE</b>.
+            </summary>
+        </member>
+        <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.DateAndTimeDateFormat">
+            <summary>
+            String constant used to specify DateTimeDateFormat in layouts.  Current value is <b>DATE</b>.
+            </summary>
+        </member>
+        <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.Iso8601TimeDateFormat">
+            <summary>
+            String constant used to specify ISO8601DateFormat in layouts. Current value is <b>ISO8601</b>.
+            </summary>
+        </member>
+        <member name="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
+            <summary>
+            Renders the date into a string. Format is <c>"HH:mm:ss"</c>.
+            </summary>
+            <param name="dateToFormat">The date to render into a string.</param>
+            <param name="buffer">The string builder to write to.</param>
+            <remarks>
+            <para>
+            Subclasses should override this method to render the date
+            into a string using a precision up to the second. This method
+            will be called at most once per second and the result will be
+            reused if it is needed again during the same second.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
+            <summary>
+            Renders the date into a string. Format is "HH:mm:ss,fff".
+            </summary>
+            <param name="dateToFormat">The date to render into a string.</param>
+            <param name="writer">The writer to write to.</param>
+            <remarks>
+            <para>
+            Uses the <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> method to generate the
+            time string up to the seconds and then appends the current
+            milliseconds. The results from <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> are
+            cached and <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> is called at most once
+            per second.
+            </para>
+            <para>
+            Sub classes should override <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/>
+            rather than <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeToTheSecond">
+            <summary>
+            Last stored time with precision up to the second.
+            </summary>
+        </member>
+        <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeBuf">
+            <summary>
+            Last stored time with precision up to the second, formatted
+            as a string.
+            </summary>
+        </member>
+        <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeString">
+            <summary>
+            Last stored time with precision up to the second, formatted
+            as a string.
+            </summary>
+        </member>
+        <member name="T:log4net.DateFormatter.DateTimeDateFormatter">
+            <summary>
+            Formats a <see cref="T:System.DateTime"/> as <c>"dd MMM yyyy HH:mm:ss,fff"</c>
+            </summary>
+            <remarks>
+            <para>
+            Formats a <see cref="T:System.DateTime"/> in the format 
+            <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, 
+            <c>"06 Nov 1994 15:49:37,459"</c>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Angelika Schnagl</author>
+        </member>
+        <member name="M:log4net.DateFormatter.DateTimeDateFormatter.#ctor">
+            <summary>
+            Default constructor.
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.DateFormatter.DateTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
+            <summary>
+            Formats the date without the milliseconds part
+            </summary>
+            <param name="dateToFormat">The date to format.</param>
+            <param name="buffer">The string builder to write to.</param>
+            <remarks>
+            <para>
+            Formats a DateTime in the format <c>"dd MMM yyyy HH:mm:ss"</c>
+            for example, <c>"06 Nov 1994 15:49:37"</c>.
+            </para>
+            <para>
+            The base class will append the <c>",fff"</c> milliseconds section.
+            This method will only be called at most once per second.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.DateFormatter.DateTimeDateFormatter.m_dateTimeFormatInfo">
+            <summary>
+            The format info for the invariant culture.
+            </summary>
+        </member>
+        <member name="T:log4net.DateFormatter.Iso8601DateFormatter">
+            <summary>
+            Formats the <see cref="T:System.DateTime"/> as <c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
+            </summary>
+            <remarks>
+            <para>
+            Formats the <see cref="T:System.DateTime"/> specified as a string: <c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.DateFormatter.Iso8601DateFormatter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.DateFormatter.Iso8601DateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
+            <summary>
+            Formats the date without the milliseconds part
+            </summary>
+            <param name="dateToFormat">The date to format.</param>
+            <param name="buffer">The string builder to write to.</param>
+            <remarks>
+            <para>
+            Formats the date specified as a string: <c>"yyyy-MM-dd HH:mm:ss"</c>.
+            </para>
+            <para>
+            The base class will append the <c>",fff"</c> milliseconds section.
+            This method will only be called at most once per second.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.DateFormatter.SimpleDateFormatter">
+            <summary>
+            Formats the <see cref="T:System.DateTime"/> using the <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/> method.
+            </summary>
+            <remarks>
+            <para>
+            Formats the <see cref="T:System.DateTime"/> using the <see cref="T:System.DateTime"/> <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/> method.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.DateFormatter.SimpleDateFormatter.#ctor(System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="format">The format string.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> class 
+            with the specified format string.
+            </para>
+            <para>
+            The format string must be compatible with the options
+            that can be supplied to <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.DateFormatter.SimpleDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
+            <summary>
+            Formats the date using <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/>.
+            </summary>
+            <param name="dateToFormat">The date to convert to a string.</param>
+            <param name="writer">The writer to write to.</param>
+            <remarks>
+            <para>
+            Uses the date format string supplied to the constructor to call
+            the <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/> method to format the date.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.DateFormatter.SimpleDateFormatter.m_formatString">
+            <summary>
+            The format string used to format the <see cref="T:System.DateTime"/>.
+            </summary>
+            <remarks>
+            <para>
+            The format string must be compatible with the options
+            that can be supplied to <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Filter.DenyAllFilter">
+            <summary>
+            This filter drops all <see cref="T:log4net.Core.LoggingEvent"/>. 
+            </summary>
+            <remarks>
+            <para>
+            You can add this filter to the end of a filter chain to
+            switch from the default "accept all unless instructed otherwise"
+            filtering behavior to a "deny all unless instructed otherwise"
+            behavior.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Filter.FilterSkeleton">
+            <summary>
+            Subclass this type to implement customized logging event filtering
+            </summary>
+            <remarks>
+            <para>
+            Users should extend this class to implement customized logging
+            event filtering. Note that <see cref="T:log4net.Repository.Hierarchy.Logger"/> and 
+            <see cref="T:log4net.Appender.AppenderSkeleton"/>, the parent class of all standard
+            appenders, have built-in filtering rules. It is suggested that you
+            first use and understand the built-in rules before rushing to write
+            your own custom filters.
+            </para>
+            <para>
+            This abstract class assumes and also imposes that filters be
+            organized in a linear chain. The <see cref="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)"/>
+            method of each filter is called sequentially, in the order of their 
+            addition to the chain.
+            </para>
+            <para>
+            The <see cref="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)"/> method must return one
+            of the integer constants <see cref="F:log4net.Filter.FilterDecision.Deny"/>, 
+            <see cref="F:log4net.Filter.FilterDecision.Neutral"/> or <see cref="F:log4net.Filter.FilterDecision.Accept"/>.
+            </para>
+            <para>
+            If the value <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned, then the log event is dropped 
+            immediately without consulting with the remaining filters.
+            </para>
+            <para>
+            If the value <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned, then the next filter
+            in the chain is consulted. If there are no more filters in the
+            chain, then the log event is logged. Thus, in the presence of no
+            filters, the default behavior is to log all logging events.
+            </para>
+            <para>
+            If the value <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, then the log
+            event is logged without consulting the remaining filters.
+            </para>
+            <para>
+            The philosophy of log4net filters is largely inspired from the
+            Linux ipchains.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Filter.IFilter">
+            <summary>
+            Implement this interface to provide customized logging event filtering
+            </summary>
+            <remarks>
+            <para>
+            Users should implement this interface to implement customized logging
+            event filtering. Note that <see cref="T:log4net.Repository.Hierarchy.Logger"/> and 
+            <see cref="T:log4net.Appender.AppenderSkeleton"/>, the parent class of all standard
+            appenders, have built-in filtering rules. It is suggested that you
+            first use and understand the built-in rules before rushing to write
+            your own custom filters.
+            </para>
+            <para>
+            This abstract class assumes and also imposes that filters be
+            organized in a linear chain. The <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
+            method of each filter is called sequentially, in the order of their 
+            addition to the chain.
+            </para>
+            <para>
+            The <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/> method must return one
+            of the integer constants <see cref="F:log4net.Filter.FilterDecision.Deny"/>, 
+            <see cref="F:log4net.Filter.FilterDecision.Neutral"/> or <see cref="F:log4net.Filter.FilterDecision.Accept"/>.
+            </para>
+            <para>
+            If the value <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned, then the log event is dropped 
+            immediately without consulting with the remaining filters.
+            </para>
+            <para>
+            If the value <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned, then the next filter
+            in the chain is consulted. If there are no more filters in the
+            chain, then the log event is logged. Thus, in the presence of no
+            filters, the default behavior is to log all logging events.
+            </para>
+            <para>
+            If the value <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, then the log
+            event is logged without consulting the remaining filters.
+            </para>
+            <para>
+            The philosophy of log4net filters is largely inspired from the
+            Linux ipchains.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)">
+            <summary>
+            Decide if the logging event should be logged through an appender.
+            </summary>
+            <param name="loggingEvent">The LoggingEvent to decide upon</param>
+            <returns>The decision of the filter</returns>
+            <remarks>
+            <para>
+            If the decision is <see cref="F:log4net.Filter.FilterDecision.Deny"/>, then the event will be
+            dropped. If the decision is <see cref="F:log4net.Filter.FilterDecision.Neutral"/>, then the next
+            filter, if any, will be invoked. If the decision is <see cref="F:log4net.Filter.FilterDecision.Accept"/> then
+            the event will be logged without consulting with other filters in
+            the chain.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.IFilter.Next">
+            <summary>
+            Property to get and set the next filter
+            </summary>
+            <value>
+            The next filter in the chain
+            </value>
+            <remarks>
+            <para>
+            Filters are typically composed into chains. This property allows the next filter in 
+            the chain to be accessed.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Filter.FilterSkeleton.m_next">
+            <summary>
+            Points to the next filter in the filter chain.
+            </summary>
+            <remarks>
+            <para>
+            See <see cref="P:log4net.Filter.FilterSkeleton.Next"/> for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Filter.FilterSkeleton.ActivateOptions">
+            <summary>
+            Initialize the filter with the options set
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            Typically filter's options become active immediately on set, 
+            however this method must still be called. 
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)">
+            <summary>
+            Decide if the <see cref="T:log4net.Core.LoggingEvent"/> should be logged through an appender.
+            </summary>
+            <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> to decide upon</param>
+            <returns>The decision of the filter</returns>
+            <remarks>
+            <para>
+            If the decision is <see cref="F:log4net.Filter.FilterDecision.Deny"/>, then the event will be
+            dropped. If the decision is <see cref="F:log4net.Filter.FilterDecision.Neutral"/>, then the next
+            filter, if any, will be invoked. If the decision is <see cref="F:log4net.Filter.FilterDecision.Accept"/> then
+            the event will be logged without consulting with other filters in
+            the chain.
+            </para>
+            <para>
+            This method is marked <c>abstract</c> and must be implemented
+            in a subclass.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.FilterSkeleton.Next">
+            <summary>
+            Property to get and set the next filter
+            </summary>
+            <value>
+            The next filter in the chain
+            </value>
+            <remarks>
+            <para>
+            Filters are typically composed into chains. This property allows the next filter in 
+            the chain to be accessed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Filter.DenyAllFilter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.DenyAllFilter.Decide(log4net.Core.LoggingEvent)">
+            <summary>
+            Always returns the integer constant <see cref="F:log4net.Filter.FilterDecision.Deny"/>
+            </summary>
+            <param name="loggingEvent">the LoggingEvent to filter</param>
+            <returns>Always returns <see cref="F:log4net.Filter.FilterDecision.Deny"/></returns>
+            <remarks>
+            <para>
+            Ignores the event being logged and just returns
+            <see cref="F:log4net.Filter.FilterDecision.Deny"/>. This can be used to change the default filter
+            chain behavior from <see cref="F:log4net.Filter.FilterDecision.Accept"/> to <see cref="F:log4net.Filter.FilterDecision.Deny"/>. This filter
+            should only be used as the last filter in the chain
+            as any further filters will be ignored!
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Filter.FilterDecision">
+            <summary>
+            The return result from <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
+            </summary>
+            <remarks>
+            <para>
+            The return result from <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Filter.FilterDecision.Deny">
+            <summary>
+            The log event must be dropped immediately without 
+            consulting with the remaining filters, if any, in the chain.
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.FilterDecision.Neutral">
+            <summary>
+            This filter is neutral with respect to the log event. 
+            The remaining filters, if any, should be consulted for a final decision.
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.FilterDecision.Accept">
+            <summary>
+            The log event must be logged immediately without 
+            consulting with the remaining filters, if any, in the chain.
+            </summary>
+        </member>
+        <member name="T:log4net.Filter.LevelMatchFilter">
+            <summary>
+            This is a very simple filter based on <see cref="T:log4net.Core.Level"/> matching.
+            </summary>
+            <remarks>
+            <para>
+            The filter admits two options <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/> and
+            <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>. If there is an exact match between the value
+            of the <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/> option and the <see cref="T:log4net.Core.Level"/> of the 
+            <see cref="T:log4net.Core.LoggingEvent"/>, then the <see cref="M:log4net.Filter.LevelMatchFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in 
+            case the <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/> option value is set
+            to <c>true</c>, if it is <c>false</c> then 
+            <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned. If the <see cref="T:log4net.Core.Level"/> does not match then
+            the result will be <see cref="F:log4net.Filter.FilterDecision.Neutral"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Filter.LevelMatchFilter.m_acceptOnMatch">
+            <summary>
+            flag to indicate if the filter should <see cref="F:log4net.Filter.FilterDecision.Accept"/> on a match
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.LevelMatchFilter.m_levelToMatch">
+            <summary>
+            the <see cref="T:log4net.Core.Level"/> to match against
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.LevelMatchFilter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.LevelMatchFilter.Decide(log4net.Core.LoggingEvent)">
+            <summary>
+            Tests if the <see cref="T:log4net.Core.Level"/> of the logging event matches that of the filter
+            </summary>
+            <param name="loggingEvent">the event to filter</param>
+            <returns>see remarks</returns>
+            <remarks>
+            <para>
+            If the <see cref="T:log4net.Core.Level"/> of the event matches the level of the
+            filter then the result of the function depends on the
+            value of <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>. If it is true then
+            the function will return <see cref="F:log4net.Filter.FilterDecision.Accept"/>, it it is false then it
+            will return <see cref="F:log4net.Filter.FilterDecision.Deny"/>. If the <see cref="T:log4net.Core.Level"/> does not match then
+            the result will be <see cref="F:log4net.Filter.FilterDecision.Neutral"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch">
+            <summary>
+            <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/>
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/> property is a flag that determines
+            the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
+            flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the 
+            logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Deny"/> the event.
+            </para>
+            <para>
+            The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.LevelMatchFilter.LevelToMatch">
+            <summary>
+            The <see cref="T:log4net.Core.Level"/> that the filter will match
+            </summary>
+            <remarks>
+            <para>
+            The level that this filter will attempt to match against the 
+            <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
+            the result depends on the value of <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Filter.LevelRangeFilter">
+            <summary>
+            This is a simple filter based on <see cref="T:log4net.Core.Level"/> matching.
+            </summary>
+            <remarks>
+            <para>
+            The filter admits three options <see cref="P:log4net.Filter.LevelRangeFilter.LevelMin"/> and <see cref="P:log4net.Filter.LevelRangeFilter.LevelMax"/>
+            that determine the range of priorities that are matched, and
+            <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>. If there is a match between the range
+            of priorities and the <see cref="T:log4net.Core.Level"/> of the <see cref="T:log4net.Core.LoggingEvent"/>, then the 
+            <see cref="M:log4net.Filter.LevelRangeFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in case the <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> 
+            option value is set to <c>true</c>, if it is <c>false</c>
+            then <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned. If there is no match, <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Filter.LevelRangeFilter.m_acceptOnMatch">
+            <summary>
+            Flag to indicate the behavior when matching a <see cref="T:log4net.Core.Level"/>
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.LevelRangeFilter.m_levelMin">
+            <summary>
+            the minimum <see cref="T:log4net.Core.Level"/> value to match
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.LevelRangeFilter.m_levelMax">
+            <summary>
+            the maximum <see cref="T:log4net.Core.Level"/> value to match
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.LevelRangeFilter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.LevelRangeFilter.Decide(log4net.Core.LoggingEvent)">
+            <summary>
+            Check if the event should be logged.
+            </summary>
+            <param name="loggingEvent">the logging event to check</param>
+            <returns>see remarks</returns>
+            <remarks>
+            <para>
+            If the <see cref="T:log4net.Core.Level"/> of the logging event is outside the range
+            matched by this filter then <see cref="F:log4net.Filter.FilterDecision.Deny"/>
+            is returned. If the <see cref="T:log4net.Core.Level"/> is matched then the value of
+            <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> is checked. If it is true then
+            <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, otherwise
+            <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch">
+            <summary>
+            <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LevelRangeFilter.LevelMin"/> and <see cref="P:log4net.Filter.LevelRangeFilter.LevelMax"/>
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> property is a flag that determines
+            the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
+            flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the 
+            logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Neutral"/> the event.
+            </para>
+            <para>
+            The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.LevelRangeFilter.LevelMin">
+            <summary>
+            Set the minimum matched <see cref="T:log4net.Core.Level"/>
+            </summary>
+            <remarks>
+            <para>
+            The minimum level that this filter will attempt to match against the 
+            <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
+            the result depends on the value of <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.LevelRangeFilter.LevelMax">
+            <summary>
+            Sets the maximum matched <see cref="T:log4net.Core.Level"/>
+            </summary>
+            <remarks>
+            <para>
+            The maximum level that this filter will attempt to match against the 
+            <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
+            the result depends on the value of <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Filter.LoggerMatchFilter">
+            <summary>
+            Simple filter to match a string in the event's logger name.
+            </summary>
+            <remarks>
+            <para>
+            The works very similar to the <see cref="T:log4net.Filter.LevelMatchFilter"/>. It admits two 
+            options <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> and <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/>. If the 
+            <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the <see cref="T:log4net.Core.LoggingEvent"/> starts 
+            with the value of the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> option, then the 
+            <see cref="M:log4net.Filter.LoggerMatchFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in 
+            case the <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> option value is set to <c>true</c>, 
+            if it is <c>false</c> then <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
+            </para>
+            </remarks>
+            <author>Daniel Cazzulino</author>
+        </member>
+        <member name="F:log4net.Filter.LoggerMatchFilter.m_acceptOnMatch">
+            <summary>
+            Flag to indicate the behavior when we have a match
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.LoggerMatchFilter.m_loggerToMatch">
+            <summary>
+            The logger name string to substring match against the event
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.LoggerMatchFilter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.LoggerMatchFilter.Decide(log4net.Core.LoggingEvent)">
+            <summary>
+            Check if this filter should allow the event to be logged
+            </summary>
+            <param name="loggingEvent">the event being logged</param>
+            <returns>see remarks</returns>
+            <remarks>
+            <para>
+            The rendered message is matched against the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/>.
+            If the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> equals the beginning of 
+            the incoming <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> (<see cref="M:System.String.StartsWith(System.String)"/>)
+            then a match will have occurred. If no match occurs
+            this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
+            allowing other filters to check the event. If a match occurs then
+            the value of <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> is checked. If it is
+            true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
+            <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch">
+            <summary>
+            <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/>
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> property is a flag that determines
+            the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
+            flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the 
+            logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Deny"/> the event.
+            </para>
+            <para>
+            The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch">
+            <summary>
+            The <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> that the filter will match
+            </summary>
+            <remarks>
+            <para>
+            This filter will attempt to match this value against logger name in
+            the following way. The match will be done against the beginning of the
+            logger name (using <see cref="M:System.String.StartsWith(System.String)"/>). The match is
+            case sensitive. If a match is found then
+            the result depends on the value of <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Filter.MdcFilter">
+            <summary>
+            Simple filter to match a keyed string in the <see cref="T:log4net.MDC"/>
+            </summary>
+            <remarks>
+            <para>
+            Simple filter to match a keyed string in the <see cref="T:log4net.MDC"/>
+            </para>
+            <para>
+            As the MDC has been replaced with layered properties the
+            <see cref="T:log4net.Filter.PropertyFilter"/> should be used instead.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Filter.PropertyFilter">
+            <summary>
+            Simple filter to match a string an event property
+            </summary>
+            <remarks>
+            <para>
+            Simple filter to match a string in the value for a
+            specific event property
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="T:log4net.Filter.StringMatchFilter">
+            <summary>
+            Simple filter to match a string in the rendered message
+            </summary>
+            <remarks>
+            <para>
+            Simple filter to match a string in the rendered message
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Filter.StringMatchFilter.m_acceptOnMatch">
+            <summary>
+            Flag to indicate the behavior when we have a match
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.StringMatchFilter.m_stringToMatch">
+            <summary>
+            The string to substring match against the message
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.StringMatchFilter.m_stringRegexToMatch">
+            <summary>
+            A string regex to match
+            </summary>
+        </member>
+        <member name="F:log4net.Filter.StringMatchFilter.m_regexToMatch">
+            <summary>
+            A regex object to match (generated from m_stringRegexToMatch)
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.StringMatchFilter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.StringMatchFilter.ActivateOptions">
+            <summary>
+            Initialize and precompile the Regex if required
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Filter.StringMatchFilter.Decide(log4net.Core.LoggingEvent)">
+            <summary>
+            Check if this filter should allow the event to be logged
+            </summary>
+            <param name="loggingEvent">the event being logged</param>
+            <returns>see remarks</returns>
+            <remarks>
+            <para>
+            The rendered message is matched against the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/>.
+            If the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> occurs as a substring within
+            the message then a match will have occurred. If no match occurs
+            this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
+            allowing other filters to check the event. If a match occurs then
+            the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> is checked. If it is
+            true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
+            <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.StringMatchFilter.AcceptOnMatch">
+            <summary>
+            <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> property is a flag that determines
+            the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
+            flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the 
+            logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Neutral"/> the event.
+            </para>
+            <para>
+            The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.StringMatchFilter.StringToMatch">
+            <summary>
+            Sets the static string to match
+            </summary>
+            <remarks>
+            <para>
+            The string that will be substring matched against
+            the rendered message. If the message contains this
+            string then the filter will match. If a match is found then
+            the result depends on the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/>.
+            </para>
+            <para>
+            One of <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
+            must be specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.StringMatchFilter.RegexToMatch">
+            <summary>
+            Sets the regular expression to match
+            </summary>
+            <remarks>
+            <para>
+            The regular expression pattern that will be matched against
+            the rendered message. If the message matches this
+            pattern then the filter will match. If a match is found then
+            the result depends on the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/>.
+            </para>
+            <para>
+            One of <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
+            must be specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Filter.PropertyFilter.m_key">
+            <summary>
+            The key to use to lookup the string from the event properties
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.PropertyFilter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Filter.PropertyFilter.Decide(log4net.Core.LoggingEvent)">
+            <summary>
+            Check if this filter should allow the event to be logged
+            </summary>
+            <param name="loggingEvent">the event being logged</param>
+            <returns>see remarks</returns>
+            <remarks>
+            <para>
+            The event property for the <see cref="P:log4net.Filter.PropertyFilter.Key"/> is matched against 
+            the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/>.
+            If the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> occurs as a substring within
+            the property value then a match will have occurred. If no match occurs
+            this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
+            allowing other filters to check the event. If a match occurs then
+            the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> is checked. If it is
+            true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
+            <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Filter.PropertyFilter.Key">
+            <summary>
+            The key to lookup in the event properties and then match against.
+            </summary>
+            <remarks>
+            <para>
+            The key name to use to lookup in the properties map of the
+            <see cref="T:log4net.Core.LoggingEvent"/>. The match will be performed against 
+            the value of this property if it exists.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Filter.NdcFilter">
+            <summary>
+            Simple filter to match a string in the <see cref="T:log4net.NDC"/>
+            </summary>
+            <remarks>
+            <para>
+            Simple filter to match a string in the <see cref="T:log4net.NDC"/>
+            </para>
+            <para>
+            As the MDC has been replaced with named stacks stored in the
+            properties collections the <see cref="T:log4net.Filter.PropertyFilter"/> should 
+            be used instead.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Filter.NdcFilter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Sets the <see cref="P:log4net.Filter.PropertyFilter.Key"/> to <c>"NDC"</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.AppDomainPatternConverter">
+            <summary>
+            Write the event appdomain name to the output
+            </summary>
+            <remarks>
+            <para>
+            Writes the <see cref="P:log4net.Core.LoggingEvent.Domain"/> to the output writer.
+            </para>
+            </remarks>
+            <author>Daniel Cazzulino</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="T:log4net.Layout.Pattern.PatternLayoutConverter">
+            <summary>
+            Abstract class that provides the formatting functionality that 
+            derived classes need.
+            </summary>
+            <remarks>
+            Conversion specifiers in a conversion patterns are parsed to
+            individual PatternConverters. Each of which is responsible for
+            converting a logging event in a converter specific manner.
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="T:log4net.Util.PatternConverter">
+            <summary>
+            Abstract class that provides the formatting functionality that 
+            derived classes need.
+            </summary>
+            <remarks>
+            <para>
+            Conversion specifiers in a conversion patterns are parsed to
+            individual PatternConverters. Each of which is responsible for
+            converting a logging event in a converter specific manner.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Util.PatternConverter.c_renderBufferSize">
+            <summary>
+            Initial buffer size
+            </summary>
+        </member>
+        <member name="F:log4net.Util.PatternConverter.c_renderBufferMaxCapacity">
+            <summary>
+            Maximum buffer size before it is recycled
+            </summary>
+        </member>
+        <member name="M:log4net.Util.PatternConverter.#ctor">
+            <summary>
+            Protected constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.PatternConverter"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Evaluate this pattern converter and write the output to a writer.
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="state">The state object on which the pattern converter should be executed.</param>
+            <remarks>
+            <para>
+            Derived pattern converters must override this method in order to
+            convert conversion specifiers in the appropriate way.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternConverter.SetNext(log4net.Util.PatternConverter)">
+            <summary>
+            Set the next pattern converter in the chains
+            </summary>
+            <param name="patternConverter">the pattern converter that should follow this converter in the chain</param>
+            <returns>the next converter</returns>
+            <remarks>
+            <para>
+            The PatternConverter can merge with its neighbor during this method (or a sub class).
+            Therefore the return value may or may not be the value of the argument passed in.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternConverter.Format(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the pattern converter to the writer with appropriate formatting
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="state">The state object on which the pattern converter should be executed.</param>
+            <remarks>
+            <para>
+            This method calls <see cref="M:log4net.Util.PatternConverter.Convert(System.IO.TextWriter,System.Object)"/> to allow the subclass to perform
+            appropriate conversion of the pattern converter. If formatting options have
+            been specified via the <see cref="P:log4net.Util.PatternConverter.FormattingInfo"/> then this method will
+            apply those formattings before writing the output.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternConverter.SpacePad(System.IO.TextWriter,System.Int32)">
+            <summary>
+            Fast space padding method.
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> to which the spaces will be appended.</param>
+            <param name="length">The number of spaces to be padded.</param>
+            <remarks>
+            <para>
+            Fast space padding method.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.PatternConverter.m_option">
+            <summary>
+            The option string to the converter
+            </summary>
+        </member>
+        <member name="M:log4net.Util.PatternConverter.WriteDictionary(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Collections.IDictionary)">
+            <summary>
+            Write an dictionary to a <see cref="T:System.IO.TextWriter"/>
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
+            <param name="value">the value to write to the writer</param>
+            <remarks>
+            <para>
+            Writes the <see cref="T:System.Collections.IDictionary"/> to a writer in the form:
+            </para>
+            <code>
+            {key1=value1, key2=value2, key3=value3}
+            </code>
+            <para>
+            If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
+            is not null then it is used to render the key and value to text, otherwise
+            the object's ToString method is called.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternConverter.WriteObject(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Object)">
+            <summary>
+            Write an object to a <see cref="T:System.IO.TextWriter"/>
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
+            <param name="value">the value to write to the writer</param>
+            <remarks>
+            <para>
+            Writes the Object to a writer. If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
+            is not null then it is used to render the object to text, otherwise
+            the object's ToString method is called.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.PatternConverter.Next">
+            <summary>
+            Get the next pattern converter in the chain
+            </summary>
+            <value>
+            the next pattern converter in the chain
+            </value>
+            <remarks>
+            <para>
+            Get the next pattern converter in the chain
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.PatternConverter.FormattingInfo">
+            <summary>
+            Gets or sets the formatting info for this converter
+            </summary>
+            <value>
+            The formatting info for this converter
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the formatting info for this converter
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.PatternConverter.Option">
+            <summary>
+            Gets or sets the option value for this converter
+            </summary>
+            <summary>
+            The option for this converter
+            </summary>
+            <remarks>
+            <para>
+            Gets or sets the option value for this converter
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Layout.Pattern.PatternLayoutConverter"/> class.
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Derived pattern converters must override this method in order to
+            convert conversion specifiers in the correct way.
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
+        </member>
+        <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Derived pattern converters must override this method in order to
+            convert conversion specifiers in the correct way.
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="state">The state object on which the pattern converter should be executed.</param>
+        </member>
+        <member name="F:log4net.Layout.Pattern.PatternLayoutConverter.m_ignoresException">
+            <summary>
+            Flag indicating if this converter handles exceptions
+            </summary>
+            <remarks>
+            <c>false</c> if this converter handles exceptions
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.Pattern.PatternLayoutConverter.IgnoresException">
+            <summary>
+            Flag indicating if this converter handles the logging event exception
+            </summary>
+            <value><c>false</c> if this converter handles the logging event exception</value>
+            <remarks>
+            <para>
+            If this converter handles the exception object contained within
+            <see cref="T:log4net.Core.LoggingEvent"/>, then this property should be set to
+            <c>false</c>. Otherwise, if the layout ignores the exception
+            object, then the property should be set to <c>true</c>.
+            </para>
+            <para>
+            Set this value to override a this default setting. The default
+            value is <c>true</c>, this converter does not handle the exception.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Pattern.AppDomainPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the event appdomain name to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes the <see cref="P:log4net.Core.LoggingEvent.Domain"/> to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.DatePatternConverter">
+            <summary>
+            Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format 
+            the date of a <see cref="T:log4net.Core.LoggingEvent"/>.
+            </summary>
+            <remarks>
+            <para>
+            Render the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the writer as a string.
+            </para>
+            <para>
+            The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines 
+            the formatting of the date. The following values are allowed:
+            <list type="definition">
+            	<listheader>
+            		<term>Option value</term>
+            		<description>Output</description>
+            	</listheader>
+            	<item>
+            		<term>ISO8601</term>
+            		<description>
+            		Uses the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> formatter. 
+            		Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
+            		</description>
+            	</item>
+            	<item>
+            		<term>DATE</term>
+            		<description>
+            		Uses the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> formatter. 
+            		Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
+            		</description>
+            	</item>
+            	<item>
+            		<term>ABSOLUTE</term>
+            		<description>
+            		Uses the <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/> formatter. 
+            		Formats using the <c>"HH:mm:ss,yyyy"</c> for example, <c>"15:49:37,459"</c>.
+            		</description>
+            	</item>
+            	<item>
+            		<term>other</term>
+            		<description>
+            		Any other pattern string uses the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> formatter. 
+            		This formatter passes the pattern string to the <see cref="T:System.DateTime"/> 
+            		<see cref="M:System.DateTime.ToString(System.String)"/> method.
+            		For details on valid patterns see 
+            		<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
+            		</description>
+            	</item>
+            </list>
+            </para>
+            <para>
+            The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> is in the local time zone and is rendered in that zone.
+            To output the time in Universal time see <see cref="T:log4net.Layout.Pattern.UtcDatePatternConverter"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Layout.Pattern.DatePatternConverter.m_dateFormatter">
+            <summary>
+            The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions">
+            <summary>
+            Initialize the converter pattern based on the <see cref="P:log4net.Util.PatternConverter.Option"/> property.
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Pattern.DatePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Convert the pattern into the rendered message
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Pass the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
+            for it to render it to the writer.
+            </para>
+            <para>
+            The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> passed is in the local time zone.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.ExceptionPatternConverter">
+            <summary>
+            Write the exception text to the output
+            </summary>
+            <remarks>
+            <para>
+            If an exception object is stored in the logging event
+            it will be rendered into the pattern output with a
+            trailing newline.
+            </para>
+            <para>
+            If there is no exception then nothing will be output
+            and no trailing newline will be appended.
+            It is typical to put a newline before the exception
+            and to have the exception as the last data in the pattern.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.ExceptionPatternConverter.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.Pattern.ExceptionPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the exception text to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            If an exception object is stored in the logging event
+            it will be rendered into the pattern output with a
+            trailing newline.
+            </para>
+            <para>
+            If there is no exception then nothing will be output
+            and no trailing newline will be appended.
+            It is typical to put a newline before the exception
+            and to have the exception as the last data in the pattern.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.FileLocationPatternConverter">
+            <summary>
+            Writes the caller location file name to the output
+            </summary>
+            <remarks>
+            <para>
+            Writes the value of the <see cref="P:log4net.Core.LocationInfo.FileName"/> for
+            the event to the output writer.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.FileLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the caller location file name to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes the value of the <see cref="P:log4net.Core.LocationInfo.FileName"/> for
+            the <paramref name="loggingEvent"/> to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.FullLocationPatternConverter">
+            <summary>
+            Write the caller location info to the output
+            </summary>
+            <remarks>
+            <para>
+            Writes the <see cref="P:log4net.Core.LocationInfo.FullInfo"/> to the output writer.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.FullLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the caller location info to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes the <see cref="P:log4net.Core.LocationInfo.FullInfo"/> to the output writer.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.IdentityPatternConverter">
+            <summary>
+            Writes the event identity to the output
+            </summary>
+            <remarks>
+            <para>
+            Writes the value of the <see cref="P:log4net.Core.LoggingEvent.Identity"/> to
+            the output writer.
+            </para>
+            </remarks>
+            <author>Daniel Cazzulino</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.IdentityPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Writes the event identity to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes the value of the <paramref name="loggingEvent"/> 
+            <see cref="P:log4net.Core.LoggingEvent.Identity"/> to
+            the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.LevelPatternConverter">
+            <summary>
+            Write the event level to the output
+            </summary>
+            <remarks>
+            <para>
+            Writes the display name of the event <see cref="P:log4net.Core.LoggingEvent.Level"/>
+            to the writer.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.LevelPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the event level to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes the <see cref="P:log4net.Core.Level.DisplayName"/> of the <paramref name="loggingEvent"/> <see cref="P:log4net.Core.LoggingEvent.Level"/>
+            to the <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.LineLocationPatternConverter">
+            <summary>
+            Write the caller location line number to the output
+            </summary>
+            <remarks>
+            <para>
+            Writes the value of the <see cref="P:log4net.Core.LocationInfo.LineNumber"/> for
+            the event to the output writer.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.LineLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the caller location line number to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes the value of the <see cref="P:log4net.Core.LocationInfo.LineNumber"/> for
+            the <paramref name="loggingEvent"/> to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.LoggerPatternConverter">
+            <summary>
+            Converter for logger name
+            </summary>
+            <remarks>
+            <para>
+            Outputs the <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the event.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="T:log4net.Layout.Pattern.NamedPatternConverter">
+            <summary>
+            Converter to output and truncate <c>'.'</c> separated strings
+            </summary>
+            <remarks>
+            <para>
+            This abstract class supports truncating a <c>'.'</c> separated string
+            to show a specified number of elements from the right hand side.
+            This is used to truncate class names that are fully qualified.
+            </para>
+            <para>
+            Subclasses should override the <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)"/> method to
+            return the fully qualified string.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions">
+            <summary>
+            Initialize the converter 
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
+            <summary>
+            Get the fully qualified string data
+            </summary>
+            <param name="loggingEvent">the event being logged</param>
+            <returns>the fully qualified name</returns>
+            <remarks>
+            <para>
+            Overridden by subclasses to get the fully qualified name before the
+            precision is applied to it.
+            </para>
+            <para>
+            Return the fully qualified <c>'.'</c> (dot/period) separated string.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Pattern.NamedPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Convert the pattern to the rendered message
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            Render the <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)"/> to the precision
+            specified by the <see cref="P:log4net.Util.PatternConverter.Option"/> property.
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Pattern.LoggerPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
+            <summary>
+            Gets the fully qualified name of the logger
+            </summary>
+            <param name="loggingEvent">the event being logged</param>
+            <returns>The fully qualified logger name</returns>
+            <remarks>
+            <para>
+            Returns the <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the <paramref name="loggingEvent"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.MessagePatternConverter">
+            <summary>
+            Writes the event message to the output
+            </summary>
+            <remarks>
+            <para>
+            Uses the <see cref="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)"/> method
+            to write out the event message.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.MessagePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Writes the event message to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Uses the <see cref="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)"/> method
+            to write out the event message.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.MethodLocationPatternConverter">
+            <summary>
+            Write the method name to the output
+            </summary>
+            <remarks>
+            <para>
+            Writes the caller location <see cref="P:log4net.Core.LocationInfo.MethodName"/> to
+            the output.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.MethodLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the method name to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes the caller location <see cref="P:log4net.Core.LocationInfo.MethodName"/> to
+            the output.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.NdcPatternConverter">
+            <summary>
+            Converter to include event NDC
+            </summary>
+            <remarks>
+            <para>
+            Outputs the value of the event property named <c>NDC</c>.
+            </para>
+            <para>
+            The <see cref="T:log4net.Layout.Pattern.PropertyPatternConverter"/> should be used instead.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.NdcPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the event NDC to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            As the thread context stacks are now stored in named event properties
+            this converter simply looks up the value of the <c>NDC</c> property.
+            </para>
+            <para>
+            The <see cref="T:log4net.Layout.Pattern.PropertyPatternConverter"/> should be used instead.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.PropertyPatternConverter">
+            <summary>
+            Property pattern converter
+            </summary>
+            <remarks>
+            <para>
+            Writes out the value of a named property. The property name
+            should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
+            property.
+            </para>
+            <para>
+            If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
+            then all the properties are written as key value pairs.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.PropertyPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the property value to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes out the value of a named property. The property name
+            should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
+            property.
+            </para>
+            <para>
+            If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
+            then all the properties are written as key value pairs.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.RelativeTimePatternConverter">
+            <summary>
+            Converter to output the relative time of the event
+            </summary>
+            <remarks>
+            <para>
+            Converter to output the time of the event relative to the start of the program.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.RelativeTimePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the relative time to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes out the relative time of the event in milliseconds.
+            That is the number of milliseconds between the event <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>
+            and the <see cref="P:log4net.Core.LoggingEvent.StartTime"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Pattern.RelativeTimePatternConverter.TimeDifferenceInMillis(System.DateTime,System.DateTime)">
+            <summary>
+            Helper method to get the time difference between two DateTime objects
+            </summary>
+            <param name="start">start time (in the current local time zone)</param>
+            <param name="end">end time (in the current local time zone)</param>
+            <returns>the time difference in milliseconds</returns>
+        </member>
+        <member name="T:log4net.Layout.Pattern.ThreadPatternConverter">
+            <summary>
+            Converter to include event thread name
+            </summary>
+            <remarks>
+            <para>
+            Writes the <see cref="P:log4net.Core.LoggingEvent.ThreadName"/> to the output.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.ThreadPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the ThreadName to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Writes the <see cref="P:log4net.Core.LoggingEvent.ThreadName"/> to the <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.TypeNamePatternConverter">
+            <summary>
+            Pattern converter for the class name
+            </summary>
+            <remarks>
+            <para>
+            Outputs the <see cref="P:log4net.Core.LocationInfo.ClassName"/> of the event.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.TypeNamePatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
+            <summary>
+            Gets the fully qualified name of the class
+            </summary>
+            <param name="loggingEvent">the event being logged</param>
+            <returns>The fully qualified type name for the caller location</returns>
+            <remarks>
+            <para>
+            Returns the <see cref="P:log4net.Core.LocationInfo.ClassName"/> of the <paramref name="loggingEvent"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Pattern.UserNamePatternConverter">
+            <summary>
+            Converter to include event user name
+            </summary>
+            <author>Douglas de la Torre</author>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.UserNamePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Convert the pattern to the rendered message
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+        </member>
+        <member name="T:log4net.Layout.Pattern.UtcDatePatternConverter">
+            <summary>
+            Write the TimeStamp to the output
+            </summary>
+            <remarks>
+            <para>
+            Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format 
+            the date of a <see cref="T:log4net.Core.LoggingEvent"/>.
+            </para>
+            <para>
+            Uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> 
+            in Universal time.
+            </para>
+            <para>
+            See the <see cref="T:log4net.Layout.Pattern.DatePatternConverter"/> for details on the date pattern syntax.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Layout.Pattern.DatePatternConverter"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.Pattern.UtcDatePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Write the TimeStamp to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Pass the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
+            for it to render it to the writer.
+            </para>
+            <para>
+            The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> passed is in the local time zone, this is converted
+            to Universal time before it is rendered.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Layout.Pattern.DatePatternConverter"/>
+        </member>
+        <member name="T:log4net.Layout.ExceptionLayout">
+            <summary>
+            A Layout that renders only the Exception text from the logging event
+            </summary>
+            <remarks>
+            <para>
+            A Layout that renders only the Exception text from the logging event.
+            </para>
+            <para>
+            This Layout should only be used with appenders that utilize multiple
+            layouts (e.g. <see cref="T:log4net.Appender.AdoNetAppender"/>).
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Layout.LayoutSkeleton">
+            <summary>
+            Extend this abstract class to create your own log layout format.
+            </summary>
+            <remarks>
+            <para>
+            This is the base implementation of the <see cref="T:log4net.Layout.ILayout"/>
+            interface. Most layout objects should extend this class.
+            </para>
+            </remarks>
+            <remarks>
+            <note type="inheritinfo">
+            <para>
+            Subclasses must implement the <see cref="M:log4net.Layout.LayoutSkeleton.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)"/>
+            method.
+            </para>
+            <para>
+            Subclasses should set the <see cref="P:log4net.Layout.LayoutSkeleton.IgnoresException"/> in their default
+            constructor.
+            </para>
+            </note>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Layout.ILayout">
+            <summary>
+            Interface implemented by layout objects
+            </summary>
+            <remarks>
+            <para>
+            An <see cref="T:log4net.Layout.ILayout"/> object is used to format a <see cref="T:log4net.Core.LoggingEvent"/>
+            as text. The <see cref="M:log4net.Layout.ILayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)"/> method is called by an
+            appender to transform the <see cref="T:log4net.Core.LoggingEvent"/> into a string.
+            </para>
+            <para>
+            The layout can also supply <see cref="P:log4net.Layout.ILayout.Header"/> and <see cref="P:log4net.Layout.ILayout.Footer"/>
+            text that is appender before any events and after all the events respectively.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Layout.ILayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Implement this method to create your own layout format.
+            </summary>
+            <param name="writer">The TextWriter to write the formatted event to</param>
+            <param name="loggingEvent">The event to format</param>
+            <remarks>
+            <para>
+            This method is called by an appender to format
+            the <paramref name="loggingEvent"/> as text and output to a writer.
+            </para>
+            <para>
+            If the caller does not have a <see cref="T:System.IO.TextWriter"/> and prefers the
+            event to be formatted as a <see cref="T:System.String"/> then the following
+            code can be used to format the event into a <see cref="T:System.IO.StringWriter"/>.
+            </para>
+            <code lang="C#">
+            StringWriter writer = new StringWriter();
+            Layout.Format(writer, loggingEvent);
+            string formattedEvent = writer.ToString();
+            </code>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.ILayout.ContentType">
+            <summary>
+            The content type output by this layout. 
+            </summary>
+            <value>The content type</value>
+            <remarks>
+            <para>
+            The content type output by this layout.
+            </para>
+            <para>
+            This is a MIME type e.g. <c>"text/plain"</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.ILayout.Header">
+            <summary>
+            The header for the layout format.
+            </summary>
+            <value>the layout header</value>
+            <remarks>
+            <para>
+            The Header text will be appended before any logging events
+            are formatted and appended.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.ILayout.Footer">
+            <summary>
+            The footer for the layout format.
+            </summary>
+            <value>the layout footer</value>
+            <remarks>
+            <para>
+            The Footer text will be appended after all the logging events
+            have been formatted and appended.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.ILayout.IgnoresException">
+            <summary>
+            Flag indicating if this layout handle exceptions
+            </summary>
+            <value><c>false</c> if this layout handles exceptions</value>
+            <remarks>
+            <para>
+            If this layout handles the exception object contained within
+            <see cref="T:log4net.Core.LoggingEvent"/>, then the layout should return
+            <c>false</c>. Otherwise, if the layout ignores the exception
+            object, then the layout should return <c>true</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Layout.LayoutSkeleton.m_header">
+            <summary>
+            The header text
+            </summary>
+            <remarks>
+            <para>
+            See <see cref="P:log4net.Layout.LayoutSkeleton.Header"/> for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Layout.LayoutSkeleton.m_footer">
+            <summary>
+            The footer text
+            </summary>
+            <remarks>
+            <para>
+            See <see cref="P:log4net.Layout.LayoutSkeleton.Footer"/> for more information.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Layout.LayoutSkeleton.m_ignoresException">
+            <summary>
+            Flag indicating if this layout handles exceptions
+            </summary>
+            <remarks>
+            <para>
+            <c>false</c> if this layout handles exceptions
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.LayoutSkeleton.#ctor">
+            <summary>
+            Empty default constructor
+            </summary>
+            <remarks>
+            <para>
+            Empty default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.LayoutSkeleton.ActivateOptions">
+            <summary>
+            Activate component options
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            This method must be implemented by the subclass.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.LayoutSkeleton.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Implement this method to create your own layout format.
+            </summary>
+            <param name="writer">The TextWriter to write the formatted event to</param>
+            <param name="loggingEvent">The event to format</param>
+            <remarks>
+            <para>
+            This method is called by an appender to format
+            the <paramref name="loggingEvent"/> as text.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.LayoutSkeleton.ContentType">
+            <summary>
+            The content type output by this layout. 
+            </summary>
+            <value>The content type is <c>"text/plain"</c></value>
+            <remarks>
+            <para>
+            The content type output by this layout.
+            </para>
+            <para>
+            This base class uses the value <c>"text/plain"</c>.
+            To change this value a subclass must override this
+            property.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.LayoutSkeleton.Header">
+            <summary>
+            The header for the layout format.
+            </summary>
+            <value>the layout header</value>
+            <remarks>
+            <para>
+            The Header text will be appended before any logging events
+            are formatted and appended.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.LayoutSkeleton.Footer">
+            <summary>
+            The footer for the layout format.
+            </summary>
+            <value>the layout footer</value>
+            <remarks>
+            <para>
+            The Footer text will be appended after all the logging events
+            have been formatted and appended.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.LayoutSkeleton.IgnoresException">
+            <summary>
+            Flag indicating if this layout handles exceptions
+            </summary>
+            <value><c>false</c> if this layout handles exceptions</value>
+            <remarks>
+            <para>
+            If this layout handles the exception object contained within
+            <see cref="T:log4net.Core.LoggingEvent"/>, then the layout should return
+            <c>false</c>. Otherwise, if the layout ignores the exception
+            object, then the layout should return <c>true</c>.
+            </para>
+            <para>
+            Set this value to override a this default setting. The default
+            value is <c>true</c>, this layout does not handle the exception.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.ExceptionLayout.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Constructs a ExceptionLayout
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.ExceptionLayout.ActivateOptions">
+            <summary>
+            Activate component options
+            </summary>
+            <remarks>
+            <para>
+            Part of the <see cref="T:log4net.Core.IOptionHandler"/> component activation
+            framework.
+            </para>
+            <para>
+            This method does nothing as options become effective immediately.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.ExceptionLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Gets the exception text from the logging event
+            </summary>
+            <param name="writer">The TextWriter to write the formatted event to</param>
+            <param name="loggingEvent">the event being logged</param>
+            <remarks>
+            <para>
+            Write the exception string to the <see cref="T:System.IO.TextWriter"/>.
+            The exception string is retrieved from <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.IRawLayout">
+            <summary>
+            Interface for raw layout objects
+            </summary>
+            <remarks>
+            <para>
+            Interface used to format a <see cref="T:log4net.Core.LoggingEvent"/>
+            to an object.
+            </para>
+            <para>
+            This interface should not be confused with the
+            <see cref="T:log4net.Layout.ILayout"/> interface. This interface is used in
+            only certain specialized situations where a raw object is
+            required rather than a formatted string. The <see cref="T:log4net.Layout.ILayout"/>
+            is not generally useful than this interface.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Layout.IRawLayout.Format(log4net.Core.LoggingEvent)">
+            <summary>
+            Implement this method to create your own layout format.
+            </summary>
+            <param name="loggingEvent">The event to format</param>
+            <returns>returns the formatted event</returns>
+            <remarks>
+            <para>
+            Implement this method to create your own layout format.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.Layout2RawLayoutAdapter">
+            <summary>
+            Adapts any <see cref="T:log4net.Layout.ILayout"/> to a <see cref="T:log4net.Layout.IRawLayout"/>
+            </summary>
+            <remarks>
+            <para>
+            Where an <see cref="T:log4net.Layout.IRawLayout"/> is required this adapter
+            allows a <see cref="T:log4net.Layout.ILayout"/> to be specified.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Layout.Layout2RawLayoutAdapter.m_layout">
+            <summary>
+            The layout to adapt
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.Layout2RawLayoutAdapter.#ctor(log4net.Layout.ILayout)">
+            <summary>
+            Construct a new adapter
+            </summary>
+            <param name="layout">the layout to adapt</param>
+            <remarks>
+            <para>
+            Create the adapter for the specified <paramref name="layout"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.Layout2RawLayoutAdapter.Format(log4net.Core.LoggingEvent)">
+            <summary>
+            Format the logging event as an object.
+            </summary>
+            <param name="loggingEvent">The event to format</param>
+            <returns>returns the formatted event</returns>
+            <remarks>
+            <para>
+            Format the logging event as an object.
+            </para>
+            <para>
+            Uses the <see cref="T:log4net.Layout.ILayout"/> object supplied to 
+            the constructor to perform the formatting.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.PatternLayout">
+            <summary>
+            A flexible layout configurable with pattern string.
+            </summary>
+            <remarks>
+            <para>
+            The goal of this class is to <see cref="M:log4net.Layout.PatternLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)"/> a 
+            <see cref="T:log4net.Core.LoggingEvent"/> as a string. The results
+            depend on the <i>conversion pattern</i>.
+            </para>
+            <para>
+            The conversion pattern is closely related to the conversion
+            pattern of the printf function in C. A conversion pattern is
+            composed of literal text and format control expressions called
+            <i>conversion specifiers</i>.
+            </para>
+            <para>
+            <i>You are free to insert any literal text within the conversion
+            pattern.</i>
+            </para>
+            <para>
+            Each conversion specifier starts with a percent sign (%) and is
+            followed by optional <i>format modifiers</i> and a <i>conversion
+            pattern name</i>. The conversion pattern name specifies the type of
+            data, e.g. logger, level, date, thread name. The format
+            modifiers control such things as field width, padding, left and
+            right justification. The following is a simple example.
+            </para>
+            <para>
+            Let the conversion pattern be <b>"%-5level [%thread]: %message%newline"</b> and assume
+            that the log4net environment was set to use a PatternLayout. Then the
+            statements
+            </para>
+            <code lang="C#">
+            ILog log = LogManager.GetLogger(typeof(TestApp));
+            log.Debug("Message 1");
+            log.Warn("Message 2");   
+            </code>
+            <para>would yield the output</para>
+            <code>
+            DEBUG [main]: Message 1
+            WARN  [main]: Message 2  
+            </code>
+            <para>
+            Note that there is no explicit separator between text and
+            conversion specifiers. The pattern parser knows when it has reached
+            the end of a conversion specifier when it reads a conversion
+            character. In the example above the conversion specifier
+            <b>%-5level</b> means the level of the logging event should be left
+            justified to a width of five characters.
+            </para>
+            <para>
+            The recognized conversion pattern names are:
+            </para>
+            <list type="table">
+                <listheader>
+                    <term>Conversion Pattern Name</term>
+                    <description>Effect</description>
+                </listheader>
+                <item>
+                    <term>a</term>
+                    <description>Equivalent to <b>appdomain</b></description>
+                </item>
+                <item>
+                    <term>appdomain</term>
+                    <description>
+            			Used to output the friendly name of the AppDomain where the 
+            			logging event was generated. 
+                    </description>
+                </item>
+                <item>
+                    <term>c</term>
+                    <description>Equivalent to <b>logger</b></description>
+                </item>
+                <item>
+                    <term>C</term>
+                    <description>Equivalent to <b>type</b></description>
+                </item>
+                <item>
+                    <term>class</term>
+                    <description>Equivalent to <b>type</b></description>
+                </item>
+                <item>
+                    <term>d</term>
+                    <description>Equivalent to <b>date</b></description>
+                </item>
+                <item>
+            		<term>date</term> 
+            		<description>
+            			<para>
+            			Used to output the date of the logging event in the local time zone. 
+            			To output the date in universal time use the <c>%utcdate</c> pattern.
+            			The date conversion 
+            			specifier may be followed by a <i>date format specifier</i> enclosed 
+            			between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
+            			<b>%date{dd MMM yyyy HH:mm:ss,fff}</b>.  If no date format specifier is 
+            			given then ISO8601 format is
+            			assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
+            			</para>
+            			<para>
+            			The date format specifier admits the same syntax as the
+            			time pattern string of the <see cref="M:System.DateTime.ToString(System.String)"/>.
+            			</para>
+            			<para>
+            			For better results it is recommended to use the log4net date
+            			formatters. These can be specified using one of the strings
+            			"ABSOLUTE", "DATE" and "ISO8601" for specifying 
+            			<see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>, 
+            			<see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively 
+            			<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example, 
+            			<b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
+            			</para>
+            			<para>
+            			These dedicated date formatters perform significantly
+            			better than <see cref="M:System.DateTime.ToString(System.String)"/>.
+            			</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term>exception</term>
+            		<description>
+            			<para>
+            			Used to output the exception passed in with the log message.
+            			</para>
+            			<para>
+            			If an exception object is stored in the logging event
+            			it will be rendered into the pattern output with a
+            			trailing newline.
+            			If there is no exception then nothing will be output
+            			and no trailing newline will be appended.
+            			It is typical to put a newline before the exception
+            			and to have the exception as the last data in the pattern.
+            			</para>
+            		</description>
+            	</item>
+                <item>
+                    <term>F</term>
+                    <description>Equivalent to <b>file</b></description>
+                </item>
+            	<item>
+            		<term>file</term>
+            		<description>
+            			<para>
+            			Used to output the file name where the logging request was
+            			issued.
+            			</para>
+            			<para>
+            			<b>WARNING</b> Generating caller location information is
+            			extremely slow. Its use should be avoided unless execution speed
+            			is not an issue.
+            			</para>
+            			<para>
+            			See the note below on the availability of caller location information.
+            			</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term>identity</term>
+            		<description>
+            			<para>
+            			Used to output the user name for the currently active user
+            			(Principal.Identity.Name).
+            			</para>
+            			<para>
+            			<b>WARNING</b> Generating caller information is
+            			extremely slow. Its use should be avoided unless execution speed
+            			is not an issue.
+            			</para>
+            		</description>
+            	</item>
+                <item>
+                    <term>l</term>
+                    <description>Equivalent to <b>location</b></description>
+                </item>
+                <item>
+                    <term>L</term>
+                    <description>Equivalent to <b>line</b></description>
+                </item>
+            	<item>
+            		<term>location</term>
+            		<description>
+            			<para>
+            			Used to output location information of the caller which generated
+            			the logging event.
+            			</para>
+            			<para>
+            			The location information depends on the CLI implementation but
+            			usually consists of the fully qualified name of the calling
+            			method followed by the callers source the file name and line
+            			number between parentheses.
+            			</para>
+            			<para>
+            			The location information can be very useful. However, its
+            			generation is <b>extremely</b> slow. Its use should be avoided
+            			unless execution speed is not an issue.
+            			</para>
+            			<para>
+            			See the note below on the availability of caller location information.
+            			</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term>level</term>
+            		<description>
+            			<para>
+            			Used to output the level of the logging event.
+            			</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term>line</term>
+            		<description>
+            			<para>
+            			Used to output the line number from where the logging request
+            			was issued.
+            			</para>
+            			<para>
+            			<b>WARNING</b> Generating caller location information is
+            			extremely slow. Its use should be avoided unless execution speed
+            			is not an issue.
+            			</para>
+            			<para>
+            			See the note below on the availability of caller location information.
+            			</para>
+            		</description>
+            	</item>
+                <item>
+                    <term>logger</term>
+                    <description>
+                        <para>
+            			Used to output the logger of the logging event. The
+            			logger conversion specifier can be optionally followed by
+            			<i>precision specifier</i>, that is a decimal constant in
+            			brackets.
+                        </para>
+            			<para>
+            			If a precision specifier is given, then only the corresponding
+            			number of right most components of the logger name will be
+            			printed. By default the logger name is printed in full.
+            			</para>
+            			<para>
+            			For example, for the logger name "a.b.c" the pattern
+            			<b>%logger{2}</b> will output "b.c".
+            			</para>
+                    </description>
+                </item>
+                <item>
+                    <term>m</term>
+                    <description>Equivalent to <b>message</b></description>
+                </item>
+                <item>
+                    <term>M</term>
+                    <description>Equivalent to <b>method</b></description>
+                </item>
+            	<item>
+            		<term>message</term>
+            		<description>
+            			<para>
+            			Used to output the application supplied message associated with 
+            			the logging event.
+            			</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term>mdc</term>
+            		<description>
+            			<para>
+            			The MDC (old name for the ThreadContext.Properties) is now part of the
+            			combined event properties. This pattern is supported for compatibility
+            			but is equivalent to <b>property</b>.
+            			</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term>method</term>
+            		<description>
+            			<para>
+            			Used to output the method name where the logging request was
+            			issued.
+            			</para>
+            			<para>
+            			<b>WARNING</b> Generating caller location information is
+            			extremely slow. Its use should be avoided unless execution speed
+            			is not an issue.
+            			</para>
+            			<para>
+            			See the note below on the availability of caller location information.
+            			</para>
+            		</description>
+            	</item>
+                <item>
+                    <term>n</term>
+                    <description>Equivalent to <b>newline</b></description>
+                </item>
+            	<item>
+            		<term>newline</term>
+            		<description>
+            			<para>
+            			Outputs the platform dependent line separator character or
+            			characters.
+            			</para>
+            			<para>
+            			This conversion pattern offers the same performance as using 
+            			non-portable line separator strings such as	"\n", or "\r\n". 
+            			Thus, it is the preferred way of specifying a line separator.
+            			</para> 
+            		</description>
+            	</item>
+            	<item>
+            		<term>ndc</term>
+            		<description>
+            			<para>
+            			Used to output the NDC (nested diagnostic context) associated
+            			with the thread that generated the logging event.
+            			</para>
+            		</description>
+            	</item>
+                <item>
+                    <term>p</term>
+                    <description>Equivalent to <b>level</b></description>
+                </item>
+                <item>
+                    <term>P</term>
+                    <description>Equivalent to <b>property</b></description>
+                </item>
+                <item>
+                    <term>properties</term>
+                    <description>Equivalent to <b>property</b></description>
+                </item>
+            	<item>
+            		<term>property</term>
+            		<description>
+            			<para>
+            			Used to output the an event specific property. The key to 
+            			lookup must be specified within braces and directly following the
+            			pattern specifier, e.g. <b>%property{user}</b> would include the value
+            			from the property that is keyed by the string 'user'. Each property value
+            			that is to be included in the log must be specified separately.
+            			Properties are added to events by loggers or appenders. By default 
+            			the <c>log4net:HostName</c> property is set to the name of machine on 
+            			which the event was originally logged.
+            			</para>
+            			<para>
+            			If no key is specified, e.g. <b>%property</b> then all the keys and their
+            			values are printed in a comma separated list.
+            			</para>
+            			<para>
+            			The properties of an event are combined from a number of different
+            			contexts. These are listed below in the order in which they are searched.
+            			</para>
+            			<list type="definition">
+            				<item>
+            					<term>the event properties</term>
+            					<description>
+            					The event has <see cref="P:log4net.Core.LoggingEvent.Properties"/> that can be set. These 
+            					properties are specific to this event only.
+            					</description>
+            				</item>
+            				<item>
+            					<term>the thread properties</term>
+            					<description>
+            					The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
+            					thread. These properties are shared by all events logged on this thread.
+            					</description>
+            				</item>
+            				<item>
+            					<term>the global properties</term>
+            					<description>
+            					The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These 
+            					properties are shared by all the threads in the AppDomain.
+            					</description>
+            				</item>
+            			</list>
+            			
+            		</description>
+            	</item>
+                <item>
+                    <term>r</term>
+                    <description>Equivalent to <b>timestamp</b></description>
+                </item>
+                <item>
+                    <term>t</term>
+                    <description>Equivalent to <b>thread</b></description>
+                </item>
+            	<item>
+            		<term>timestamp</term>
+            		<description>
+            			<para>
+            			Used to output the number of milliseconds elapsed since the start
+            			of the application until the creation of the logging event.
+            			</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term>thread</term>
+            		<description>
+            			<para>
+            			Used to output the name of the thread that generated the
+            			logging event. Uses the thread number if no name is available.
+            			</para>
+            		</description>
+            	</item>
+                <item>
+            		<term>type</term> 
+            		<description>
+            			<para>
+            			Used to output the fully qualified type name of the caller
+            			issuing the logging request. This conversion specifier
+            			can be optionally followed by <i>precision specifier</i>, that
+            			is a decimal constant in brackets.
+            			</para>
+            			<para>
+            			If a precision specifier is given, then only the corresponding
+            			number of right most components of the class name will be
+            			printed. By default the class name is output in fully qualified form.
+            			</para>
+            			<para>
+            			For example, for the class name "log4net.Layout.PatternLayout", the
+            			pattern <b>%type{1}</b> will output "PatternLayout".
+            			</para>
+            			<para>
+            			<b>WARNING</b> Generating the caller class information is
+            			slow. Thus, its use should be avoided unless execution speed is
+            			not an issue.
+            			</para>
+            			<para>
+            			See the note below on the availability of caller location information.
+            			</para>
+            		</description>
+                </item>
+                <item>
+                    <term>u</term>
+                    <description>Equivalent to <b>identity</b></description>
+                </item>
+            	<item>
+            		<term>username</term>
+            		<description>
+            			<para>
+            			Used to output the WindowsIdentity for the currently
+            			active user.
+            			</para>
+            			<para>
+            			<b>WARNING</b> Generating caller WindowsIdentity information is
+            			extremely slow. Its use should be avoided unless execution speed
+            			is not an issue.
+            			</para>
+            		</description>
+            	</item>
+                <item>
+            		<term>utcdate</term> 
+            		<description>
+            			<para>
+            			Used to output the date of the logging event in universal time. 
+            			The date conversion 
+            			specifier may be followed by a <i>date format specifier</i> enclosed 
+            			between braces. For example, <b>%utcdate{HH:mm:ss,fff}</b> or
+            			<b>%utcdate{dd MMM yyyy HH:mm:ss,fff}</b>.  If no date format specifier is 
+            			given then ISO8601 format is
+            			assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
+            			</para>
+            			<para>
+            			The date format specifier admits the same syntax as the
+            			time pattern string of the <see cref="M:System.DateTime.ToString(System.String)"/>.
+            			</para>
+            			<para>
+            			For better results it is recommended to use the log4net date
+            			formatters. These can be specified using one of the strings
+            			"ABSOLUTE", "DATE" and "ISO8601" for specifying 
+            			<see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>, 
+            			<see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively 
+            			<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example, 
+            			<b>%utcdate{ISO8601}</b> or <b>%utcdate{ABSOLUTE}</b>.
+            			</para>
+            			<para>
+            			These dedicated date formatters perform significantly
+            			better than <see cref="M:System.DateTime.ToString(System.String)"/>.
+            			</para>
+            		</description>
+            	</item>
+                <item>
+                    <term>w</term>
+                    <description>Equivalent to <b>username</b></description>
+                </item>
+                <item>
+                    <term>x</term>
+                    <description>Equivalent to <b>ndc</b></description>
+                </item>
+                <item>
+                    <term>X</term>
+                    <description>Equivalent to <b>mdc</b></description>
+                </item>
+            	<item>
+            		<term>%</term>
+            		<description>
+            			<para>
+            			The sequence %% outputs a single percent sign.
+            			</para>
+            		</description>
+            	</item>
+            </list>
+            <para>
+            The single letter patterns are deprecated in favor of the 
+            longer more descriptive pattern names.
+            </para>
+            <para>
+            By default the relevant information is output as is. However,
+            with the aid of format modifiers it is possible to change the
+            minimum field width, the maximum field width and justification.
+            </para>
+            <para>
+            The optional format modifier is placed between the percent sign
+            and the conversion pattern name.
+            </para>
+            <para>
+            The first optional format modifier is the <i>left justification
+            flag</i> which is just the minus (-) character. Then comes the
+            optional <i>minimum field width</i> modifier. This is a decimal
+            constant that represents the minimum number of characters to
+            output. If the data item requires fewer characters, it is padded on
+            either the left or the right until the minimum width is
+            reached. The default is to pad on the left (right justify) but you
+            can specify right padding with the left justification flag. The
+            padding character is space. If the data item is larger than the
+            minimum field width, the field is expanded to accommodate the
+            data. The value is never truncated.
+            </para>
+            <para>
+            This behavior can be changed using the <i>maximum field
+            width</i> modifier which is designated by a period followed by a
+            decimal constant. If the data item is longer than the maximum
+            field, then the extra characters are removed from the
+            <i>beginning</i> of the data item and not from the end. For
+            example, it the maximum field width is eight and the data item is
+            ten characters long, then the first two characters of the data item
+            are dropped. This behavior deviates from the printf function in C
+            where truncation is done from the end.
+            </para>
+            <para>
+            Below are various format modifier examples for the logger
+            conversion specifier.
+            </para>
+            <div class="tablediv">
+            	<table class="dtTABLE" cellspacing="0">
+            		<tr>
+            			<th>Format modifier</th>
+            			<th>left justify</th>
+            			<th>minimum width</th>
+            			<th>maximum width</th>
+            			<th>comment</th>
+            		</tr>
+            		<tr>
+            			<td align="center">%20logger</td>
+            			<td align="center">false</td>
+            			<td align="center">20</td>
+            			<td align="center">none</td>
+            			<td>
+            				<para>
+            				Left pad with spaces if the logger name is less than 20
+            				characters long.
+            				</para>
+            			</td>
+            		</tr>
+            		<tr>
+            			<td align="center">%-20logger</td>
+            			<td align="center">true</td>
+            			<td align="center">20</td>
+            			<td align="center">none</td>
+            			<td>
+            				<para>
+            				Right pad with spaces if the logger 
+            				name is less than 20 characters long.
+            				</para>
+            			</td>
+            		</tr>
+            		<tr>
+            			<td align="center">%.30logger</td>
+            			<td align="center">NA</td>
+            			<td align="center">none</td>
+            			<td align="center">30</td>
+            			<td>
+            				<para>
+            				Truncate from the beginning if the logger 
+            				name is longer than 30 characters.
+            				</para>
+            			</td>
+            		</tr>
+            		<tr>
+            			<td align="center"><nobr>%20.30logger</nobr></td>
+            			<td align="center">false</td>
+            			<td align="center">20</td>
+            			<td align="center">30</td>
+            			<td>
+            				<para>
+            				Left pad with spaces if the logger name is shorter than 20
+            				characters. However, if logger name is longer than 30 characters,
+            				then truncate from the beginning.
+            				</para>
+            			</td>
+            		</tr>
+            		<tr>
+            			<td align="center">%-20.30logger</td>
+            			<td align="center">true</td>
+            			<td align="center">20</td>
+            			<td align="center">30</td>
+            			<td>
+            				<para>
+            				Right pad with spaces if the logger name is shorter than 20
+            				characters. However, if logger name is longer than 30 characters,
+            				then truncate from the beginning.
+            				</para>
+            			</td>
+            		</tr>
+            	</table>
+            </div>
+            <para>
+            <b>Note about caller location information.</b><br/>
+            The following patterns <c>%type %file %line %method %location %class %C %F %L %l %M</c> 
+            all generate caller location information.
+            Location information uses the <c>System.Diagnostics.StackTrace</c> class to generate
+            a call stack. The caller's information is then extracted from this stack.
+            </para>
+            <note type="caution">
+            <para>
+            The <c>System.Diagnostics.StackTrace</c> class is not supported on the 
+            .NET Compact Framework 1.0 therefore caller location information is not
+            available on that framework.
+            </para>
+            </note>
+            <note type="caution">
+            <para>
+            The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
+            </para>
+            <para>
+            "StackTrace information will be most informative with Debug build configurations. 
+            By default, Debug builds include debug symbols, while Release builds do not. The 
+            debug symbols contain most of the file, method name, line number, and column 
+            information used in constructing StackFrame and StackTrace objects. StackTrace 
+            might not report as many method calls as expected, due to code transformations 
+            that occur during optimization."
+            </para>
+            <para>
+            This means that in a Release build the caller information may be incomplete or may 
+            not exist at all! Therefore caller location information cannot be relied upon in a Release build.
+            </para>
+            </note>
+            <para>
+            Additional pattern converters may be registered with a specific <see cref="T:log4net.Layout.PatternLayout"/>
+            instance using the <see cref="M:log4net.Layout.PatternLayout.AddConverter(System.String,System.Type)"/> method.
+            </para>
+            </remarks>
+            <example>
+            This is a more detailed pattern.
+            <code><b>%timestamp [%thread] %level %logger %ndc - %message%newline</b></code>
+            </example>
+            <example>
+            A similar pattern except that the relative time is
+            right padded if less than 6 digits, thread name is right padded if
+            less than 15 characters and truncated if longer and the logger
+            name is left padded if shorter than 30 characters and truncated if
+            longer.
+            <code><b>%-6timestamp [%15.15thread] %-5level %30.30logger %ndc - %message%newline</b></code>
+            </example>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Douglas de la Torre</author>
+            <author>Daniel Cazzulino</author>
+        </member>
+        <member name="F:log4net.Layout.PatternLayout.DefaultConversionPattern">
+            <summary>
+            Default pattern string for log output. 
+            </summary>
+            <remarks>
+            <para>
+            Default pattern string for log output. 
+            Currently set to the string <b>"%message%newline"</b> 
+            which just prints the application supplied message. 
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Layout.PatternLayout.DetailConversionPattern">
+            <summary>
+            A detailed conversion pattern
+            </summary>
+            <remarks>
+            <para>
+            A conversion pattern which includes Time, Thread, Logger, and Nested Context.
+            Current value is <b>%timestamp [%thread] %level %logger %ndc - %message%newline</b>.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Layout.PatternLayout.s_globalRulesRegistry">
+            <summary>
+            Internal map of converter identifiers to converter types.
+            </summary>
+            <remarks>
+            <para>
+            This static map is overridden by the m_converterRegistry instance map
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Layout.PatternLayout.m_pattern">
+            <summary>
+            the pattern
+            </summary>
+        </member>
+        <member name="F:log4net.Layout.PatternLayout.m_head">
+            <summary>
+            the head of the pattern converter chain
+            </summary>
+        </member>
+        <member name="F:log4net.Layout.PatternLayout.m_instanceRulesRegistry">
+            <summary>
+            patterns defined on this PatternLayout only
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.#cctor">
+            <summary>
+            Initialize the global registry
+            </summary>
+            <remarks>
+            <para>
+            Defines the builtin global rules.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.#ctor">
+            <summary>
+            Constructs a PatternLayout using the DefaultConversionPattern
+            </summary>
+            <remarks>
+            <para>
+            The default pattern just produces the application supplied message.
+            </para>
+            <para>
+            Note to Inheritors: This constructor calls the virtual method
+            <see cref="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)"/>. If you override this method be
+            aware that it will be called before your is called constructor.
+            </para>
+            <para>
+            As per the <see cref="T:log4net.Core.IOptionHandler"/> contract the <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/>
+            method must be called after the properties on this object have been
+            configured.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.#ctor(System.String)">
+            <summary>
+            Constructs a PatternLayout using the supplied conversion pattern
+            </summary>
+            <param name="pattern">the pattern to use</param>
+            <remarks>
+            <para>
+            Note to Inheritors: This constructor calls the virtual method
+            <see cref="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)"/>. If you override this method be
+            aware that it will be called before your is called constructor.
+            </para>
+            <para>
+            When using this constructor the <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> method 
+            need not be called. This may not be the case when using a subclass.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)">
+            <summary>
+            Create the pattern parser instance
+            </summary>
+            <param name="pattern">the pattern to parse</param>
+            <returns>The <see cref="T:log4net.Util.PatternParser"/> that will format the event</returns>
+            <remarks>
+            <para>
+            Creates the <see cref="T:log4net.Util.PatternParser"/> used to parse the conversion string. Sets the
+            global and instance rules on the <see cref="T:log4net.Util.PatternParser"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.ActivateOptions">
+            <summary>
+            Initialize layout options
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Produces a formatted string as specified by the conversion pattern.
+            </summary>
+            <param name="loggingEvent">the event being logged</param>
+            <param name="writer">The TextWriter to write the formatted event to</param>
+            <remarks>
+            <para>
+            Parse the <see cref="T:log4net.Core.LoggingEvent"/> using the patter format
+            specified in the <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/> property.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.AddConverter(log4net.Layout.PatternLayout.ConverterInfo)">
+            <summary>
+            Add a converter to this PatternLayout
+            </summary>
+            <param name="converterInfo">the converter info</param>
+            <remarks>
+            <para>
+            This version of the method is used by the configurator.
+            Programmatic users should use the alternative <see cref="M:log4net.Layout.PatternLayout.AddConverter(System.String,System.Type)"/> method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.AddConverter(System.String,System.Type)">
+            <summary>
+            Add a converter to this PatternLayout
+            </summary>
+            <param name="name">the name of the conversion pattern for this converter</param>
+            <param name="type">the type of the converter</param>
+            <remarks>
+            <para>
+            Add a named pattern converter to this instance. This
+            converter will be used in the formatting of the event.
+            This method must be called before <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/>.
+            </para>
+            <para>
+            The <paramref name="type"/> specified must extend the 
+            <see cref="T:log4net.Util.PatternConverter"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.PatternLayout.ConversionPattern">
+            <summary>
+            The pattern formatting string
+            </summary>
+            <remarks>
+            <para>
+            The <b>ConversionPattern</b> option. This is the string which
+            controls formatting and consists of a mix of literal content and
+            conversion specifiers.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.PatternLayout.ConverterInfo">
+            <summary>
+            Wrapper class used to map converter names to converter types
+            </summary>
+            <remarks>
+            <para>
+            Pattern converter info class used during configuration to
+            pass to the <see cref="M:log4net.Layout.PatternLayout.AddConverter(log4net.Layout.PatternLayout.ConverterInfo)"/>
+            method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.PatternLayout.ConverterInfo.#ctor">
+            <summary>
+            default constructor
+            </summary>
+        </member>
+        <member name="P:log4net.Layout.PatternLayout.ConverterInfo.Name">
+            <summary>
+            Gets or sets the name of the conversion pattern
+            </summary>
+            <remarks>
+            <para>
+            The name of the pattern in the format string
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.PatternLayout.ConverterInfo.Type">
+            <summary>
+            Gets or sets the type of the converter
+            </summary>
+            <remarks>
+            <para>
+            The value specified must extend the 
+            <see cref="T:log4net.Util.PatternConverter"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.RawLayoutConverter">
+            <summary>
+            Type converter for the <see cref="T:log4net.Layout.IRawLayout"/> interface
+            </summary>
+            <remarks>
+            <para>
+            Used to convert objects to the <see cref="T:log4net.Layout.IRawLayout"/> interface.
+            Supports converting from the <see cref="T:log4net.Layout.ILayout"/> interface to
+            the <see cref="T:log4net.Layout.IRawLayout"/> interface using the <see cref="T:log4net.Layout.Layout2RawLayoutAdapter"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.IConvertFrom">
+            <summary>
+            Interface supported by type converters
+            </summary>
+            <remarks>
+            <para>
+            This interface supports conversion from arbitrary types
+            to a single target type. See <see cref="T:log4net.Util.TypeConverters.TypeConverterAttribute"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.IConvertFrom.CanConvertFrom(System.Type)">
+            <summary>
+            Can the source type be converted to the type supported by this object
+            </summary>
+            <param name="sourceType">the type to convert</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Test if the <paramref name="sourceType"/> can be converted to the
+            type supported by this converter.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.IConvertFrom.ConvertFrom(System.Object)">
+            <summary>
+            Convert the source object to the type supported by this object
+            </summary>
+            <param name="source">the object to convert</param>
+            <returns>the converted object</returns>
+            <remarks>
+            <para>
+            Converts the <paramref name="source"/> to the type supported
+            by this converter.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.RawLayoutConverter.CanConvertFrom(System.Type)">
+            <summary>
+            Can the sourceType be converted to an <see cref="T:log4net.Layout.IRawLayout"/>
+            </summary>
+            <param name="sourceType">the source to be to be converted</param>
+            <returns><c>true</c> if the source type can be converted to <see cref="T:log4net.Layout.IRawLayout"/></returns>
+            <remarks>
+            <para>
+            Test if the <paramref name="sourceType"/> can be converted to a
+            <see cref="T:log4net.Layout.IRawLayout"/>. Only <see cref="T:log4net.Layout.ILayout"/> is supported
+            as the <paramref name="sourceType"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.RawLayoutConverter.ConvertFrom(System.Object)">
+            <summary>
+            Convert the value to a <see cref="T:log4net.Layout.IRawLayout"/> object
+            </summary>
+            <param name="source">the value to convert</param>
+            <returns>the <see cref="T:log4net.Layout.IRawLayout"/> object</returns>
+            <remarks>
+            <para>
+            Convert the <paramref name="source"/> object to a 
+            <see cref="T:log4net.Layout.IRawLayout"/> object. If the <paramref name="source"/> object
+            is a <see cref="T:log4net.Layout.ILayout"/> then the <see cref="T:log4net.Layout.Layout2RawLayoutAdapter"/>
+            is used to adapt between the two interfaces, otherwise an
+            exception is thrown.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.RawPropertyLayout">
+            <summary>
+            Extract the value of a property from the <see cref="T:log4net.Core.LoggingEvent"/>
+            </summary>
+            <remarks>
+            <para>
+            Extract the value of a property from the <see cref="T:log4net.Core.LoggingEvent"/>
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Layout.RawPropertyLayout.#ctor">
+            <summary>
+            Constructs a RawPropertyLayout
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.RawPropertyLayout.Format(log4net.Core.LoggingEvent)">
+            <summary>
+            Lookup the property for <see cref="P:log4net.Layout.RawPropertyLayout.Key"/>
+            </summary>
+            <param name="loggingEvent">The event to format</param>
+            <returns>returns property value</returns>
+            <remarks>
+            <para>
+            Looks up and returns the object value of the property
+            named <see cref="P:log4net.Layout.RawPropertyLayout.Key"/>. If there is no property defined
+            with than name then <c>null</c> will be returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.RawPropertyLayout.Key">
+            <summary>
+            The name of the value to lookup in the LoggingEvent Properties collection.
+            </summary>
+            <value>
+            Value to lookup in the LoggingEvent Properties collection
+            </value>
+            <remarks>
+            <para>
+            String name of the property to lookup in the <see cref="T:log4net.Core.LoggingEvent"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.RawTimeStampLayout">
+            <summary>
+            Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
+            </summary>
+            <remarks>
+            <para>
+            Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Layout.RawTimeStampLayout.#ctor">
+            <summary>
+            Constructs a RawTimeStampLayout
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.RawTimeStampLayout.Format(log4net.Core.LoggingEvent)">
+            <summary>
+            Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
+            </summary>
+            <param name="loggingEvent">The event to format</param>
+            <returns>returns the time stamp</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
+            </para>
+            <para>
+            The time stamp is in local time. To format the time stamp
+            in universal time use <see cref="T:log4net.Layout.RawUtcTimeStampLayout"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.RawUtcTimeStampLayout">
+            <summary>
+            Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
+            </summary>
+            <remarks>
+            <para>
+            Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Layout.RawUtcTimeStampLayout.#ctor">
+            <summary>
+            Constructs a RawUtcTimeStampLayout
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.RawUtcTimeStampLayout.Format(log4net.Core.LoggingEvent)">
+            <summary>
+            Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
+            </summary>
+            <param name="loggingEvent">The event to format</param>
+            <returns>returns the time stamp</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
+            </para>
+            <para>
+            The time stamp is in universal time. To format the time stamp
+            in local time use <see cref="T:log4net.Layout.RawTimeStampLayout"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.SimpleLayout">
+            <summary>
+            A very simple layout
+            </summary>
+            <remarks>
+            <para>
+            SimpleLayout consists of the level of the log statement,
+            followed by " - " and then the log message itself. For example,
+            <code>
+            DEBUG - Hello world
+            </code>
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Layout.SimpleLayout.#ctor">
+            <summary>
+            Constructs a SimpleLayout
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.SimpleLayout.ActivateOptions">
+            <summary>
+            Initialize layout options
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.SimpleLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Produces a simple formatted output.
+            </summary>
+            <param name="loggingEvent">the event being logged</param>
+            <param name="writer">The TextWriter to write the formatted event to</param>
+            <remarks>
+            <para>
+            Formats the event as the level of the even,
+            followed by " - " and then the log message itself. The
+            output is terminated by a newline.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.XmlLayout">
+             <summary>
+             Layout that formats the log events as XML elements.
+             </summary>
+             <remarks>
+             <para>
+             The output of the <see cref="T:log4net.Layout.XmlLayout"/> consists of a series of 
+             log4net:event elements. It does not output a complete well-formed XML 
+             file. The output is designed to be included as an <em>external entity</em>
+             in a separate file to form a correct XML file.
+             </para>
+             <para>
+             For example, if <c>abc</c> is the name of the file where
+             the <see cref="T:log4net.Layout.XmlLayout"/> output goes, then a well-formed XML file would 
+             be:
+             </para>
+             <code lang="XML">
+             &lt;?xml version="1.0" ?&gt;
+             
+             &lt;!DOCTYPE log4net:events SYSTEM "log4net-events.dtd" [&lt;!ENTITY data SYSTEM "abc"&gt;]&gt;
+            
+             &lt;log4net:events version="1.2" xmlns:log4net="http://logging.apache.org/log4net/schemas/log4net-events-1.2&gt;
+                 &amp;data;
+             &lt;/log4net:events&gt;
+             </code>
+             <para>
+             This approach enforces the independence of the <see cref="T:log4net.Layout.XmlLayout"/> 
+             and the appender where it is embedded.
+             </para>
+             <para>
+             The <c>version</c> attribute helps components to correctly
+             interpret output generated by <see cref="T:log4net.Layout.XmlLayout"/>. The value of 
+             this attribute should be "1.2" for release 1.2 and later.
+             </para>
+             <para>
+             Alternatively the <c>Header</c> and <c>Footer</c> properties can be
+             configured to output the correct XML header, open tag and close tag.
+             When setting the <c>Header</c> and <c>Footer</c> properties it is essential
+             that the underlying data store not be appendable otherwise the data
+             will become invalid XML.
+             </para>
+             </remarks>
+             <author>Nicko Cadell</author>
+             <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Layout.XmlLayoutBase">
+            <summary>
+            Layout that formats the log events as XML elements.
+            </summary>
+            <remarks>
+            <para>
+            This is an abstract class that must be subclassed by an implementation 
+            to conform to a specific schema.
+            </para>
+            <para>
+            Deriving classes must implement the <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Layout.XmlLayoutBase.#ctor">
+            <summary>
+            Protected constructor to support subclasses
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Layout.XmlLayoutBase"/> class
+            with no location info.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.XmlLayoutBase.#ctor(System.Boolean)">
+            <summary>
+            Protected constructor to support subclasses
+            </summary>
+            <remarks>
+            <para>
+            The <paramref name="locationInfo" /> parameter determines whether 
+            location information will be output by the layout. If 
+            <paramref name="locationInfo" /> is set to <c>true</c>, then the 
+            file name and line number of the statement at the origin of the log 
+            statement will be output. 
+            </para>
+            <para>
+            If you are embedding this layout within an SMTPAppender
+            then make sure to set the <b>LocationInfo</b> option of that 
+            appender as well.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.XmlLayoutBase.ActivateOptions">
+            <summary>
+            Initialize layout options
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.XmlLayoutBase.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Produces a formatted string.
+            </summary>
+            <param name="loggingEvent">The event being logged.</param>
+            <param name="writer">The TextWriter to write the formatted event to</param>
+            <remarks>
+            <para>
+            Format the <see cref="T:log4net.Core.LoggingEvent"/> and write it to the <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            <para>
+            This method creates an <see cref="T:System.Xml.XmlTextWriter"/> that writes to the
+            <paramref name="writer"/>. The <see cref="T:System.Xml.XmlTextWriter"/> is passed 
+            to the <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method. Subclasses should override the
+            <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method rather than this method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Does the actual writing of the XML.
+            </summary>
+            <param name="writer">The writer to use to output the event to.</param>
+            <param name="loggingEvent">The event to write.</param>
+            <remarks>
+            <para>
+            Subclasses should override this method to format
+            the <see cref="T:log4net.Core.LoggingEvent"/> as XML.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Layout.XmlLayoutBase.m_locationInfo">
+            <summary>
+            Flag to indicate if location information should be included in
+            the XML events.
+            </summary>
+        </member>
+        <member name="F:log4net.Layout.XmlLayoutBase.m_protectCloseTextWriter">
+            <summary>
+            Writer adapter that ignores Close
+            </summary>
+        </member>
+        <member name="F:log4net.Layout.XmlLayoutBase.m_invalidCharReplacement">
+            <summary>
+            The string to replace invalid chars with
+            </summary>
+        </member>
+        <member name="P:log4net.Layout.XmlLayoutBase.LocationInfo">
+            <summary>
+            Gets a value indicating whether to include location information in 
+            the XML events.
+            </summary>
+            <value>
+            <c>true</c> if location information should be included in the XML 
+            events; otherwise, <c>false</c>.
+            </value>
+            <remarks>
+            <para>
+            If <see cref="P:log4net.Layout.XmlLayoutBase.LocationInfo"/> is set to <c>true</c>, then the file 
+            name and line number of the statement at the origin of the log 
+            statement will be output. 
+            </para>
+            <para>
+            If you are embedding this layout within an <c>SMTPAppender</c>
+            then make sure to set the <b>LocationInfo</b> option of that 
+            appender as well.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement">
+            <summary>
+            The string to replace characters that can not be expressed in XML with.
+            <remarks>
+            <para>
+            Not all characters may be expressed in XML. This property contains the
+            string to replace those that can not with. This defaults to a ?. Set it
+            to the empty string to simply remove offending characters. For more
+            details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets
+            Character replacement will occur in  the log message, the property names 
+            and the property values.
+            </para>
+            </remarks>
+            </summary>
+        </member>
+        <member name="P:log4net.Layout.XmlLayoutBase.ContentType">
+            <summary>
+            Gets the content type output by this layout. 
+            </summary>
+            <value>
+            As this is the XML layout, the value is always <c>"text/xml"</c>.
+            </value>
+            <remarks>
+            <para>
+            As this is the XML layout, the value is always <c>"text/xml"</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.XmlLayout.#ctor">
+            <summary>
+            Constructs an XmlLayout
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.XmlLayout.#ctor(System.Boolean)">
+            <summary>
+            Constructs an XmlLayout.
+            </summary>
+            <remarks>
+            <para>
+            The <b>LocationInfo</b> option takes a boolean value. By
+            default, it is set to false which means there will be no location
+            information output by this layout. If the the option is set to
+            true, then the file name and line number of the statement
+            at the origin of the log statement will be output. 
+            </para>
+            <para>
+            If you are embedding this layout within an SmtpAppender
+            then make sure to set the <b>LocationInfo</b> option of that 
+            appender as well.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.XmlLayout.ActivateOptions">
+            <summary>
+            Initialize layout options
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            Builds a cache of the element names
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.XmlLayout.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Does the actual writing of the XML.
+            </summary>
+            <param name="writer">The writer to use to output the event to.</param>
+            <param name="loggingEvent">The event to write.</param>
+            <remarks>
+            <para>
+            Override the base class <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method
+            to write the <see cref="T:log4net.Core.LoggingEvent"/> to the <see cref="T:System.Xml.XmlWriter"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Layout.XmlLayout.m_prefix">
+            <summary>
+            The prefix to use for all generated element names
+            </summary>
+        </member>
+        <member name="P:log4net.Layout.XmlLayout.Prefix">
+            <summary>
+            The prefix to use for all element names
+            </summary>
+            <remarks>
+            <para>
+            The default prefix is <b>log4net</b>. Set this property
+            to change the prefix. If the prefix is set to an empty string
+            then no prefix will be written.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.XmlLayout.Base64EncodeMessage">
+            <summary>
+            Set whether or not to base64 encode the message.
+            </summary>
+            <remarks>
+            <para>
+            By default the log message will be written as text to the xml
+            output. This can cause problems when the message contains binary
+            data. By setting this to true the contents of the message will be
+            base64 encoded. If this is set then invalid character replacement
+            (see <see cref="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement"/>) will not be performed
+            on the log message.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.XmlLayout.Base64EncodeProperties">
+            <summary>
+            Set whether or not to base64 encode the property values.
+            </summary>
+            <remarks>
+            <para>
+            By default the properties will be written as text to the xml
+            output. This can cause problems when one or more properties contain
+            binary data. By setting this to true the values of the properties
+            will be base64 encoded. If this is set then invalid character replacement
+            (see <see cref="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement"/>) will not be performed
+            on the property values.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Layout.XmlLayoutSchemaLog4j">
+            <summary>
+            Layout that formats the log events as XML elements compatible with the log4j schema
+            </summary>
+            <remarks>
+            <para>
+            Formats the log events according to the http://logging.apache.org/log4j schema.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Layout.XmlLayoutSchemaLog4j.s_date1970">
+            <summary>
+            The 1st of January 1970 in UTC
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor">
+            <summary>
+            Constructs an XMLLayoutSchemaLog4j
+            </summary>
+        </member>
+        <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor(System.Boolean)">
+            <summary>
+            Constructs an XMLLayoutSchemaLog4j.
+            </summary>
+            <remarks>
+            <para>
+            The <b>LocationInfo</b> option takes a boolean value. By
+            default, it is set to false which means there will be no location
+            information output by this layout. If the the option is set to
+            true, then the file name and line number of the statement
+            at the origin of the log statement will be output. 
+            </para>
+            <para>
+            If you are embedding this layout within an SMTPAppender
+            then make sure to set the <b>LocationInfo</b> option of that 
+            appender as well.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
+            <summary>
+            Actually do the writing of the xml
+            </summary>
+            <param name="writer">the writer to use</param>
+            <param name="loggingEvent">the event to write</param>
+            <remarks>
+            <para>
+            Generate XML that is compatible with the log4j schema.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Layout.XmlLayoutSchemaLog4j.Version">
+            <summary>
+            The version of the log4j schema to use.
+            </summary>
+            <remarks>
+            <para>
+            Only version 1.2 of the log4j schema is supported.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.ObjectRenderer.DefaultRenderer">
+            <summary>
+            The default object Renderer.
+            </summary>
+            <remarks>
+            <para>
+            The default renderer supports rendering objects and collections to strings.
+            </para>
+            <para>
+            See the <see cref="M:log4net.ObjectRenderer.DefaultRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)"/> method for details of the output.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.ObjectRenderer.IObjectRenderer">
+            <summary>
+            Implement this interface in order to render objects as strings
+            </summary>
+            <remarks>
+            <para>
+            Certain types require special case conversion to
+            string form. This conversion is done by an object renderer.
+            Object renderers implement the <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>
+            interface.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.ObjectRenderer.IObjectRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)">
+            <summary>
+            Render the object <paramref name="obj"/> to a string
+            </summary>
+            <param name="rendererMap">The map used to lookup renderers</param>
+            <param name="obj">The object to render</param>
+            <param name="writer">The writer to render to</param>
+            <remarks>
+            <para>
+            Render the object <paramref name="obj"/> to a 
+            string.
+            </para>
+            <para>
+            The <paramref name="rendererMap"/> parameter is
+            provided to lookup and render other objects. This is
+            very useful where <paramref name="obj"/> contains
+            nested objects of unknown type. The <see cref="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object,System.IO.TextWriter)"/>
+            method can be used to render these objects.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.DefaultRenderer.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)">
+            <summary>
+            Render the object <paramref name="obj"/> to a string
+            </summary>
+            <param name="rendererMap">The map used to lookup renderers</param>
+            <param name="obj">The object to render</param>
+            <param name="writer">The writer to render to</param>
+            <remarks>
+            <para>
+            Render the object <paramref name="obj"/> to a string.
+            </para>
+            <para>
+            The <paramref name="rendererMap"/> parameter is
+            provided to lookup and render other objects. This is
+            very useful where <paramref name="obj"/> contains
+            nested objects of unknown type. The <see cref="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object)"/>
+            method can be used to render these objects.
+            </para>
+            <para>
+            The default renderer supports rendering objects to strings as follows:
+            </para>
+            <list type="table">
+            	<listheader>
+            		<term>Value</term>
+            		<description>Rendered String</description>
+            	</listheader>
+            	<item>
+            		<term><c>null</c></term>
+            		<description>
+            		<para>"(null)"</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term><see cref="T:System.Array"/></term>
+            		<description>
+            		<para>
+            		For a one dimensional array this is the
+            		array type name, an open brace, followed by a comma
+            		separated list of the elements (using the appropriate
+            		renderer), followed by a close brace. 
+            		</para>
+            		<para>
+            		For example: <c>int[] {1, 2, 3}</c>.
+            		</para>
+            		<para>
+            		If the array is not one dimensional the 
+            		<c>Array.ToString()</c> is returned.
+            		</para>
+            		</description>
+            	</item>
+            	<item>
+            		<term><see cref="T:System.Collections.IEnumerable"/>, <see cref="T:System.Collections.ICollection"/> &amp; <see cref="T:System.Collections.IEnumerator"/></term>
+            		<description>
+            		<para>
+            		Rendered as an open brace, followed by a comma
+            		separated list of the elements (using the appropriate
+            		renderer), followed by a close brace.
+            		</para>
+            		<para>
+            		For example: <c>{a, b, c}</c>.
+            		</para>
+            		<para>
+            		All collection classes that implement <see cref="T:System.Collections.ICollection"/> its subclasses, 
+            		or generic equivalents all implement the <see cref="T:System.Collections.IEnumerable"/> interface.
+            		</para>
+            		</description>
+            	</item>		
+            	<item>
+            		<term><see cref="T:System.Collections.DictionaryEntry"/></term>
+            		<description>
+            		<para>
+            		Rendered as the key, an equals sign ('='), and the value (using the appropriate
+            		renderer). 
+            		</para>
+            		<para>
+            		For example: <c>key=value</c>.
+            		</para>
+            		</description>
+            	</item>		
+            	<item>
+            		<term>other</term>
+            		<description>
+            		<para><c>Object.ToString()</c></para>
+            		</description>
+            	</item>
+            </list>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderArray(log4net.ObjectRenderer.RendererMap,System.Array,System.IO.TextWriter)">
+            <summary>
+            Render the array argument into a string
+            </summary>
+            <param name="rendererMap">The map used to lookup renderers</param>
+            <param name="array">the array to render</param>
+            <param name="writer">The writer to render to</param>
+            <remarks>
+            <para>
+            For a one dimensional array this is the
+            array type name, an open brace, followed by a comma
+            separated list of the elements (using the appropriate
+            renderer), followed by a close brace. For example:
+            <c>int[] {1, 2, 3}</c>.
+            </para>
+            <para>
+            If the array is not one dimensional the 
+            <c>Array.ToString()</c> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderEnumerator(log4net.ObjectRenderer.RendererMap,System.Collections.IEnumerator,System.IO.TextWriter)">
+            <summary>
+            Render the enumerator argument into a string
+            </summary>
+            <param name="rendererMap">The map used to lookup renderers</param>
+            <param name="enumerator">the enumerator to render</param>
+            <param name="writer">The writer to render to</param>
+            <remarks>
+            <para>
+            Rendered as an open brace, followed by a comma
+            separated list of the elements (using the appropriate
+            renderer), followed by a close brace. For example:
+            <c>{a, b, c}</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderDictionaryEntry(log4net.ObjectRenderer.RendererMap,System.Collections.DictionaryEntry,System.IO.TextWriter)">
+            <summary>
+            Render the DictionaryEntry argument into a string
+            </summary>
+            <param name="rendererMap">The map used to lookup renderers</param>
+            <param name="entry">the DictionaryEntry to render</param>
+            <param name="writer">The writer to render to</param>
+            <remarks>
+            <para>
+            Render the key, an equals sign ('='), and the value (using the appropriate
+            renderer). For example: <c>key=value</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.ObjectRenderer.RendererMap">
+            <summary>
+            Map class objects to an <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
+            </summary>
+            <remarks>
+            <para>
+            Maintains a mapping between types that require special
+            rendering and the <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> that
+            is used to render them.
+            </para>
+            <para>
+            The <see cref="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object)"/> method is used to render an
+            <c>object</c> using the appropriate renderers defined in this map.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.ObjectRenderer.RendererMap.#ctor">
+            <summary>
+            Default Constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object)">
+            <summary>
+            Render <paramref name="obj"/> using the appropriate renderer.
+            </summary>
+            <param name="obj">the object to render to a string</param>
+            <returns>the object rendered as a string</returns>
+            <remarks>
+            <para>
+            This is a convenience method used to render an object to a string.
+            The alternative method <see cref="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object,System.IO.TextWriter)"/>
+            should be used when streaming output to a <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object,System.IO.TextWriter)">
+            <summary>
+            Render <paramref name="obj"/> using the appropriate renderer.
+            </summary>
+            <param name="obj">the object to render to a string</param>
+            <param name="writer">The writer to render to</param>
+            <remarks>
+            <para>
+            Find the appropriate renderer for the type of the
+            <paramref name="obj"/> parameter. This is accomplished by calling the
+            <see cref="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)"/> method. Once a renderer is found, it is
+            applied on the object <paramref name="obj"/> and the result is returned
+            as a <see cref="T:System.String"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.RendererMap.Get(System.Object)">
+            <summary>
+            Gets the renderer for the specified object type
+            </summary>
+            <param name="obj">the object to lookup the renderer for</param>
+            <returns>the renderer for <paramref name="obj"/></returns>
+            <remarks>
+            <param>
+            Gets the renderer for the specified object type.
+            </param>
+            <param>
+            Syntactic sugar method that calls <see cref="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)"/> 
+            with the type of the object parameter.
+            </param>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)">
+            <summary>
+            Gets the renderer for the specified type
+            </summary>
+            <param name="type">the type to lookup the renderer for</param>
+            <returns>the renderer for the specified type</returns>
+            <remarks>
+            <para>
+            Returns the renderer for the specified type.
+            If no specific renderer has been defined the
+            <see cref="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer"/> will be returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.RendererMap.SearchTypeAndInterfaces(System.Type)">
+            <summary>
+            Internal function to recursively search interfaces
+            </summary>
+            <param name="type">the type to lookup the renderer for</param>
+            <returns>the renderer for the specified type</returns>
+        </member>
+        <member name="M:log4net.ObjectRenderer.RendererMap.Clear">
+            <summary>
+            Clear the map of renderers
+            </summary>
+            <remarks>
+            <para>
+            Clear the custom renderers defined by using
+            <see cref="M:log4net.ObjectRenderer.RendererMap.Put(System.Type,log4net.ObjectRenderer.IObjectRenderer)"/>. The <see cref="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer"/>
+            cannot be removed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.ObjectRenderer.RendererMap.Put(System.Type,log4net.ObjectRenderer.IObjectRenderer)">
+            <summary>
+            Register an <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> for <paramref name="typeToRender"/>. 
+            </summary>
+            <param name="typeToRender">the type that will be rendered by <paramref name="renderer"/></param>
+            <param name="renderer">the renderer for <paramref name="typeToRender"/></param>
+            <remarks>
+            <para>
+            Register an object renderer for a specific source type.
+            This renderer will be returned from a call to <see cref="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)"/>
+            specifying the same <paramref name="typeToRender"/> as an argument.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer">
+            <summary>
+            Get the default renderer instance
+            </summary>
+            <value>the default renderer</value>
+            <remarks>
+            <para>
+            Get the default renderer
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Plugin.IPlugin">
+            <summary>
+            Interface implemented by logger repository plugins.
+            </summary>
+            <remarks>
+            <para>
+            Plugins define additional behavior that can be associated
+            with a <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            The <see cref="T:log4net.Plugin.PluginMap"/> held by the <see cref="P:log4net.Repository.ILoggerRepository.PluginMap"/>
+            property is used to store the plugins for a repository.
+            </para>
+            <para>
+            The <c>log4net.Config.PluginAttribute</c> can be used to
+            attach plugins to repositories created using configuration
+            attributes.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Plugin.IPlugin.Attach(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Attaches the plugin to the specified <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </summary>
+            <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
+            <remarks>
+            <para>
+            A plugin may only be attached to a single repository.
+            </para>
+            <para>
+            This method is called when the plugin is attached to the repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.IPlugin.Shutdown">
+            <summary>
+            Is called when the plugin is to shutdown.
+            </summary>
+            <remarks>
+            <para>
+            This method is called to notify the plugin that 
+            it should stop operating and should detach from
+            the repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Plugin.IPlugin.Name">
+            <summary>
+            Gets the name of the plugin.
+            </summary>
+            <value>
+            The name of the plugin.
+            </value>
+            <remarks>
+            <para>
+            Plugins are stored in the <see cref="T:log4net.Plugin.PluginMap"/>
+            keyed by name. Each plugin instance attached to a
+            repository must be a unique name.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Plugin.PluginCollection">
+            <summary>
+            A strongly-typed collection of <see cref="T:log4net.Plugin.IPlugin"/> objects.
+            </summary>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.ReadOnly(log4net.Plugin.PluginCollection)">
+            <summary>
+            Creates a read-only wrapper for a <c>PluginCollection</c> instance.
+            </summary>
+            <param name="list">list to create a readonly wrapper arround</param>
+            <returns>
+            A <c>PluginCollection</c> wrapper that is read-only.
+            </returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.#ctor">
+            <summary>
+            Initializes a new instance of the <c>PluginCollection</c> class
+            that is empty and has the default initial capacity.
+            </summary>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.#ctor(System.Int32)">
+            <summary>
+            Initializes a new instance of the <c>PluginCollection</c> class
+            that has the specified initial capacity.
+            </summary>
+            <param name="capacity">
+            The number of elements that the new <c>PluginCollection</c> is initially capable of storing.
+            </param>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection)">
+            <summary>
+            Initializes a new instance of the <c>PluginCollection</c> class
+            that contains elements copied from the specified <c>PluginCollection</c>.
+            </summary>
+            <param name="c">The <c>PluginCollection</c> whose elements are copied to the new collection.</param>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.IPlugin[])">
+            <summary>
+            Initializes a new instance of the <c>PluginCollection</c> class
+            that contains elements copied from the specified <see cref="T:log4net.Plugin.IPlugin"/> array.
+            </summary>
+            <param name="a">The <see cref="T:log4net.Plugin.IPlugin"/> array whose elements are copied to the new list.</param>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.#ctor(System.Collections.ICollection)">
+            <summary>
+            Initializes a new instance of the <c>PluginCollection</c> class
+            that contains elements copied from the specified <see cref="T:log4net.Plugin.IPlugin"/> collection.
+            </summary>
+            <param name="col">The <see cref="T:log4net.Plugin.IPlugin"/> collection whose elements are copied to the new list.</param>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection.Tag)">
+            <summary>
+            Allow subclasses to avoid our default constructors
+            </summary>
+            <param name="tag"></param>
+            <exclude/>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[])">
+            <summary>
+            Copies the entire <c>PluginCollection</c> to a one-dimensional
+            <see cref="T:log4net.Plugin.IPlugin"/> array.
+            </summary>
+            <param name="array">The one-dimensional <see cref="T:log4net.Plugin.IPlugin"/> array to copy to.</param>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[],System.Int32)">
+            <summary>
+            Copies the entire <c>PluginCollection</c> to a one-dimensional
+            <see cref="T:log4net.Plugin.IPlugin"/> array, starting at the specified index of the target array.
+            </summary>
+            <param name="array">The one-dimensional <see cref="T:log4net.Plugin.IPlugin"/> array to copy to.</param>
+            <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Add(log4net.Plugin.IPlugin)">
+            <summary>
+            Adds a <see cref="T:log4net.Plugin.IPlugin"/> to the end of the <c>PluginCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to be added to the end of the <c>PluginCollection</c>.</param>
+            <returns>The index at which the value has been added.</returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Clear">
+            <summary>
+            Removes all elements from the <c>PluginCollection</c>.
+            </summary>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Clone">
+            <summary>
+            Creates a shallow copy of the <see cref="T:log4net.Plugin.PluginCollection"/>.
+            </summary>
+            <returns>A new <see cref="T:log4net.Plugin.PluginCollection"/> with a shallow copy of the collection data.</returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Contains(log4net.Plugin.IPlugin)">
+            <summary>
+            Determines whether a given <see cref="T:log4net.Plugin.IPlugin"/> is in the <c>PluginCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to check for.</param>
+            <returns><c>true</c> if <paramref name="item"/> is found in the <c>PluginCollection</c>; otherwise, <c>false</c>.</returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.IndexOf(log4net.Plugin.IPlugin)">
+            <summary>
+            Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Plugin.IPlugin"/>
+            in the <c>PluginCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to locate in the <c>PluginCollection</c>.</param>
+            <returns>
+            The zero-based index of the first occurrence of <paramref name="item"/> 
+            in the entire <c>PluginCollection</c>, if found; otherwise, -1.
+            </returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Insert(System.Int32,log4net.Plugin.IPlugin)">
+            <summary>
+            Inserts an element into the <c>PluginCollection</c> at the specified index.
+            </summary>
+            <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
+            <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to insert.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Remove(log4net.Plugin.IPlugin)">
+            <summary>
+            Removes the first occurrence of a specific <see cref="T:log4net.Plugin.IPlugin"/> from the <c>PluginCollection</c>.
+            </summary>
+            <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to remove from the <c>PluginCollection</c>.</param>
+            <exception cref="T:System.ArgumentException">
+            The specified <see cref="T:log4net.Plugin.IPlugin"/> was not found in the <c>PluginCollection</c>.
+            </exception>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.RemoveAt(System.Int32)">
+            <summary>
+            Removes the element at the specified index of the <c>PluginCollection</c>.
+            </summary>
+            <param name="index">The zero-based index of the element to remove.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero.</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.GetEnumerator">
+            <summary>
+            Returns an enumerator that can iterate through the <c>PluginCollection</c>.
+            </summary>
+            <returns>An <see cref="T:log4net.Plugin.PluginCollection.Enumerator"/> for the entire <c>PluginCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.PluginCollection)">
+            <summary>
+            Adds the elements of another <c>PluginCollection</c> to the current <c>PluginCollection</c>.
+            </summary>
+            <param name="x">The <c>PluginCollection</c> whose elements should be added to the end of the current <c>PluginCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.IPlugin[])">
+            <summary>
+            Adds the elements of a <see cref="T:log4net.Plugin.IPlugin"/> array to the current <c>PluginCollection</c>.
+            </summary>
+            <param name="x">The <see cref="T:log4net.Plugin.IPlugin"/> array whose elements should be added to the end of the <c>PluginCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.AddRange(System.Collections.ICollection)">
+            <summary>
+            Adds the elements of a <see cref="T:log4net.Plugin.IPlugin"/> collection to the current <c>PluginCollection</c>.
+            </summary>
+            <param name="col">The <see cref="T:log4net.Plugin.IPlugin"/> collection whose elements should be added to the end of the <c>PluginCollection</c>.</param>
+            <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.TrimToSize">
+            <summary>
+            Sets the capacity to the actual number of elements.
+            </summary>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.ValidateIndex(System.Int32)">
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero.</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.ValidateIndex(System.Int32,System.Boolean)">
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero.</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.Count">
+            <summary>
+            Gets the number of elements actually contained in the <c>PluginCollection</c>.
+            </summary>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.IsSynchronized">
+            <summary>
+            Gets a value indicating whether access to the collection is synchronized (thread-safe).
+            </summary>
+            <returns>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</returns>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.SyncRoot">
+            <summary>
+            Gets an object that can be used to synchronize access to the collection.
+            </summary>
+            <value>
+            An object that can be used to synchronize access to the collection.
+            </value>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.Item(System.Int32)">
+            <summary>
+            Gets or sets the <see cref="T:log4net.Plugin.IPlugin"/> at the specified index.
+            </summary>
+            <value>
+            The <see cref="T:log4net.Plugin.IPlugin"/> at the specified index.
+            </value>
+            <param name="index">The zero-based index of the element to get or set.</param>
+            <exception cref="T:System.ArgumentOutOfRangeException">
+            <para><paramref name="index"/> is less than zero.</para>
+            <para>-or-</para>
+            <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
+            </exception>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.IsFixedSize">
+            <summary>
+            Gets a value indicating whether the collection has a fixed size.
+            </summary>
+            <value><c>true</c> if the collection has a fixed size; otherwise, <c>false</c>. The default is <c>false</c>.</value>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.IsReadOnly">
+            <summary>
+            Gets a value indicating whether the IList is read-only.
+            </summary>
+            <value><c>true</c> if the collection is read-only; otherwise, <c>false</c>. The default is <c>false</c>.</value>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.Capacity">
+            <summary>
+            Gets or sets the number of elements the <c>PluginCollection</c> can contain.
+            </summary>
+            <value>
+            The number of elements the <c>PluginCollection</c> can contain.
+            </value>
+        </member>
+        <member name="T:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator">
+            <summary>
+            Supports type-safe iteration over a <see cref="T:log4net.Plugin.PluginCollection"/>.
+            </summary>
+            <exclude/>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.MoveNext">
+            <summary>
+            Advances the enumerator to the next element in the collection.
+            </summary>
+            <returns>
+            <c>true</c> if the enumerator was successfully advanced to the next element; 
+            <c>false</c> if the enumerator has passed the end of the collection.
+            </returns>
+            <exception cref="T:System.InvalidOperationException">
+            The collection was modified after the enumerator was created.
+            </exception>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.Reset">
+            <summary>
+            Sets the enumerator to its initial position, before the first element in the collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.Current">
+            <summary>
+            Gets the current element in the collection.
+            </summary>
+        </member>
+        <member name="T:log4net.Plugin.PluginCollection.Tag">
+            <summary>
+            Type visible only to our subclasses
+            Used to access protected constructor
+            </summary>
+            <exclude/>
+        </member>
+        <member name="F:log4net.Plugin.PluginCollection.Tag.Default">
+            <summary>
+            A value
+            </summary>
+        </member>
+        <member name="T:log4net.Plugin.PluginCollection.Enumerator">
+            <summary>
+            Supports simple iteration over a <see cref="T:log4net.Plugin.PluginCollection"/>.
+            </summary>
+            <exclude/>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Enumerator.#ctor(log4net.Plugin.PluginCollection)">
+            <summary>
+            Initializes a new instance of the <c>Enumerator</c> class.
+            </summary>
+            <param name="tc"></param>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Enumerator.MoveNext">
+            <summary>
+            Advances the enumerator to the next element in the collection.
+            </summary>
+            <returns>
+            <c>true</c> if the enumerator was successfully advanced to the next element; 
+            <c>false</c> if the enumerator has passed the end of the collection.
+            </returns>
+            <exception cref="T:System.InvalidOperationException">
+            The collection was modified after the enumerator was created.
+            </exception>
+        </member>
+        <member name="M:log4net.Plugin.PluginCollection.Enumerator.Reset">
+            <summary>
+            Sets the enumerator to its initial position, before the first element in the collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Plugin.PluginCollection.Enumerator.Current">
+            <summary>
+            Gets the current element in the collection.
+            </summary>
+            <value>
+            The current element in the collection.
+            </value>
+        </member>
+        <member name="T:log4net.Plugin.PluginCollection.ReadOnlyPluginCollection">
+            <exclude/>
+        </member>
+        <member name="T:log4net.Plugin.PluginMap">
+            <summary>
+            Map of repository plugins.
+            </summary>
+            <remarks>
+            <para>
+            This class is a name keyed map of the plugins that are
+            attached to a repository.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Plugin.PluginMap.#ctor(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="repository">The repository that the plugins should be attached to.</param>
+            <remarks>
+            <para>
+            Initialize a new instance of the <see cref="T:log4net.Plugin.PluginMap"/> class with a 
+            repository that the plugins should be attached to.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.PluginMap.Add(log4net.Plugin.IPlugin)">
+            <summary>
+            Adds a <see cref="T:log4net.Plugin.IPlugin"/> to the map.
+            </summary>
+            <param name="plugin">The <see cref="T:log4net.Plugin.IPlugin"/> to add to the map.</param>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Plugin.IPlugin"/> will be attached to the repository when added.
+            </para>
+            <para>
+            If there already exists a plugin with the same name 
+            attached to the repository then the old plugin will
+            be <see cref="M:log4net.Plugin.IPlugin.Shutdown"/> and replaced with
+            the new plugin.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.PluginMap.Remove(log4net.Plugin.IPlugin)">
+            <summary>
+            Removes a <see cref="T:log4net.Plugin.IPlugin"/> from the map.
+            </summary>
+            <param name="plugin">The <see cref="T:log4net.Plugin.IPlugin"/> to remove from the map.</param>
+            <remarks>
+            <para>
+            Remove a specific plugin from this map.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Plugin.PluginMap.Item(System.String)">
+            <summary>
+            Gets a <see cref="T:log4net.Plugin.IPlugin"/> by name.
+            </summary>
+            <param name="name">The name of the <see cref="T:log4net.Plugin.IPlugin"/> to lookup.</param>
+            <returns>
+            The <see cref="T:log4net.Plugin.IPlugin"/> from the map with the name specified, or 
+            <c>null</c> if no plugin is found.
+            </returns>
+            <remarks>
+            <para>
+            Lookup a plugin by name. If the plugin is not found <c>null</c>
+            will be returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Plugin.PluginMap.AllPlugins">
+            <summary>
+            Gets all possible plugins as a list of <see cref="T:log4net.Plugin.IPlugin"/> objects.
+            </summary>
+            <value>All possible plugins as a list of <see cref="T:log4net.Plugin.IPlugin"/> objects.</value>
+            <remarks>
+            <para>
+            Get a collection of all the plugins defined in this map.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Plugin.PluginSkeleton">
+            <summary>
+            Base implementation of <see cref="T:log4net.Plugin.IPlugin"/>
+            </summary>
+            <remarks>
+            <para>
+            Default abstract implementation of the <see cref="T:log4net.Plugin.IPlugin"/>
+            interface. This base class can be used by implementors
+            of the <see cref="T:log4net.Plugin.IPlugin"/> interface.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Plugin.PluginSkeleton.#ctor(System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="name">the name of the plugin</param>
+            <remarks>
+            Initializes a new Plugin with the specified name.
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.PluginSkeleton.Attach(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Attaches this plugin to a <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </summary>
+            <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
+            <remarks>
+            <para>
+            A plugin may only be attached to a single repository.
+            </para>
+            <para>
+            This method is called when the plugin is attached to the repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.PluginSkeleton.Shutdown">
+            <summary>
+            Is called when the plugin is to shutdown.
+            </summary>
+            <remarks>
+            <para>
+            This method is called to notify the plugin that 
+            it should stop operating and should detach from
+            the repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Plugin.PluginSkeleton.m_name">
+            <summary>
+            The name of this plugin.
+            </summary>
+        </member>
+        <member name="F:log4net.Plugin.PluginSkeleton.m_repository">
+            <summary>
+            The repository this plugin is attached to.
+            </summary>
+        </member>
+        <member name="P:log4net.Plugin.PluginSkeleton.Name">
+            <summary>
+            Gets or sets the name of the plugin.
+            </summary>
+            <value>
+            The name of the plugin.
+            </value>
+            <remarks>
+            <para>
+            Plugins are stored in the <see cref="T:log4net.Plugin.PluginMap"/>
+            keyed by name. Each plugin instance attached to a
+            repository must be a unique name.
+            </para>
+            <para>
+            The name of the plugin must not change one the 
+            plugin has been attached to a repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Plugin.PluginSkeleton.LoggerRepository">
+            <summary>
+            The repository for this plugin
+            </summary>
+            <value>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin is attached to.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin is 
+            attached to.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Plugin.RemoteLoggingServerPlugin">
+            <summary>
+            Plugin that listens for events from the <see cref="T:log4net.Appender.RemotingAppender"/>
+            </summary>
+            <remarks>
+            <para>
+            This plugin publishes an instance of <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/> 
+            on a specified <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/>. This listens for logging events delivered from
+            a remote <see cref="T:log4net.Appender.RemotingAppender"/>.
+            </para>
+            <para>
+            When an event is received it is relogged within the attached repository
+            as if it had been raised locally.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin"/> class.
+            </para>
+            <para>
+            The <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/> property must be set.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.#ctor(System.String)">
+            <summary>
+            Construct with sink Uri.
+            </summary>
+            <param name="sinkUri">The name to publish the sink under in the remoting infrastructure. 
+            See <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/> for more details.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin"/> class
+            with specified name.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.Attach(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Attaches this plugin to a <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </summary>
+            <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
+            <remarks>
+            <para>
+            A plugin may only be attached to a single repository.
+            </para>
+            <para>
+            This method is called when the plugin is attached to the repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.Shutdown">
+            <summary>
+            Is called when the plugin is to shutdown.
+            </summary>
+            <remarks>
+            <para>
+            When the plugin is shutdown the remote logging
+            sink is disconnected.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri">
+            <summary>
+            Gets or sets the URI of this sink.
+            </summary>
+            <value>
+            The URI of this sink.
+            </value>
+            <remarks>
+            <para>
+            This is the name under which the object is marshaled.
+            <see cref="M:System.Runtime.Remoting.RemotingServices.Marshal(System.MarshalByRefObject,System.String,System.Type)"/>
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl">
+            <summary>
+            Delivers <see cref="T:log4net.Core.LoggingEvent"/> objects to a remote sink.
+            </summary>
+            <remarks>
+            <para>
+            Internal class used to listen for logging events
+            and deliver them to the local repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.#ctor(log4net.Repository.ILoggerRepository)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="repository">The repository to log to.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl"/> for the
+            specified <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.LogEvents(log4net.Core.LoggingEvent[])">
+            <summary>
+            Logs the events to the repository.
+            </summary>
+            <param name="events">The events to log.</param>
+            <remarks>
+            <para>
+            The events passed are logged to the <see cref="T:log4net.Repository.ILoggerRepository"/>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.InitializeLifetimeService">
+            <summary>
+            Obtains a lifetime service object to control the lifetime 
+            policy for this instance.
+            </summary>
+            <returns><c>null</c> to indicate that this instance should live forever.</returns>
+            <remarks>
+            <para>
+            Obtains a lifetime service object to control the lifetime 
+            policy for this instance. This object should live forever
+            therefore this implementation returns <c>null</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.m_repository">
+            <summary>
+            The underlying <see cref="T:log4net.Repository.ILoggerRepository"/> that events should
+            be logged to.
+            </summary>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.DefaultLoggerFactory">
+            <summary>
+            Default implementation of <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
+            </summary>
+            <remarks>
+            <para>
+            This default implementation of the <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
+            interface is used to create the default subclass
+            of the <see cref="T:log4net.Repository.Hierarchy.Logger"/> object.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.ILoggerFactory">
+            <summary>
+            Interface abstracts creation of <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances
+            </summary>
+            <remarks>
+            <para>
+            This interface is used by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to 
+            create new <see cref="T:log4net.Repository.Hierarchy.Logger"/> objects.
+            </para>
+            <para>
+            The <see cref="M:log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger(System.String)"/> method is called
+            to create a named <see cref="T:log4net.Repository.Hierarchy.Logger"/>.
+            </para>
+            <para>
+            Implement this interface to create new subclasses of <see cref="T:log4net.Repository.Hierarchy.Logger"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger(System.String)">
+            <summary>
+            Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance
+            </summary>
+            <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
+            <returns>The <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance for the specified name.</returns>
+            <remarks>
+            <para>
+            Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance with the 
+            specified name.
+            </para>
+            <para>
+            Called by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to create
+            new named <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances.
+            </para>
+            <para>
+            If the <paramref name="name"/> is <c>null</c> then the root logger
+            must be returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory"/> class. 
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.CreateLogger(System.String)">
+            <summary>
+            Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance
+            </summary>
+            <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
+            <returns>The <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance for the specified name.</returns>
+            <remarks>
+            <para>
+            Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance with the 
+            specified name.
+            </para>
+            <para>
+            Called by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to create
+            new named <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances.
+            </para>
+            <para>
+            If the <paramref name="name"/> is <c>null</c> then the root logger
+            must be returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl">
+            <summary>
+            Default internal subclass of <see cref="T:log4net.Repository.Hierarchy.Logger"/>
+            </summary>
+            <remarks>
+            <para>
+            This subclass has no additional behavior over the
+            <see cref="T:log4net.Repository.Hierarchy.Logger"/> class but does allow instances
+            to be created.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.Logger">
+            <summary>
+            Implementation of <see cref="T:log4net.Core.ILogger"/> used by <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>
+            </summary>
+            <remarks>
+            <para>
+            Internal class used to provide implementation of <see cref="T:log4net.Core.ILogger"/>
+            interface. Applications should use <see cref="T:log4net.LogManager"/> to get
+            logger instances.
+            </para>
+            <para>
+            This is one of the central classes in the log4net implementation. One of the
+            distinctive features of log4net are hierarchical loggers and their
+            evaluation. The <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/> organizes the <see cref="T:log4net.Repository.Hierarchy.Logger"/>
+            instances into a rooted tree hierarchy.
+            </para>
+            <para>
+            The <see cref="T:log4net.Repository.Hierarchy.Logger"/> class is abstract. Only concrete subclasses of
+            <see cref="T:log4net.Repository.Hierarchy.Logger"/> can be created. The <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
+            is used to create instances of this type for the <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Aspi Havewala</author>
+            <author>Douglas de la Torre</author>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.#ctor(System.String)">
+            <summary>
+            This constructor created a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance and
+            sets its name.
+            </summary>
+            <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
+            <remarks>
+            <para>
+            This constructor is protected and designed to be used by
+            a subclass that is not abstract.
+            </para>
+            <para>
+            Loggers are constructed by <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/> 
+            objects. See <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory"/> for the default
+            logger creator.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.AddAppender(log4net.Appender.IAppender)">
+            <summary>
+            Add <paramref name="newAppender"/> to the list of appenders of this
+            Logger instance.
+            </summary>
+            <param name="newAppender">An appender to add to this logger</param>
+            <remarks>
+            <para>
+            Add <paramref name="newAppender"/> to the list of appenders of this
+            Logger instance.
+            </para>
+            <para>
+            If <paramref name="newAppender"/> is already in the list of
+            appenders, then it won't be added again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.GetAppender(System.String)">
+            <summary>
+            Look for the appender named as <c>name</c>
+            </summary>
+            <param name="name">The name of the appender to lookup</param>
+            <returns>The appender with the name specified, or <c>null</c>.</returns>
+            <remarks>
+            <para>
+            Returns the named appender, or null if the appender is not found.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAllAppenders">
+            <summary>
+            Remove all previously added appenders from this Logger instance.
+            </summary>
+            <remarks>
+            <para>
+            Remove all previously added appenders from this Logger instance.
+            </para>
+            <para>
+            This is useful when re-reading configuration information.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAppender(log4net.Appender.IAppender)">
+            <summary>
+            Remove the appender passed as parameter form the list of appenders.
+            </summary>
+            <param name="appender">The appender to remove</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            <para>
+            Remove the appender passed as parameter form the list of appenders.
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAppender(System.String)">
+            <summary>
+            Remove the appender passed as parameter form the list of appenders.
+            </summary>
+            <param name="name">The name of the appender to remove</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            <para>
+            Remove the named appender passed as parameter form the list of appenders.
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.Log(System.Type,log4net.Core.Level,System.Object,System.Exception)">
+            <summary>
+            This generic form is intended to be used by wrappers.
+            </summary>
+            <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
+            the stack boundary into the logging system for this call.</param>
+            <param name="level">The level of the message to be logged.</param>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            Generate a logging event for the specified <paramref name="level"/> using
+            the <paramref name="message"/> and <paramref name="exception"/>.
+            </para>
+            <para>
+            This method must not throw any exception to the caller.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.Log(log4net.Core.LoggingEvent)">
+            <summary>
+            This is the most generic printing method that is intended to be used 
+            by wrappers.
+            </summary>
+            <param name="logEvent">The event being logged.</param>
+            <remarks>
+            <para>
+            Logs the specified logging event through this logger.
+            </para>
+            <para>
+            This method must not throw any exception to the caller.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.IsEnabledFor(log4net.Core.Level)">
+            <summary>
+            Checks if this logger is enabled for a given <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> passed as parameter.
+            </summary>
+            <param name="level">The level to check.</param>
+            <returns>
+            <c>true</c> if this logger is enabled for <c>level</c>, otherwise <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Test if this logger is going to log events of the specified <paramref name="level"/>.
+            </para>
+            <para>
+            This method must not throw any exception to the caller.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.CallAppenders(log4net.Core.LoggingEvent)">
+            <summary>
+            Deliver the <see cref="T:log4net.Core.LoggingEvent"/> to the attached appenders.
+            </summary>
+            <param name="loggingEvent">The event to log.</param>
+            <remarks>
+            <para>
+            Call the appenders in the hierarchy starting at
+            <c>this</c>. If no appenders could be found, emit a
+            warning.
+            </para>
+            <para>
+            This method calls all the appenders inherited from the
+            hierarchy circumventing any evaluation of whether to log or not
+            to log the particular log request.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.CloseNestedAppenders">
+            <summary>
+            Closes all attached appenders implementing the <see cref="T:log4net.Core.IAppenderAttachable"/> interface.
+            </summary>
+            <remarks>
+            <para>
+            Used to ensure that the appenders are correctly shutdown.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.Log(log4net.Core.Level,System.Object,System.Exception)">
+            <summary>
+            This is the most generic printing method. This generic form is intended to be used by wrappers
+            </summary>
+            <param name="level">The level of the message to be logged.</param>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            Generate a logging event for the specified <paramref name="level"/> using
+            the <paramref name="message"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.ForcedLog(System.Type,log4net.Core.Level,System.Object,System.Exception)">
+            <summary>
+            Creates a new logging event and logs the event without further checks.
+            </summary>
+            <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
+            the stack boundary into the logging system for this call.</param>
+            <param name="level">The level of the message to be logged.</param>
+            <param name="message">The message object to log.</param>
+            <param name="exception">The exception to log, including its stack trace.</param>
+            <remarks>
+            <para>
+            Generates a logging event and delivers it to the attached
+            appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Logger.ForcedLog(log4net.Core.LoggingEvent)">
+            <summary>
+            Creates a new logging event and logs the event without further checks.
+            </summary>
+            <param name="logEvent">The event being logged.</param>
+            <remarks>
+            <para>
+            Delivers the logging event to the attached appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.Logger.ThisDeclaringType">
+            <summary>
+            The fully qualified type of the Logger class.
+            </summary>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.Logger.m_name">
+            <summary>
+            The name of this logger.
+            </summary>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.Logger.m_level">
+            <summary>
+            The assigned level of this logger. 
+            </summary>
+            <remarks>
+            <para>
+            The <c>level</c> variable need not be 
+            assigned a value in which case it is inherited 
+            form the hierarchy.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.Logger.m_parent">
+            <summary>
+            The parent of this logger.
+            </summary>
+            <remarks>
+            <para>
+            The parent of this logger. 
+            All loggers have at least one ancestor which is the root logger.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.Logger.m_hierarchy">
+            <summary>
+            Loggers need to know what Hierarchy they are in.
+            </summary>
+            <remarks>
+            <para>
+            Loggers need to know what Hierarchy they are in.
+            The hierarchy that this logger is a member of is stored
+            here.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.Logger.m_appenderAttachedImpl">
+            <summary>
+            Helper implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
+            </summary>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.Logger.m_additive">
+            <summary>
+            Flag indicating if child loggers inherit their parents appenders
+            </summary>
+            <remarks>
+            <para>
+            Additivity is set to true by default, that is children inherit
+            the appenders of their ancestors by default. If this variable is
+            set to <c>false</c> then the appenders found in the
+            ancestors of this logger are not used. However, the children
+            of this logger will inherit its appenders, unless the children
+            have their additivity flag set to <c>false</c> too. See
+            the user manual for more details.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.Logger.m_appenderLock">
+            <summary>
+            Lock to protect AppenderAttachedImpl variable m_appenderAttachedImpl
+            </summary>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Logger.Parent">
+            <summary>
+            Gets or sets the parent logger in the hierarchy.
+            </summary>
+            <value>
+            The parent logger in the hierarchy.
+            </value>
+            <remarks>
+            <para>
+            Part of the Composite pattern that makes the hierarchy.
+            The hierarchy is parent linked rather than child linked.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Logger.Additivity">
+            <summary>
+            Gets or sets a value indicating if child loggers inherit their parent's appenders.
+            </summary>
+            <value>
+            <c>true</c> if child loggers inherit their parent's appenders.
+            </value>
+            <remarks>
+            <para>
+            Additivity is set to <c>true</c> by default, that is children inherit
+            the appenders of their ancestors by default. If this variable is
+            set to <c>false</c> then the appenders found in the
+            ancestors of this logger are not used. However, the children
+            of this logger will inherit its appenders, unless the children
+            have their additivity flag set to <c>false</c> too. See
+            the user manual for more details.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Logger.EffectiveLevel">
+            <summary>
+            Gets the effective level for this logger.
+            </summary>
+            <returns>The nearest level in the logger hierarchy.</returns>
+            <remarks>
+            <para>
+            Starting from this logger, searches the logger hierarchy for a
+            non-null level and returns it. Otherwise, returns the level of the
+            root logger.
+            </para>
+            <para>The Logger class is designed so that this method executes as
+            quickly as possible.</para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Logger.Hierarchy">
+            <summary>
+            Gets or sets the <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/> where this 
+            <c>Logger</c> instance is attached to.
+            </summary>
+            <value>The hierarchy that this logger belongs to.</value>
+            <remarks>
+            <para>
+            This logger must be attached to a single <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Logger.Level">
+            <summary>
+            Gets or sets the assigned <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/>, if any, for this Logger.  
+            </summary>
+            <value>
+            The <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> of this logger.
+            </value>
+            <remarks>
+            <para>
+            The assigned <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> can be <c>null</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Logger.Appenders">
+            <summary>
+            Get the appenders contained in this logger as an 
+            <see cref="T:System.Collections.ICollection"/>.
+            </summary>
+            <returns>A collection of the appenders in this logger</returns>
+            <remarks>
+            <para>
+            Get the appenders contained in this logger as an 
+            <see cref="T:System.Collections.ICollection"/>. If no appenders 
+            can be found, then a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Logger.Name">
+            <summary>
+            Gets the logger name.
+            </summary>
+            <value>
+            The name of the logger.
+            </value>
+            <remarks>
+            <para>
+            The name of this logger
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Logger.Repository">
+            <summary>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this 
+            <c>Logger</c> instance is attached to.
+            </summary>
+            <value>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> that this logger belongs to.
+            </value>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this 
+            <c>Logger</c> instance is attached to.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl.#ctor(System.String)">
+            <summary>
+            Construct a new Logger
+            </summary>
+            <param name="name">the name of the logger</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl"/> class
+            with the specified name. 
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.LoggerCreationEventHandler">
+            <summary>
+            Delegate used to handle logger creation event notifications.
+            </summary>
+            <param name="sender">The <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> in which the <see cref="T:log4net.Repository.Hierarchy.Logger"/> has been created.</param>
+            <param name="e">The <see cref="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs"/> event args that hold the <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance that has been created.</param>
+            <remarks>
+            <para>
+            Delegate used to handle logger creation event notifications.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs">
+            <summary>
+            Provides data for the <see cref="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent"/> event.
+            </summary>
+            <remarks>
+            <para>
+            A <see cref="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent"/> event is raised every time a
+            <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> is created.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.LoggerCreationEventArgs.m_log">
+            <summary>
+            The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> created
+            </summary>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.LoggerCreationEventArgs.#ctor(log4net.Repository.Hierarchy.Logger)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="log">The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs"/> event argument 
+            class,with the specified <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger">
+            <summary>
+            Gets the <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
+            </summary>
+            <value>
+            The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
+            </value>
+            <remarks>
+            <para>
+            The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.Hierarchy">
+            <summary>
+            Hierarchical organization of loggers
+            </summary>
+            <remarks>
+            <para>
+            <i>The casual user should not have to deal with this class
+            directly.</i>
+            </para>
+            <para>
+            This class is specialized in retrieving loggers by name and
+            also maintaining the logger hierarchy. Implements the 
+            <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
+            </para>
+            <para>
+            The structure of the logger hierarchy is maintained by the
+            <see cref="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String)"/> method. The hierarchy is such that children
+            link to their parent but parents do not have any references to their
+            children. Moreover, loggers can be instantiated in any order, in
+            particular descendant before ancestor.
+            </para>
+            <para>
+            In case a descendant is created before a particular ancestor,
+            then it creates a provision node for the ancestor and adds itself
+            to the provision node. Other descendants of the same ancestor add
+            themselves to the previously created provision node.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Repository.LoggerRepositorySkeleton">
+            <summary>
+            Base implementation of <see cref="T:log4net.Repository.ILoggerRepository"/>
+            </summary>
+            <remarks>
+            <para>
+            Default abstract implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
+            </para>
+            <para>
+            Skeleton implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
+            All <see cref="T:log4net.Repository.ILoggerRepository"/> types can extend this type.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Repository.ILoggerRepository">
+            <summary>
+            Interface implemented by logger repositories.
+            </summary>
+            <remarks>
+            <para>
+            This interface is implemented by logger repositories. e.g. 
+            <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
+            </para>
+            <para>
+            This interface is used by the <see cref="T:log4net.LogManager"/>
+            to obtain <see cref="T:log4net.ILog"/> interfaces.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Repository.ILoggerRepository.Exists(System.String)">
+            <summary>
+            Check if the named logger exists in the repository. If so return
+            its reference, otherwise returns <c>null</c>.
+            </summary>
+            <param name="name">The name of the logger to lookup</param>
+            <returns>The Logger object with the name specified</returns>
+            <remarks>
+            <para>
+            If the names logger exists it is returned, otherwise
+            <c>null</c> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.ILoggerRepository.GetCurrentLoggers">
+            <summary>
+            Returns all the currently defined loggers as an Array.
+            </summary>
+            <returns>All the defined loggers</returns>
+            <remarks>
+            <para>
+            Returns all the currently defined loggers as an Array.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.ILoggerRepository.GetLogger(System.String)">
+            <summary>
+            Returns a named logger instance
+            </summary>
+            <param name="name">The name of the logger to retrieve</param>
+            <returns>The logger object with the name specified</returns>
+            <remarks>
+            <para>
+            Returns a named logger instance.
+            </para>
+            <para>
+            If a logger of that name already exists, then it will be
+            returned.  Otherwise, a new logger will be instantiated and
+            then linked with its existing ancestors as well as children.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.ILoggerRepository.Shutdown">
+            <summary>Shutdown the repository</summary>
+            <remarks>
+            <para>
+            Shutting down a repository will <i>safely</i> close and remove
+            all appenders in all loggers including the root logger.
+            </para>
+            <para>
+            Some appenders need to be closed before the
+            application exists. Otherwise, pending logging events might be
+            lost.
+            </para>
+            <para>
+            The <see cref="M:log4net.Repository.ILoggerRepository.Shutdown"/> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.ILoggerRepository.ResetConfiguration">
+            <summary>
+            Reset the repositories configuration to a default state
+            </summary>
+            <remarks>
+            <para>
+            Reset all values contained in this instance to their
+            default state.
+            </para>
+            <para>
+            Existing loggers are not removed. They are just reset.
+            </para>
+            <para>
+            This method should be used sparingly and with care as it will
+            block all logging until it is completed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.ILoggerRepository.Log(log4net.Core.LoggingEvent)">
+            <summary>
+            Log the <see cref="T:log4net.Core.LoggingEvent"/> through this repository.
+            </summary>
+            <param name="logEvent">the event to log</param>
+            <remarks>
+            <para>
+            This method should not normally be used to log.
+            The <see cref="T:log4net.ILog"/> interface should be used 
+            for routine logging. This interface can be obtained
+            using the <see cref="M:log4net.LogManager.GetLogger(System.String)"/> method.
+            </para>
+            <para>
+            The <c>logEvent</c> is delivered to the appropriate logger and
+            that logger is then responsible for logging the event.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.ILoggerRepository.GetAppenders">
+            <summary>
+            Returns all the Appenders that are configured as an Array.
+            </summary>
+            <returns>All the Appenders</returns>
+            <remarks>
+            <para>
+            Returns all the Appenders that are configured as an Array.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.ILoggerRepository.Name">
+            <summary>
+            The name of the repository
+            </summary>
+            <value>
+            The name of the repository
+            </value>
+            <remarks>
+            <para>
+            The name of the repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.ILoggerRepository.RendererMap">
+            <summary>
+            RendererMap accesses the object renderer map for this repository.
+            </summary>
+            <value>
+            RendererMap accesses the object renderer map for this repository.
+            </value>
+            <remarks>
+            <para>
+            RendererMap accesses the object renderer map for this repository.
+            </para>
+            <para>
+            The RendererMap holds a mapping between types and
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> objects.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.ILoggerRepository.PluginMap">
+            <summary>
+            The plugin map for this repository.
+            </summary>
+            <value>
+            The plugin map for this repository.
+            </value>
+            <remarks>
+            <para>
+            The plugin map holds the <see cref="T:log4net.Plugin.IPlugin"/> instances
+            that have been attached to this repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.ILoggerRepository.LevelMap">
+            <summary>
+            Get the level map for the Repository.
+            </summary>
+            <remarks>
+            <para>
+            Get the level map for the Repository.
+            </para>
+            <para>
+            The level map defines the mappings between
+            level names and <see cref="T:log4net.Core.Level"/> objects in
+            this repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.ILoggerRepository.Threshold">
+            <summary>
+            The threshold for all events in this repository
+            </summary>
+            <value>
+            The threshold for all events in this repository
+            </value>
+            <remarks>
+            <para>
+            The threshold for all events in this repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.ILoggerRepository.Configured">
+            <summary>
+            Flag indicates if this repository has been configured.
+            </summary>
+            <value>
+            Flag indicates if this repository has been configured.
+            </value>
+            <remarks>
+            <para>
+            Flag indicates if this repository has been configured.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Repository.ILoggerRepository.ShutdownEvent">
+            <summary>
+            Event to notify that the repository has been shutdown.
+            </summary>
+            <value>
+            Event to notify that the repository has been shutdown.
+            </value>
+            <remarks>
+            <para>
+            Event raised when the repository has been shutdown.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Repository.ILoggerRepository.ConfigurationReset">
+            <summary>
+            Event to notify that the repository has had its configuration reset.
+            </summary>
+            <value>
+            Event to notify that the repository has had its configuration reset.
+            </value>
+            <remarks>
+            <para>
+            Event raised when the repository's configuration has been
+            reset to default.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Repository.ILoggerRepository.ConfigurationChanged">
+            <summary>
+            Event to notify that the repository has had its configuration changed.
+            </summary>
+            <value>
+            Event to notify that the repository has had its configuration changed.
+            </value>
+            <remarks>
+            <para>
+            Event raised when the repository's configuration has been changed.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.ILoggerRepository.Properties">
+            <summary>
+            Repository specific properties
+            </summary>
+            <value>
+            Repository specific properties
+            </value>
+            <remarks>
+            <para>
+            These properties can be specified on a repository specific basis.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.#ctor">
+            <summary>
+            Default Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes the repository with default (empty) properties.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.#ctor(log4net.Util.PropertiesDictionary)">
+            <summary>
+            Construct the repository using specific properties
+            </summary>
+            <param name="properties">the properties to set for this repository</param>
+            <remarks>
+            <para>
+            Initializes the repository with specified properties.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.Exists(System.String)">
+            <summary>
+            Test if logger exists
+            </summary>
+            <param name="name">The name of the logger to lookup</param>
+            <returns>The Logger object with the name specified</returns>
+            <remarks>
+            <para>
+            Check if the named logger exists in the repository. If so return
+            its reference, otherwise returns <c>null</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetCurrentLoggers">
+            <summary>
+            Returns all the currently defined loggers in the repository
+            </summary>
+            <returns>All the defined loggers</returns>
+            <remarks>
+            <para>
+            Returns all the currently defined loggers in the repository as an Array.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetLogger(System.String)">
+            <summary>
+            Return a new logger instance
+            </summary>
+            <param name="name">The name of the logger to retrieve</param>
+            <returns>The logger object with the name specified</returns>
+            <remarks>
+            <para>
+            Return a new logger instance.
+            </para>
+            <para>
+            If a logger of that name already exists, then it will be
+            returned. Otherwise, a new logger will be instantiated and
+            then linked with its existing ancestors as well as children.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.Shutdown">
+            <summary>
+            Shutdown the repository
+            </summary>
+            <remarks>
+            <para>
+            Shutdown the repository. Can be overridden in a subclass.
+            This base class implementation notifies the <see cref="E:log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent"/>
+            listeners and all attached plugins of the shutdown event.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.ResetConfiguration">
+            <summary>
+            Reset the repositories configuration to a default state
+            </summary>
+            <remarks>
+            <para>
+            Reset all values contained in this instance to their
+            default state.
+            </para>
+            <para>
+            Existing loggers are not removed. They are just reset.
+            </para>
+            <para>
+            This method should be used sparingly and with care as it will
+            block all logging until it is completed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.Log(log4net.Core.LoggingEvent)">
+            <summary>
+            Log the logEvent through this repository.
+            </summary>
+            <param name="logEvent">the event to log</param>
+            <remarks>
+            <para>
+            This method should not normally be used to log.
+            The <see cref="T:log4net.ILog"/> interface should be used 
+            for routine logging. This interface can be obtained
+            using the <see cref="M:log4net.LogManager.GetLogger(System.String)"/> method.
+            </para>
+            <para>
+            The <c>logEvent</c> is delivered to the appropriate logger and
+            that logger is then responsible for logging the event.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetAppenders">
+            <summary>
+            Returns all the Appenders that are configured as an Array.
+            </summary>
+            <returns>All the Appenders</returns>
+            <remarks>
+            <para>
+            Returns all the Appenders that are configured as an Array.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.AddRenderer(System.Type,log4net.ObjectRenderer.IObjectRenderer)">
+            <summary>
+            Adds an object renderer for a specific class. 
+            </summary>
+            <param name="typeToRender">The type that will be rendered by the renderer supplied.</param>
+            <param name="rendererInstance">The object renderer used to render the object.</param>
+            <remarks>
+            <para>
+            Adds an object renderer for a specific class. 
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnShutdown(System.EventArgs)">
+            <summary>
+            Notify the registered listeners that the repository is shutting down
+            </summary>
+            <param name="e">Empty EventArgs</param>
+            <remarks>
+            <para>
+            Notify any listeners that this repository is shutting down.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnConfigurationReset(System.EventArgs)">
+            <summary>
+            Notify the registered listeners that the repository has had its configuration reset
+            </summary>
+            <param name="e">Empty EventArgs</param>
+            <remarks>
+            <para>
+            Notify any listeners that this repository's configuration has been reset.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnConfigurationChanged(System.EventArgs)">
+            <summary>
+            Notify the registered listeners that the repository has had its configuration changed
+            </summary>
+            <param name="e">Empty EventArgs</param>
+            <remarks>
+            <para>
+            Notify any listeners that this repository's configuration has changed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.LoggerRepositorySkeleton.RaiseConfigurationChanged(System.EventArgs)">
+            <summary>
+            Raise a configuration changed event on this repository
+            </summary>
+            <param name="e">EventArgs.Empty</param>
+            <remarks>
+            <para>
+            Applications that programmatically change the configuration of the repository should
+            raise this event notification to notify listeners.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.LoggerRepositorySkeleton.Name">
+            <summary>
+            The name of the repository
+            </summary>
+            <value>
+            The string name of the repository
+            </value>
+            <remarks>
+            <para>
+            The name of this repository. The name is
+            used to store and lookup the repositories 
+            stored by the <see cref="T:log4net.Core.IRepositorySelector"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.LoggerRepositorySkeleton.Threshold">
+            <summary>
+            The threshold for all events in this repository
+            </summary>
+            <value>
+            The threshold for all events in this repository
+            </value>
+            <remarks>
+            <para>
+            The threshold for all events in this repository
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.LoggerRepositorySkeleton.RendererMap">
+            <summary>
+            RendererMap accesses the object renderer map for this repository.
+            </summary>
+            <value>
+            RendererMap accesses the object renderer map for this repository.
+            </value>
+            <remarks>
+            <para>
+            RendererMap accesses the object renderer map for this repository.
+            </para>
+            <para>
+            The RendererMap holds a mapping between types and
+            <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> objects.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.LoggerRepositorySkeleton.PluginMap">
+            <summary>
+            The plugin map for this repository.
+            </summary>
+            <value>
+            The plugin map for this repository.
+            </value>
+            <remarks>
+            <para>
+            The plugin map holds the <see cref="T:log4net.Plugin.IPlugin"/> instances
+            that have been attached to this repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.LoggerRepositorySkeleton.LevelMap">
+            <summary>
+            Get the level map for the Repository.
+            </summary>
+            <remarks>
+            <para>
+            Get the level map for the Repository.
+            </para>
+            <para>
+            The level map defines the mappings between
+            level names and <see cref="T:log4net.Core.Level"/> objects in
+            this repository.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.LoggerRepositorySkeleton.Configured">
+            <summary>
+            Flag indicates if this repository has been configured.
+            </summary>
+            <value>
+            Flag indicates if this repository has been configured.
+            </value>
+            <remarks>
+            <para>
+            Flag indicates if this repository has been configured.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent">
+            <summary>
+            Event to notify that the repository has been shutdown.
+            </summary>
+            <value>
+            Event to notify that the repository has been shutdown.
+            </value>
+            <remarks>
+            <para>
+            Event raised when the repository has been shutdown.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Repository.LoggerRepositorySkeleton.ConfigurationReset">
+            <summary>
+            Event to notify that the repository has had its configuration reset.
+            </summary>
+            <value>
+            Event to notify that the repository has had its configuration reset.
+            </value>
+            <remarks>
+            <para>
+            Event raised when the repository's configuration has been
+            reset to default.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Repository.LoggerRepositorySkeleton.ConfigurationChanged">
+            <summary>
+            Event to notify that the repository has had its configuration changed.
+            </summary>
+            <value>
+            Event to notify that the repository has had its configuration changed.
+            </value>
+            <remarks>
+            <para>
+            Event raised when the repository's configuration has been changed.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.LoggerRepositorySkeleton.Properties">
+            <summary>
+            Repository specific properties
+            </summary>
+            <value>
+            Repository specific properties
+            </value>
+            <remarks>
+            These properties can be specified on a repository specific basis
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.IBasicRepositoryConfigurator">
+            <summary>
+            Basic Configurator interface for repositories
+            </summary>
+            <remarks>
+            <para>
+            Interface used by basic configurator to configure a <see cref="T:log4net.Repository.ILoggerRepository"/>
+            with a default <see cref="T:log4net.Appender.IAppender"/>.
+            </para>
+            <para>
+            A <see cref="T:log4net.Repository.ILoggerRepository"/> should implement this interface to support
+            configuration by the <see cref="T:log4net.Config.BasicConfigurator"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender)">
+            <summary>
+            Initialize the repository using the specified appender
+            </summary>
+            <param name="appender">the appender to use to log all logging events</param>
+            <remarks>
+            <para>
+            Configure the repository to route all logging events to the
+            specified appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.IXmlRepositoryConfigurator">
+            <summary>
+            Configure repository using XML
+            </summary>
+            <remarks>
+            <para>
+            Interface used by Xml configurator to configure a <see cref="T:log4net.Repository.ILoggerRepository"/>.
+            </para>
+            <para>
+            A <see cref="T:log4net.Repository.ILoggerRepository"/> should implement this interface to support
+            configuration by the <see cref="T:log4net.Config.XmlConfigurator"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Repository.IXmlRepositoryConfigurator.Configure(System.Xml.XmlElement)">
+            <summary>
+            Initialize the repository using the specified config
+            </summary>
+            <param name="element">the element containing the root of the config</param>
+            <remarks>
+            <para>
+            The schema for the XML configuration data is defined by
+            the implementation.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Util.PropertiesDictionary)">
+            <summary>
+            Construct with properties
+            </summary>
+            <param name="properties">The properties to pass to this repository.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Repository.Hierarchy.ILoggerFactory)">
+            <summary>
+            Construct with a logger factory
+            </summary>
+            <param name="loggerFactory">The factory to use to create new logger instances.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class with 
+            the specified <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Util.PropertiesDictionary,log4net.Repository.Hierarchy.ILoggerFactory)">
+            <summary>
+            Construct with properties and a logger factory
+            </summary>
+            <param name="properties">The properties to pass to this repository.</param>
+            <param name="loggerFactory">The factory to use to create new logger instances.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class with 
+            the specified <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.Exists(System.String)">
+            <summary>
+            Test if a logger exists
+            </summary>
+            <param name="name">The name of the logger to lookup</param>
+            <returns>The Logger object with the name specified</returns>
+            <remarks>
+            <para>
+            Check if the named logger exists in the hierarchy. If so return
+            its reference, otherwise returns <c>null</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetCurrentLoggers">
+            <summary>
+            Returns all the currently defined loggers in the hierarchy as an Array
+            </summary>
+            <returns>All the defined loggers</returns>
+            <remarks>
+            <para>
+            Returns all the currently defined loggers in the hierarchy as an Array.
+            The root logger is <b>not</b> included in the returned
+            enumeration.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String)">
+            <summary>
+            Return a new logger instance named as the first parameter using
+            the default factory.
+            </summary>
+            <remarks>
+            <para>
+            Return a new logger instance named as the first parameter using
+            the default factory.
+            </para>
+            <para>
+            If a logger of that name already exists, then it will be
+            returned.  Otherwise, a new logger will be instantiated and
+            then linked with its existing ancestors as well as children.
+            </para>
+            </remarks>
+            <param name="name">The name of the logger to retrieve</param>
+            <returns>The logger object with the name specified</returns>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.Shutdown">
+            <summary>
+            Shutting down a hierarchy will <i>safely</i> close and remove
+            all appenders in all loggers including the root logger.
+            </summary>
+            <remarks>
+            <para>
+            Shutting down a hierarchy will <i>safely</i> close and remove
+            all appenders in all loggers including the root logger.
+            </para>
+            <para>
+            Some appenders need to be closed before the
+            application exists. Otherwise, pending logging events might be
+            lost.
+            </para>
+            <para>
+            The <c>Shutdown</c> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.ResetConfiguration">
+            <summary>
+            Reset all values contained in this hierarchy instance to their default.
+            </summary>
+            <remarks>
+            <para>
+            Reset all values contained in this hierarchy instance to their
+            default.  This removes all appenders from all loggers, sets
+            the level of all non-root loggers to <c>null</c>,
+            sets their additivity flag to <c>true</c> and sets the level
+            of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
+            message disabling is set its default "off" value.
+            </para>
+            <para>
+            Existing loggers are not removed. They are just reset.
+            </para>
+            <para>
+            This method should be used sparingly and with care as it will
+            block all logging until it is completed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.Log(log4net.Core.LoggingEvent)">
+            <summary>
+            Log the logEvent through this hierarchy.
+            </summary>
+            <param name="logEvent">the event to log</param>
+            <remarks>
+            <para>
+            This method should not normally be used to log.
+            The <see cref="T:log4net.ILog"/> interface should be used 
+            for routine logging. This interface can be obtained
+            using the <see cref="M:log4net.LogManager.GetLogger(System.String)"/> method.
+            </para>
+            <para>
+            The <c>logEvent</c> is delivered to the appropriate logger and
+            that logger is then responsible for logging the event.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetAppenders">
+            <summary>
+            Returns all the Appenders that are currently configured
+            </summary>
+            <returns>An array containing all the currently configured appenders</returns>
+            <remarks>
+            <para>
+            Returns all the <see cref="T:log4net.Appender.IAppender"/> instances that are currently configured.
+            All the loggers are searched for appenders. The appenders may also be containers
+            for appenders and these are also searched for additional loggers.
+            </para>
+            <para>
+            The list returned is unordered but does not contain duplicates.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.CollectAppender(System.Collections.ArrayList,log4net.Appender.IAppender)">
+            <summary>
+            Collect the appenders from an <see cref="T:log4net.Core.IAppenderAttachable"/>.
+            The appender may also be a container.
+            </summary>
+            <param name="appenderList"></param>
+            <param name="appender"></param>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.CollectAppenders(System.Collections.ArrayList,log4net.Core.IAppenderAttachable)">
+            <summary>
+            Collect the appenders from an <see cref="T:log4net.Core.IAppenderAttachable"/> container
+            </summary>
+            <param name="appenderList"></param>
+            <param name="container"></param>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IBasicRepositoryConfigurator#Configure(log4net.Appender.IAppender)">
+            <summary>
+            Initialize the log4net system using the specified appender
+            </summary>
+            <param name="appender">the appender to use to log all logging events</param>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.BasicRepositoryConfigure(log4net.Appender.IAppender)">
+            <summary>
+            Initialize the log4net system using the specified appender
+            </summary>
+            <param name="appender">the appender to use to log all logging events</param>
+            <remarks>
+            <para>
+            This method provides the same functionality as the 
+            <see cref="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender)"/> method implemented
+            on this object, but it is protected and therefore can be called by subclasses.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IXmlRepositoryConfigurator#Configure(System.Xml.XmlElement)">
+            <summary>
+            Initialize the log4net system using the specified config
+            </summary>
+            <param name="element">the element containing the root of the config</param>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.XmlRepositoryConfigure(System.Xml.XmlElement)">
+            <summary>
+            Initialize the log4net system using the specified config
+            </summary>
+            <param name="element">the element containing the root of the config</param>
+            <remarks>
+            <para>
+            This method provides the same functionality as the 
+            <see cref="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender)"/> method implemented
+            on this object, but it is protected and therefore can be called by subclasses.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.IsDisabled(log4net.Core.Level)">
+            <summary>
+            Test if this hierarchy is disabled for the specified <see cref="T:log4net.Core.Level"/>.
+            </summary>
+            <param name="level">The level to check against.</param>
+            <returns>
+            <c>true</c> if the repository is disabled for the level argument, <c>false</c> otherwise.
+            </returns>
+            <remarks>
+            <para>
+            If this hierarchy has not been configured then this method will
+            always return <c>true</c>.
+            </para>
+            <para>
+            This method will return <c>true</c> if this repository is
+            disabled for <c>level</c> object passed as parameter and
+            <c>false</c> otherwise.
+            </para>
+            <para>
+            See also the <see cref="P:log4net.Repository.ILoggerRepository.Threshold"/> property.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.Clear">
+            <summary>
+            Clear all logger definitions from the internal hashtable
+            </summary>
+            <remarks>
+            <para>
+            This call will clear all logger definitions from the internal
+            hashtable. Invoking this method will irrevocably mess up the
+            logger hierarchy.
+            </para>
+            <para>
+            You should <b>really</b> know what you are doing before
+            invoking this method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String,log4net.Repository.Hierarchy.ILoggerFactory)">
+            <summary>
+            Return a new logger instance named as the first parameter using
+            <paramref name="factory"/>.
+            </summary>
+            <param name="name">The name of the logger to retrieve</param>
+            <param name="factory">The factory that will make the new logger instance</param>
+            <returns>The logger object with the name specified</returns>
+            <remarks>
+            <para>
+            If a logger of that name already exists, then it will be
+            returned. Otherwise, a new logger will be instantiated by the
+            <paramref name="factory"/> parameter and linked with its existing
+            ancestors as well as children.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.OnLoggerCreationEvent(log4net.Repository.Hierarchy.Logger)">
+            <summary>
+            Sends a logger creation event to all registered listeners
+            </summary>
+            <param name="logger">The newly created logger</param>
+            <remarks>
+            Raises the logger creation event.
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.UpdateParents(log4net.Repository.Hierarchy.Logger)">
+            <summary>
+            Updates all the parents of the specified logger
+            </summary>
+            <param name="log">The logger to update the parents for</param>
+            <remarks>
+            <para>
+            This method loops through all the <i>potential</i> parents of
+            <paramref name="log"/>. There 3 possible cases:
+            </para>
+            <list type="number">
+            	<item>
+            		<term>No entry for the potential parent of <paramref name="log"/> exists</term>
+            		<description>
+            		We create a ProvisionNode for this potential 
+            		parent and insert <paramref name="log"/> in that provision node.
+            		</description>
+            	</item>
+            	<item>
+            		<term>The entry is of type Logger for the potential parent.</term>
+            		<description>
+            		The entry is <paramref name="log"/>'s nearest existing parent. We 
+            		update <paramref name="log"/>'s parent field with this entry. We also break from 
+            		he loop because updating our parent's parent is our parent's 
+            		responsibility.
+            		</description>
+            	</item>
+            	<item>
+            		<term>The entry is of type ProvisionNode for this potential parent.</term>
+            		<description>
+            		We add <paramref name="log"/> to the list of children for this 
+            		potential parent.
+            		</description>
+            	</item>
+            </list>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.UpdateChildren(log4net.Repository.Hierarchy.ProvisionNode,log4net.Repository.Hierarchy.Logger)">
+            <summary>
+            Replace a <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> with a <see cref="T:log4net.Repository.Hierarchy.Logger"/> in the hierarchy.
+            </summary>
+            <param name="pn"></param>
+            <param name="log"></param>
+            <remarks>
+            <para>
+            We update the links for all the children that placed themselves
+            in the provision node 'pn'. The second argument 'log' is a
+            reference for the newly created Logger, parent of all the
+            children in 'pn'.
+            </para>
+            <para>
+            We loop on all the children 'c' in 'pn'.
+            </para>
+            <para>
+            If the child 'c' has been already linked to a child of
+            'log' then there is no need to update 'c'.
+            </para>
+            <para>
+            Otherwise, we set log's parent field to c's parent and set
+            c's parent field to log.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.AddLevel(log4net.Repository.Hierarchy.Hierarchy.LevelEntry)">
+            <summary>
+            Define or redefine a Level using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
+            </summary>
+            <param name="levelEntry">the level values</param>
+            <remarks>
+            <para>
+            Define or redefine a Level using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
+            </para>
+            <para>
+            Supports setting levels via the configuration file.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.AddProperty(log4net.Repository.Hierarchy.Hierarchy.PropertyEntry)">
+            <summary>
+            Set a Property using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
+            </summary>
+            <param name="propertyEntry">the property value</param>
+            <remarks>
+            <para>
+            Set a Property using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument.
+            </para>
+            <para>
+            Supports setting property values via the configuration file.
+            </para>
+            </remarks>
+        </member>
+        <member name="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent">
+            <summary>
+            Event used to notify that a logger has been created.
+            </summary>
+            <remarks>
+            <para>
+            Event raised when a logger is created.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Hierarchy.EmittedNoAppenderWarning">
+            <summary>
+            Has no appender warning been emitted
+            </summary>
+            <remarks>
+            <para>
+            Flag to indicate if we have already issued a warning
+            about not having an appender warning.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Hierarchy.Root">
+            <summary>
+            Get the root of this hierarchy
+            </summary>
+            <remarks>
+            <para>
+            Get the root of this hierarchy.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Hierarchy.LoggerFactory">
+            <summary>
+            Gets or sets the default <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/> instance.
+            </summary>
+            <value>The default <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/></value>
+            <remarks>
+            <para>
+            The logger factory is used to create logger instances.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry">
+            <summary>
+            A class to hold the value, name and display name for a level
+            </summary>
+            <remarks>
+            <para>
+            A class to hold the value, name and display name for a level
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.ToString">
+            <summary>
+            Override <c>Object.ToString</c> to return sensible debug info
+            </summary>
+            <returns>string info about this object</returns>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.Value">
+            <summary>
+            Value of the level
+            </summary>
+            <remarks>
+            <para>
+            If the value is not set (defaults to -1) the value will be looked
+            up for the current level with the same name.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.Name">
+            <summary>
+            Name of the level
+            </summary>
+            <value>
+            The name of the level
+            </value>
+            <remarks>
+            <para>
+            The name of the level.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.DisplayName">
+            <summary>
+            Display name for the level
+            </summary>
+            <value>
+            The display name of the level
+            </value>
+            <remarks>
+            <para>
+            The display name of the level.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.Hierarchy.PropertyEntry">
+            <summary>
+            A class to hold the key and data for a property set in the config file
+            </summary>
+            <remarks>
+            <para>
+            A class to hold the key and data for a property set in the config file
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.Hierarchy.PropertyEntry.ToString">
+            <summary>
+            Override <c>Object.ToString</c> to return sensible debug info
+            </summary>
+            <returns>string info about this object</returns>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Hierarchy.PropertyEntry.Key">
+            <summary>
+            Property Key
+            </summary>
+            <value>
+            Property Key
+            </value>
+            <remarks>
+            <para>
+            Property Key.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.Hierarchy.PropertyEntry.Value">
+            <summary>
+            Property Value
+            </summary>
+            <value>
+            Property Value
+            </value>
+            <remarks>
+            <para>
+            Property Value.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.LoggerKey">
+            <summary>
+            Used internally to accelerate hash table searches.
+            </summary>
+            <remarks>
+            <para>
+            Internal class used to improve performance of 
+            string keyed hashtables.
+            </para>
+            <para>
+            The hashcode of the string is cached for reuse.
+            The string is stored as an interned value.
+            When comparing two <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> objects for equality 
+            the reference equality of the interned strings is compared.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.LoggerKey.#ctor(System.String)">
+            <summary>
+            Construct key with string name
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> class 
+            with the specified name.
+            </para>
+            <para>
+            Stores the hashcode of the string and interns
+            the string key to optimize comparisons.
+            </para>
+            <note>
+            The Compact Framework 1.0 the <see cref="M:System.String.Intern(System.String)"/>
+            method does not work. On the Compact Framework
+            the string keys are not interned nor are they
+            compared by reference.
+            </note>
+            </remarks>
+            <param name="name">The name of the logger.</param>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.LoggerKey.GetHashCode">
+            <summary>
+            Returns a hash code for the current instance.
+            </summary>
+            <returns>A hash code for the current instance.</returns>
+            <remarks>
+            <para>
+            Returns the cached hashcode.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.LoggerKey.Equals(System.Object)">
+            <summary>
+            Determines whether two <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> instances 
+            are equal.
+            </summary>
+            <param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/>.</param>
+            <returns>
+            <c>true</c> if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/>; otherwise, <c>false</c>.
+            </returns>
+            <remarks>
+            <para>
+            Compares the references of the interned strings.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.ProvisionNode">
+            <summary>
+            Provision nodes are used where no logger instance has been specified
+            </summary>
+            <remarks>
+            <para>
+            <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> instances are used in the 
+            <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> when there is no specified 
+            <see cref="T:log4net.Repository.Hierarchy.Logger"/> for that node.
+            </para>
+            <para>
+            A provision node holds a list of child loggers on behalf of
+            a logger that does not exist.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.ProvisionNode.#ctor(log4net.Repository.Hierarchy.Logger)">
+            <summary>
+            Create a new provision node with child node
+            </summary>
+            <param name="log">A child logger to add to this node.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> class 
+            with the specified child logger.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.RootLogger">
+            <summary>
+            The <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> sits at the root of the logger hierarchy tree. 
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> is a regular <see cref="T:log4net.Repository.Hierarchy.Logger"/> except 
+            that it provides several guarantees.
+            </para>
+            <para>
+            First, it cannot be assigned a <c>null</c>
+            level. Second, since the root logger cannot have a parent, the
+            <see cref="P:log4net.Repository.Hierarchy.RootLogger.EffectiveLevel"/> property always returns the value of the
+            level field without walking the hierarchy.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.RootLogger.#ctor(log4net.Core.Level)">
+            <summary>
+            Construct a <see cref="T:log4net.Repository.Hierarchy.RootLogger"/>
+            </summary>
+            <param name="level">The level to assign to the root logger.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> class with
+            the specified logging level.
+            </para>
+            <para>
+            The root logger names itself as "root". However, the root
+            logger cannot be retrieved by name.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.RootLogger.EffectiveLevel">
+            <summary>
+            Gets the assigned level value without walking the logger hierarchy.
+            </summary>
+            <value>The assigned level value without walking the logger hierarchy.</value>
+            <remarks>
+            <para>
+            Because the root logger cannot have a parent and its level
+            must not be <c>null</c> this property just returns the
+            value of <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Repository.Hierarchy.RootLogger.Level">
+            <summary>
+            Gets or sets the assigned <see cref="P:log4net.Repository.Hierarchy.RootLogger.Level"/> for the root logger.  
+            </summary>
+            <value>
+            The <see cref="P:log4net.Repository.Hierarchy.RootLogger.Level"/> of the root logger.
+            </value>
+            <remarks>
+            <para>
+            Setting the level of the root logger to a <c>null</c> reference
+            may have catastrophic results. We prevent this here.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.Hierarchy.XmlHierarchyConfigurator">
+            <summary>
+            Initializes the log4net environment using an XML DOM.
+            </summary>
+            <remarks>
+            <para>
+            Configures a <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> using an XML DOM.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.#ctor(log4net.Repository.Hierarchy.Hierarchy)">
+            <summary>
+            Construct the configurator for a hierarchy
+            </summary>
+            <param name="hierarchy">The hierarchy to build.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.XmlHierarchyConfigurator"/> class
+            with the specified <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.Configure(System.Xml.XmlElement)">
+            <summary>
+            Configure the hierarchy by parsing a DOM tree of XML elements.
+            </summary>
+            <param name="element">The root element to parse.</param>
+            <remarks>
+            <para>
+            Configure the hierarchy by parsing a DOM tree of XML elements.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindAppenderByReference(System.Xml.XmlElement)">
+            <summary>
+            Parse appenders by IDREF.
+            </summary>
+            <param name="appenderRef">The appender ref element.</param>
+            <returns>The instance of the appender that the ref refers to.</returns>
+            <remarks>
+            <para>
+            Parse an XML element that represents an appender and return 
+            the appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(System.Xml.XmlElement)">
+            <summary>
+            Parses an appender element.
+            </summary>
+            <param name="appenderElement">The appender element.</param>
+            <returns>The appender instance or <c>null</c> when parsing failed.</returns>
+            <remarks>
+            <para>
+            Parse an XML element that represents an appender and return
+            the appender instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLogger(System.Xml.XmlElement)">
+            <summary>
+            Parses a logger element.
+            </summary>
+            <param name="loggerElement">The logger element.</param>
+            <remarks>
+            <para>
+            Parse an XML element that represents a logger.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRoot(System.Xml.XmlElement)">
+            <summary>
+            Parses the root logger element.
+            </summary>
+            <param name="rootElement">The root element.</param>
+            <remarks>
+            <para>
+            Parse an XML element that represents the root logger.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseChildrenOfLoggerElement(System.Xml.XmlElement,log4net.Repository.Hierarchy.Logger,System.Boolean)">
+            <summary>
+            Parses the children of a logger element.
+            </summary>
+            <param name="catElement">The category element.</param>
+            <param name="log">The logger instance.</param>
+            <param name="isRoot">Flag to indicate if the logger is the root logger.</param>
+            <remarks>
+            <para>
+            Parse the child elements of a &lt;logger&gt; element.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRenderer(System.Xml.XmlElement)">
+            <summary>
+            Parses an object renderer.
+            </summary>
+            <param name="element">The renderer element.</param>
+            <remarks>
+            <para>
+            Parse an XML element that represents a renderer.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLevel(System.Xml.XmlElement,log4net.Repository.Hierarchy.Logger,System.Boolean)">
+            <summary>
+            Parses a level element.
+            </summary>
+            <param name="element">The level element.</param>
+            <param name="log">The logger object to set the level on.</param>
+            <param name="isRoot">Flag to indicate if the logger is the root logger.</param>
+            <remarks>
+            <para>
+            Parse an XML element that represents a level.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter(System.Xml.XmlElement,System.Object)">
+            <summary>
+            Sets a parameter on an object.
+            </summary>
+            <param name="element">The parameter element.</param>
+            <param name="target">The object to set the parameter on.</param>
+            <remarks>
+            The parameter name must correspond to a writable property
+            on the object. The value of the parameter is a string,
+            therefore this function will attempt to set a string
+            property first. If unable to set a string property it
+            will inspect the property and its argument type. It will
+            attempt to call a static method called <c>Parse</c> on the
+            type of the property. This method will take a single
+            string argument and return a value that can be used to
+            set the property.
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.HasAttributesOrElements(System.Xml.XmlElement)">
+            <summary>
+            Test if an element has no attributes or child elements
+            </summary>
+            <param name="element">the element to inspect</param>
+            <returns><c>true</c> if the element has any attributes or child elements, <c>false</c> otherwise</returns>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.IsTypeConstructible(System.Type)">
+            <summary>
+            Test if a <see cref="T:System.Type"/> is constructible with <c>Activator.CreateInstance</c>.
+            </summary>
+            <param name="type">the type to inspect</param>
+            <returns><c>true</c> if the type is creatable using a default constructor, <c>false</c> otherwise</returns>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindMethodInfo(System.Type,System.String)">
+            <summary>
+            Look for a method on the <paramref name="targetType"/> that matches the <paramref name="name"/> supplied
+            </summary>
+            <param name="targetType">the type that has the method</param>
+            <param name="name">the name of the method</param>
+            <returns>the method info found</returns>
+            <remarks>
+            <para>
+            The method must be a public instance method on the <paramref name="targetType"/>.
+            The method must be named <paramref name="name"/> or "Add" followed by <paramref name="name"/>.
+            The method must take a single parameter.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ConvertStringTo(System.Type,System.String)">
+            <summary>
+            Converts a string value to a target type.
+            </summary>
+            <param name="type">The type of object to convert the string to.</param>
+            <param name="value">The string value to use as the value of the object.</param>
+            <returns>
+            <para>
+            An object of type <paramref name="type"/> with value <paramref name="value"/> or 
+            <c>null</c> when the conversion could not be performed.
+            </para>
+            </returns>
+        </member>
+        <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml(System.Xml.XmlElement,System.Type,System.Type)">
+            <summary>
+            Creates an object as specified in XML.
+            </summary>
+            <param name="element">The XML element that contains the definition of the object.</param>
+            <param name="defaultTargetType">The object type to use if not explicitly specified.</param>
+            <param name="typeConstraint">The type that the returned object must be or must inherit from.</param>
+            <returns>The object or <c>null</c></returns>
+            <remarks>
+            <para>
+            Parse an XML element and create an object instance based on the configuration
+            data.
+            </para>
+            <para>
+            The type of the instance may be specified in the XML. If not
+            specified then the <paramref name="defaultTargetType"/> is used
+            as the type. However the type is specified it must support the
+            <paramref name="typeConstraint"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.m_appenderBag">
+            <summary>
+            key: appenderName, value: appender.
+            </summary>
+        </member>
+        <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.m_hierarchy">
+            <summary>
+            The Hierarchy being configured.
+            </summary>
+        </member>
+        <member name="T:log4net.Repository.LoggerRepositoryShutdownEventHandler">
+            <summary>
+            Delegate used to handle logger repository shutdown event notifications
+            </summary>
+            <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that is shutting down.</param>
+            <param name="e">Empty event args</param>
+            <remarks>
+            <para>
+            Delegate used to handle logger repository shutdown event notifications.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.LoggerRepositoryConfigurationResetEventHandler">
+            <summary>
+            Delegate used to handle logger repository configuration reset event notifications
+            </summary>
+            <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that has had its configuration reset.</param>
+            <param name="e">Empty event args</param>
+            <remarks>
+            <para>
+            Delegate used to handle logger repository configuration reset event notifications.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler">
+            <summary>
+            Delegate used to handle event notifications for logger repository configuration changes.
+            </summary>
+            <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that has had its configuration changed.</param>
+            <param name="e">Empty event arguments.</param>
+            <remarks>
+            <para>
+            Delegate used to handle event notifications for logger repository configuration changes.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.AppDomainPatternConverter">
+            <summary>
+            Write the name of the current AppDomain to the output
+            </summary>
+            <remarks>
+            <para>
+            Write the name of the current AppDomain to the output writer
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.AppDomainPatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the name of the current AppDomain to the output
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Writes name of the current AppDomain to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.DatePatternConverter">
+            <summary>
+            Write the current date to the output
+            </summary>
+            <remarks>
+            <para>
+            Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format 
+            the current date and time to the writer as a string.
+            </para>
+            <para>
+            The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines 
+            the formatting of the date. The following values are allowed:
+            <list type="definition">
+            	<listheader>
+            		<term>Option value</term>
+            		<description>Output</description>
+            	</listheader>
+            	<item>
+            		<term>ISO8601</term>
+            		<description>
+            		Uses the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> formatter. 
+            		Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
+            		</description>
+            	</item>
+            	<item>
+            		<term>DATE</term>
+            		<description>
+            		Uses the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> formatter. 
+            		Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
+            		</description>
+            	</item>
+            	<item>
+            		<term>ABSOLUTE</term>
+            		<description>
+            		Uses the <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/> formatter. 
+            		Formats using the <c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
+            		</description>
+            	</item>
+            	<item>
+            		<term>other</term>
+            		<description>
+            		Any other pattern string uses the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> formatter. 
+            		This formatter passes the pattern string to the <see cref="T:System.DateTime"/> 
+            		<see cref="M:System.DateTime.ToString(System.String)"/> method.
+            		For details on valid patterns see 
+            		<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
+            		</description>
+            	</item>
+            </list>
+            </para>
+            <para>
+            The date and time is in the local time zone and is rendered in that zone.
+            To output the time in Universal time see <see cref="T:log4net.Util.PatternStringConverters.UtcDatePatternConverter"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Util.PatternStringConverters.DatePatternConverter.m_dateFormatter">
+            <summary>
+            The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions">
+            <summary>
+            Initialize the converter options
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.DatePatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the current date to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Pass the current date and time to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
+            for it to render it to the writer.
+            </para>
+            <para>
+            The date and time passed is in the local time zone.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.EnvironmentPatternConverter">
+            <summary>
+            Write an environment variable to the output
+            </summary>
+            <remarks>
+            <para>
+            Write an environment variable to the output writer.
+            The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines 
+            the name of the variable to output.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.EnvironmentPatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write an environment variable to the output
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Writes the environment variable to the output <paramref name="writer"/>.
+            The name of the environment variable to output must be set
+            using the <see cref="P:log4net.Util.PatternConverter.Option"/>
+            property.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.IdentityPatternConverter">
+            <summary>
+            Write the current thread identity to the output
+            </summary>
+            <remarks>
+            <para>
+            Write the current thread identity to the output writer
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.IdentityPatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the current thread identity to the output
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Writes the current thread identity to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.LiteralPatternConverter">
+            <summary>
+            Pattern converter for literal string instances in the pattern
+            </summary>
+            <remarks>
+            <para>
+            Writes the literal string value specified in the 
+            <see cref="P:log4net.Util.PatternConverter.Option"/> property to 
+            the output.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.SetNext(log4net.Util.PatternConverter)">
+            <summary>
+            Set the next converter in the chain
+            </summary>
+            <param name="pc">The next pattern converter in the chain</param>
+            <returns>The next pattern converter</returns>
+            <remarks>
+            <para>
+            Special case the building of the pattern converter chain
+            for <see cref="T:log4net.Util.PatternStringConverters.LiteralPatternConverter"/> instances. Two adjacent
+            literals in the pattern can be represented by a single combined
+            pattern converter. This implementation detects when a 
+            <see cref="T:log4net.Util.PatternStringConverters.LiteralPatternConverter"/> is added to the chain
+            after this converter and combines its value with this converter's
+            literal value.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.Format(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the literal to the output
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="state">null, not set</param>
+            <remarks>
+            <para>
+            Override the formatting behavior to ignore the FormattingInfo
+            because we have a literal instead.
+            </para>
+            <para>
+            Writes the value of <see cref="P:log4net.Util.PatternConverter.Option"/>
+            to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Convert this pattern into the rendered message
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="state">null, not set</param>
+            <remarks>
+            <para>
+            This method is not used.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.NewLinePatternConverter">
+            <summary>
+            Writes a newline to the output
+            </summary>
+            <remarks>
+            <para>
+            Writes the system dependent line terminator to the output.
+            This behavior can be overridden by setting the <see cref="P:log4net.Util.PatternConverter.Option"/>:
+            </para>
+            <list type="definition">
+              <listheader>
+                <term>Option Value</term>
+                <description>Output</description>
+              </listheader>
+              <item>
+                <term>DOS</term>
+                <description>DOS or Windows line terminator <c>"\r\n"</c></description>
+              </item>
+              <item>
+                <term>UNIX</term>
+                <description>UNIX line terminator <c>"\n"</c></description>
+              </item>
+            </list>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions">
+            <summary>
+            Initialize the converter
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.ProcessIdPatternConverter">
+            <summary>
+            Write the current process ID to the output
+            </summary>
+            <remarks>
+            <para>
+            Write the current process ID to the output writer
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.ProcessIdPatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the current process ID to the output
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Write the current process ID to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.PropertyPatternConverter">
+            <summary>
+            Property pattern converter
+            </summary>
+            <remarks>
+            <para>
+            This pattern converter reads the thread and global properties.
+            The thread properties take priority over global properties.
+            See <see cref="P:log4net.ThreadContext.Properties"/> for details of the 
+            thread properties. See <see cref="P:log4net.GlobalContext.Properties"/> for
+            details of the global properties.
+            </para>
+            <para>
+            If the <see cref="P:log4net.Util.PatternConverter.Option"/> is specified then that will be used to
+            lookup a single property. If no <see cref="P:log4net.Util.PatternConverter.Option"/> is specified
+            then all properties will be dumped as a list of key value pairs.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.PropertyPatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the property value to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Writes out the value of a named property. The property name
+            should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
+            property.
+            </para>
+            <para>
+            If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
+            then all the properties are written as key value pairs.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.RandomStringPatternConverter">
+            <summary>
+            A Pattern converter that generates a string of random characters
+            </summary>
+            <remarks>
+            <para>
+            The converter generates a string of random characters. By default
+            the string is length 4. This can be changed by setting the <see cref="P:log4net.Util.PatternConverter.Option"/>
+            to the string value of the length required.
+            </para>
+            <para>
+            The random characters in the string are limited to uppercase letters
+            and numbers only.
+            </para>
+            <para>
+            The random number generator used by this class is not cryptographically secure.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.s_random">
+            <summary>
+            Shared random number generator
+            </summary>
+        </member>
+        <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.m_length">
+            <summary>
+            Length of random string to generate. Default length 4.
+            </summary>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions">
+            <summary>
+            Initialize the converter options
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write a randoim string to the output
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Write a randoim string to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.UserNamePatternConverter">
+            <summary>
+            Write the current threads username to the output
+            </summary>
+            <remarks>
+            <para>
+            Write the current threads username to the output writer
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.UserNamePatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the current threads username to the output
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Write the current threads username to the output <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternStringConverters.UtcDatePatternConverter">
+            <summary>
+            Write the UTC date time to the output
+            </summary>
+            <remarks>
+            <para>
+            Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format 
+            the current date and time in Universal time.
+            </para>
+            <para>
+            See the <see cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/> for details on the date pattern syntax.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.PatternStringConverters.UtcDatePatternConverter.Convert(System.IO.TextWriter,System.Object)">
+            <summary>
+            Write the current date and time to the output
+            </summary>
+            <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
+            <param name="state">null, state is not set</param>
+            <remarks>
+            <para>
+            Pass the current date and time to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
+            for it to render it to the writer.
+            </para>
+            <para>
+            The date is in Universal time when it is rendered.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.BooleanConverter">
+            <summary>
+            Type converter for Boolean.
+            </summary>
+            <remarks>
+            <para>
+            Supports conversion from string to <c>bool</c> type.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.BooleanConverter.CanConvertFrom(System.Type)">
+            <summary>
+            Can the source type be converted to the type supported by this object
+            </summary>
+            <param name="sourceType">the type to convert</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Returns <c>true</c> if the <paramref name="sourceType"/> is
+            the <see cref="T:System.String"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.BooleanConverter.ConvertFrom(System.Object)">
+            <summary>
+            Convert the source object to the type supported by this object
+            </summary>
+            <param name="source">the object to convert</param>
+            <returns>the converted object</returns>
+            <remarks>
+            <para>
+            Uses the <see cref="M:System.Boolean.Parse(System.String)"/> method to convert the
+            <see cref="T:System.String"/> argument to a <see cref="T:System.Boolean"/>.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
+            The <paramref name="source"/> object cannot be converted to the
+            target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.BooleanConverter.CanConvertFrom(System.Type)"/>
+            method.
+            </exception>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
+            <summary>
+            Exception base type for conversion errors.
+            </summary>
+            <remarks>
+            <para>
+            This type extends <see cref="T:System.ApplicationException"/>. It
+            does not add any new functionality but does differentiate the
+            type of exception being thrown.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="message">A message to include with the exception.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
+            with the specified message.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.String,System.Exception)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="message">A message to include with the exception.</param>
+            <param name="innerException">A nested exception to include.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
+            with the specified message and inner exception.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+            <summary>
+            Serialization constructor
+            </summary>
+            <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
+            <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class 
+            with serialized data.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.Create(System.Type,System.Object)">
+            <summary>
+            Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
+            </summary>
+            <param name="destinationType">The conversion destination type.</param>
+            <param name="sourceValue">The value to convert.</param>
+            <returns>An instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/>.</returns>
+            <remarks>
+            <para>
+            Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.Create(System.Type,System.Object,System.Exception)">
+            <summary>
+            Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
+            </summary>
+            <param name="destinationType">The conversion destination type.</param>
+            <param name="sourceValue">The value to convert.</param>
+            <param name="innerException">A nested exception to include.</param>
+            <returns>An instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/>.</returns>
+            <remarks>
+            <para>
+            Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.ConverterRegistry">
+            <summary>
+            Register of type converters for specific types.
+            </summary>
+            <remarks>
+            <para>
+            Maintains a registry of type converters used to convert between
+            types.
+            </para>
+            <para>
+            Use the <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Object)"/> and 
+            <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Type)"/> methods to register new converters.
+            The <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertTo(System.Type,System.Type)"/> and <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertFrom(System.Type)"/> methods
+            lookup appropriate converters to use.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConverterRegistry.#ctor">
+            <summary>
+            Private constructor
+            </summary>
+            <remarks>
+            Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConverterRegistry"/> class.
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConverterRegistry.#cctor">
+            <summary>
+            Static constructor.
+            </summary>
+            <remarks>
+            <para>
+            This constructor defines the intrinsic type converters.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Object)">
+            <summary>
+            Adds a converter for a specific type.
+            </summary>
+            <param name="destinationType">The type being converted to.</param>
+            <param name="converter">The type converter to use to convert to the destination type.</param>
+            <remarks>
+            <para>
+            Adds a converter instance for a specific type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Type)">
+            <summary>
+            Adds a converter for a specific type.
+            </summary>
+            <param name="destinationType">The type being converted to.</param>
+            <param name="converterType">The type of the type converter to use to convert to the destination type.</param>
+            <remarks>
+            <para>
+            Adds a converter <see cref="T:System.Type"/> for a specific type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertTo(System.Type,System.Type)">
+            <summary>
+            Gets the type converter to use to convert values to the destination type.
+            </summary>
+            <param name="sourceType">The type being converted from.</param>
+            <param name="destinationType">The type being converted to.</param>
+            <returns>
+            The type converter instance to use for type conversions or <c>null</c> 
+            if no type converter is found.
+            </returns>
+            <remarks>
+            <para>
+            Gets the type converter to use to convert values to the destination type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertFrom(System.Type)">
+            <summary>
+            Gets the type converter to use to convert values to the destination type.
+            </summary>
+            <param name="destinationType">The type being converted to.</param>
+            <returns>
+            The type converter instance to use for type conversions or <c>null</c> 
+            if no type converter is found.
+            </returns>
+            <remarks>
+            <para>
+            Gets the type converter to use to convert values to the destination type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConverterFromAttribute(System.Type)">
+            <summary>
+            Lookups the type converter to use as specified by the attributes on the 
+            destination type.
+            </summary>
+            <param name="destinationType">The type being converted to.</param>
+            <returns>
+            The type converter instance to use for type conversions or <c>null</c> 
+            if no type converter is found.
+            </returns>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.ConverterRegistry.CreateConverterInstance(System.Type)">
+            <summary>
+            Creates the instance of the type converter.
+            </summary>
+            <param name="converterType">The type of the type converter.</param>
+            <returns>
+            The type converter instance to use for type conversions or <c>null</c> 
+            if no type converter is found.
+            </returns>
+            <remarks>
+            <para>
+            The type specified for the type converter must implement 
+            the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/> or <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces 
+            and must have a public default (no argument) constructor.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.TypeConverters.ConverterRegistry.s_type2converter">
+            <summary>
+            Mapping from <see cref="T:System.Type"/> to type converter.
+            </summary>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.EncodingConverter">
+            <summary>
+            Supports conversion from string to <see cref="T:System.Text.Encoding"/> type.
+            </summary>
+            <remarks>
+            <para>
+            Supports conversion from string to <see cref="T:System.Text.Encoding"/> type.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.EncodingConverter.CanConvertFrom(System.Type)">
+            <summary>
+            Can the source type be converted to the type supported by this object
+            </summary>
+            <param name="sourceType">the type to convert</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Returns <c>true</c> if the <paramref name="sourceType"/> is
+            the <see cref="T:System.String"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.EncodingConverter.ConvertFrom(System.Object)">
+            <summary>
+            Overrides the ConvertFrom method of IConvertFrom.
+            </summary>
+            <param name="source">the object to convert to an encoding</param>
+            <returns>the encoding</returns>
+            <remarks>
+            <para>
+            Uses the <see cref="M:System.Text.Encoding.GetEncoding(System.String)"/> method to 
+            convert the <see cref="T:System.String"/> argument to an <see cref="T:System.Text.Encoding"/>.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
+            The <paramref name="source"/> object cannot be converted to the
+            target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.EncodingConverter.CanConvertFrom(System.Type)"/>
+            method.
+            </exception>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.IConvertTo">
+            <summary>
+            Interface supported by type converters
+            </summary>
+            <remarks>
+            <para>
+            This interface supports conversion from a single type to arbitrary types.
+            See <see cref="T:log4net.Util.TypeConverters.TypeConverterAttribute"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.IConvertTo.CanConvertTo(System.Type)">
+            <summary>
+            Returns whether this converter can convert the object to the specified type
+            </summary>
+            <param name="targetType">A Type that represents the type you want to convert to</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Test if the type supported by this converter can be converted to the
+            <paramref name="targetType"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.IConvertTo.ConvertTo(System.Object,System.Type)">
+            <summary>
+            Converts the given value object to the specified type, using the arguments
+            </summary>
+            <param name="source">the object to convert</param>
+            <param name="targetType">The Type to convert the value parameter to</param>
+            <returns>the converted object</returns>
+            <remarks>
+            <para>
+            Converts the <paramref name="source"/> (which must be of the type supported
+            by this converter) to the <paramref name="targetType"/> specified..
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.IPAddressConverter">
+            <summary>
+            Supports conversion from string to <see cref="T:System.Net.IPAddress"/> type.
+            </summary>
+            <remarks>
+            <para>
+            Supports conversion from string to <see cref="T:System.Net.IPAddress"/> type.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.IPAddressConverter.CanConvertFrom(System.Type)">
+            <summary>
+            Can the source type be converted to the type supported by this object
+            </summary>
+            <param name="sourceType">the type to convert</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Returns <c>true</c> if the <paramref name="sourceType"/> is
+            the <see cref="T:System.String"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.IPAddressConverter.ConvertFrom(System.Object)">
+            <summary>
+            Overrides the ConvertFrom method of IConvertFrom.
+            </summary>
+            <param name="source">the object to convert to an IPAddress</param>
+            <returns>the IPAddress</returns>
+            <remarks>
+            <para>
+            Uses the <see cref="M:System.Net.IPAddress.Parse(System.String)"/> method to convert the
+            <see cref="T:System.String"/> argument to an <see cref="T:System.Net.IPAddress"/>.
+            If that fails then the string is resolved as a DNS hostname.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
+            The <paramref name="source"/> object cannot be converted to the
+            target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.IPAddressConverter.CanConvertFrom(System.Type)"/>
+            method.
+            </exception>
+        </member>
+        <member name="F:log4net.Util.TypeConverters.IPAddressConverter.validIpAddressChars">
+            <summary>
+            Valid characters in an IPv4 or IPv6 address string. (Does not support subnets)
+            </summary>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.PatternLayoutConverter">
+            <summary>
+            Supports conversion from string to <see cref="T:log4net.Layout.PatternLayout"/> type.
+            </summary>
+            <remarks>
+            <para>
+            Supports conversion from string to <see cref="T:log4net.Layout.PatternLayout"/> type.
+            </para>
+            <para>
+            The string is used as the <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/> 
+            of the <see cref="T:log4net.Layout.PatternLayout"/>.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.PatternLayoutConverter.CanConvertFrom(System.Type)">
+            <summary>
+            Can the source type be converted to the type supported by this object
+            </summary>
+            <param name="sourceType">the type to convert</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Returns <c>true</c> if the <paramref name="sourceType"/> is
+            the <see cref="T:System.String"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.PatternLayoutConverter.ConvertFrom(System.Object)">
+            <summary>
+            Overrides the ConvertFrom method of IConvertFrom.
+            </summary>
+            <param name="source">the object to convert to a PatternLayout</param>
+            <returns>the PatternLayout</returns>
+            <remarks>
+            <para>
+            Creates and returns a new <see cref="T:log4net.Layout.PatternLayout"/> using
+            the <paramref name="source"/> <see cref="T:System.String"/> as the
+            <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/>.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
+            The <paramref name="source"/> object cannot be converted to the
+            target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.PatternLayoutConverter.CanConvertFrom(System.Type)"/>
+            method.
+            </exception>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.PatternStringConverter">
+            <summary>
+            Convert between string and <see cref="T:log4net.Util.PatternString"/>
+            </summary>
+            <remarks>
+            <para>
+            Supports conversion from string to <see cref="T:log4net.Util.PatternString"/> type, 
+            and from a <see cref="T:log4net.Util.PatternString"/> type to a string.
+            </para>
+            <para>
+            The string is used as the <see cref="P:log4net.Util.PatternString.ConversionPattern"/> 
+            of the <see cref="T:log4net.Util.PatternString"/>.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertTo(System.Type)">
+            <summary>
+            Can the target type be converted to the type supported by this object
+            </summary>
+            <param name="targetType">A <see cref="T:System.Type"/> that represents the type you want to convert to</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Returns <c>true</c> if the <paramref name="targetType"/> is
+            assignable from a <see cref="T:System.String"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.PatternStringConverter.ConvertTo(System.Object,System.Type)">
+            <summary>
+            Converts the given value object to the specified type, using the arguments
+            </summary>
+            <param name="source">the object to convert</param>
+            <param name="targetType">The Type to convert the value parameter to</param>
+            <returns>the converted object</returns>
+            <remarks>
+            <para>
+            Uses the <see cref="M:log4net.Util.PatternString.Format"/> method to convert the
+            <see cref="T:log4net.Util.PatternString"/> argument to a <see cref="T:System.String"/>.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
+            The <paramref name="source"/> object cannot be converted to the
+            <paramref name="targetType"/>. To check for this condition use the 
+            <see cref="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertTo(System.Type)"/> method.
+            </exception>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertFrom(System.Type)">
+            <summary>
+            Can the source type be converted to the type supported by this object
+            </summary>
+            <param name="sourceType">the type to convert</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Returns <c>true</c> if the <paramref name="sourceType"/> is
+            the <see cref="T:System.String"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.PatternStringConverter.ConvertFrom(System.Object)">
+            <summary>
+            Overrides the ConvertFrom method of IConvertFrom.
+            </summary>
+            <param name="source">the object to convert to a PatternString</param>
+            <returns>the PatternString</returns>
+            <remarks>
+            <para>
+            Creates and returns a new <see cref="T:log4net.Util.PatternString"/> using
+            the <paramref name="source"/> <see cref="T:System.String"/> as the
+            <see cref="P:log4net.Util.PatternString.ConversionPattern"/>.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
+            The <paramref name="source"/> object cannot be converted to the
+            target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertFrom(System.Type)"/>
+            method.
+            </exception>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.TypeConverter">
+            <summary>
+            Supports conversion from string to <see cref="T:System.Type"/> type.
+            </summary>
+            <remarks>
+            <para>
+            Supports conversion from string to <see cref="T:System.Type"/> type.
+            </para>
+            </remarks>
+            <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
+            <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.TypeConverter.CanConvertFrom(System.Type)">
+            <summary>
+            Can the source type be converted to the type supported by this object
+            </summary>
+            <param name="sourceType">the type to convert</param>
+            <returns>true if the conversion is possible</returns>
+            <remarks>
+            <para>
+            Returns <c>true</c> if the <paramref name="sourceType"/> is
+            the <see cref="T:System.String"/> type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.TypeConverter.ConvertFrom(System.Object)">
+            <summary>
+            Overrides the ConvertFrom method of IConvertFrom.
+            </summary>
+            <param name="source">the object to convert to a Type</param>
+            <returns>the Type</returns>
+            <remarks>
+            <para>
+            Uses the <see cref="M:System.Type.GetType(System.String,System.Boolean)"/> method to convert the
+            <see cref="T:System.String"/> argument to a <see cref="T:System.Type"/>.
+            Additional effort is made to locate partially specified types
+            by searching the loaded assemblies.
+            </para>
+            </remarks>
+            <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
+            The <paramref name="source"/> object cannot be converted to the
+            target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.TypeConverter.CanConvertFrom(System.Type)"/>
+            method.
+            </exception>
+        </member>
+        <member name="T:log4net.Util.TypeConverters.TypeConverterAttribute">
+            <summary>
+            Attribute used to associate a type converter
+            </summary>
+            <remarks>
+            <para>
+            Class and Interface level attribute that specifies a type converter
+            to use with the associated type.
+            </para>
+            <para>
+            To associate a type converter with a target type apply a
+            <c>TypeConverterAttribute</c> to the target type. Specify the
+            type of the type converter on the attribute.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Util.TypeConverters.TypeConverterAttribute.m_typeName">
+            <summary>
+            The string type name of the type converter
+            </summary>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor(System.String)">
+            <summary>
+            Create a new type converter attribute for the specified type name
+            </summary>
+            <param name="typeName">The string type name of the type converter</param>
+            <remarks>
+            <para>
+            The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/> 
+            or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor(System.Type)">
+            <summary>
+            Create a new type converter attribute for the specified type
+            </summary>
+            <param name="converterType">The type of the type converter</param>
+            <remarks>
+            <para>
+            The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/> 
+            or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.TypeConverters.TypeConverterAttribute.ConverterTypeName">
+            <summary>
+            The string type name of the type converter 
+            </summary>
+            <value>
+            The string type name of the type converter 
+            </value>
+            <remarks>
+            <para>
+            The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/> 
+            or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.AppenderAttachedImpl">
+            <summary>
+            A straightforward implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface.
+            </summary>
+            <remarks>
+            <para>
+            This is the default implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/>
+            interface. Implementors of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
+            should aggregate an instance of this type.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.AppenderAttachedImpl"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent)">
+            <summary>
+            Append on on all attached appenders.
+            </summary>
+            <param name="loggingEvent">The event being logged.</param>
+            <returns>The number of appenders called.</returns>
+            <remarks>
+            <para>
+            Calls the <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method on all 
+            attached appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent[])">
+            <summary>
+            Append on on all attached appenders.
+            </summary>
+            <param name="loggingEvents">The array of events being logged.</param>
+            <returns>The number of appenders called.</returns>
+            <remarks>
+            <para>
+            Calls the <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method on all 
+            attached appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.CallAppend(log4net.Appender.IAppender,log4net.Core.LoggingEvent[])">
+            <summary>
+            Calls the DoAppende method on the <see cref="T:log4net.Appender.IAppender"/> with 
+            the <see cref="T:log4net.Core.LoggingEvent"/> objects supplied.
+            </summary>
+            <param name="appender">The appender</param>
+            <param name="loggingEvents">The events</param>
+            <remarks>
+            <para>
+            If the <paramref name="appender"/> supports the <see cref="T:log4net.Appender.IBulkAppender"/>
+            interface then the <paramref name="loggingEvents"/> will be passed 
+            through using that interface. Otherwise the <see cref="T:log4net.Core.LoggingEvent"/>
+            objects in the array will be passed one at a time.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.AddAppender(log4net.Appender.IAppender)">
+            <summary>
+            Attaches an appender.
+            </summary>
+            <param name="newAppender">The appender to add.</param>
+            <remarks>
+            <para>
+            If the appender is already in the list it won't be added again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.GetAppender(System.String)">
+            <summary>
+            Gets an attached appender with the specified name.
+            </summary>
+            <param name="name">The name of the appender to get.</param>
+            <returns>
+            The appender with the name specified, or <c>null</c> if no appender with the
+            specified name is found.
+            </returns>
+            <remarks>
+            <para>
+            Lookup an attached appender by name.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAllAppenders">
+            <summary>
+            Removes all attached appenders.
+            </summary>
+            <remarks>
+            <para>
+            Removes and closes all attached appenders
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAppender(log4net.Appender.IAppender)">
+            <summary>
+            Removes the specified appender from the list of attached appenders.
+            </summary>
+            <param name="appender">The appender to remove.</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            <para>
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAppender(System.String)">
+            <summary>
+            Removes the appender with the specified name from the list of appenders.
+            </summary>
+            <param name="name">The name of the appender to remove.</param>
+            <returns>The appender removed from the list</returns>
+            <remarks>
+            <para>
+            The appender removed is not closed.
+            If you are discarding the appender you must call
+            <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.AppenderAttachedImpl.m_appenderList">
+            <summary>
+            List of appenders
+            </summary>
+        </member>
+        <member name="F:log4net.Util.AppenderAttachedImpl.m_appenderArray">
+            <summary>
+            Array of appenders, used to cache the m_appenderList
+            </summary>
+        </member>
+        <member name="P:log4net.Util.AppenderAttachedImpl.Appenders">
+            <summary>
+            Gets all attached appenders.
+            </summary>
+            <returns>
+            A collection of attached appenders, or <c>null</c> if there
+            are no attached appenders.
+            </returns>
+            <remarks>
+            <para>
+            The read only collection of all currently attached appenders.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.CompositeProperties">
+            <summary>
+            This class aggregates several PropertiesDictionary collections together.
+            </summary>
+            <remarks>
+            <para>
+            Provides a dictionary style lookup over an ordered list of
+            <see cref="T:log4net.Util.PropertiesDictionary"/> collections.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.CompositeProperties.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.CompositeProperties"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CompositeProperties.Add(log4net.Util.ReadOnlyPropertiesDictionary)">
+            <summary>
+            Add a Properties Dictionary to this composite collection
+            </summary>
+            <param name="properties">the properties to add</param>
+            <remarks>
+            <para>
+            Properties dictionaries added first take precedence over dictionaries added
+            later.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CompositeProperties.Flatten">
+            <summary>
+            Flatten this composite collection into a single properties dictionary
+            </summary>
+            <returns>the flattened dictionary</returns>
+            <remarks>
+            <para>
+            Reduces the collection of ordered dictionaries to a single dictionary
+            containing the resultant values for the keys.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.CompositeProperties.Item(System.String)">
+            <summary>
+            Gets the value of a property
+            </summary>
+            <value>
+            The value for the property with the specified key
+            </value>
+            <remarks>
+            <para>
+            Looks up the value for the <paramref name="key"/> specified.
+            The <see cref="T:log4net.Util.PropertiesDictionary"/> collections are searched
+            in the order in which they were added to this collection. The value
+            returned is the value held by the first collection that contains
+            the specified key.
+            </para>
+            <para>
+            If none of the collections contain the specified key then
+            <c>null</c> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.ContextPropertiesBase">
+            <summary>
+            Base class for Context Properties implementations
+            </summary>
+            <remarks>
+            <para>
+            This class defines a basic property get set accessor
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="P:log4net.Util.ContextPropertiesBase.Item(System.String)">
+            <summary>
+            Gets or sets the value of a property
+            </summary>
+            <value>
+            The value for the property with the specified key
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the value of a property
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.CountingQuietTextWriter">
+            <summary>
+            Subclass of <see cref="T:log4net.Util.QuietTextWriter"/> that maintains a count of 
+            the number of bytes written.
+            </summary>
+            <remarks>
+            <para>
+            This writer counts the number of bytes written.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Util.QuietTextWriter">
+            <summary>
+            <see cref="T:System.IO.TextWriter"/> that does not leak exceptions
+            </summary>
+            <remarks>
+            <para>
+            <see cref="T:log4net.Util.QuietTextWriter"/> does not throw exceptions when things go wrong. 
+            Instead, it delegates error handling to its <see cref="T:log4net.Core.IErrorHandler"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Util.TextWriterAdapter">
+            <summary>
+            Adapter that extends <see cref="T:System.IO.TextWriter"/> and forwards all
+            messages to an instance of <see cref="T:System.IO.TextWriter"/>.
+            </summary>
+            <remarks>
+            <para>
+            Adapter that extends <see cref="T:System.IO.TextWriter"/> and forwards all
+            messages to an instance of <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Util.TextWriterAdapter.m_writer">
+            <summary>
+            The writer to forward messages to
+            </summary>
+        </member>
+        <member name="M:log4net.Util.TextWriterAdapter.#ctor(System.IO.TextWriter)">
+            <summary>
+            Create an instance of <see cref="T:log4net.Util.TextWriterAdapter"/> that forwards all
+            messages to a <see cref="T:System.IO.TextWriter"/>.
+            </summary>
+            <param name="writer">The <see cref="T:System.IO.TextWriter"/> to forward to</param>
+            <remarks>
+            <para>
+            Create an instance of <see cref="T:log4net.Util.TextWriterAdapter"/> that forwards all
+            messages to a <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TextWriterAdapter.Close">
+            <summary>
+            Closes the writer and releases any system resources associated with the writer
+            </summary>
+            <remarks>
+            <para>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TextWriterAdapter.Dispose(System.Boolean)">
+            <summary>
+            Dispose this writer
+            </summary>
+            <param name="disposing">flag indicating if we are being disposed</param>
+            <remarks>
+            <para>
+            Dispose this writer
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TextWriterAdapter.Flush">
+            <summary>
+            Flushes any buffered output
+            </summary>
+            <remarks>
+            <para>
+            Clears all buffers for the writer and causes any buffered data to be written 
+            to the underlying device
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TextWriterAdapter.Write(System.Char)">
+            <summary>
+            Writes a character to the wrapped TextWriter
+            </summary>
+            <param name="value">the value to write to the TextWriter</param>
+            <remarks>
+            <para>
+            Writes a character to the wrapped TextWriter
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TextWriterAdapter.Write(System.Char[],System.Int32,System.Int32)">
+            <summary>
+            Writes a character buffer to the wrapped TextWriter
+            </summary>
+            <param name="buffer">the data buffer</param>
+            <param name="index">the start index</param>
+            <param name="count">the number of characters to write</param>
+            <remarks>
+            <para>
+            Writes a character buffer to the wrapped TextWriter
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.TextWriterAdapter.Write(System.String)">
+            <summary>
+            Writes a string to the wrapped TextWriter
+            </summary>
+            <param name="value">the value to write to the TextWriter</param>
+            <remarks>
+            <para>
+            Writes a string to the wrapped TextWriter
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.TextWriterAdapter.Writer">
+            <summary>
+            Gets or sets the underlying <see cref="T:System.IO.TextWriter"/>.
+            </summary>
+            <value>
+            The underlying <see cref="T:System.IO.TextWriter"/>.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the underlying <see cref="T:System.IO.TextWriter"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.TextWriterAdapter.Encoding">
+            <summary>
+            The Encoding in which the output is written
+            </summary>
+            <value>
+            The <see cref="P:log4net.Util.TextWriterAdapter.Encoding"/>
+            </value>
+            <remarks>
+            <para>
+            The Encoding in which the output is written
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.TextWriterAdapter.FormatProvider">
+            <summary>
+            Gets an object that controls formatting
+            </summary>
+            <value>
+            The format provider
+            </value>
+            <remarks>
+            <para>
+            Gets an object that controls formatting
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.TextWriterAdapter.NewLine">
+            <summary>
+            Gets or sets the line terminator string used by the TextWriter
+            </summary>
+            <value>
+            The line terminator to use
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the line terminator string used by the TextWriter
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.QuietTextWriter.#ctor(System.IO.TextWriter,log4net.Core.IErrorHandler)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="writer">the writer to actually write to</param>
+            <param name="errorHandler">the error handler to report error to</param>
+            <remarks>
+            <para>
+            Create a new QuietTextWriter using a writer and error handler
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.QuietTextWriter.Write(System.Char)">
+            <summary>
+            Writes a character to the underlying writer
+            </summary>
+            <param name="value">the char to write</param>
+            <remarks>
+            <para>
+            Writes a character to the underlying writer
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.QuietTextWriter.Write(System.Char[],System.Int32,System.Int32)">
+            <summary>
+            Writes a buffer to the underlying writer
+            </summary>
+            <param name="buffer">the buffer to write</param>
+            <param name="index">the start index to write from</param>
+            <param name="count">the number of characters to write</param>
+            <remarks>
+            <para>
+            Writes a buffer to the underlying writer
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.QuietTextWriter.Write(System.String)">
+            <summary>
+            Writes a string to the output.
+            </summary>
+            <param name="value">The string data to write to the output.</param>
+            <remarks>
+            <para>
+            Writes a string to the output.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.QuietTextWriter.Close">
+            <summary>
+            Closes the underlying output writer.
+            </summary>
+            <remarks>
+            <para>
+            Closes the underlying output writer.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.QuietTextWriter.m_errorHandler">
+            <summary>
+            The error handler instance to pass all errors to
+            </summary>
+        </member>
+        <member name="F:log4net.Util.QuietTextWriter.m_closed">
+            <summary>
+            Flag to indicate if this writer is closed
+            </summary>
+        </member>
+        <member name="P:log4net.Util.QuietTextWriter.ErrorHandler">
+            <summary>
+            Gets or sets the error handler that all errors are passed to.
+            </summary>
+            <value>
+            The error handler that all errors are passed to.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the error handler that all errors are passed to.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.QuietTextWriter.Closed">
+            <summary>
+            Gets a value indicating whether this writer is closed.
+            </summary>
+            <value>
+            <c>true</c> if this writer is closed, otherwise <c>false</c>.
+            </value>
+            <remarks>
+            <para>
+            Gets a value indicating whether this writer is closed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CountingQuietTextWriter.#ctor(System.IO.TextWriter,log4net.Core.IErrorHandler)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="writer">The <see cref="T:System.IO.TextWriter"/> to actually write to.</param>
+            <param name="errorHandler">The <see cref="T:log4net.Core.IErrorHandler"/> to report errors to.</param>
+            <remarks>
+            <para>
+            Creates a new instance of the <see cref="T:log4net.Util.CountingQuietTextWriter"/> class 
+            with the specified <see cref="T:System.IO.TextWriter"/> and <see cref="T:log4net.Core.IErrorHandler"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.Char)">
+            <summary>
+            Writes a character to the underlying writer and counts the number of bytes written.
+            </summary>
+            <param name="value">the char to write</param>
+            <remarks>
+            <para>
+            Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
+            the number of bytes written.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.Char[],System.Int32,System.Int32)">
+            <summary>
+            Writes a buffer to the underlying writer and counts the number of bytes written.
+            </summary>
+            <param name="buffer">the buffer to write</param>
+            <param name="index">the start index to write from</param>
+            <param name="count">the number of characters to write</param>
+            <remarks>
+            <para>
+            Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
+            the number of bytes written.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.String)">
+            <summary>
+            Writes a string to the output and counts the number of bytes written.
+            </summary>
+            <param name="str">The string data to write to the output.</param>
+            <remarks>
+            <para>
+            Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
+            the number of bytes written.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.CountingQuietTextWriter.m_countBytes">
+            <summary>
+            Total number of bytes written.
+            </summary>
+        </member>
+        <member name="P:log4net.Util.CountingQuietTextWriter.Count">
+            <summary>
+            Gets or sets the total number of bytes written.
+            </summary>
+            <value>
+            The total number of bytes written.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the total number of bytes written.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.CyclicBuffer">
+            <summary>
+            A fixed size rolling buffer of logging events.
+            </summary>
+            <remarks>
+            <para>
+            An array backed fixed size leaky bucket.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.CyclicBuffer.#ctor(System.Int32)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="maxSize">The maximum number of logging events in the buffer.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.CyclicBuffer"/> class with 
+            the specified maximum number of buffered logging events.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="maxSize"/> argument is not a positive integer.</exception>
+        </member>
+        <member name="M:log4net.Util.CyclicBuffer.Append(log4net.Core.LoggingEvent)">
+            <summary>
+            Appends a <paramref name="loggingEvent"/> to the buffer.
+            </summary>
+            <param name="loggingEvent">The event to append to the buffer.</param>
+            <returns>The event discarded from the buffer, if the buffer is full, otherwise <c>null</c>.</returns>
+            <remarks>
+            <para>
+            Append an event to the buffer. If the buffer still contains free space then
+            <c>null</c> is returned. If the buffer is full then an event will be dropped
+            to make space for the new event, the event dropped is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CyclicBuffer.PopOldest">
+            <summary>
+            Get and remove the oldest event in the buffer.
+            </summary>
+            <returns>The oldest logging event in the buffer</returns>
+            <remarks>
+            <para>
+            Gets the oldest (first) logging event in the buffer and removes it 
+            from the buffer.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CyclicBuffer.PopAll">
+            <summary>
+            Pops all the logging events from the buffer into an array.
+            </summary>
+            <returns>An array of all the logging events in the buffer.</returns>
+            <remarks>
+            <para>
+            Get all the events in the buffer and clear the buffer.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.CyclicBuffer.Clear">
+            <summary>
+            Clear the buffer
+            </summary>
+            <remarks>
+            <para>
+            Clear the buffer of all events. The events in the buffer are lost.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.CyclicBuffer.Item(System.Int32)">
+            <summary>
+            Gets the <paramref name="i"/>th oldest event currently in the buffer.
+            </summary>
+            <value>The <paramref name="i"/>th oldest event currently in the buffer.</value>
+            <remarks>
+            <para>
+            If <paramref name="i"/> is outside the range 0 to the number of events
+            currently in the buffer, then <c>null</c> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.CyclicBuffer.MaxSize">
+            <summary>
+            Gets the maximum size of the buffer.
+            </summary>
+            <value>The maximum size of the buffer.</value>
+            <remarks>
+            <para>
+            Gets the maximum size of the buffer
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.CyclicBuffer.Length">
+            <summary>
+            Gets the number of logging events in the buffer.
+            </summary>
+            <value>The number of logging events in the buffer.</value>
+            <remarks>
+            <para>
+            This number is guaranteed to be in the range 0 to <see cref="P:log4net.Util.CyclicBuffer.MaxSize"/>
+            (inclusive).
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.EmptyCollection">
+            <summary>
+            An always empty <see cref="T:System.Collections.ICollection"/>.
+            </summary>
+            <remarks>
+            <para>
+            A singleton implementation of the <see cref="T:System.Collections.ICollection"/>
+            interface that always represents an empty collection.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.EmptyCollection.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Util.EmptyCollection"/> class. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to enforce the singleton pattern.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.EmptyCollection.CopyTo(System.Array,System.Int32)">
+            <summary>
+            Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an 
+            <see cref="T:System.Array"/>, starting at a particular Array index.
+            </summary>
+            <param name="array">The one-dimensional <see cref="T:System.Array"/> 
+            that is the destination of the elements copied from 
+            <see cref="T:System.Collections.ICollection"/>. The Array must have zero-based 
+            indexing.</param>
+            <param name="index">The zero-based index in array at which 
+            copying begins.</param>
+            <remarks>
+            <para>
+            As the collection is empty no values are copied into the array.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.EmptyCollection.GetEnumerator">
+            <summary>
+            Returns an enumerator that can iterate through a collection.
+            </summary>
+            <returns>
+            An <see cref="T:System.Collections.IEnumerator"/> that can be used to 
+            iterate through the collection.
+            </returns>
+            <remarks>
+            <para>
+            As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.EmptyCollection.s_instance">
+            <summary>
+            The singleton instance of the empty collection.
+            </summary>
+        </member>
+        <member name="P:log4net.Util.EmptyCollection.Instance">
+            <summary>
+            Gets the singleton instance of the empty collection.
+            </summary>
+            <returns>The singleton instance of the empty collection.</returns>
+            <remarks>
+            <para>
+            Gets the singleton instance of the empty collection.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyCollection.IsSynchronized">
+            <summary>
+            Gets a value indicating if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe).
+            </summary>
+            <value>
+            <b>true</b> if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe); otherwise, <b>false</b>.
+            </value>
+            <remarks>
+            <para>
+            For the <see cref="T:log4net.Util.EmptyCollection"/> this property is always <c>true</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyCollection.Count">
+            <summary>
+            Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
+            </summary>
+            <value>
+            The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
+            </value>
+            <remarks>
+            <para>
+            As the collection is empty the <see cref="P:log4net.Util.EmptyCollection.Count"/> is always <c>0</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyCollection.SyncRoot">
+            <summary>
+            Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
+            </summary>
+            <value>
+            An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
+            </value>
+            <remarks>
+            <para>
+            As the collection is empty and thread safe and synchronized this instance is also
+            the <see cref="P:log4net.Util.EmptyCollection.SyncRoot"/> object.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.EmptyDictionary">
+            <summary>
+            An always empty <see cref="T:System.Collections.IDictionary"/>.
+            </summary>
+            <remarks>
+            <para>
+            A singleton implementation of the <see cref="T:System.Collections.IDictionary"/>
+            interface that always represents an empty collection.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.EmptyDictionary.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Util.EmptyDictionary"/> class. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to enforce the singleton pattern.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.EmptyDictionary.CopyTo(System.Array,System.Int32)">
+            <summary>
+            Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an 
+            <see cref="T:System.Array"/>, starting at a particular Array index.
+            </summary>
+            <param name="array">The one-dimensional <see cref="T:System.Array"/> 
+            that is the destination of the elements copied from 
+            <see cref="T:System.Collections.ICollection"/>. The Array must have zero-based 
+            indexing.</param>
+            <param name="index">The zero-based index in array at which 
+            copying begins.</param>
+            <remarks>
+            <para>
+            As the collection is empty no values are copied into the array.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.EmptyDictionary.System#Collections#IEnumerable#GetEnumerator">
+            <summary>
+            Returns an enumerator that can iterate through a collection.
+            </summary>
+            <returns>
+            An <see cref="T:System.Collections.IEnumerator"/> that can be used to 
+            iterate through the collection.
+            </returns>
+            <remarks>
+            <para>
+            As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.EmptyDictionary.Add(System.Object,System.Object)">
+            <summary>
+            Adds an element with the provided key and value to the 
+            <see cref="T:log4net.Util.EmptyDictionary"/>.
+            </summary>
+            <param name="key">The <see cref="T:System.Object"/> to use as the key of the element to add.</param>
+            <param name="value">The <see cref="T:System.Object"/> to use as the value of the element to add.</param>
+            <remarks>
+            <para>
+            As the collection is empty no new values can be added. A <see cref="T:System.InvalidOperationException"/>
+            is thrown if this method is called.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
+        </member>
+        <member name="M:log4net.Util.EmptyDictionary.Clear">
+            <summary>
+            Removes all elements from the <see cref="T:log4net.Util.EmptyDictionary"/>.
+            </summary>
+            <remarks>
+            <para>
+            As the collection is empty no values can be removed. A <see cref="T:System.InvalidOperationException"/>
+            is thrown if this method is called.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
+        </member>
+        <member name="M:log4net.Util.EmptyDictionary.Contains(System.Object)">
+            <summary>
+            Determines whether the <see cref="T:log4net.Util.EmptyDictionary"/> contains an element 
+            with the specified key.
+            </summary>
+            <param name="key">The key to locate in the <see cref="T:log4net.Util.EmptyDictionary"/>.</param>
+            <returns><c>false</c></returns>
+            <remarks>
+            <para>
+            As the collection is empty the <see cref="M:log4net.Util.EmptyDictionary.Contains(System.Object)"/> method always returns <c>false</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.EmptyDictionary.GetEnumerator">
+            <summary>
+            Returns an enumerator that can iterate through a collection.
+            </summary>
+            <returns>
+            An <see cref="T:System.Collections.IEnumerator"/> that can be used to 
+            iterate through the collection.
+            </returns>
+            <remarks>
+            <para>
+            As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.EmptyDictionary.Remove(System.Object)">
+            <summary>
+            Removes the element with the specified key from the <see cref="T:log4net.Util.EmptyDictionary"/>.
+            </summary>
+            <param name="key">The key of the element to remove.</param>
+            <remarks>
+            <para>
+            As the collection is empty no values can be removed. A <see cref="T:System.InvalidOperationException"/>
+            is thrown if this method is called.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
+        </member>
+        <member name="F:log4net.Util.EmptyDictionary.s_instance">
+            <summary>
+            The singleton instance of the empty dictionary.
+            </summary>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.Instance">
+            <summary>
+            Gets the singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.
+            </summary>
+            <returns>The singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.</returns>
+            <remarks>
+            <para>
+            Gets the singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.IsSynchronized">
+            <summary>
+            Gets a value indicating if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe).
+            </summary>
+            <value>
+            <b>true</b> if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe); otherwise, <b>false</b>.
+            </value>
+            <remarks>
+            <para>
+            For the <see cref="T:log4net.Util.EmptyCollection"/> this property is always <b>true</b>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.Count">
+            <summary>
+            Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>
+            </summary>
+            <value>
+            The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
+            </value>
+            <remarks>
+            <para>
+            As the collection is empty the <see cref="P:log4net.Util.EmptyDictionary.Count"/> is always <c>0</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.SyncRoot">
+            <summary>
+            Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
+            </summary>
+            <value>
+            An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
+            </value>
+            <remarks>
+            <para>
+            As the collection is empty and thread safe and synchronized this instance is also
+            the <see cref="P:log4net.Util.EmptyDictionary.SyncRoot"/> object.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.IsFixedSize">
+            <summary>
+            Gets a value indicating whether the <see cref="T:log4net.Util.EmptyDictionary"/> has a fixed size.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            As the collection is empty <see cref="P:log4net.Util.EmptyDictionary.IsFixedSize"/> always returns <c>true</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.IsReadOnly">
+            <summary>
+            Gets a value indicating whether the <see cref="T:log4net.Util.EmptyDictionary"/> is read-only.
+            </summary>
+            <value><c>true</c></value>
+            <remarks>
+            <para>
+            As the collection is empty <see cref="P:log4net.Util.EmptyDictionary.IsReadOnly"/> always returns <c>true</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.Keys">
+            <summary>
+            Gets an <see cref="T:System.Collections.ICollection"/> containing the keys of the <see cref="T:log4net.Util.EmptyDictionary"/>.
+            </summary>
+            <value>An <see cref="T:System.Collections.ICollection"/> containing the keys of the <see cref="T:log4net.Util.EmptyDictionary"/>.</value>
+            <remarks>
+            <para>
+            As the collection is empty a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.Values">
+            <summary>
+            Gets an <see cref="T:System.Collections.ICollection"/> containing the values of the <see cref="T:log4net.Util.EmptyDictionary"/>.
+            </summary>
+            <value>An <see cref="T:System.Collections.ICollection"/> containing the values of the <see cref="T:log4net.Util.EmptyDictionary"/>.</value>
+            <remarks>
+            <para>
+            As the collection is empty a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.EmptyDictionary.Item(System.Object)">
+            <summary>
+            Gets or sets the element with the specified key.
+            </summary>
+            <param name="key">The key of the element to get or set.</param>
+            <value><c>null</c></value>
+            <remarks>
+            <para>
+            As the collection is empty no values can be looked up or stored. 
+            If the index getter is called then <c>null</c> is returned.
+            A <see cref="T:System.InvalidOperationException"/> is thrown if the setter is called.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
+        </member>
+        <member name="T:log4net.Util.FormattingInfo">
+            <summary>
+            Contain the information obtained when parsing formatting modifiers 
+            in conversion modifiers.
+            </summary>
+            <remarks>
+            <para>
+            Holds the formatting information extracted from the format string by
+            the <see cref="T:log4net.Util.PatternParser"/>. This is used by the <see cref="T:log4net.Util.PatternConverter"/>
+            objects when rendering the output.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.FormattingInfo.#ctor">
+            <summary>
+            Defaut Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.FormattingInfo"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.FormattingInfo.#ctor(System.Int32,System.Int32,System.Boolean)">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.FormattingInfo"/> class
+            with the specified parameters.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.FormattingInfo.Min">
+            <summary>
+            Gets or sets the minimum value.
+            </summary>
+            <value>
+            The minimum value.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the minimum value.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.FormattingInfo.Max">
+            <summary>
+            Gets or sets the maximum value.
+            </summary>
+            <value>
+            The maximum value.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the maximum value.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.FormattingInfo.LeftAlign">
+            <summary>
+            Gets or sets a flag indicating whether left align is enabled
+            or not.
+            </summary>
+            <value>
+            A flag indicating whether left align is enabled or not.
+            </value>
+            <remarks>
+            <para>
+            Gets or sets a flag indicating whether left align is enabled or not.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.GlobalContextProperties">
+            <summary>
+            Implementation of Properties collection for the <see cref="T:log4net.GlobalContext"/>
+            </summary>
+            <remarks>
+            <para>
+            This class implements a properties collection that is thread safe and supports both
+            storing properties and capturing a read only copy of the current propertied.
+            </para>
+            <para>
+            This class is optimized to the scenario where the properties are read frequently
+            and are modified infrequently.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Util.GlobalContextProperties.m_readOnlyProperties">
+            <summary>
+            The read only copy of the properties.
+            </summary>
+            <remarks>
+            <para>
+            This variable is declared <c>volatile</c> to prevent the compiler and JIT from
+            reordering reads and writes of this thread performed on different threads.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.GlobalContextProperties.m_syncRoot">
+            <summary>
+            Lock object used to synchronize updates within this instance
+            </summary>
+        </member>
+        <member name="M:log4net.Util.GlobalContextProperties.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.GlobalContextProperties"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.GlobalContextProperties.Remove(System.String)">
+            <summary>
+            Remove a property from the global context
+            </summary>
+            <param name="key">the key for the entry to remove</param>
+            <remarks>
+            <para>
+            Removing an entry from the global context properties is relatively expensive compared
+            with reading a value. 
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.GlobalContextProperties.Clear">
+            <summary>
+            Clear the global context properties
+            </summary>
+        </member>
+        <member name="M:log4net.Util.GlobalContextProperties.GetReadOnlyProperties">
+            <summary>
+            Get a readonly immutable copy of the properties
+            </summary>
+            <returns>the current global context properties</returns>
+            <remarks>
+            <para>
+            This implementation is fast because the GlobalContextProperties class
+            stores a readonly copy of the properties.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.GlobalContextProperties.Item(System.String)">
+            <summary>
+            Gets or sets the value of a property
+            </summary>
+            <value>
+            The value for the property with the specified key
+            </value>
+            <remarks>
+            <para>
+            Reading the value for a key is faster than setting the value.
+            When the value is written a new read only copy of 
+            the properties is created.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.LevelMapping">
+            <summary>
+            Manages a mapping from levels to <see cref="T:log4net.Util.LevelMappingEntry"/>
+            </summary>
+            <remarks>
+            <para>
+            Manages an ordered mapping from <see cref="T:log4net.Core.Level"/> instances 
+            to <see cref="T:log4net.Util.LevelMappingEntry"/> subclasses.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.LevelMapping.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Initialise a new instance of <see cref="T:log4net.Util.LevelMapping"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LevelMapping.Add(log4net.Util.LevelMappingEntry)">
+            <summary>
+            Add a <see cref="T:log4net.Util.LevelMappingEntry"/> to this mapping
+            </summary>
+            <param name="entry">the entry to add</param>
+            <remarks>
+            <para>
+            If a <see cref="T:log4net.Util.LevelMappingEntry"/> has previously been added
+            for the same <see cref="T:log4net.Core.Level"/> then that entry will be 
+            overwritten.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LevelMapping.Lookup(log4net.Core.Level)">
+            <summary>
+            Lookup the mapping for the specified level
+            </summary>
+            <param name="level">the level to lookup</param>
+            <returns>the <see cref="T:log4net.Util.LevelMappingEntry"/> for the level or <c>null</c> if no mapping found</returns>
+            <remarks>
+            <para>
+            Lookup the value for the specified level. Finds the nearest
+            mapping value for the level that is equal to or less than the
+            <paramref name="level"/> specified.
+            </para>
+            <para>
+            If no mapping could be found then <c>null</c> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LevelMapping.ActivateOptions">
+            <summary>
+            Initialize options
+            </summary>
+            <remarks>
+            <para>
+            Caches the sorted list of <see cref="T:log4net.Util.LevelMappingEntry"/> in an array
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.LogicalThreadContextProperties">
+            <summary>
+            Implementation of Properties collection for the <see cref="T:log4net.LogicalThreadContext"/>
+            </summary>
+            <remarks>
+            <para>
+            Class implements a collection of properties that is specific to each thread.
+            The class is not synchronized as each thread has its own <see cref="T:log4net.Util.PropertiesDictionary"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.LogicalThreadContextProperties.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.LogicalThreadContextProperties"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogicalThreadContextProperties.Remove(System.String)">
+            <summary>
+            Remove a property
+            </summary>
+            <param name="key">the key for the entry to remove</param>
+            <remarks>
+            <para>
+            Remove the value for the specified <paramref name="key"/> from the context.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogicalThreadContextProperties.Clear">
+            <summary>
+            Clear all the context properties
+            </summary>
+            <remarks>
+            <para>
+            Clear all the context properties
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogicalThreadContextProperties.GetProperties(System.Boolean)">
+            <summary>
+            Get the PropertiesDictionary stored in the LocalDataStoreSlot for this thread.
+            </summary>
+            <param name="create">create the dictionary if it does not exist, otherwise return null if is does not exist</param>
+            <returns>the properties for this thread</returns>
+            <remarks>
+            <para>
+            The collection returned is only to be used on the calling thread. If the
+            caller needs to share the collection between different threads then the 
+            caller must clone the collection before doings so.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.LogicalThreadContextProperties.Item(System.String)">
+            <summary>
+            Gets or sets the value of a property
+            </summary>
+            <value>
+            The value for the property with the specified key
+            </value>
+            <remarks>
+            <para>
+            Get or set the property value for the <paramref name="key"/> specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.LogLog">
+            <summary>
+            Outputs log statements from within the log4net assembly.
+            </summary>
+            <remarks>
+            <para>
+            Log4net components cannot make log4net logging calls. However, it is
+            sometimes useful for the user to learn about what log4net is
+            doing.
+            </para>
+            <para>
+            All log4net internal debug calls go to the standard output stream
+            whereas internal error messages are sent to the standard error output 
+            stream.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.LogLog.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Util.LogLog"/> class. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to prevent instantiation of this class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.#cctor">
+            <summary>
+            Static constructor that initializes logging by reading 
+            settings from the application configuration file.
+            </summary>
+            <remarks>
+            <para>
+            The <c>log4net.Internal.Debug</c> application setting
+            controls internal debugging. This setting should be set
+            to <c>true</c> to enable debugging.
+            </para>
+            <para>
+            The <c>log4net.Internal.Quiet</c> application setting
+            suppresses all internal logging including error messages. 
+            This setting should be set to <c>true</c> to enable message
+            suppression.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.Debug(System.String)">
+            <summary>
+            Writes log4net internal debug messages to the 
+            standard output stream.
+            </summary>
+            <param name="message">The message to log.</param>
+            <remarks>
+            <para>
+            All internal debug messages are prepended with 
+            the string "log4net: ".
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.Debug(System.String,System.Exception)">
+            <summary>
+            Writes log4net internal debug messages to the 
+            standard output stream.
+            </summary>
+            <param name="message">The message to log.</param>
+            <param name="exception">An exception to log.</param>
+            <remarks>
+            <para>
+            All internal debug messages are prepended with 
+            the string "log4net: ".
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.Warn(System.String)">
+            <summary>
+            Writes log4net internal warning messages to the 
+            standard error stream.
+            </summary>
+            <param name="message">The message to log.</param>
+            <remarks>
+            <para>
+            All internal warning messages are prepended with 
+            the string "log4net:WARN ".
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.Warn(System.String,System.Exception)">
+            <summary>
+            Writes log4net internal warning messages to the 
+            standard error stream.
+            </summary>
+            <param name="message">The message to log.</param>
+            <param name="exception">An exception to log.</param>
+            <remarks>
+            <para>
+            All internal warning messages are prepended with 
+            the string "log4net:WARN ".
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.Error(System.String)">
+            <summary>
+            Writes log4net internal error messages to the 
+            standard error stream.
+            </summary>
+            <param name="message">The message to log.</param>
+            <remarks>
+            <para>
+            All internal error messages are prepended with 
+            the string "log4net:ERROR ".
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.Error(System.String,System.Exception)">
+            <summary>
+            Writes log4net internal error messages to the 
+            standard error stream.
+            </summary>
+            <param name="message">The message to log.</param>
+            <param name="exception">An exception to log.</param>
+            <remarks>
+            <para>
+            All internal debug messages are prepended with 
+            the string "log4net:ERROR ".
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.EmitOutLine(System.String)">
+            <summary>
+            Writes output to the standard output stream.  
+            </summary>
+            <param name="message">The message to log.</param>
+            <remarks>
+            <para>
+            Writes to both Console.Out and System.Diagnostics.Trace.
+            Note that the System.Diagnostics.Trace is not supported
+            on the Compact Framework.
+            </para>
+            <para>
+            If the AppDomain is not configured with a config file then
+            the call to System.Diagnostics.Trace may fail. This is only
+            an issue if you are programmatically creating your own AppDomains.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.LogLog.EmitErrorLine(System.String)">
+            <summary>
+            Writes output to the standard error stream.  
+            </summary>
+            <param name="message">The message to log.</param>
+            <remarks>
+            <para>
+            Writes to both Console.Error and System.Diagnostics.Trace.
+            Note that the System.Diagnostics.Trace is not supported
+            on the Compact Framework.
+            </para>
+            <para>
+            If the AppDomain is not configured with a config file then
+            the call to System.Diagnostics.Trace may fail. This is only
+            an issue if you are programmatically creating your own AppDomains.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.LogLog.s_debugEnabled">
+            <summary>
+             Default debug level
+            </summary>
+        </member>
+        <member name="F:log4net.Util.LogLog.s_quietMode">
+            <summary>
+            In quietMode not even errors generate any output.
+            </summary>
+        </member>
+        <member name="P:log4net.Util.LogLog.InternalDebugging">
+            <summary>
+            Gets or sets a value indicating whether log4net internal logging
+            is enabled or disabled.
+            </summary>
+            <value>
+            <c>true</c> if log4net internal logging is enabled, otherwise 
+            <c>false</c>.
+            </value>
+            <remarks>
+            <para>
+            When set to <c>true</c>, internal debug level logging will be 
+            displayed.
+            </para>
+            <para>
+            This value can be set by setting the application setting 
+            <c>log4net.Internal.Debug</c> in the application configuration
+            file.
+            </para>
+            <para>
+            The default value is <c>false</c>, i.e. debugging is
+            disabled.
+            </para>
+            </remarks>
+            <example>
+            <para>
+            The following example enables internal debugging using the 
+            application configuration file :
+            </para>
+            <code lang="XML" escaped="true">
+            <configuration>
+            	<appSettings>
+            		<add key="log4net.Internal.Debug" value="true" />
+            	</appSettings>
+            </configuration>
+            </code>
+            </example>
+        </member>
+        <member name="P:log4net.Util.LogLog.QuietMode">
+            <summary>
+            Gets or sets a value indicating whether log4net should generate no output
+            from internal logging, not even for errors. 
+            </summary>
+            <value>
+            <c>true</c> if log4net should generate no output at all from internal 
+            logging, otherwise <c>false</c>.
+            </value>
+            <remarks>
+            <para>
+            When set to <c>true</c> will cause internal logging at all levels to be 
+            suppressed. This means that no warning or error reports will be logged. 
+            This option overrides the <see cref="P:log4net.Util.LogLog.InternalDebugging"/> setting and 
+            disables all debug also.
+            </para>
+            <para>This value can be set by setting the application setting
+            <c>log4net.Internal.Quiet</c> in the application configuration file.
+            </para>
+            <para>
+            The default value is <c>false</c>, i.e. internal logging is not
+            disabled.
+            </para>
+            </remarks>
+            <example>
+            The following example disables internal logging using the 
+            application configuration file :
+            <code lang="XML" escaped="true">
+            <configuration>
+            	<appSettings>
+            		<add key="log4net.Internal.Quiet" value="true"/>
+            	</appSettings>
+            </configuration>
+            </code>
+            </example>
+        </member>
+        <member name="P:log4net.Util.LogLog.IsDebugEnabled">
+            <summary>
+            Test if LogLog.Debug is enabled for output.
+            </summary>
+            <value>
+            <c>true</c> if Debug is enabled
+            </value>
+            <remarks>
+            <para>
+            Test if LogLog.Debug is enabled for output.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.LogLog.IsWarnEnabled">
+            <summary>
+            Test if LogLog.Warn is enabled for output.
+            </summary>
+            <value>
+            <c>true</c> if Warn is enabled
+            </value>
+            <remarks>
+            <para>
+            Test if LogLog.Warn is enabled for output.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.LogLog.IsErrorEnabled">
+            <summary>
+            Test if LogLog.Error is enabled for output.
+            </summary>
+            <value>
+            <c>true</c> if Error is enabled
+            </value>
+            <remarks>
+            <para>
+            Test if LogLog.Error is enabled for output.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.NativeError">
+            <summary>
+            Represents a native error code and message.
+            </summary>
+            <remarks>
+            <para>
+            Represents a Win32 platform native error.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.NativeError.#ctor(System.Int32,System.String)">
+            <summary>
+            Create an instance of the <see cref="T:log4net.Util.NativeError"/> class with the specified 
+            error number and message.
+            </summary>
+            <param name="number">The number of the native error.</param>
+            <param name="message">The message of the native error.</param>
+            <remarks>
+            <para>
+            Create an instance of the <see cref="T:log4net.Util.NativeError"/> class with the specified 
+            error number and message.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NativeError.GetLastError">
+            <summary>
+            Create a new instance of the <see cref="T:log4net.Util.NativeError"/> class for the last Windows error.
+            </summary>
+            <returns>
+            An instance of the <see cref="T:log4net.Util.NativeError"/> class for the last windows error.
+            </returns>
+            <remarks>
+            <para>
+            The message for the <see cref="M:System.Runtime.InteropServices.Marshal.GetLastWin32Error"/> error number is lookup up using the 
+            native Win32 <c>FormatMessage</c> function.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NativeError.GetError(System.Int32)">
+            <summary>
+            Create a new instance of the <see cref="T:log4net.Util.NativeError"/> class.
+            </summary>
+            <param name="number">the error number for the native error</param>
+            <returns>
+            An instance of the <see cref="T:log4net.Util.NativeError"/> class for the specified 
+            error number.
+            </returns>
+            <remarks>
+            <para>
+            The message for the specified error number is lookup up using the 
+            native Win32 <c>FormatMessage</c> function.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NativeError.GetErrorMessage(System.Int32)">
+            <summary>
+            Retrieves the message corresponding with a Win32 message identifier.
+            </summary>
+            <param name="messageId">Message identifier for the requested message.</param>
+            <returns>
+            The message corresponding with the specified message identifier.
+            </returns>
+            <remarks>
+            <para>
+            The message will be searched for in system message-table resource(s)
+            using the native <c>FormatMessage</c> function.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NativeError.ToString">
+            <summary>
+            Return error information string
+            </summary>
+            <returns>error information string</returns>
+            <remarks>
+            <para>
+            Return error information string
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NativeError.FormatMessage(System.Int32,System.IntPtr@,System.Int32,System.Int32,System.String@,System.Int32,System.IntPtr)">
+            <summary>
+            Formats a message string.
+            </summary>
+            <param name="dwFlags">Formatting options, and how to interpret the <paramref name="lpSource"/> parameter.</param>
+            <param name="lpSource">Location of the message definition.</param>
+            <param name="dwMessageId">Message identifier for the requested message.</param>
+            <param name="dwLanguageId">Language identifier for the requested message.</param>
+            <param name="lpBuffer">If <paramref name="dwFlags"/> includes FORMAT_MESSAGE_ALLOCATE_BUFFER, the function allocates a buffer using the <c>LocalAlloc</c> function, and places the pointer to the buffer at the address specified in <paramref name="lpBuffer"/>.</param>
+            <param name="nSize">If the FORMAT_MESSAGE_ALLOCATE_BUFFER flag is not set, this parameter specifies the maximum number of TCHARs that can be stored in the output buffer. If FORMAT_MESSAGE_ALLOCATE_BUFFER is set, this parameter specifies the minimum number of TCHARs to allocate for an output buffer.</param>
+            <param name="Arguments">Pointer to an array of values that are used as insert values in the formatted message.</param>
+            <remarks>
+            <para>
+            The function requires a message definition as input. The message definition can come from a 
+            buffer passed into the function. It can come from a message table resource in an 
+            already-loaded module. Or the caller can ask the function to search the system's message 
+            table resource(s) for the message definition. The function finds the message definition 
+            in a message table resource based on a message identifier and a language identifier. 
+            The function copies the formatted message text to an output buffer, processing any embedded 
+            insert sequences if requested.
+            </para>
+            <para>
+            To prevent the usage of unsafe code, this stub does not support inserting values in the formatted message.
+            </para>
+            </remarks>
+            <returns>
+            <para>
+            If the function succeeds, the return value is the number of TCHARs stored in the output 
+            buffer, excluding the terminating null character.
+            </para>
+            <para>
+            If the function fails, the return value is zero. To get extended error information, 
+            call <see cref="M:System.Runtime.InteropServices.Marshal.GetLastWin32Error"/>.
+            </para>
+            </returns>
+        </member>
+        <member name="P:log4net.Util.NativeError.Number">
+            <summary>
+            Gets the number of the native error.
+            </summary>
+            <value>
+            The number of the native error.
+            </value>
+            <remarks>
+            <para>
+            Gets the number of the native error.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.NativeError.Message">
+            <summary>
+            Gets the message of the native error.
+            </summary>
+            <value>
+            The message of the native error.
+            </value>
+            <remarks>
+            <para>
+            </para>
+            Gets the message of the native error.
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.NullDictionaryEnumerator">
+            <summary>
+            An always empty <see cref="T:System.Collections.IDictionaryEnumerator"/>.
+            </summary>
+            <remarks>
+            <para>
+            A singleton implementation of the <see cref="T:System.Collections.IDictionaryEnumerator"/> over a collection
+            that is empty and not modifiable.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.NullDictionaryEnumerator.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/> class. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to enforce the singleton pattern.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NullDictionaryEnumerator.MoveNext">
+            <summary>
+            Test if the enumerator can advance, if so advance.
+            </summary>
+            <returns><c>false</c> as the <see cref="T:log4net.Util.NullDictionaryEnumerator"/> cannot advance.</returns>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
+            value cannot be moved over a valid position, therefore <see cref="M:log4net.Util.NullDictionaryEnumerator.MoveNext"/>
+            will always return <c>false</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NullDictionaryEnumerator.Reset">
+            <summary>
+            Resets the enumerator back to the start.
+            </summary>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection <see cref="M:log4net.Util.NullDictionaryEnumerator.Reset"/> does nothing.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.NullDictionaryEnumerator.s_instance">
+            <summary>
+            The singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
+            </summary>
+        </member>
+        <member name="P:log4net.Util.NullDictionaryEnumerator.Instance">
+            <summary>
+            Gets the singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
+            </summary>
+            <returns>The singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.</returns>
+            <remarks>
+            <para>
+            Gets the singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.NullDictionaryEnumerator.Current">
+            <summary>
+            Gets the current object from the enumerator.
+            </summary>
+            <remarks>
+            Throws an <see cref="T:System.InvalidOperationException"/> because the 
+            <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
+            </remarks>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
+            value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
+            will throw an <see cref="T:System.InvalidOperationException"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/> 
+            cannot be positioned over a valid location.</exception>
+        </member>
+        <member name="P:log4net.Util.NullDictionaryEnumerator.Key">
+            <summary>
+            Gets the current key from the enumerator.
+            </summary>
+            <remarks>
+            Throws an exception because the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>
+            never has a current value.
+            </remarks>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
+            value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Key"/>
+            will throw an <see cref="T:System.InvalidOperationException"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/> 
+            cannot be positioned over a valid location.</exception>
+        </member>
+        <member name="P:log4net.Util.NullDictionaryEnumerator.Value">
+            <summary>
+            Gets the current value from the enumerator.
+            </summary>
+            <value>The current value from the enumerator.</value>
+            <remarks>
+            Throws an <see cref="T:System.InvalidOperationException"/> because the 
+            <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
+            </remarks>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
+            value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Value"/>
+            will throw an <see cref="T:System.InvalidOperationException"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/> 
+            cannot be positioned over a valid location.</exception>
+        </member>
+        <member name="P:log4net.Util.NullDictionaryEnumerator.Entry">
+            <summary>
+            Gets the current entry from the enumerator.
+            </summary>
+            <remarks>
+            Throws an <see cref="T:System.InvalidOperationException"/> because the 
+            <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current entry.
+            </remarks>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
+            value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Entry"/>
+            will throw an <see cref="T:System.InvalidOperationException"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/> 
+            cannot be positioned over a valid location.</exception>
+        </member>
+        <member name="T:log4net.Util.NullEnumerator">
+            <summary>
+            An always empty <see cref="T:System.Collections.IEnumerator"/>.
+            </summary>
+            <remarks>
+            <para>
+            A singleton implementation of the <see cref="T:System.Collections.IEnumerator"/> over a collection
+            that is empty and not modifiable.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.NullEnumerator.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Util.NullEnumerator"/> class. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to enforce the singleton pattern.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NullEnumerator.MoveNext">
+            <summary>
+            Test if the enumerator can advance, if so advance
+            </summary>
+            <returns><c>false</c> as the <see cref="T:log4net.Util.NullEnumerator"/> cannot advance.</returns>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullEnumerator.Current"/>
+            value cannot be moved over a valid position, therefore <see cref="M:log4net.Util.NullEnumerator.MoveNext"/>
+            will always return <c>false</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NullEnumerator.Reset">
+            <summary>
+            Resets the enumerator back to the start.
+            </summary>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection <see cref="M:log4net.Util.NullEnumerator.Reset"/> does nothing.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.NullEnumerator.s_instance">
+            <summary>
+            The singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
+            </summary>
+        </member>
+        <member name="P:log4net.Util.NullEnumerator.Instance">
+            <summary>
+            Get the singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
+            </summary>
+            <returns>The singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.</returns>
+            <remarks>
+            <para>
+            Gets the singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.NullEnumerator.Current">
+            <summary>
+            Gets the current object from the enumerator.
+            </summary>
+            <remarks>
+            Throws an <see cref="T:System.InvalidOperationException"/> because the 
+            <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
+            </remarks>
+            <remarks>
+            <para>
+            As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullEnumerator.Current"/>
+            value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullEnumerator.Current"/>
+            will throw an <see cref="T:System.InvalidOperationException"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullEnumerator.Current"/> 
+            cannot be positioned over a valid location.</exception>
+        </member>
+        <member name="T:log4net.Util.NullSecurityContext">
+            <summary>
+            A SecurityContext used when a SecurityContext is not required
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Util.NullSecurityContext"/> is a no-op implementation of the
+            <see cref="T:log4net.Core.SecurityContext"/> base class. It is used where a <see cref="T:log4net.Core.SecurityContext"/>
+            is required but one has not been provided.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Util.NullSecurityContext.Instance">
+            <summary>
+            Singleton instance of <see cref="T:log4net.Util.NullSecurityContext"/>
+            </summary>
+            <remarks>
+            <para>
+            Singleton instance of <see cref="T:log4net.Util.NullSecurityContext"/>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NullSecurityContext.#ctor">
+            <summary>
+            Private constructor
+            </summary>
+            <remarks>
+            <para>
+            Private constructor for singleton pattern.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.NullSecurityContext.Impersonate(System.Object)">
+            <summary>
+            Impersonate this SecurityContext
+            </summary>
+            <param name="state">State supplied by the caller</param>
+            <returns><c>null</c></returns>
+            <remarks>
+            <para>
+            No impersonation is done and <c>null</c> is always returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.OnlyOnceErrorHandler">
+            <summary>
+            Implements log4net's default error handling policy which consists 
+            of emitting a message for the first error in an appender and 
+            ignoring all subsequent errors.
+            </summary>
+            <remarks>
+            <para>
+            The error message is printed on the standard error output stream.
+            </para>
+            <para>
+            This policy aims at protecting an otherwise working application
+            from being flooded with error messages when logging fails.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.OnlyOnceErrorHandler.#ctor">
+            <summary>
+            Default Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OnlyOnceErrorHandler.#ctor(System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="prefix">The prefix to use for each message.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/> class
+            with the specified prefix.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)">
+            <summary>
+            Log an Error
+            </summary>
+            <param name="message">The error message.</param>
+            <param name="e">The exception.</param>
+            <param name="errorCode">The internal error code.</param>
+            <remarks>
+            <para>
+            Prints the message and the stack trace of the exception on the standard
+            error output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String,System.Exception)">
+            <summary>
+            Log an Error
+            </summary>
+            <param name="message">The error message.</param>
+            <param name="e">The exception.</param>
+            <remarks>
+            <para>
+            Prints the message and the stack trace of the exception on the standard
+            error output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String)">
+            <summary>
+            Log an error
+            </summary>
+            <param name="message">The error message.</param>
+            <remarks>
+            <para>
+            Print a the error message passed as parameter on the standard
+            error output stream.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.OnlyOnceErrorHandler.m_firstTime">
+            <summary>
+            Flag to indicate if it is the first error
+            </summary>
+        </member>
+        <member name="F:log4net.Util.OnlyOnceErrorHandler.m_prefix">
+            <summary>
+            String to prefix each message with
+            </summary>
+        </member>
+        <member name="P:log4net.Util.OnlyOnceErrorHandler.IsEnabled">
+            <summary>
+            Is error logging enabled
+            </summary>
+            <remarks>
+            <para>
+            Is error logging enabled. Logging is only enabled for the
+            first error delivered to the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.OptionConverter">
+            <summary>
+            A convenience class to convert property values to specific types.
+            </summary>
+            <remarks>
+            <para>
+            Utility functions for converting types and parsing values.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Util.OptionConverter"/> class. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to prevent instantiation of this class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.ToBoolean(System.String,System.Boolean)">
+            <summary>
+            Converts a string to a <see cref="T:System.Boolean"/> value.
+            </summary>
+            <param name="argValue">String to convert.</param>
+            <param name="defaultValue">The default value.</param>
+            <returns>The <see cref="T:System.Boolean"/> value of <paramref name="argValue"/>.</returns>
+            <remarks>
+            <para>
+            If <paramref name="argValue"/> is "true", then <c>true</c> is returned. 
+            If <paramref name="argValue"/> is "false", then <c>false</c> is returned. 
+            Otherwise, <paramref name="defaultValue"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.ToFileSize(System.String,System.Int64)">
+            <summary>
+            Parses a file size into a number.
+            </summary>
+            <param name="argValue">String to parse.</param>
+            <param name="defaultValue">The default value.</param>
+            <returns>The <see cref="T:System.Int64"/> value of <paramref name="argValue"/>.</returns>
+            <remarks>
+            <para>
+            Parses a file size of the form: number[KB|MB|GB] into a
+            long value. It is scaled with the appropriate multiplier.
+            </para>
+            <para>
+            <paramref name="defaultValue"/> is returned when <paramref name="argValue"/>
+            cannot be converted to a <see cref="T:System.Int64"/> value.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.ConvertStringTo(System.Type,System.String)">
+            <summary>
+            Converts a string to an object.
+            </summary>
+            <param name="target">The target type to convert to.</param>
+            <param name="txt">The string to convert to an object.</param>
+            <returns>
+            The object converted from a string or <c>null</c> when the 
+            conversion failed.
+            </returns>
+            <remarks>
+            <para>
+            Converts a string to an object. Uses the converter registry to try
+            to convert the string value into the specified target type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.CanConvertTypeTo(System.Type,System.Type)">
+            <summary>
+            Checks if there is an appropriate type conversion from the source type to the target type.
+            </summary>
+            <param name="sourceType">The type to convert from.</param>
+            <param name="targetType">The type to convert to.</param>
+            <returns><c>true</c> if there is a conversion from the source type to the target type.</returns>
+            <remarks>
+            Checks if there is an appropriate type conversion from the source type to the target type.
+            <para>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.ConvertTypeTo(System.Object,System.Type)">
+            <summary>
+            Converts an object to the target type.
+            </summary>
+            <param name="sourceInstance">The object to convert to the target type.</param>
+            <param name="targetType">The type to convert to.</param>
+            <returns>The converted object.</returns>
+            <remarks>
+            <para>
+            Converts an object to the target type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.InstantiateByClassName(System.String,System.Type,System.Object)">
+            <summary>
+            Instantiates an object given a class name.
+            </summary>
+            <param name="className">The fully qualified class name of the object to instantiate.</param>
+            <param name="superClass">The class to which the new object should belong.</param>
+            <param name="defaultValue">The object to return in case of non-fulfillment.</param>
+            <returns>
+            An instance of the <paramref name="className"/> or <paramref name="defaultValue"/>
+            if the object could not be instantiated.
+            </returns>
+            <remarks>
+            <para>
+            Checks that the <paramref name="className"/> is a subclass of
+            <paramref name="superClass"/>. If that test fails or the object could
+            not be instantiated, then <paramref name="defaultValue"/> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.SubstituteVariables(System.String,System.Collections.IDictionary)">
+            <summary>
+            Performs variable substitution in string <paramref name="val"/> from the 
+            values of keys found in <paramref name="props"/>.
+            </summary>
+            <param name="value">The string on which variable substitution is performed.</param>
+            <param name="props">The dictionary to use to lookup variables.</param>
+            <returns>The result of the substitutions.</returns>
+            <remarks>
+            <para>
+            The variable substitution delimiters are <b>${</b> and <b>}</b>.
+            </para>
+            <para>
+            For example, if props contains <c>key=value</c>, then the call
+            </para>
+            <para>
+            <code lang="C#">
+            string s = OptionConverter.SubstituteVariables("Value of key is ${key}.");
+            </code>
+            </para>
+            <para>
+            will set the variable <c>s</c> to "Value of key is value.".
+            </para>
+            <para>
+            If no value could be found for the specified key, then substitution 
+            defaults to an empty string.
+            </para>
+            <para>
+            For example, if system properties contains no value for the key
+            "nonExistentKey", then the call
+            </para>
+            <para>
+            <code lang="C#">
+            string s = OptionConverter.SubstituteVariables("Value of nonExistentKey is [${nonExistentKey}]");
+            </code>
+            </para>
+            <para>
+            will set <s>s</s> to "Value of nonExistentKey is []".	 
+            </para>
+            <para>
+            An Exception is thrown if <paramref name="value"/> contains a start 
+            delimiter "${" which is not balanced by a stop delimiter "}". 
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.OptionConverter.ParseEnum(System.Type,System.String,System.Boolean)">
+            <summary>
+            Converts the string representation of the name or numeric value of one or 
+            more enumerated constants to an equivalent enumerated object.
+            </summary>
+            <param name="enumType">The type to convert to.</param>
+            <param name="value">The enum string value.</param>
+            <param name="ignoreCase">If <c>true</c>, ignore case; otherwise, regard case.</param>
+            <returns>An object of type <paramref name="enumType" /> whose value is represented by <paramref name="value" />.</returns>
+        </member>
+        <member name="T:log4net.Util.PatternParser">
+            <summary>
+            Most of the work of the <see cref="T:log4net.Layout.PatternLayout"/> class
+            is delegated to the PatternParser class.
+            </summary>
+            <remarks>
+            <para>
+            The <c>PatternParser</c> processes a pattern string and
+            returns a chain of <see cref="T:log4net.Util.PatternConverter"/> objects.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.PatternParser.#ctor(System.String)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="pattern">The pattern to parse.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.PatternParser"/> class 
+            with the specified pattern string.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternParser.Parse">
+            <summary>
+            Parses the pattern into a chain of pattern converters.
+            </summary>
+            <returns>The head of a chain of pattern converters.</returns>
+            <remarks>
+            <para>
+            Parses the pattern into a chain of pattern converters.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternParser.BuildCache">
+            <summary>
+            Build the unified cache of converters from the static and instance maps
+            </summary>
+            <returns>the list of all the converter names</returns>
+            <remarks>
+            <para>
+            Build the unified cache of converters from the static and instance maps
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternParser.ParseInternal(System.String,System.String[])">
+            <summary>
+            Internal method to parse the specified pattern to find specified matches
+            </summary>
+            <param name="pattern">the pattern to parse</param>
+            <param name="matches">the converter names to match in the pattern</param>
+            <remarks>
+            <para>
+            The matches param must be sorted such that longer strings come before shorter ones.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternParser.ProcessLiteral(System.String)">
+            <summary>
+            Process a parsed literal
+            </summary>
+            <param name="text">the literal text</param>
+        </member>
+        <member name="M:log4net.Util.PatternParser.ProcessConverter(System.String,System.String,log4net.Util.FormattingInfo)">
+            <summary>
+            Process a parsed converter pattern
+            </summary>
+            <param name="converterName">the name of the converter</param>
+            <param name="option">the optional option for the converter</param>
+            <param name="formattingInfo">the formatting info for the converter</param>
+        </member>
+        <member name="M:log4net.Util.PatternParser.AddConverter(log4net.Util.PatternConverter)">
+            <summary>
+            Resets the internal state of the parser and adds the specified pattern converter 
+            to the chain.
+            </summary>
+            <param name="pc">The pattern converter to add.</param>
+        </member>
+        <member name="F:log4net.Util.PatternParser.m_head">
+            <summary>
+            The first pattern converter in the chain
+            </summary>
+        </member>
+        <member name="F:log4net.Util.PatternParser.m_tail">
+            <summary>
+             the last pattern converter in the chain
+            </summary>
+        </member>
+        <member name="F:log4net.Util.PatternParser.m_pattern">
+            <summary>
+            The pattern
+            </summary>
+        </member>
+        <member name="F:log4net.Util.PatternParser.m_patternConverters">
+            <summary>
+            Internal map of converter identifiers to converter types
+            </summary>
+            <remarks>
+            <para>
+            This map overrides the static s_globalRulesRegistry map.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.PatternParser.PatternConverters">
+            <summary>
+            Get the converter registry used by this parser
+            </summary>
+            <value>
+            The converter registry used by this parser
+            </value>
+            <remarks>
+            <para>
+            Get the converter registry used by this parser
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternParser.StringLengthComparer">
+            <summary>
+            Sort strings by length
+            </summary>
+            <remarks>
+            <para>
+            <see cref="T:System.Collections.IComparer"/> that orders strings by string length.
+            The longest strings are placed first
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternString">
+            <summary>
+            This class implements a patterned string.
+            </summary>
+            <remarks>
+            <para>
+            This string has embedded patterns that are resolved and expanded
+            when the string is formatted.
+            </para>
+            <para>
+            This class functions similarly to the <see cref="T:log4net.Layout.PatternLayout"/>
+            in that it accepts a pattern and renders it to a string. Unlike the 
+            <see cref="T:log4net.Layout.PatternLayout"/> however the <c>PatternString</c>
+            does not render the properties of a specific <see cref="T:log4net.Core.LoggingEvent"/> but
+            of the process in general.
+            </para>
+            <para>
+            The recognized conversion pattern names are:
+            </para>
+            <list type="table">
+                <listheader>
+                    <term>Conversion Pattern Name</term>
+                    <description>Effect</description>
+                </listheader>
+                <item>
+                    <term>appdomain</term>
+                    <description>
+                        <para>
+                        Used to output the friendly name of the current AppDomain.
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>date</term>
+                    <description>
+            			<para>
+            			Used to output the date of the logging event in the local time zone. 
+            			To output the date in universal time use the <c>%utcdate</c> pattern.
+            			The date conversion 
+            			specifier may be followed by a <i>date format specifier</i> enclosed 
+            			between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
+            			<b>%date{dd MMM yyyy HH:mm:ss,fff}</b>.  If no date format specifier is 
+            			given then ISO8601 format is
+            			assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
+            			</para>
+            			<para>
+            			The date format specifier admits the same syntax as the
+            			time pattern string of the <see cref="M:System.DateTime.ToString(System.String)"/>.
+            			</para>
+            			<para>
+            			For better results it is recommended to use the log4net date
+            			formatters. These can be specified using one of the strings
+            			"ABSOLUTE", "DATE" and "ISO8601" for specifying 
+            			<see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>, 
+            			<see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively 
+            			<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example, 
+            			<b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
+            			</para>
+            			<para>
+            			These dedicated date formatters perform significantly
+            			better than <see cref="M:System.DateTime.ToString(System.String)"/>.
+            			</para>
+                    </description>
+                </item>
+                <item>
+                    <term>env</term>
+                    <description>
+                        <para>
+            			Used to output the a specific environment variable. The key to 
+            			lookup must be specified within braces and directly following the
+            			pattern specifier, e.g. <b>%env{COMPUTERNAME}</b> would include the value
+            			of the <c>COMPUTERNAME</c> environment variable.
+                        </para>
+                        <para>
+                        The <c>env</c> pattern is not supported on the .NET Compact Framework.
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>identity</term>
+                    <description>
+            			<para>
+            			Used to output the user name for the currently active user
+            			(Principal.Identity.Name).
+            			</para>
+                    </description>
+                </item>
+                <item>
+                    <term>newline</term>
+                    <description>
+            			<para>
+            			Outputs the platform dependent line separator character or
+            			characters.
+            			</para>
+            			<para>
+            			This conversion pattern name offers the same performance as using 
+            			non-portable line separator strings such as	"\n", or "\r\n". 
+            			Thus, it is the preferred way of specifying a line separator.
+            			</para> 
+                    </description>
+                </item>
+                <item>
+                    <term>processid</term>
+                    <description>
+                        <para>
+            			Used to output the system process ID for the current process.
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>property</term>
+                    <description>
+            			<para>
+            			Used to output a specific context property. The key to 
+            			lookup must be specified within braces and directly following the
+            			pattern specifier, e.g. <b>%property{user}</b> would include the value
+            			from the property that is keyed by the string 'user'. Each property value
+            			that is to be included in the log must be specified separately.
+            			Properties are stored in logging contexts. By default 
+            			the <c>log4net:HostName</c> property is set to the name of machine on 
+            			which the event was originally logged.
+            			</para>
+            			<para>
+            			If no key is specified, e.g. <b>%property</b> then all the keys and their
+            			values are printed in a comma separated list.
+            			</para>
+            			<para>
+            			The properties of an event are combined from a number of different
+            			contexts. These are listed below in the order in which they are searched.
+            			</para>
+            			<list type="definition">
+            				<item>
+            					<term>the thread properties</term>
+            					<description>
+            					The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
+            					thread. These properties are shared by all events logged on this thread.
+            					</description>
+            				</item>
+            				<item>
+            					<term>the global properties</term>
+            					<description>
+            					The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These 
+            					properties are shared by all the threads in the AppDomain.
+            					</description>
+            				</item>
+            			</list>
+                    </description>
+                </item>
+                <item>
+                    <term>random</term>
+                    <description>
+                        <para>
+                        Used to output a random string of characters. The string is made up of
+                        uppercase letters and numbers. By default the string is 4 characters long.
+                        The length of the string can be specified within braces directly following the
+            			pattern specifier, e.g. <b>%random{8}</b> would output an 8 character string.
+                        </para>
+                    </description>
+                </item>
+                <item>
+                    <term>username</term>
+                    <description>
+            			<para>
+            			Used to output the WindowsIdentity for the currently
+            			active user.
+            			</para>
+                    </description>
+                </item>
+                <item>
+                    <term>utcdate</term>
+                    <description>
+            			<para>
+            			Used to output the date of the logging event in universal time. 
+            			The date conversion 
+            			specifier may be followed by a <i>date format specifier</i> enclosed 
+            			between braces. For example, <b>%utcdate{HH:mm:ss,fff}</b> or
+            			<b>%utcdate{dd MMM yyyy HH:mm:ss,fff}</b>.  If no date format specifier is 
+            			given then ISO8601 format is
+            			assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
+            			</para>
+            			<para>
+            			The date format specifier admits the same syntax as the
+            			time pattern string of the <see cref="M:System.DateTime.ToString(System.String)"/>.
+            			</para>
+            			<para>
+            			For better results it is recommended to use the log4net date
+            			formatters. These can be specified using one of the strings
+            			"ABSOLUTE", "DATE" and "ISO8601" for specifying 
+            			<see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>, 
+            			<see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively 
+            			<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example, 
+            			<b>%utcdate{ISO8601}</b> or <b>%utcdate{ABSOLUTE}</b>.
+            			</para>
+            			<para>
+            			These dedicated date formatters perform significantly
+            			better than <see cref="M:System.DateTime.ToString(System.String)"/>.
+            			</para>
+                    </description>
+                </item>
+            	<item>
+            		<term>%</term>
+            		<description>
+            			<para>
+            			The sequence %% outputs a single percent sign.
+            			</para>
+            		</description>
+            	</item>
+            </list>
+            <para>
+            Additional pattern converters may be registered with a specific <see cref="T:log4net.Util.PatternString"/>
+            instance using <see cref="M:log4net.Util.PatternString.AddConverter(log4net.Util.PatternString.ConverterInfo)"/> or
+            <see cref="M:log4net.Util.PatternString.AddConverter(System.String,System.Type)"/>.
+            </para>
+            <para>
+            See the <see cref="T:log4net.Layout.PatternLayout"/> for details on the 
+            <i>format modifiers</i> supported by the patterns.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Util.PatternString.s_globalRulesRegistry">
+            <summary>
+            Internal map of converter identifiers to converter types.
+            </summary>
+        </member>
+        <member name="F:log4net.Util.PatternString.m_pattern">
+            <summary>
+            the pattern
+            </summary>
+        </member>
+        <member name="F:log4net.Util.PatternString.m_head">
+            <summary>
+            the head of the pattern converter chain
+            </summary>
+        </member>
+        <member name="F:log4net.Util.PatternString.m_instanceRulesRegistry">
+            <summary>
+            patterns defined on this PatternString only
+            </summary>
+        </member>
+        <member name="M:log4net.Util.PatternString.#cctor">
+            <summary>
+            Initialize the global registry
+            </summary>
+        </member>
+        <member name="M:log4net.Util.PatternString.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Initialize a new instance of <see cref="T:log4net.Util.PatternString"/>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternString.#ctor(System.String)">
+            <summary>
+            Constructs a PatternString
+            </summary>
+            <param name="pattern">The pattern to use with this PatternString</param>
+            <remarks>
+            <para>
+            Initialize a new instance of <see cref="T:log4net.Util.PatternString"/> with the pattern specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternString.ActivateOptions">
+            <summary>
+            Initialize object options
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Util.PatternString.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Util.PatternString.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Util.PatternString.ActivateOptions"/> must be called again.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternString.CreatePatternParser(System.String)">
+            <summary>
+            Create the <see cref="T:log4net.Util.PatternParser"/> used to parse the pattern
+            </summary>
+            <param name="pattern">the pattern to parse</param>
+            <returns>The <see cref="T:log4net.Util.PatternParser"/></returns>
+            <remarks>
+            <para>
+            Returns PatternParser used to parse the conversion string. Subclasses
+            may override this to return a subclass of PatternParser which recognize
+            custom conversion pattern name.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternString.Format(System.IO.TextWriter)">
+            <summary>
+            Produces a formatted string as specified by the conversion pattern.
+            </summary>
+            <param name="writer">The TextWriter to write the formatted event to</param>
+            <remarks>
+            <para>
+            Format the pattern to the <paramref name="writer"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternString.Format">
+            <summary>
+            Format the pattern as a string
+            </summary>
+            <returns>the pattern formatted as a string</returns>
+            <remarks>
+            <para>
+            Format the pattern to a string.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternString.AddConverter(log4net.Util.PatternString.ConverterInfo)">
+            <summary>
+            Add a converter to this PatternString
+            </summary>
+            <param name="converterInfo">the converter info</param>
+            <remarks>
+            <para>
+            This version of the method is used by the configurator.
+            Programmatic users should use the alternative <see cref="M:log4net.Util.PatternString.AddConverter(System.String,System.Type)"/> method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternString.AddConverter(System.String,System.Type)">
+            <summary>
+            Add a converter to this PatternString
+            </summary>
+            <param name="name">the name of the conversion pattern for this converter</param>
+            <param name="type">the type of the converter</param>
+            <remarks>
+            <para>
+            Add a converter to this PatternString
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.PatternString.ConversionPattern">
+            <summary>
+            Gets or sets the pattern formatting string
+            </summary>
+            <value>
+            The pattern formatting string
+            </value>
+            <remarks>
+            <para>
+            The <b>ConversionPattern</b> option. This is the string which
+            controls formatting and consists of a mix of literal content and
+            conversion specifiers.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PatternString.ConverterInfo">
+            <summary>
+            Wrapper class used to map converter names to converter types
+            </summary>
+            <remarks>
+            <para>
+            Wrapper class used to map converter names to converter types
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PatternString.ConverterInfo.#ctor">
+            <summary>
+            default constructor
+            </summary>
+        </member>
+        <member name="P:log4net.Util.PatternString.ConverterInfo.Name">
+            <summary>
+            Gets or sets the name of the conversion pattern
+            </summary>
+            <value>
+            The name of the conversion pattern
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the name of the conversion pattern
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.PatternString.ConverterInfo.Type">
+            <summary>
+            Gets or sets the type of the converter
+            </summary>
+            <value>
+            The type of the converter
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the type of the converter
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.PropertiesDictionary">
+            <summary>
+            String keyed object map.
+            </summary>
+            <remarks>
+            <para>
+            While this collection is serializable only member 
+            objects that are serializable will
+            be serialized along with this collection.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="T:log4net.Util.ReadOnlyPropertiesDictionary">
+            <summary>
+            String keyed object map that is read only.
+            </summary>
+            <remarks>
+            <para>
+            This collection is readonly and cannot be modified.
+            </para>
+            <para>
+            While this collection is serializable only member 
+            objects that are serializable will
+            be serialized along with this collection.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="F:log4net.Util.ReadOnlyPropertiesDictionary.m_hashtable">
+            <summary>
+            The Hashtable used to store the properties data
+            </summary>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor(log4net.Util.ReadOnlyPropertiesDictionary)">
+            <summary>
+            Copy Constructor
+            </summary>
+            <param name="propertiesDictionary">properties to copy</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+            <summary>
+            Deserialization constructor
+            </summary>
+            <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
+            <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class 
+            with serialized data.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.GetKeys">
+            <summary>
+            Gets the key names.
+            </summary>
+            <returns>An array of all the keys.</returns>
+            <remarks>
+            <para>
+            Gets the key names.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.Contains(System.String)">
+            <summary>
+            Test if the dictionary contains a specified key
+            </summary>
+            <param name="key">the key to look for</param>
+            <returns>true if the dictionary contains the specified key</returns>
+            <remarks>
+            <para>
+            Test if the dictionary contains a specified key
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+            <summary>
+            Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
+            </summary>
+            <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> to populate with data.</param>
+            <param name="context">The destination for this serialization.</param>
+            <remarks>
+            <para>
+            Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#GetEnumerator">
+            <summary>
+            See <see cref="M:System.Collections.IDictionary.GetEnumerator"/>
+            </summary>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Remove(System.Object)">
+            <summary>
+            See <see cref="M:System.Collections.IDictionary.Remove(System.Object)"/>
+            </summary>
+            <param name="key"></param>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Contains(System.Object)">
+            <summary>
+            See <see cref="M:System.Collections.IDictionary.Contains(System.Object)"/>
+            </summary>
+            <param name="key"></param>
+            <returns></returns>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.Clear">
+            <summary>
+            Remove all properties from the properties collection
+            </summary>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Add(System.Object,System.Object)">
+            <summary>
+            See <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)"/>
+            </summary>
+            <param name="key"></param>
+            <param name="value"></param>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
+            <summary>
+            See <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)"/>
+            </summary>
+            <param name="array"></param>
+            <param name="index"></param>
+        </member>
+        <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IEnumerable#GetEnumerator">
+            <summary>
+            See <see cref="M:System.Collections.IEnumerable.GetEnumerator"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.Item(System.String)">
+            <summary>
+            Gets or sets the value of the  property with the specified key.
+            </summary>
+            <value>
+            The value of the property with the specified key.
+            </value>
+            <param name="key">The key of the property to get or set.</param>
+            <remarks>
+            <para>
+            The property value will only be serialized if it is serializable.
+            If it cannot be serialized it will be silently ignored if
+            a serialization operation is performed.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.InnerHashtable">
+            <summary>
+            The hashtable used to store the properties
+            </summary>
+            <value>
+            The internal collection used to store the properties
+            </value>
+            <remarks>
+            <para>
+            The hashtable used to store the properties
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#IsReadOnly">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.IsReadOnly"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Item(System.Object)">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.Item(System.Object)"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Values">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.Values"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Keys">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.Keys"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#IsFixedSize">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.IsFixedSize"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#IsSynchronized">
+            <summary>
+            See <see cref="P:System.Collections.ICollection.IsSynchronized"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.Count">
+            <summary>
+            The number of properties in this collection
+            </summary>
+        </member>
+        <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#SyncRoot">
+            <summary>
+            See <see cref="P:System.Collections.ICollection.SyncRoot"/>
+            </summary>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.#ctor(log4net.Util.ReadOnlyPropertiesDictionary)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="propertiesDictionary">properties to copy</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class 
+            with serialized data.
+            </summary>
+            <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
+            <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+            <remarks>
+            <para>
+            Because this class is sealed the serialization constructor is private.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.Remove(System.String)">
+            <summary>
+            Remove the entry with the specified key from this dictionary
+            </summary>
+            <param name="key">the key for the entry to remove</param>
+            <remarks>
+            <para>
+            Remove the entry with the specified key from this dictionary
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#GetEnumerator">
+            <summary>
+            See <see cref="M:System.Collections.IDictionary.GetEnumerator"/>
+            </summary>
+            <returns>an enumerator</returns>
+            <remarks>
+            <para>
+            Returns a <see cref="T:System.Collections.IDictionaryEnumerator"/> over the contest of this collection.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Remove(System.Object)">
+            <summary>
+            See <see cref="M:System.Collections.IDictionary.Remove(System.Object)"/>
+            </summary>
+            <param name="key">the key to remove</param>
+            <remarks>
+            <para>
+            Remove the entry with the specified key from this dictionary
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Contains(System.Object)">
+            <summary>
+            See <see cref="M:System.Collections.IDictionary.Contains(System.Object)"/>
+            </summary>
+            <param name="key">the key to lookup in the collection</param>
+            <returns><c>true</c> if the collection contains the specified key</returns>
+            <remarks>
+            <para>
+            Test if this collection contains a specified key.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.Clear">
+            <summary>
+            Remove all properties from the properties collection
+            </summary>
+            <remarks>
+            <para>
+            Remove all properties from the properties collection
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Add(System.Object,System.Object)">
+            <summary>
+            See <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)"/>
+            </summary>
+            <param name="key">the key</param>
+            <param name="value">the value to store for the key</param>
+            <remarks>
+            <para>
+            Store a value for the specified <see cref="T:System.String"/> <paramref name="key"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentException">Thrown if the <paramref name="key"/> is not a string</exception>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
+            <summary>
+            See <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)"/>
+            </summary>
+            <param name="array"></param>
+            <param name="index"></param>
+        </member>
+        <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IEnumerable#GetEnumerator">
+            <summary>
+            See <see cref="M:System.Collections.IEnumerable.GetEnumerator"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.PropertiesDictionary.Item(System.String)">
+            <summary>
+            Gets or sets the value of the  property with the specified key.
+            </summary>
+            <value>
+            The value of the property with the specified key.
+            </value>
+            <param name="key">The key of the property to get or set.</param>
+            <remarks>
+            <para>
+            The property value will only be serialized if it is serializable.
+            If it cannot be serialized it will be silently ignored if
+            a serialization operation is performed.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#IsReadOnly">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.IsReadOnly"/>
+            </summary>
+            <value>
+            <c>false</c>
+            </value>
+            <remarks>
+            <para>
+            This collection is modifiable. This property always
+            returns <c>false</c>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Item(System.Object)">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.Item(System.Object)"/>
+            </summary>
+            <value>
+            The value for the key specified.
+            </value>
+            <remarks>
+            <para>
+            Get or set a value for the specified <see cref="T:System.String"/> <paramref name="key"/>.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentException">Thrown if the <paramref name="key"/> is not a string</exception>
+        </member>
+        <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Values">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.Values"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Keys">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.Keys"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#IsFixedSize">
+            <summary>
+            See <see cref="P:System.Collections.IDictionary.IsFixedSize"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.PropertiesDictionary.System#Collections#ICollection#IsSynchronized">
+            <summary>
+            See <see cref="P:System.Collections.ICollection.IsSynchronized"/>
+            </summary>
+        </member>
+        <member name="P:log4net.Util.PropertiesDictionary.System#Collections#ICollection#SyncRoot">
+            <summary>
+            See <see cref="P:System.Collections.ICollection.SyncRoot"/>
+            </summary>
+        </member>
+        <member name="T:log4net.Util.ProtectCloseTextWriter">
+            <summary>
+            A <see cref="T:System.IO.TextWriter"/> that ignores the <see cref="M:log4net.Util.ProtectCloseTextWriter.Close"/> message
+            </summary>
+            <remarks>
+            <para>
+            This writer is used in special cases where it is necessary 
+            to protect a writer from being closed by a client.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.ProtectCloseTextWriter.#ctor(System.IO.TextWriter)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="writer">the writer to actually write to</param>
+            <remarks>
+            <para>
+            Create a new ProtectCloseTextWriter using a writer
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ProtectCloseTextWriter.Attach(System.IO.TextWriter)">
+            <summary>
+            Attach this instance to a different underlying <see cref="T:System.IO.TextWriter"/>
+            </summary>
+            <param name="writer">the writer to attach to</param>
+            <remarks>
+            <para>
+            Attach this instance to a different underlying <see cref="T:System.IO.TextWriter"/>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ProtectCloseTextWriter.Close">
+            <summary>
+            Does not close the underlying output writer.
+            </summary>
+            <remarks>
+            <para>
+            Does not close the underlying output writer.
+            This method does nothing.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.ReaderWriterLock">
+            <summary>
+            Defines a lock that supports single writers and multiple readers
+            </summary>
+            <remarks>
+            <para>
+            <c>ReaderWriterLock</c> is used to synchronize access to a resource. 
+            At any given time, it allows either concurrent read access for 
+            multiple threads, or write access for a single thread. In a 
+            situation where a resource is changed infrequently, a 
+            <c>ReaderWriterLock</c> provides better throughput than a simple 
+            one-at-a-time lock, such as <see cref="T:System.Threading.Monitor"/>.
+            </para>
+            <para>
+            If a platform does not support a <c>System.Threading.ReaderWriterLock</c> 
+            implementation then all readers and writers are serialized. Therefore 
+            the caller must not rely on multiple simultaneous readers.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.ReaderWriterLock.#ctor">
+            <summary>
+            Constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ReaderWriterLock"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReaderWriterLock.AcquireReaderLock">
+            <summary>
+            Acquires a reader lock
+            </summary>
+            <remarks>
+            <para>
+            <see cref="M:log4net.Util.ReaderWriterLock.AcquireReaderLock"/> blocks if a different thread has the writer 
+            lock, or if at least one thread is waiting for the writer lock.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReaderWriterLock.ReleaseReaderLock">
+            <summary>
+            Decrements the lock count
+            </summary>
+            <remarks>
+            <para>
+            <see cref="M:log4net.Util.ReaderWriterLock.ReleaseReaderLock"/> decrements the lock count. When the count 
+            reaches zero, the lock is released.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReaderWriterLock.AcquireWriterLock">
+            <summary>
+            Acquires the writer lock
+            </summary>
+            <remarks>
+            <para>
+            This method blocks if another thread has a reader lock or writer lock.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReaderWriterLock.ReleaseWriterLock">
+            <summary>
+            Decrements the lock count on the writer lock
+            </summary>
+            <remarks>
+            <para>
+            ReleaseWriterLock decrements the writer lock count. 
+            When the count reaches zero, the writer lock is released.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.ReusableStringWriter">
+            <summary>
+            A <see cref="T:System.IO.StringWriter"/> that can be <see cref="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)"/> and reused
+            </summary>
+            <remarks>
+            <para>
+            A <see cref="T:System.IO.StringWriter"/> that can be <see cref="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)"/> and reused.
+            This uses a single buffer for string operations.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.ReusableStringWriter.#ctor(System.IFormatProvider)">
+            <summary>
+            Create an instance of <see cref="T:log4net.Util.ReusableStringWriter"/>
+            </summary>
+            <param name="formatProvider">the format provider to use</param>
+            <remarks>
+            <para>
+            Create an instance of <see cref="T:log4net.Util.ReusableStringWriter"/>
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReusableStringWriter.Dispose(System.Boolean)">
+            <summary>
+            Override Dispose to prevent closing of writer
+            </summary>
+            <param name="disposing">flag</param>
+            <remarks>
+            <para>
+            Override Dispose to prevent closing of writer
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)">
+            <summary>
+            Reset this string writer so that it can be reused.
+            </summary>
+            <param name="maxCapacity">the maximum buffer capacity before it is trimmed</param>
+            <param name="defaultSize">the default size to make the buffer</param>
+            <remarks>
+            <para>
+            Reset this string writer so that it can be reused.
+            The internal buffers are cleared and reset.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.SystemInfo">
+            <summary>
+            Utility class for system specific information.
+            </summary>
+            <remarks>
+            <para>
+            Utility class of static methods for system specific information.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+            <author>Alexey Solofnenko</author>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.#ctor">
+            <summary>
+            Private constructor to prevent instances.
+            </summary>
+            <remarks>
+            <para>
+            Only static methods are exposed from this type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.#cctor">
+            <summary>
+            Initialize default values for private static fields.
+            </summary>
+            <remarks>
+            <para>
+            Only static methods are exposed from this type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.AssemblyLocationInfo(System.Reflection.Assembly)">
+            <summary>
+            Gets the assembly location path for the specified assembly.
+            </summary>
+            <param name="myAssembly">The assembly to get the location for.</param>
+            <returns>The location of the assembly.</returns>
+            <remarks>
+            <para>
+            This method does not guarantee to return the correct path
+            to the assembly. If only tries to give an indication as to
+            where the assembly was loaded from.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.AssemblyQualifiedName(System.Type)">
+            <summary>
+            Gets the fully qualified name of the <see cref="T:System.Type"/>, including 
+            the name of the assembly from which the <see cref="T:System.Type"/> was 
+            loaded.
+            </summary>
+            <param name="type">The <see cref="T:System.Type"/> to get the fully qualified name for.</param>
+            <returns>The fully qualified name for the <see cref="T:System.Type"/>.</returns>
+            <remarks>
+            <para>
+            This is equivalent to the <c>Type.AssemblyQualifiedName</c> property,
+            but this method works on the .NET Compact Framework 1.0 as well as
+            the full .NET runtime.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.AssemblyShortName(System.Reflection.Assembly)">
+            <summary>
+            Gets the short name of the <see cref="T:System.Reflection.Assembly"/>.
+            </summary>
+            <param name="myAssembly">The <see cref="T:System.Reflection.Assembly"/> to get the name for.</param>
+            <returns>The short name of the <see cref="T:System.Reflection.Assembly"/>.</returns>
+            <remarks>
+            <para>
+            The short name of the assembly is the <see cref="P:System.Reflection.Assembly.FullName"/> 
+            without the version, culture, or public key. i.e. it is just the 
+            assembly's file name without the extension.
+            </para>
+            <para>
+            Use this rather than <c>Assembly.GetName().Name</c> because that
+            is not available on the Compact Framework.
+            </para>
+            <para>
+            Because of a FileIOPermission security demand we cannot do
+            the obvious Assembly.GetName().Name. We are allowed to get
+            the <see cref="P:System.Reflection.Assembly.FullName"/> of the assembly so we 
+            start from there and strip out just the assembly name.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.AssemblyFileName(System.Reflection.Assembly)">
+            <summary>
+            Gets the file name portion of the <see cref="T:System.Reflection.Assembly"/>, including the extension.
+            </summary>
+            <param name="myAssembly">The <see cref="T:System.Reflection.Assembly"/> to get the file name for.</param>
+            <returns>The file name of the assembly.</returns>
+            <remarks>
+            <para>
+            Gets the file name portion of the <see cref="T:System.Reflection.Assembly"/>, including the extension.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.Type,System.String,System.Boolean,System.Boolean)">
+            <summary>
+            Loads the type specified in the type string.
+            </summary>
+            <param name="relativeType">A sibling type to use to load the type.</param>
+            <param name="typeName">The name of the type to load.</param>
+            <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
+            <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
+            <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
+            <remarks>
+            <para>
+            If the type name is fully qualified, i.e. if contains an assembly name in 
+            the type name, the type will be loaded from the system using 
+            <see cref="M:System.Type.GetType(System.String,System.Boolean)"/>.
+            </para>
+            <para>
+            If the type name is not fully qualified, it will be loaded from the assembly
+            containing the specified relative type. If the type is not found in the assembly 
+            then all the loaded assemblies will be searched for the type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.String,System.Boolean,System.Boolean)">
+            <summary>
+            Loads the type specified in the type string.
+            </summary>
+            <param name="typeName">The name of the type to load.</param>
+            <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
+            <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
+            <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>		
+            <remarks>
+            <para>
+            If the type name is fully qualified, i.e. if contains an assembly name in 
+            the type name, the type will be loaded from the system using 
+            <see cref="M:System.Type.GetType(System.String,System.Boolean)"/>.
+            </para>
+            <para>
+            If the type name is not fully qualified it will be loaded from the
+            assembly that is directly calling this method. If the type is not found 
+            in the assembly then all the loaded assemblies will be searched for the type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.Reflection.Assembly,System.String,System.Boolean,System.Boolean)">
+            <summary>
+            Loads the type specified in the type string.
+            </summary>
+            <param name="relativeAssembly">An assembly to load the type from.</param>
+            <param name="typeName">The name of the type to load.</param>
+            <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
+            <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
+            <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
+            <remarks>
+            <para>
+            If the type name is fully qualified, i.e. if contains an assembly name in 
+            the type name, the type will be loaded from the system using 
+            <see cref="M:System.Type.GetType(System.String,System.Boolean)"/>.
+            </para>
+            <para>
+            If the type name is not fully qualified it will be loaded from the specified
+            assembly. If the type is not found in the assembly then all the loaded assemblies 
+            will be searched for the type.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.NewGuid">
+            <summary>
+            Generate a new guid
+            </summary>
+            <returns>A new Guid</returns>
+            <remarks>
+            <para>
+            Generate a new guid
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.CreateArgumentOutOfRangeException(System.String,System.Object,System.String)">
+            <summary>
+            Create an <see cref="T:System.ArgumentOutOfRangeException"/>
+            </summary>
+            <param name="parameterName">The name of the parameter that caused the exception</param>
+            <param name="actualValue">The value of the argument that causes this exception</param>
+            <param name="message">The message that describes the error</param>
+            <returns>the ArgumentOutOfRangeException object</returns>
+            <remarks>
+            <para>
+            Create a new instance of the <see cref="T:System.ArgumentOutOfRangeException"/> class 
+            with a specified error message, the parameter name, and the value 
+            of the argument.
+            </para>
+            <para>
+            The Compact Framework does not support the 3 parameter constructor for the
+            <see cref="T:System.ArgumentOutOfRangeException"/> type. This method provides an
+            implementation that works for all platforms.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int32@)">
+            <summary>
+            Parse a string into an <see cref="T:System.Int32"/> value
+            </summary>
+            <param name="s">the string to parse</param>
+            <param name="val">out param where the parsed value is placed</param>
+            <returns><c>true</c> if the string was able to be parsed into an integer</returns>
+            <remarks>
+            <para>
+            Attempts to parse the string into an integer. If the string cannot
+            be parsed then this method returns <c>false</c>. The method does not throw an exception.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int64@)">
+            <summary>
+            Parse a string into an <see cref="T:System.Int64"/> value
+            </summary>
+            <param name="s">the string to parse</param>
+            <param name="val">out param where the parsed value is placed</param>
+            <returns><c>true</c> if the string was able to be parsed into an integer</returns>
+            <remarks>
+            <para>
+            Attempts to parse the string into an integer. If the string cannot
+            be parsed then this method returns <c>false</c>. The method does not throw an exception.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.GetAppSetting(System.String)">
+            <summary>
+            Lookup an application setting
+            </summary>
+            <param name="key">the application settings key to lookup</param>
+            <returns>the value for the key, or <c>null</c></returns>
+            <remarks>
+            <para>
+            Configuration APIs are not supported under the Compact Framework
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.ConvertToFullPath(System.String)">
+            <summary>
+            Convert a path into a fully qualified local file path.
+            </summary>
+            <param name="path">The path to convert.</param>
+            <returns>The fully qualified path.</returns>
+            <remarks>
+            <para>
+            Converts the path specified to a fully
+            qualified path. If the path is relative it is
+            taken as relative from the application base 
+            directory.
+            </para>
+            <para>
+            The path specified must be a local file path, a URI is not supported.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemInfo.CreateCaseInsensitiveHashtable">
+            <summary>
+            Creates a new case-insensitive instance of the <see cref="T:System.Collections.Hashtable"/> class with the default initial capacity. 
+            </summary>
+            <returns>A new case-insensitive instance of the <see cref="T:System.Collections.Hashtable"/> class with the default initial capacity</returns>
+            <remarks>
+            <para>
+            The new Hashtable instance uses the default load factor, the CaseInsensitiveHashCodeProvider, and the CaseInsensitiveComparer.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.SystemInfo.EmptyTypes">
+            <summary>
+            Gets an empty array of types.
+            </summary>
+            <remarks>
+            <para>
+            The <c>Type.EmptyTypes</c> field is not available on
+            the .NET Compact Framework 1.0.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.SystemInfo.s_hostName">
+            <summary>
+            Cache the host name for the current machine
+            </summary>
+        </member>
+        <member name="F:log4net.Util.SystemInfo.s_appFriendlyName">
+            <summary>
+            Cache the application friendly name
+            </summary>
+        </member>
+        <member name="F:log4net.Util.SystemInfo.s_nullText">
+            <summary>
+            Text to output when a <c>null</c> is encountered.
+            </summary>
+        </member>
+        <member name="F:log4net.Util.SystemInfo.s_notAvailableText">
+            <summary>
+            Text to output when an unsupported feature is requested.
+            </summary>
+        </member>
+        <member name="F:log4net.Util.SystemInfo.s_processStartTime">
+            <summary>
+            Start time for the current process.
+            </summary>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.NewLine">
+            <summary>
+            Gets the system dependent line terminator.
+            </summary>
+            <value>
+            The system dependent line terminator.
+            </value>
+            <remarks>
+            <para>
+            Gets the system dependent line terminator.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.ApplicationBaseDirectory">
+            <summary>
+            Gets the base directory for this <see cref="T:System.AppDomain"/>.
+            </summary>
+            <value>The base directory path for the current <see cref="T:System.AppDomain"/>.</value>
+            <remarks>
+            <para>
+            Gets the base directory for this <see cref="T:System.AppDomain"/>.
+            </para>
+            <para>
+            The value returned may be either a local file path or a URI.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.ConfigurationFileLocation">
+            <summary>
+            Gets the path to the configuration file for the current <see cref="T:System.AppDomain"/>.
+            </summary>
+            <value>The path to the configuration file for the current <see cref="T:System.AppDomain"/>.</value>
+            <remarks>
+            <para>
+            The .NET Compact Framework 1.0 does not have a concept of a configuration
+            file. For this runtime, we use the entry assembly location as the root for
+            the configuration file name.
+            </para>
+            <para>
+            The value returned may be either a local file path or a URI.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.EntryAssemblyLocation">
+            <summary>
+            Gets the path to the file that first executed in the current <see cref="T:System.AppDomain"/>.
+            </summary>
+            <value>The path to the entry assembly.</value>
+            <remarks>
+            <para>
+            Gets the path to the file that first executed in the current <see cref="T:System.AppDomain"/>.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.CurrentThreadId">
+            <summary>
+            Gets the ID of the current thread.
+            </summary>
+            <value>The ID of the current thread.</value>
+            <remarks>
+            <para>
+            On the .NET framework, the <c>AppDomain.GetCurrentThreadId</c> method
+            is used to obtain the thread ID for the current thread. This is the 
+            operating system ID for the thread.
+            </para>
+            <para>
+            On the .NET Compact Framework 1.0 it is not possible to get the 
+            operating system thread ID for the current thread. The native method 
+            <c>GetCurrentThreadId</c> is implemented inline in a header file
+            and cannot be called.
+            </para>
+            <para>
+            On the .NET Framework 2.0 the <c>Thread.ManagedThreadId</c> is used as this
+            gives a stable id unrelated to the operating system thread ID which may 
+            change if the runtime is using fibers.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.HostName">
+            <summary>
+            Get the host name or machine name for the current machine
+            </summary>
+            <value>
+            The hostname or machine name
+            </value>
+            <remarks>
+            <para>
+            Get the host name or machine name for the current machine
+            </para>
+            <para>
+            The host name (<see cref="M:System.Net.Dns.GetHostName"/>) or
+            the machine name (<c>Environment.MachineName</c>) for
+            the current machine, or if neither of these are available
+            then <c>NOT AVAILABLE</c> is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.ApplicationFriendlyName">
+            <summary>
+            Get this application's friendly name
+            </summary>
+            <value>
+            The friendly name of this application as a string
+            </value>
+            <remarks>
+            <para>
+            If available the name of the application is retrieved from
+            the <c>AppDomain</c> using <c>AppDomain.CurrentDomain.FriendlyName</c>.
+            </para>
+            <para>
+            Otherwise the file name of the entry assembly is used.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.ProcessStartTime">
+            <summary>
+            Get the start time for the current process.
+            </summary>
+            <remarks>
+            <para>
+            This is the time at which the log4net library was loaded into the
+            AppDomain. Due to reports of a hang in the call to <c>System.Diagnostics.Process.StartTime</c>
+            this is not the start time for the current process.
+            </para>
+            <para>
+            The log4net library should be loaded by an application early during its
+            startup, therefore this start time should be a good approximation for
+            the actual start time.
+            </para>
+            <para>
+            Note that AppDomains may be loaded and unloaded within the
+            same process without the process terminating, however this start time
+            will be set per AppDomain.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.NullText">
+            <summary>
+            Text to output when a <c>null</c> is encountered.
+            </summary>
+            <remarks>
+            <para>
+            Use this value to indicate a <c>null</c> has been encountered while
+            outputting a string representation of an item.
+            </para>
+            <para>
+            The default value is <c>(null)</c>. This value can be overridden by specifying
+            a value for the <c>log4net.NullText</c> appSetting in the application's
+            .config file.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.SystemInfo.NotAvailableText">
+            <summary>
+            Text to output when an unsupported feature is requested.
+            </summary>
+            <remarks>
+            <para>
+            Use this value when an unsupported feature is requested.
+            </para>
+            <para>
+            The default value is <c>NOT AVAILABLE</c>. This value can be overridden by specifying
+            a value for the <c>log4net.NotAvailableText</c> appSetting in the application's
+            .config file.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.SystemStringFormat">
+            <summary>
+            Utility class that represents a format string.
+            </summary>
+            <remarks>
+            <para>
+            Utility class that represents a format string.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.SystemStringFormat.#ctor(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Initialise the <see cref="T:log4net.Util.SystemStringFormat"/>
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
+            <param name="format">A <see cref="T:System.String"/> containing zero or more format items.</param>
+            <param name="args">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
+        </member>
+        <member name="M:log4net.Util.SystemStringFormat.ToString">
+            <summary>
+            Format the string and arguments
+            </summary>
+            <returns>the formatted string</returns>
+        </member>
+        <member name="M:log4net.Util.SystemStringFormat.StringFormat(System.IFormatProvider,System.String,System.Object[])">
+            <summary>
+            Replaces the format item in a specified <see cref="T:System.String"/> with the text equivalent 
+            of the value of a corresponding <see cref="T:System.Object"/> instance in a specified array.
+            A specified parameter supplies culture-specific formatting information.
+            </summary>
+            <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
+            <param name="format">A <see cref="T:System.String"/> containing zero or more format items.</param>
+            <param name="args">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
+            <returns>
+            A copy of format in which the format items have been replaced by the <see cref="T:System.String"/> 
+            equivalent of the corresponding instances of <see cref="T:System.Object"/> in args.
+            </returns>
+            <remarks>
+            <para>
+            This method does not throw exceptions. If an exception thrown while formatting the result the
+            exception and arguments are returned in the result string.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.SystemStringFormat.StringFormatError(System.Exception,System.String,System.Object[])">
+            <summary>
+            Process an error during StringFormat
+            </summary>
+        </member>
+        <member name="M:log4net.Util.SystemStringFormat.RenderArray(System.Array,System.Text.StringBuilder)">
+            <summary>
+            Dump the contents of an array into a string builder
+            </summary>
+        </member>
+        <member name="M:log4net.Util.SystemStringFormat.RenderObject(System.Object,System.Text.StringBuilder)">
+            <summary>
+            Dump an object to a string
+            </summary>
+        </member>
+        <member name="T:log4net.Util.ThreadContextProperties">
+            <summary>
+            Implementation of Properties collection for the <see cref="T:log4net.ThreadContext"/>
+            </summary>
+            <remarks>
+            <para>
+            Class implements a collection of properties that is specific to each thread.
+            The class is not synchronized as each thread has its own <see cref="T:log4net.Util.PropertiesDictionary"/>.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Util.ThreadContextProperties.s_threadLocalSlot">
+            <summary>
+            The thread local data slot to use to store a PropertiesDictionary.
+            </summary>
+        </member>
+        <member name="M:log4net.Util.ThreadContextProperties.#ctor">
+            <summary>
+            Internal constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextProperties"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextProperties.Remove(System.String)">
+            <summary>
+            Remove a property
+            </summary>
+            <param name="key">the key for the entry to remove</param>
+            <remarks>
+            <para>
+            Remove a property
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextProperties.Clear">
+            <summary>
+            Clear all properties
+            </summary>
+            <remarks>
+            <para>
+            Clear all properties
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextProperties.GetProperties(System.Boolean)">
+            <summary>
+            Get the <c>PropertiesDictionary</c> for this thread.
+            </summary>
+            <param name="create">create the dictionary if it does not exist, otherwise return null if is does not exist</param>
+            <returns>the properties for this thread</returns>
+            <remarks>
+            <para>
+            The collection returned is only to be used on the calling thread. If the
+            caller needs to share the collection between different threads then the 
+            caller must clone the collection before doing so.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.ThreadContextProperties.Item(System.String)">
+            <summary>
+            Gets or sets the value of a property
+            </summary>
+            <value>
+            The value for the property with the specified key
+            </value>
+            <remarks>
+            <para>
+            Gets or sets the value of a property
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.ThreadContextStack">
+            <summary>
+            Implementation of Stack for the <see cref="T:log4net.ThreadContext"/>
+            </summary>
+            <remarks>
+            <para>
+            Implementation of Stack for the <see cref="T:log4net.ThreadContext"/>
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="F:log4net.Util.ThreadContextStack.m_stack">
+            <summary>
+            The stack store.
+            </summary>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.#ctor">
+            <summary>
+            Internal constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack"/> class. 
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.Clear">
+            <summary>
+            Clears all the contextual information held in this stack.
+            </summary>
+            <remarks>
+            <para>
+            Clears all the contextual information held in this stack.
+            Only call this if you think that this tread is being reused after
+            a previous call execution which may not have completed correctly.
+            You do not need to use this method if you always guarantee to call
+            the <see cref="M:System.IDisposable.Dispose"/> method of the <see cref="T:System.IDisposable"/>
+            returned from <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> even in exceptional circumstances,
+            for example by using the <c>using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))</c> 
+            syntax.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.Pop">
+            <summary>
+            Removes the top context from this stack.
+            </summary>
+            <returns>The message in the context that was removed from the top of this stack.</returns>
+            <remarks>
+            <para>
+            Remove the top context from this stack, and return
+            it to the caller. If this stack is empty then an
+            empty string (not <see langword="null"/>) is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.Push(System.String)">
+            <summary>
+            Pushes a new context message into this stack.
+            </summary>
+            <param name="message">The new context message.</param>
+            <returns>
+            An <see cref="T:System.IDisposable"/> that can be used to clean up the context stack.
+            </returns>
+            <remarks>
+            <para>
+            Pushes a new context onto this stack. An <see cref="T:System.IDisposable"/>
+            is returned that can be used to clean up this stack. This
+            can be easily combined with the <c>using</c> keyword to scope the
+            context.
+            </para>
+            </remarks>
+            <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
+            <code lang="C#">
+            using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))
+            {
+            	log.Warn("This should have an ThreadContext Stack message");
+            }
+            </code>
+            </example>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.GetFullMessage">
+            <summary>
+            Gets the current context information for this stack.
+            </summary>
+            <returns>The current context information.</returns>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.ToString">
+            <summary>
+            Gets the current context information for this stack.
+            </summary>
+            <returns>Gets the current context information</returns>
+            <remarks>
+            <para>
+            Gets the current context information for this stack.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.log4net#Core#IFixingRequired#GetFixedObject">
+            <summary>
+            Get a portable version of this object
+            </summary>
+            <returns>the portable instance of this object</returns>
+            <remarks>
+            <para>
+            Get a cross thread portable version of this object
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.ThreadContextStack.Count">
+            <summary>
+            The number of messages in the stack
+            </summary>
+            <value>
+            The current number of messages in the stack
+            </value>
+            <remarks>
+            <para>
+            The current number of messages in the stack. That is
+            the number of times <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> has been called
+            minus the number of times <see cref="M:log4net.Util.ThreadContextStack.Pop"/> has been called.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.ThreadContextStack.InternalStack">
+            <summary>
+            Gets and sets the internal stack used by this <see cref="T:log4net.Util.ThreadContextStack"/>
+            </summary>
+            <value>The internal storage stack</value>
+            <remarks>
+            <para>
+            This property is provided only to support backward compatability 
+            of the <see cref="T:log4net.NDC"/>. Tytpically the internal stack should not
+            be modified.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.ThreadContextStack.StackFrame">
+            <summary>
+            Inner class used to represent a single context frame in the stack.
+            </summary>
+            <remarks>
+            <para>
+            Inner class used to represent a single context frame in the stack.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.StackFrame.#ctor(System.String,log4net.Util.ThreadContextStack.StackFrame)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="message">The message for this context.</param>
+            <param name="parent">The parent context in the chain.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack.StackFrame"/> class
+            with the specified message and parent context.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.ThreadContextStack.StackFrame.Message">
+            <summary>
+            Get the message.
+            </summary>
+            <value>The message.</value>
+            <remarks>
+            <para>
+            Get the message.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.ThreadContextStack.StackFrame.FullMessage">
+            <summary>
+            Gets the full text of the context down to the root level.
+            </summary>
+            <value>
+            The full text of the context down to the root level.
+            </value>
+            <remarks>
+            <para>
+            Gets the full text of the context down to the root level.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.ThreadContextStack.AutoPopStackFrame">
+            <summary>
+            Struct returned from the <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> method.
+            </summary>
+            <remarks>
+            <para>
+            This struct implements the <see cref="T:System.IDisposable"/> and is designed to be used
+            with the <see langword="using"/> pattern to remove the stack frame at the end of the scope.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.ThreadContextStack.AutoPopStackFrame.m_frameStack">
+            <summary>
+            The ThreadContextStack internal stack
+            </summary>
+        </member>
+        <member name="F:log4net.Util.ThreadContextStack.AutoPopStackFrame.m_frameDepth">
+            <summary>
+            The depth to trim the stack to when this instance is disposed
+            </summary>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.AutoPopStackFrame.#ctor(System.Collections.Stack,System.Int32)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="frameStack">The internal stack used by the ThreadContextStack.</param>
+            <param name="frameDepth">The depth to return the stack to when this object is disposed.</param>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack.AutoPopStackFrame"/> class with
+            the specified stack and return depth.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStack.AutoPopStackFrame.Dispose">
+            <summary>
+            Returns the stack to the correct depth.
+            </summary>
+            <remarks>
+            <para>
+            Returns the stack to the correct depth.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.ThreadContextStacks">
+            <summary>
+            Implementation of Stacks collection for the <see cref="T:log4net.ThreadContext"/>
+            </summary>
+            <remarks>
+            <para>
+            Implementation of Stacks collection for the <see cref="T:log4net.ThreadContext"/>
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.Util.ThreadContextStacks.#ctor(log4net.Util.ContextPropertiesBase)">
+            <summary>
+            Internal constructor
+            </summary>
+            <remarks>
+            <para>
+            Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStacks"/> class.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.ThreadContextStacks.Item(System.String)">
+            <summary>
+            Gets the named thread context stack
+            </summary>
+            <value>
+            The named stack
+            </value>
+            <remarks>
+            <para>
+            Gets the named thread context stack
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.Transform">
+            <summary>
+            Utility class for transforming strings.
+            </summary>
+            <remarks>
+            <para>
+            Utility class for transforming strings.
+            </para>
+            </remarks>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.Util.Transform.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.Util.Transform"/> class. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to prevent instantiation of this class.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.Transform.WriteEscapedXmlString(System.Xml.XmlWriter,System.String,System.String)">
+            <summary>
+            Write a string to an <see cref="T:System.Xml.XmlWriter"/>
+            </summary>
+            <param name="writer">the writer to write to</param>
+            <param name="textData">the string to write</param>
+            <param name="invalidCharReplacement">The string to replace non XML compliant chars with</param>
+            <remarks>
+            <para>
+            The test is escaped either using XML escape entities
+            or using CDATA sections.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.Transform.MaskXmlInvalidCharacters(System.String,System.String)">
+            <summary>
+            Replace invalid XML characters in text string
+            </summary>
+            <param name="textData">the XML text input string</param>
+            <param name="mask">the string to use in place of invalid characters</param>
+            <returns>A string that does not contain invalid XML characters.</returns>
+            <remarks>
+            <para>
+            Certain Unicode code points are not allowed in the XML InfoSet, for
+            details see: <a href="http://www.w3.org/TR/REC-xml/#charsets">http://www.w3.org/TR/REC-xml/#charsets</a>.
+            </para>
+            <para>
+            This method replaces any illegal characters in the input string
+            with the mask string specified.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.Transform.CountSubstrings(System.String,System.String)">
+            <summary>
+            Count the number of times that the substring occurs in the text
+            </summary>
+            <param name="text">the text to search</param>
+            <param name="substring">the substring to find</param>
+            <returns>the number of times the substring occurs in the text</returns>
+            <remarks>
+            <para>
+            The substring is assumed to be non repeating within itself.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.WindowsSecurityContext">
+            <summary>
+            Impersonate a Windows Account
+            </summary>
+            <remarks>
+            <para>
+            This <see cref="T:log4net.Core.SecurityContext"/> impersonates a Windows account.
+            </para>
+            <para>
+            How the impersonation is done depends on the value of <see cref="M:log4net.Util.WindowsSecurityContext.Impersonate(System.Object)"/>.
+            This allows the context to either impersonate a set of user credentials specified 
+            using username, domain name and password or to revert to the process credentials.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.WindowsSecurityContext.#ctor">
+            <summary>
+            Default constructor
+            </summary>
+            <remarks>
+            <para>
+            Default constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.WindowsSecurityContext.ActivateOptions">
+            <summary>
+            Initialize the SecurityContext based on the options set.
+            </summary>
+            <remarks>
+            <para>
+            This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
+            activation scheme. The <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> method must 
+            be called on this object after the configuration properties have
+            been set. Until <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> is called this
+            object is in an undefined state and must not be used. 
+            </para>
+            <para>
+            If any of the configuration properties are modified then 
+            <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> must be called again.
+            </para>
+            <para>
+            The security context will try to Logon the specified user account and
+            capture a primary token for impersonation.
+            </para>
+            </remarks>
+            <exception cref="T:System.ArgumentNullException">The required <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/>, 
+            <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> or <see cref="P:log4net.Util.WindowsSecurityContext.Password"/> properties were not specified.</exception>
+        </member>
+        <member name="M:log4net.Util.WindowsSecurityContext.Impersonate(System.Object)">
+            <summary>
+            Impersonate the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
+            </summary>
+            <param name="state">caller provided state</param>
+            <returns>
+            An <see cref="T:System.IDisposable"/> instance that will revoke the impersonation of this SecurityContext
+            </returns>
+            <remarks>
+            <para>
+            Depending on the <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/> property either
+            impersonate a user using credentials supplied or revert 
+            to the process credentials.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.WindowsSecurityContext.LogonUser(System.String,System.String,System.String)">
+            <summary>
+            Create a <see cref="T:System.Security.Principal.WindowsIdentity"/> given the userName, domainName and password.
+            </summary>
+            <param name="userName">the user name</param>
+            <param name="domainName">the domain name</param>
+            <param name="password">the password</param>
+            <returns>the <see cref="T:System.Security.Principal.WindowsIdentity"/> for the account specified</returns>
+            <remarks>
+            <para>
+            Uses the Windows API call LogonUser to get a principal token for the account. This
+            token is used to initialize the WindowsIdentity.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.WindowsSecurityContext.Credentials">
+            <summary>
+            Gets or sets the impersonation mode for this security context
+            </summary>
+            <value>
+            The impersonation mode for this security context
+            </value>
+            <remarks>
+            <para>
+            Impersonate either a user with user credentials or
+            revert this thread to the credentials of the process.
+            The value is one of the <see cref="T:log4net.Util.WindowsSecurityContext.ImpersonationMode"/>
+            enum.
+            </para>
+            <para>
+            The default value is <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/>
+            </para>
+            <para>
+            When the mode is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/>
+            the user's credentials are established using the
+            <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/>, <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.Password"/>
+            values.
+            </para>
+            <para>
+            When the mode is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.Process"/>
+            no other properties need to be set. If the calling thread is 
+            impersonating then it will be reverted back to the process credentials.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.WindowsSecurityContext.UserName">
+            <summary>
+            Gets or sets the Windows username for this security context
+            </summary>
+            <value>
+            The Windows username for this security context
+            </value>
+            <remarks>
+            <para>
+            This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
+            is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.WindowsSecurityContext.DomainName">
+            <summary>
+            Gets or sets the Windows domain name for this security context
+            </summary>
+            <value>
+            The Windows domain name for this security context
+            </value>
+            <remarks>
+            <para>
+            The default value for <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> is the local machine name
+            taken from the <see cref="P:System.Environment.MachineName"/> property.
+            </para>
+            <para>
+            This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
+            is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.Util.WindowsSecurityContext.Password">
+            <summary>
+            Sets the password for the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
+            </summary>
+            <value>
+            The password for the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
+            </value>
+            <remarks>
+            <para>
+            This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
+            is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.Util.WindowsSecurityContext.ImpersonationMode">
+            <summary>
+            The impersonation modes for the <see cref="T:log4net.Util.WindowsSecurityContext"/>
+            </summary>
+            <remarks>
+            <para>
+            See the <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/> property for
+            details.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User">
+            <summary>
+            Impersonate a user using the credentials supplied
+            </summary>
+        </member>
+        <member name="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.Process">
+            <summary>
+            Revert this the thread to the credentials of the process
+            </summary>
+        </member>
+        <member name="T:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext">
+            <summary>
+            Adds <see cref="T:System.IDisposable"/> to <see cref="T:System.Security.Principal.WindowsImpersonationContext"/>
+            </summary>
+            <remarks>
+            <para>
+            Helper class to expose the <see cref="T:System.Security.Principal.WindowsImpersonationContext"/>
+            through the <see cref="T:System.IDisposable"/> interface.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext.#ctor(System.Security.Principal.WindowsImpersonationContext)">
+            <summary>
+            Constructor
+            </summary>
+            <param name="impersonationContext">the impersonation context being wrapped</param>
+            <remarks>
+            <para>
+            Constructor
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext.Dispose">
+            <summary>
+            Revert the impersonation
+            </summary>
+            <remarks>
+            <para>
+            Revert the impersonation
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.GlobalContext">
+            <summary>
+            The log4net Global Context.
+            </summary>
+            <remarks>
+            <para>
+            The <c>GlobalContext</c> provides a location for global debugging 
+            information to be stored.
+            </para>
+            <para>
+            The global context has a properties map and these properties can 
+            be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
+            supports selecting and outputing these properties.
+            </para>
+            <para>
+            By default the <c>log4net:HostName</c> property is set to the name of 
+            the current machine.
+            </para>
+            </remarks>
+            <example>
+            <code lang="C#">
+            GlobalContext.Properties["hostname"] = Environment.MachineName;
+            </code>
+            </example>
+            <threadsafety static="true" instance="true"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.GlobalContext.#ctor">
+            <summary>
+            Private Constructor. 
+            </summary>
+            <remarks>
+            Uses a private access modifier to prevent instantiation of this class.
+            </remarks>
+        </member>
+        <member name="F:log4net.GlobalContext.s_properties">
+            <summary>
+            The global context properties instance
+            </summary>
+        </member>
+        <member name="P:log4net.GlobalContext.Properties">
+            <summary>
+            The global properties map.
+            </summary>
+            <value>
+            The global properties map.
+            </value>
+            <remarks>
+            <para>
+            The global properties map.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.LogicalThreadContext">
+            <summary>
+            The log4net Logical Thread Context.
+            </summary>
+            <remarks>
+            <para>
+            The <c>LogicalThreadContext</c> provides a location for <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> specific debugging 
+            information to be stored.
+            The <c>LogicalThreadContext</c> properties override any <see cref="T:log4net.ThreadContext"/> or <see cref="T:log4net.GlobalContext"/>
+            properties with the same name.
+            </para>
+            <para>
+            The Logical Thread Context has a properties map and a stack.
+            The properties and stack can 
+            be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
+            supports selecting and outputting these properties.
+            </para>
+            <para>
+            The Logical Thread Context provides a diagnostic context for the current call context. 
+            This is an instrument for distinguishing interleaved log
+            output from different sources. Log output is typically interleaved
+            when a server handles multiple clients near-simultaneously.
+            </para>
+            <para>
+            The Logical Thread Context is managed on a per <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> basis.
+            </para>
+            </remarks>
+            <example>Example of using the thread context properties to store a username.
+            <code lang="C#">
+            LogicalThreadContext.Properties["user"] = userName;
+            log.Info("This log message has a LogicalThreadContext Property called 'user'");
+            </code>
+            </example>
+            <example>Example of how to push a message into the context stack
+            <code lang="C#">
+            using(LogicalThreadContext.Stacks["LDC"].Push("my context message"))
+            {
+            	log.Info("This log message has a LogicalThreadContext Stack message that includes 'my context message'");
+            
+            } // at the end of the using block the message is automatically popped 
+            </code>
+            </example>
+            <threadsafety static="true" instance="true"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.LogicalThreadContext.#ctor">
+            <summary>
+            Private Constructor. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to prevent instantiation of this class.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.LogicalThreadContext.s_properties">
+            <summary>
+            The thread context properties instance
+            </summary>
+        </member>
+        <member name="F:log4net.LogicalThreadContext.s_stacks">
+            <summary>
+            The thread context stacks instance
+            </summary>
+        </member>
+        <member name="P:log4net.LogicalThreadContext.Properties">
+            <summary>
+            The thread properties map
+            </summary>
+            <value>
+            The thread properties map
+            </value>
+            <remarks>
+            <para>
+            The <c>LogicalThreadContext</c> properties override any <see cref="T:log4net.ThreadContext"/> 
+            or <see cref="T:log4net.GlobalContext"/> properties with the same name.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.LogicalThreadContext.Stacks">
+            <summary>
+            The thread stacks
+            </summary>
+            <value>
+            stack map
+            </value>
+            <remarks>
+            <para>
+            The logical thread stacks.
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.LogManager">
+            <summary>
+            This class is used by client applications to request logger instances.
+            </summary>
+            <remarks>
+            <para>
+            This class has static methods that are used by a client to request
+            a logger instance. The <see cref="M:log4net.LogManager.GetLogger(System.String)"/> method is 
+            used to retrieve a logger.
+            </para>
+            <para>
+            See the <see cref="T:log4net.ILog"/> interface for more details.
+            </para>
+            </remarks>
+            <example>Simple example of logging messages
+            <code lang="C#">
+            ILog log = LogManager.GetLogger("application-log");
+            
+            log.Info("Application Start");
+            log.Debug("This is a debug message");
+            
+            if (log.IsDebugEnabled)
+            {
+            	log.Debug("This is another debug message");
+            }
+            </code>
+            </example>
+            <threadsafety static="true" instance="true"/>
+            <seealso cref="T:log4net.ILog"/>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.LogManager.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.LogManager"/> class. 
+            </summary>
+            <remarks>
+            Uses a private access modifier to prevent instantiation of this class.
+            </remarks>
+        </member>
+        <member name="M:log4net.LogManager.Exists(System.String)">
+            <overloads>Returns the named logger if it exists.</overloads>
+            <summary>
+            Returns the named logger if it exists.
+            </summary>
+            <remarks>
+            <para>
+            If the named logger exists (in the default repository) then it
+            returns a reference to the logger, otherwise it returns <c>null</c>.
+            </para>
+            </remarks>
+            <param name="name">The fully qualified logger name to look for.</param>
+            <returns>The logger found, or <c>null</c> if no logger could be found.</returns>
+        </member>
+        <member name="M:log4net.LogManager.Exists(System.String,System.String)">
+            <summary>
+            Returns the named logger if it exists.
+            </summary>
+            <remarks>
+            <para>
+            If the named logger exists (in the specified repository) then it
+            returns a reference to the logger, otherwise it returns
+            <c>null</c>.
+            </para>
+            </remarks>
+            <param name="repository">The repository to lookup in.</param>
+            <param name="name">The fully qualified logger name to look for.</param>
+            <returns>
+            The logger found, or <c>null</c> if the logger doesn't exist in the specified 
+            repository.
+            </returns>
+        </member>
+        <member name="M:log4net.LogManager.Exists(System.Reflection.Assembly,System.String)">
+            <summary>
+            Returns the named logger if it exists.
+            </summary>
+            <remarks>
+            <para>
+            If the named logger exists (in the repository for the specified assembly) then it
+            returns a reference to the logger, otherwise it returns
+            <c>null</c>.
+            </para>
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <param name="name">The fully qualified logger name to look for.</param>
+            <returns>
+            The logger, or <c>null</c> if the logger doesn't exist in the specified
+            assembly's repository.
+            </returns>
+        </member>
+        <member name="M:log4net.LogManager.GetCurrentLoggers">
+            <overloads>Get the currently defined loggers.</overloads>
+            <summary>
+            Returns all the currently defined loggers in the default repository.
+            </summary>
+            <remarks>
+            <para>The root logger is <b>not</b> included in the returned array.</para>
+            </remarks>
+            <returns>All the defined loggers.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetCurrentLoggers(System.String)">
+            <summary>
+            Returns all the currently defined loggers in the specified repository.
+            </summary>
+            <param name="repository">The repository to lookup in.</param>
+            <remarks>
+            The root logger is <b>not</b> included in the returned array.
+            </remarks>
+            <returns>All the defined loggers.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetCurrentLoggers(System.Reflection.Assembly)">
+            <summary>
+            Returns all the currently defined loggers in the specified assembly's repository.
+            </summary>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <remarks>
+            The root logger is <b>not</b> included in the returned array.
+            </remarks>
+            <returns>All the defined loggers.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetLogger(System.String)">
+            <overloads>Get or create a logger.</overloads>
+            <summary>
+            Retrieves or creates a named logger.
+            </summary>
+            <remarks>
+            <para>
+            Retrieves a logger named as the <paramref name="name"/>
+            parameter. If the named logger already exists, then the
+            existing instance will be returned. Otherwise, a new instance is
+            created.
+            </para>
+            <para>By default, loggers do not have a set level but inherit
+            it from the hierarchy. This is one of the central features of
+            log4net.
+            </para>
+            </remarks>
+            <param name="name">The name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetLogger(System.String,System.String)">
+            <summary>
+            Retrieves or creates a named logger.
+            </summary>
+            <remarks>
+            <para>
+            Retrieve a logger named as the <paramref name="name"/>
+            parameter. If the named logger already exists, then the
+            existing instance will be returned. Otherwise, a new instance is
+            created.
+            </para>
+            <para>
+            By default, loggers do not have a set level but inherit
+            it from the hierarchy. This is one of the central features of
+            log4net.
+            </para>
+            </remarks>
+            <param name="repository">The repository to lookup in.</param>
+            <param name="name">The name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.String)">
+            <summary>
+            Retrieves or creates a named logger.
+            </summary>
+            <remarks>
+            <para>
+            Retrieve a logger named as the <paramref name="name"/>
+            parameter. If the named logger already exists, then the
+            existing instance will be returned. Otherwise, a new instance is
+            created.
+            </para>
+            <para>
+            By default, loggers do not have a set level but inherit
+            it from the hierarchy. This is one of the central features of
+            log4net.
+            </para>
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <param name="name">The name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetLogger(System.Type)">
+            <summary>
+            Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
+            </summary>
+            <remarks>
+            Get the logger for the fully qualified name of the type specified.
+            </remarks>
+            <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetLogger(System.String,System.Type)">
+            <summary>
+            Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
+            </summary>
+            <remarks>
+            Gets the logger for the fully qualified name of the type specified.
+            </remarks>
+            <param name="repository">The repository to lookup in.</param>
+            <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
+            </summary>
+            <remarks>
+            Gets the logger for the fully qualified name of the type specified.
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+            <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
+            <returns>The logger with the name specified.</returns>
+        </member>
+        <member name="M:log4net.LogManager.Shutdown">
+            <summary>
+            Shuts down the log4net system.
+            </summary>
+            <remarks>
+            <para>
+            Calling this method will <b>safely</b> close and remove all
+            appenders in all the loggers including root contained in all the
+            default repositories.
+            </para>
+            <para>
+            Some appenders need to be closed before the application exists. 
+            Otherwise, pending logging events might be lost.
+            </para>
+            <para>The <c>shutdown</c> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.LogManager.ShutdownRepository">
+            <overloads>Shutdown a logger repository.</overloads>
+            <summary>
+            Shuts down the default repository.
+            </summary>
+            <remarks>
+            <para>
+            Calling this method will <b>safely</b> close and remove all
+            appenders in all the loggers including root contained in the
+            default repository.
+            </para>
+            <para>Some appenders need to be closed before the application exists. 
+            Otherwise, pending logging events might be lost.
+            </para>
+            <para>The <c>shutdown</c> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.LogManager.ShutdownRepository(System.String)">
+            <summary>
+            Shuts down the repository for the repository specified.
+            </summary>
+            <remarks>
+            <para>
+            Calling this method will <b>safely</b> close and remove all
+            appenders in all the loggers including root contained in the
+            <paramref name="repository"/> specified.
+            </para>
+            <para>
+            Some appenders need to be closed before the application exists. 
+            Otherwise, pending logging events might be lost.
+            </para>
+            <para>The <c>shutdown</c> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+            <param name="repository">The repository to shutdown.</param>
+        </member>
+        <member name="M:log4net.LogManager.ShutdownRepository(System.Reflection.Assembly)">
+            <summary>
+            Shuts down the repository specified.
+            </summary>
+            <remarks>
+            <para>
+            Calling this method will <b>safely</b> close and remove all
+            appenders in all the loggers including root contained in the
+            repository. The repository is looked up using
+            the <paramref name="repositoryAssembly"/> specified.
+            </para>
+            <para>
+            Some appenders need to be closed before the application exists. 
+            Otherwise, pending logging events might be lost.
+            </para>
+            <para>
+            The <c>shutdown</c> method is careful to close nested
+            appenders before closing regular appenders. This is allows
+            configurations where a regular appender is attached to a logger
+            and again to a nested appender.
+            </para>
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+        </member>
+        <member name="M:log4net.LogManager.ResetConfiguration">
+            <overloads>Reset the configuration of a repository</overloads>
+            <summary>
+            Resets all values contained in this repository instance to their defaults.
+            </summary>
+            <remarks>
+            <para>
+            Resets all values contained in the repository instance to their
+            defaults.  This removes all appenders from all loggers, sets
+            the level of all non-root loggers to <c>null</c>,
+            sets their additivity flag to <c>true</c> and sets the level
+            of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
+            message disabling is set to its default "off" value.
+            </para>		
+            </remarks>
+        </member>
+        <member name="M:log4net.LogManager.ResetConfiguration(System.String)">
+            <summary>
+            Resets all values contained in this repository instance to their defaults.
+            </summary>
+            <remarks>
+            <para>
+            Reset all values contained in the repository instance to their
+            defaults.  This removes all appenders from all loggers, sets
+            the level of all non-root loggers to <c>null</c>,
+            sets their additivity flag to <c>true</c> and sets the level
+            of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
+            message disabling is set to its default "off" value.
+            </para>		
+            </remarks>
+            <param name="repository">The repository to reset.</param>
+        </member>
+        <member name="M:log4net.LogManager.ResetConfiguration(System.Reflection.Assembly)">
+            <summary>
+            Resets all values contained in this repository instance to their defaults.
+            </summary>
+            <remarks>
+            <para>
+            Reset all values contained in the repository instance to their
+            defaults.  This removes all appenders from all loggers, sets
+            the level of all non-root loggers to <c>null</c>,
+            sets their additivity flag to <c>true</c> and sets the level
+            of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
+            message disabling is set to its default "off" value.
+            </para>		
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository to reset.</param>
+        </member>
+        <member name="M:log4net.LogManager.GetLoggerRepository">
+            <overloads>Get the logger repository.</overloads>
+            <summary>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
+            by the callers assembly (<see cref="M:System.Reflection.Assembly.GetCallingAssembly"/>).
+            </para>
+            </remarks>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> instance for the default repository.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetLoggerRepository(System.String)">
+            <summary>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
+            by the <paramref name="repository"/> argument.
+            </para>
+            </remarks>
+            <param name="repository">The repository to lookup in.</param>
+        </member>
+        <member name="M:log4net.LogManager.GetLoggerRepository(System.Reflection.Assembly)">
+            <summary>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
+            by the <paramref name="repositoryAssembly"/> argument.
+            </para>
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+        </member>
+        <member name="M:log4net.LogManager.GetRepository">
+            <overloads>Get a logger repository.</overloads>
+            <summary>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
+            by the callers assembly (<see cref="M:System.Reflection.Assembly.GetCallingAssembly"/>).
+            </para>
+            </remarks>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> instance for the default repository.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetRepository(System.String)">
+            <summary>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
+            by the <paramref name="repository"/> argument.
+            </para>
+            </remarks>
+            <param name="repository">The repository to lookup in.</param>
+        </member>
+        <member name="M:log4net.LogManager.GetRepository(System.Reflection.Assembly)">
+            <summary>
+            Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
+            </summary>
+            <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
+            <remarks>
+            <para>
+            Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
+            by the <paramref name="repositoryAssembly"/> argument.
+            </para>
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
+        </member>
+        <member name="M:log4net.LogManager.CreateDomain(System.Type)">
+            <overloads>Create a domain</overloads>
+            <summary>
+            Creates a repository with the specified repository type.
+            </summary>
+            <remarks>
+            <para>
+            <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
+            </para>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.LogManager.GetRepository"/> will return 
+            the same repository instance.
+            </para>
+            </remarks>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+        </member>
+        <member name="M:log4net.LogManager.CreateRepository(System.Type)">
+            <overloads>Create a logger repository.</overloads>
+            <summary>
+            Creates a repository with the specified repository type.
+            </summary>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.LogManager.GetRepository"/> will return 
+            the same repository instance.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.LogManager.CreateDomain(System.String)">
+            <summary>
+            Creates a repository with the specified name.
+            </summary>
+            <remarks>
+            <para>
+            <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
+            </para>
+            <para>
+            Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
+            <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
+            </para>
+            <para>
+            The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
+            An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
+            </para>
+            </remarks>
+            <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
+        </member>
+        <member name="M:log4net.LogManager.CreateRepository(System.String)">
+            <summary>
+            Creates a repository with the specified name.
+            </summary>
+            <remarks>
+            <para>
+            Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
+            <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
+            </para>
+            <para>
+            The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
+            An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
+            </para>
+            </remarks>
+            <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
+        </member>
+        <member name="M:log4net.LogManager.CreateDomain(System.String,System.Type)">
+            <summary>
+            Creates a repository with the specified name and repository type.
+            </summary>
+            <remarks>
+            <para>
+            <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
+            </para>
+            <para>
+            The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
+            An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
+            </para>
+            </remarks>
+            <param name="repository">The name of the repository, this must be unique to the repository.</param>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
+        </member>
+        <member name="M:log4net.LogManager.CreateRepository(System.String,System.Type)">
+            <summary>
+            Creates a repository with the specified name and repository type.
+            </summary>
+            <remarks>
+            <para>
+            The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
+            An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
+            </para>
+            </remarks>
+            <param name="repository">The name of the repository, this must be unique to the repository.</param>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+            <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
+        </member>
+        <member name="M:log4net.LogManager.CreateDomain(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Creates a repository for the specified assembly and repository type.
+            </summary>
+            <remarks>
+            <para>
+            <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
+            </para>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.LogManager.GetRepository(System.Reflection.Assembly)"/> with the
+            same assembly specified will return the same repository instance.
+            </para>
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+        </member>
+        <member name="M:log4net.LogManager.CreateRepository(System.Reflection.Assembly,System.Type)">
+            <summary>
+            Creates a repository for the specified assembly and repository type.
+            </summary>
+            <remarks>
+            <para>
+            The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
+            specified such that a call to <see cref="M:log4net.LogManager.GetRepository(System.Reflection.Assembly)"/> with the
+            same assembly specified will return the same repository instance.
+            </para>
+            </remarks>
+            <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
+            <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
+            and has a no arg constructor. An instance of this type will be created to act
+            as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
+            <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
+        </member>
+        <member name="M:log4net.LogManager.GetAllRepositories">
+            <summary>
+            Gets the list of currently defined repositories.
+            </summary>
+            <remarks>
+            <para>
+            Get an array of all the <see cref="T:log4net.Repository.ILoggerRepository"/> objects that have been created.
+            </para>
+            </remarks>
+            <returns>An array of all the known <see cref="T:log4net.Repository.ILoggerRepository"/> objects.</returns>
+        </member>
+        <member name="M:log4net.LogManager.WrapLogger(log4net.Core.ILogger)">
+            <summary>
+            Looks up the wrapper object for the logger specified.
+            </summary>
+            <param name="logger">The logger to get the wrapper for.</param>
+            <returns>The wrapper for the logger specified.</returns>
+        </member>
+        <member name="M:log4net.LogManager.WrapLoggers(log4net.Core.ILogger[])">
+            <summary>
+            Looks up the wrapper objects for the loggers specified.
+            </summary>
+            <param name="loggers">The loggers to get the wrappers for.</param>
+            <returns>The wrapper objects for the loggers specified.</returns>
+        </member>
+        <member name="M:log4net.LogManager.WrapperCreationHandler(log4net.Core.ILogger)">
+            <summary>
+            Create the <see cref="T:log4net.Core.ILoggerWrapper"/> objects used by
+            this manager.
+            </summary>
+            <param name="logger">The logger to wrap.</param>
+            <returns>The wrapper for the logger specified.</returns>
+        </member>
+        <member name="F:log4net.LogManager.s_wrapperMap">
+            <summary>
+            The wrapper map to use to hold the <see cref="T:log4net.Core.LogImpl"/> objects.
+            </summary>
+        </member>
+        <member name="T:log4net.MDC">
+            <summary>
+            Implementation of Mapped Diagnostic Contexts.
+            </summary>
+            <remarks>
+            <note>
+            <para>
+            The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
+            The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
+            </para>
+            </note>
+            <para>
+            The MDC class is similar to the <see cref="T:log4net.NDC"/> class except that it is
+            based on a map instead of a stack. It provides <i>mapped
+            diagnostic contexts</i>. A <i>Mapped Diagnostic Context</i>, or
+            MDC in short, is an instrument for distinguishing interleaved log
+            output from different sources. Log output is typically interleaved
+            when a server handles multiple clients near-simultaneously.
+            </para>
+            <para>
+            The MDC is managed on a per thread basis.
+            </para>
+            </remarks>
+            <threadsafety static="true" instance="true"/>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.MDC.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.MDC"/> class. 
+            </summary>
+            <remarks>
+            Uses a private access modifier to prevent instantiation of this class.
+            </remarks>
+        </member>
+        <member name="M:log4net.MDC.Get(System.String)">
+            <summary>
+            Gets the context value identified by the <paramref name="key"/> parameter.
+            </summary>
+            <param name="key">The key to lookup in the MDC.</param>
+            <returns>The string value held for the key, or a <c>null</c> reference if no corresponding value is found.</returns>
+            <remarks>
+            <note>
+            <para>
+            The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
+            The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
+            </para>
+            </note>
+            <para>
+            If the <paramref name="key"/> parameter does not look up to a
+            previously defined context then <c>null</c> will be returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.MDC.Set(System.String,System.String)">
+            <summary>
+            Add an entry to the MDC
+            </summary>
+            <param name="key">The key to store the value under.</param>
+            <param name="value">The value to store.</param>
+            <remarks>
+            <note>
+            <para>
+            The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
+            The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
+            </para>
+            </note>
+            <para>
+            Puts a context value (the <paramref name="val"/> parameter) as identified
+            with the <paramref name="key"/> parameter into the current thread's
+            context map.
+            </para>
+            <para>
+            If a value is already defined for the <paramref name="key"/>
+            specified then the value will be replaced. If the <paramref name="val"/> 
+            is specified as <c>null</c> then the key value mapping will be removed.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.MDC.Remove(System.String)">
+            <summary>
+            Removes the key value mapping for the key specified.
+            </summary>
+            <param name="key">The key to remove.</param>
+            <remarks>
+            <note>
+            <para>
+            The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
+            The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
+            </para>
+            </note>
+            <para>
+            Remove the specified entry from this thread's MDC
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.MDC.Clear">
+            <summary>
+            Clear all entries in the MDC
+            </summary>
+            <remarks>
+            <note>
+            <para>
+            The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
+            The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
+            </para>
+            </note>
+            <para>
+            Remove all the entries from this thread's MDC
+            </para>
+            </remarks>
+        </member>
+        <member name="T:log4net.NDC">
+            <summary>
+            Implementation of Nested Diagnostic Contexts.
+            </summary>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            A Nested Diagnostic Context, or NDC in short, is an instrument
+            to distinguish interleaved log output from different sources. Log
+            output is typically interleaved when a server handles multiple
+            clients near-simultaneously.
+            </para>
+            <para>
+            Interleaved log output can still be meaningful if each log entry
+            from different contexts had a distinctive stamp. This is where NDCs
+            come into play.
+            </para>
+            <para>
+            Note that NDCs are managed on a per thread basis. The NDC class
+            is made up of static methods that operate on the context of the
+            calling thread.
+            </para>
+            </remarks>
+            <example>How to push a message into the context
+            <code lang="C#">
+            using(NDC.Push("my context message"))
+            {
+            	... all log calls will have 'my context message' included ...
+            
+            } // at the end of the using block the message is automatically removed 
+            </code>
+            </example>
+            <threadsafety static="true" instance="true"/>
+            <author>Nicko Cadell</author>
+            <author>Gert Driesen</author>
+        </member>
+        <member name="M:log4net.NDC.#ctor">
+            <summary>
+            Initializes a new instance of the <see cref="T:log4net.NDC"/> class. 
+            </summary>
+            <remarks>
+            Uses a private access modifier to prevent instantiation of this class.
+            </remarks>
+        </member>
+        <member name="M:log4net.NDC.Clear">
+            <summary>
+            Clears all the contextual information held on the current thread.
+            </summary>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            Clears the stack of NDC data held on the current thread.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.NDC.CloneStack">
+            <summary>
+            Creates a clone of the stack of context information.
+            </summary>
+            <returns>A clone of the context info for this thread.</returns>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            The results of this method can be passed to the <see cref="M:log4net.NDC.Inherit(System.Collections.Stack)"/> 
+            method to allow child threads to inherit the context of their 
+            parent thread.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.NDC.Inherit(System.Collections.Stack)">
+            <summary>
+            Inherits the contextual information from another thread.
+            </summary>
+            <param name="stack">The context stack to inherit.</param>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            This thread will use the context information from the stack
+            supplied. This can be used to initialize child threads with
+            the same contextual information as their parent threads. These
+            contexts will <b>NOT</b> be shared. Any further contexts that
+            are pushed onto the stack will not be visible to the other.
+            Call <see cref="M:log4net.NDC.CloneStack"/> to obtain a stack to pass to
+            this method.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.NDC.Pop">
+            <summary>
+            Removes the top context from the stack.
+            </summary>
+            <returns>
+            The message in the context that was removed from the top 
+            of the stack.
+            </returns>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            Remove the top context from the stack, and return
+            it to the caller. If the stack is empty then an
+            empty string (not <c>null</c>) is returned.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.NDC.Push(System.String)">
+            <summary>
+            Pushes a new context message.
+            </summary>
+            <param name="message">The new context message.</param>
+            <returns>
+            An <see cref="T:System.IDisposable"/> that can be used to clean up 
+            the context stack.
+            </returns>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            Pushes a new context onto the context stack. An <see cref="T:System.IDisposable"/>
+            is returned that can be used to clean up the context stack. This
+            can be easily combined with the <c>using</c> keyword to scope the
+            context.
+            </para>
+            </remarks>
+            <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
+            <code lang="C#">
+            using(log4net.NDC.Push("NDC_Message"))
+            {
+            	log.Warn("This should have an NDC message");
+            }
+            </code>
+            </example>
+        </member>
+        <member name="M:log4net.NDC.Remove">
+            <summary>
+            Removes the context information for this thread. It is
+            not required to call this method.
+            </summary>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            This method is not implemented.
+            </para>
+            </remarks>
+        </member>
+        <member name="M:log4net.NDC.SetMaxDepth(System.Int32)">
+            <summary>
+            Forces the stack depth to be at most <paramref name="maxDepth"/>.
+            </summary>
+            <param name="maxDepth">The maximum depth of the stack</param>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            Forces the stack depth to be at most <paramref name="maxDepth"/>.
+            This may truncate the head of the stack. This only affects the 
+            stack in the current thread. Also it does not prevent it from
+            growing, it only sets the maximum depth at the time of the
+            call. This can be used to return to a known context depth.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.NDC.Depth">
+            <summary>
+            Gets the current context depth.
+            </summary>
+            <value>The current context depth.</value>
+            <remarks>
+            <note>
+            <para>
+            The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
+            The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
+            </para>
+            </note>
+            <para>
+            The number of context values pushed onto the context stack.
+            </para>
+            <para>
+            Used to record the current depth of the context. This can then 
+            be restored using the <see cref="M:log4net.NDC.SetMaxDepth(System.Int32)"/> method.
+            </para>
+            </remarks>
+            <seealso cref="M:log4net.NDC.SetMaxDepth(System.Int32)"/>
+        </member>
+        <member name="T:log4net.ThreadContext">
+            <summary>
+            The log4net Thread Context.
+            </summary>
+            <remarks>
+            <para>
+            The <c>ThreadContext</c> provides a location for thread specific debugging 
+            information to be stored.
+            The <c>ThreadContext</c> properties override any <see cref="T:log4net.GlobalContext"/>
+            properties with the same name.
+            </para>
+            <para>
+            The thread context has a properties map and a stack.
+            The properties and stack can 
+            be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
+            supports selecting and outputting these properties.
+            </para>
+            <para>
+            The Thread Context provides a diagnostic context for the current thread. 
+            This is an instrument for distinguishing interleaved log
+            output from different sources. Log output is typically interleaved
+            when a server handles multiple clients near-simultaneously.
+            </para>
+            <para>
+            The Thread Context is managed on a per thread basis.
+            </para>
+            </remarks>
+            <example>Example of using the thread context properties to store a username.
+            <code lang="C#">
+            ThreadContext.Properties["user"] = userName;
+            log.Info("This log message has a ThreadContext Property called 'user'");
+            </code>
+            </example>
+            <example>Example of how to push a message into the context stack
+            <code lang="C#">
+            using(ThreadContext.Stacks["NDC"].Push("my context message"))
+            {
+            	log.Info("This log message has a ThreadContext Stack message that includes 'my context message'");
+            
+            } // at the end of the using block the message is automatically popped 
+            </code>
+            </example>
+            <threadsafety static="true" instance="true"/>
+            <author>Nicko Cadell</author>
+        </member>
+        <member name="M:log4net.ThreadContext.#ctor">
+            <summary>
+            Private Constructor. 
+            </summary>
+            <remarks>
+            <para>
+            Uses a private access modifier to prevent instantiation of this class.
+            </para>
+            </remarks>
+        </member>
+        <member name="F:log4net.ThreadContext.s_properties">
+            <summary>
+            The thread context properties instance
+            </summary>
+        </member>
+        <member name="F:log4net.ThreadContext.s_stacks">
+            <summary>
+            The thread context stacks instance
+            </summary>
+        </member>
+        <member name="P:log4net.ThreadContext.Properties">
+            <summary>
+            The thread properties map
+            </summary>
+            <value>
+            The thread properties map
+            </value>
+            <remarks>
+            <para>
+            The <c>ThreadContext</c> properties override any <see cref="T:log4net.GlobalContext"/>
+            properties with the same name.
+            </para>
+            </remarks>
+        </member>
+        <member name="P:log4net.ThreadContext.Stacks">
+            <summary>
+            The thread stacks
+            </summary>
+            <value>
+            stack map
+            </value>
+            <remarks>
+            <para>
+            The thread local stacks.
+            </para>
+            </remarks>
+        </member>
+    </members>
+</doc>
Index: branches/ddl/DataConert/DataConert/log4net.config
===================================================================
--- branches/ddl/DataConert/DataConert/log4net.config	(nonexistent)
+++ branches/ddl/DataConert/DataConert/log4net.config	(revision 84)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Structure>
+  <log4net>
+
+    <!-- 通常ログ：単一ファイル出力 -->
+    <appender name="InfoLogDailyAppender" type="log4net.Appender.FileAppender">
+      <File value=".\\logs\\Info.log" />
+
+      <AppendToFile value="true" />
+
+      <filter type="log4net.Filter.LevelRangeFilter">
+        <param name="LevelMax" value="WARN" />
+        <param name="LevelMin" value="INFO" />
+      </filter>
+
+      <layout type="log4net.Layout.PatternLayout">
+        <ConversionPattern value="%date [%thread] [%-5level] %logger - %message%n" />
+      </layout>
+    </appender>
+
+    <!-- エラーログ：分割ファイル出力 -->
+    <appender name="ErrorLogDailyAppender" type="log4net.Appender.RollingFileAppender">
+      <!-- ファイル名は日付ごと -->
+      <!--<param name="File" value=".\\logs\\Error_" />-->
+      <!--<param name="DatePattern" value='yyyyMMdd".log"' />
+      <param name="RollingStyle" value="date" />
+      <param name="StaticLogFileName" value="false" />-->
+      <!-- ファイル名を変える -->
+      <File value=".\\logs\\Error.log" />
+
+      <param name="AppendToFile" value="true" />
+
+      <filter type="log4net.Filter.LevelRangeFilter">
+        <param name="LevelMax" value="FATAL" />
+        <param name="LevelMin" value="ERROR" />
+      </filter>
+
+      <param name="MaximumFileSize" value="10MB" />
+      <param name="MaxSizeRollBackups" value="10" />
+
+      <layout type="log4net.Layout.PatternLayout">
+        <ConversionPattern value="%date [%thread] [%-5level] %logger - %message%n" />
+      </layout>
+    </appender>
+
+    <!-- デバッグ用：分割ファイル出力 -->
+    <appender name="DebugLogDailyAppender" type="log4net.Appender.RollingFileAppender">
+
+      <!-- ファイル名は日付ごと -->
+      <param name="File" value=".\\logs\\Trace_" />
+      <param name="DatePattern" value='yyyyMMdd".log"' />
+      <param name="RollingStyle" value="date" />
+      <param name="StaticLogFileName" value="false" />
+
+      <param name="AppendToFile" value="true" />
+
+      <filter type="log4net.Filter.LevelRangeFilter">
+        <!-- <param name="LevelMax" value="FATAL" /> -->
+        <param name="LevelMin" value="TRACE" />
+      </filter>
+
+      <param name="MaximumFileSize" value="10MB" />
+      <param name="MaxSizeRollBackups" value="10" />
+
+      <layout type="log4net.Layout.PatternLayout">
+        <ConversionPattern value="%date [%thread] [%-5level] %logger %file(%line) %class %method - %message%n" />
+      </layout>
+    </appender>
+
+    <root>
+      <!-- TRACE以上のログを記録 -->
+      <!--<level value="TRACE" />-->
+      <level value="ERROR" />
+      <!-- 使用する Appender -->
+      <!--<appender-ref ref="InfoLogDailyAppender" />-->
+      <!--<appender-ref ref="DebugLogDailyAppender" />-->
+      <appender-ref ref="ErrorLogDailyAppender" />
+    </root>
+
+  </log4net>
+</Structure>
Index: branches/ddl/DataConert/DataConert/packages.config
===================================================================
--- branches/ddl/DataConert/DataConert/packages.config	(nonexistent)
+++ branches/ddl/DataConert/DataConert/packages.config	(revision 84)
@@ -0,0 +1,4 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<packages>
+  <package id="Oracle.ManagedDataAccess" version="12.1.24160719" targetFramework="net45" />
+</packages>
\ No newline at end of file
Index: branches/ddl/DataConert/DataConert.sln
===================================================================
--- branches/ddl/DataConert/DataConert.sln	(nonexistent)
+++ branches/ddl/DataConert/DataConert.sln	(revision 84)
@@ -0,0 +1,28 @@
+﻿
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.40629.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataConert", "DataConert\DataConert.csproj", "{C3CE8E54-B235-412A-8AFE-9974E0B5D303}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Debug|x86 = Debug|x86
+		Release|Any CPU = Release|Any CPU
+		Release|x86 = Release|x86
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{C3CE8E54-B235-412A-8AFE-9974E0B5D303}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{C3CE8E54-B235-412A-8AFE-9974E0B5D303}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{C3CE8E54-B235-412A-8AFE-9974E0B5D303}.Debug|x86.ActiveCfg = Debug|x86
+		{C3CE8E54-B235-412A-8AFE-9974E0B5D303}.Debug|x86.Build.0 = Debug|x86
+		{C3CE8E54-B235-412A-8AFE-9974E0B5D303}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{C3CE8E54-B235-412A-8AFE-9974E0B5D303}.Release|Any CPU.Build.0 = Release|Any CPU
+		{C3CE8E54-B235-412A-8AFE-9974E0B5D303}.Release|x86.ActiveCfg = Release|x86
+		{C3CE8E54-B235-412A-8AFE-9974E0B5D303}.Release|x86.Build.0 = Release|x86
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal
Index: branches/ddl/DataConert/DataConert.v12.suo
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/DataConert.v12.suo
===================================================================
--- branches/ddl/DataConert/DataConert.v12.suo	(nonexistent)
+++ branches/ddl/DataConert/DataConert.v12.suo	(revision 84)

Property changes on: branches/ddl/DataConert/DataConert.v12.suo
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/Oracle.ManagedDataAccess.12.1.24160719.nupkg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/Oracle.ManagedDataAccess.12.1.24160719.nupkg
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/Oracle.ManagedDataAccess.12.1.24160719.nupkg	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/Oracle.ManagedDataAccess.12.1.24160719.nupkg	(revision 84)

Property changes on: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/Oracle.ManagedDataAccess.12.1.24160719.nupkg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessDTC.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessDTC.dll
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessDTC.dll	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessDTC.dll	(revision 84)

Property changes on: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessDTC.dll
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessIOP.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessIOP.dll
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessIOP.dll	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessIOP.dll	(revision 84)

Property changes on: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x64/Oracle.ManagedDataAccessIOP.dll
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessDTC.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessDTC.dll
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessDTC.dll	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessDTC.dll	(revision 84)

Property changes on: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessDTC.dll
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessIOP.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessIOP.dll
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessIOP.dll	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessIOP.dll	(revision 84)

Property changes on: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/bin/x86/Oracle.ManagedDataAccessIOP.dll
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.install.xdt
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.install.xdt	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.install.xdt	(revision 84)
@@ -0,0 +1,115 @@
+<?xml version="1.0"?>
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+
+  <configSections xdt:Transform="InsertIfMissing">
+  </configSections> 
+
+  <configSections xdt:Transform="InsertBefore(/configuration/*[1])">
+  </configSections>   
+
+  <!-- remove existing entry -->
+  <configSections xdt:Locator="XPath(/configuration/configSections[last()])">
+      <section name="oracle.manageddataaccess.client" xdt:Transform="Remove" xdt:Locator="Match(name)" />
+  </configSections>
+
+  <!-- insert new entry -->
+  <configSections xdt:Locator="XPath(/configuration/configSections[last()])">
+      <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Insert" />
+  </configSections>
+
+  <configSections xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+  <!-- If system.data tag is absent -->
+  <system.data xdt:Transform="InsertIfMissing">
+    <DbProviderFactories>
+    </DbProviderFactories>
+  </system.data>
+
+  <!-- If system.data tag is present, but DbProviderFactories tag is absent -->
+  <system.data>
+    <DbProviderFactories xdt:Transform="InsertIfMissing">
+    </DbProviderFactories>
+  </system.data>
+  
+  <!-- remove existing ODPM entry -->  
+  <system.data>
+    <DbProviderFactories>
+      <remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Remove" xdt:Locator="Match(invariant)" />
+      <add name="ODP.NET, Managed Driver" xdt:Transform="Remove" xdt:Locator="Match(name)" />      
+    </DbProviderFactories>
+  </system.data>
+
+  <!-- add new ODPM entry -->
+  <system.data>
+    <DbProviderFactories>
+      <remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Insert"/>
+      <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Insert" />      
+    </DbProviderFactories>
+  </system.data>
+
+  <!-- If runtime tag is absent -->
+  <runtime xdt:Transform="InsertIfMissing">
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+    </assemblyBinding>
+  </runtime>
+
+  <!-- If runtime tag is present, but assembly binding tag is absent -->
+  <runtime>
+    <assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1">
+    </assemblyBinding>
+  </runtime>
+
+  <!-- remove existing entry -->
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly xdt:Transform="Remove"
+          xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Oracle.ManagedDataAccess')" >
+      </dependentAssembly>
+    </assemblyBinding>
+  </runtime>
+
+  <!-- insert new entry -->
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly xdt:Transform="Insert">
+        <publisherPolicy apply="no"/>
+        <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
+        <bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.121.2.0" />
+      </dependentAssembly>
+    </assemblyBinding>
+  </runtime>
+
+  <!-- If oracle.manageddataaccess.client tag is absent -->
+  <oracle.manageddataaccess.client xdt:Transform="InsertIfMissing">
+    <version number="*">
+      <dataSources>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- If version tag is absent -->
+  <oracle.manageddataaccess.client>
+    <version number="*" xdt:Transform="InsertIfMissing">
+      <dataSources>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- If dataSources tag is absent -->
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources xdt:Transform="InsertIfMissing">         
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- add entry if missing -->
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources>
+         <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " xdt:Transform="InsertIfMissing" xdt:Locator="Match(alias)"/>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+</configuration>
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.transform
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.transform	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.transform	(revision 84)
@@ -0,0 +1,4 @@
+﻿<configuration>
+    <configSections>
+    </configSections>
+</configuration>
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.uninstall.xdt
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.uninstall.xdt	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.uninstall.xdt	(revision 84)
@@ -0,0 +1,64 @@
+﻿<?xml version="1.0"?>
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+
+  <!-- remove existing entry -->
+  <configSections>
+      <section name="oracle.manageddataaccess.client" xdt:Transform="Remove" xdt:Locator="Match(name)" />
+  </configSections>
+
+  <!-- remove if section is empty -->
+  <configSections xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+  <!-- remove existing entry -->
+  <system.data>
+    <DbProviderFactories>
+      <remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Remove" xdt:Locator="Match(invariant)" />
+      <add name="ODP.NET, Managed Driver" xdt:Transform="Remove" xdt:Locator="Match(name)" />      
+    </DbProviderFactories>
+  </system.data>
+
+  <!-- remove if section is empty -->
+  <system.data>
+    <DbProviderFactories xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+  </system.data>
+  <system.data xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+  <!-- remove existing entry -->
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly xdt:Transform="Remove"
+          xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Oracle.ManagedDataAccess')" >
+      </dependentAssembly>
+    </assemblyBinding>
+  </runtime>
+  
+  <!-- remove if section is empty -->
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+  </runtime>
+  <runtime xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+  <!-- remove existing entry -->
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources>
+        <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " xdt:Transform="Remove" xdt:Locator="Match(alias)"/>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- remove if section is empty -->
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- remove existing entry -->
+  <oracle.manageddataaccess.client>
+    <version number="*" xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+  </oracle.manageddataaccess.client>
+
+  <oracle.manageddataaccess.client xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+</configuration>
\ No newline at end of file
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.install.xdt
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.install.xdt	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.install.xdt	(revision 84)
@@ -0,0 +1,114 @@
+<?xml version="1.0"?>
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+
+  <configSections xdt:Transform="InsertIfMissing">
+  </configSections> 
+
+  <configSections xdt:Transform="InsertBefore(/configuration/*[1])">
+  </configSections>   
+
+  <!-- remove existing entry -->
+  <configSections xdt:Locator="XPath(/configuration/configSections[last()])">
+      <section name="oracle.manageddataaccess.client" xdt:Transform="Remove" xdt:Locator="Match(name)" />
+  </configSections>
+
+  <!-- insert new entry -->
+  <configSections xdt:Locator="XPath(/configuration/configSections[last()])">
+      <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Insert" />
+  </configSections>
+
+  <configSections xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+  <!-- If system.data tag is absent -->
+  <system.data xdt:Transform="InsertIfMissing">
+    <DbProviderFactories>
+    </DbProviderFactories>
+  </system.data>
+
+  <!-- If system.data tag is present, but DbProviderFactories tag is absent -->
+  <system.data>
+    <DbProviderFactories xdt:Transform="InsertIfMissing">
+    </DbProviderFactories>
+  </system.data>
+  
+  <!-- remove existing ODPM entry -->  
+  <system.data>
+    <DbProviderFactories>
+      <remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Remove" xdt:Locator="Match(invariant)" />
+      <add name="ODP.NET, Managed Driver" xdt:Transform="Remove" xdt:Locator="Match(name)" />      
+    </DbProviderFactories>
+  </system.data>
+
+  <!-- add new ODPM entry -->
+  <system.data>
+    <DbProviderFactories>
+      <remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Insert"/>
+      <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Insert" />      
+    </DbProviderFactories>
+  </system.data>
+
+  <!-- If runtime tag is absent -->
+  <runtime xdt:Transform="InsertIfMissing">
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+    </assemblyBinding>
+  </runtime>
+
+  <!-- If runtime tag is present, but assembly binding tag is absent -->
+  <runtime>
+    <assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1">
+    </assemblyBinding>
+  </runtime>
+
+  <!-- remove existing entry -->
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly xdt:Transform="Remove"
+          xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Oracle.ManagedDataAccess')" >
+      </dependentAssembly>
+    </assemblyBinding>
+  </runtime>
+
+  <!-- insert new entry -->
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly xdt:Transform="Insert">
+        <publisherPolicy apply="no"/>
+        <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
+      </dependentAssembly>
+    </assemblyBinding>
+  </runtime>
+
+  <!-- If oracle.manageddataaccess.client tag is absent -->
+  <oracle.manageddataaccess.client xdt:Transform="InsertIfMissing">
+    <version number="*">
+      <dataSources>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- If version tag is absent -->
+  <oracle.manageddataaccess.client>
+    <version number="*" xdt:Transform="InsertIfMissing">
+      <dataSources>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- If dataSources tag is absent -->
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources xdt:Transform="InsertIfMissing">         
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- add entry if missing -->
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources>
+         <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " xdt:Transform="InsertIfMissing" xdt:Locator="Match(alias)"/>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+</configuration>
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.transform
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.transform	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.transform	(revision 84)
@@ -0,0 +1,4 @@
+﻿<configuration>
+    <configSections>
+    </configSections>
+</configuration>
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.uninstall.xdt
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.uninstall.xdt	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.uninstall.xdt	(revision 84)
@@ -0,0 +1,64 @@
+﻿<?xml version="1.0"?>
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+
+  <!-- remove existing entry -->
+  <configSections>
+      <section name="oracle.manageddataaccess.client" xdt:Transform="Remove" xdt:Locator="Match(name)" />
+  </configSections>
+
+  <!-- remove if section is empty -->
+  <configSections xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+  <!-- remove existing entry -->
+  <system.data>
+    <DbProviderFactories>
+      <remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Remove" xdt:Locator="Match(invariant)" />
+      <add name="ODP.NET, Managed Driver" xdt:Transform="Remove" xdt:Locator="Match(name)" />      
+    </DbProviderFactories>
+  </system.data>
+
+  <!-- remove if section is empty -->
+  <system.data>
+    <DbProviderFactories xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+  </system.data>
+  <system.data xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+  <!-- remove existing entry -->
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly xdt:Transform="Remove"
+          xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Oracle.ManagedDataAccess')" >
+      </dependentAssembly>
+    </assemblyBinding>
+  </runtime>
+  
+  <!-- remove if section is empty -->
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+  </runtime>
+  <runtime xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+  <!-- remove existing entry -->
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources>
+        <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " xdt:Transform="Remove" xdt:Locator="Match(alias)"/>
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- remove if section is empty -->
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+    </version>
+  </oracle.manageddataaccess.client>
+
+  <!-- remove existing entry -->
+  <oracle.manageddataaccess.client>
+    <version number="*" xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+  </oracle.manageddataaccess.client>
+
+  <oracle.manageddataaccess.client xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
+
+</configuration>
\ No newline at end of file
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/info.txt
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/info.txt	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/info.txt	(revision 84)
@@ -0,0 +1,298 @@
+You have downloaded Oracle Data Provider for .NET from Oracle, the license agreement to which is available at http://www.oracle.com/technetwork/licenses/distribution-license-152002.html
+
+The following software may be included in Oracle Data Provider for .NET:
+
+Kerberos
+
+Copyright (C) 1985-2010 by the Massachusetts Institute of Technology.
+
+All rights reserved.
+
+Export of this software from the United States of America may require a specific license from the United States Government. It is the responsibility of any person or organization contemplating export to obtain such a license before exporting.
+
+WITHIN THAT CONSTRAINT, permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Furthermore if you modify this software you must label your software as modified software and not distribute it in such a fashion that it might be confused with the original MIT software. M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+Individual source code files are copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others.
+
+Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira, and Zephyr are trademarks of the Massachusetts Institute of Technology (MIT). No commercial use of these trademarks may be made without prior written permission of MIT.
+
+"Commercial use" means use of a name in a product or other for-profit manner. It does NOT prevent a commercial firm from referring to the MIT trademarks in order to convey information (although in doing so, recognition of their trademark status should be given).
+
+-----------------------------------------
+
+Portions of src/lib/crypto have the following copyright:
+
+Copyright (C) 1998 by the FundsXpress, INC.
+
+All rights reserved.
+
+Export of this software from the United States of America may require a specific license from the United States Government. It is the responsibility of any person or organization contemplating export to obtain such a license before exporting.
+
+WITHIN THAT CONSTRAINT, permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of FundsXpress. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. FundsXpress makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+-----------------------------------------
+
+The following copyright and permission notice applies to the OpenVision Kerberos Administration system located in kadmin/create, kadmin/dbutil, kadmin/passwd, kadmin/server, lib/kadm5, and portions of lib/rpc:
+
+Copyright, OpenVision Technologies, Inc., 1996, All Rights Reserved
+
+WARNING: Retrieving the OpenVision Kerberos Administration system source code, as described below, indicates your acceptance of the following terms. If you do not agree to the following terms, do not retrieve the OpenVision Kerberos administration system.
+
+You may freely use and distribute the Source Code and Object Code compiled from it, with or without modification, but this Source Code is provided to you "AS IS" EXCLUSIVE OF ANY WARRANTY, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OR ANY OTHER WARRANTY, WHETHER EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION HAVE ANY LIABILITY FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING, WITHOUT LIMITATION, THOSE RESULTING FROM THE USE OF THE SOURCE CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM, OR FOR ANY OTHER REASON.
+
+OpenVision retains all copyrights in the donated Source Code. OpenVision also retains copyright to derivative works of the Source Code, whether created by OpenVision or by a third party. The OpenVision copyright notice must be preserved if derivative works are made based on the donated Source Code.
+
+OpenVision Technologies, Inc. has donated this Kerberos Administration system to MIT for inclusion in the standard Kerberos 5 distribution. This donation underscores our commitment to continuing Kerberos technology development and our gratitude for the valuable work which has been performed by MIT and the Kerberos community.
+
+-----------------------------------------
+
+Portions contributed by Matt Crawford <crawdad@fnal.gov> were work performed at Fermi National Accelerator Laboratory, which is operated by Universities Research Association, Inc., under contract DE-AC02-76CHO3000 with the U.S. Department of Energy.
+
+-----------------------------------------
+
+The implementation of the Yarrow pseudo-random number generator in src/lib/crypto/yarrow has the following copyright:
+
+Copyright 2000 by Zero-Knowledge Systems, Inc.
+
+Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Zero-Knowledge Systems, Inc. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Zero-Knowledge Systems, Inc. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
+
+ZERO-KNOWLEDGE SYSTEMS, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ZERO-KNOWLEDGE SYSTEMS, INC. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+-----------------------------------------
+
+The implementation of the AES encryption algorithm in src/lib/crypto/aes has the following copyright:
+
+Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK. All rights reserved.
+
+LICENSE TERMS
+
+The free distribution and use of this software in both source and binary form is allowed (with or without changes) provided that:
+
+1. distributions of this source code include the above copyright notice, this list of conditions and the following disclaimer;
+
+2. distributions in binary form include the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other associated materials;
+
+3. the copyright holder's name is not used to endorse products built using this software without specific written permission.
+
+DISCLAIMER
+
+This software is provided 'as is' with no explicit or implied warranties in respect of any properties, including, but not limited to, correctness and fitness for purpose.
+
+-----------------------------------------
+
+Portions contributed by Red Hat, including the pre-authentication plug-ins framework, contain the following copyright:
+
+Copyright (c) 2006 Red Hat, Inc.
+
+Portions copyright (c) 2006 Massachusetts Institute of Technology
+
+All Rights Reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+    Neither the name of Red Hat, Inc., nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+-----------------------------------------
+
+The implementations of GSSAPI mechglue in GSSAPI-SPNEGO in src/lib/gssapi, including the following files:
+
+lib/gssapi/generic/gssapi_err_generic.et
+lib/gssapi/mechglue/g_accept_sec_context.c
+lib/gssapi/mechglue/g_acquire_cred.c
+lib/gssapi/mechglue/g_canon_name.c
+lib/gssapi/mechglue/g_compare_name.c
+lib/gssapi/mechglue/g_context_time.c
+lib/gssapi/mechglue/g_delete_sec_context.c
+lib/gssapi/mechglue/g_dsp_name.c
+lib/gssapi/mechglue/g_dsp_status.c
+lib/gssapi/mechglue/g_dup_name.c
+lib/gssapi/mechglue/g_exp_sec_context.c
+lib/gssapi/mechglue/g_export_name.c
+lib/gssapi/mechglue/g_glue.c
+lib/gssapi/mechglue/g_imp_name.c
+lib/gssapi/mechglue/g_imp_sec_context.c
+lib/gssapi/mechglue/g_init_sec_context.c
+lib/gssapi/mechglue/g_initialize.c
+lib/gssapi/mechglue/g_inquire_context.c
+lib/gssapi/mechglue/g_inquire_cred.c
+lib/gssapi/mechglue/g_inquire_names.c
+lib/gssapi/mechglue/g_process_context.c
+lib/gssapi/mechglue/g_rel_buffer.c
+lib/gssapi/mechglue/g_rel_cred.c
+lib/gssapi/mechglue/g_rel_name.c
+lib/gssapi/mechglue/g_rel_oid_set.c
+lib/gssapi/mechglue/g_seal.c
+lib/gssapi/mechglue/g_sign.c
+lib/gssapi/mechglue/g_store_cred.c
+lib/gssapi/mechglue/g_unseal.c
+lib/gssapi/mechglue/g_userok.c
+lib/gssapi/mechglue/g_utils.c
+lib/gssapi/mechglue/g_verify.c
+lib/gssapi/mechglue/gssd_pname_to_uid.c
+lib/gssapi/mechglue/mglueP.h
+lib/gssapi/mechglue/oid_ops.c
+lib/gssapi/spnego/gssapiP_spnego.h
+lib/gssapi/spnego/spnego_mech.c
+
+and the initial implementation of incremental propagation, including the following new or changed files:
+
+include/iprop_hdr.h
+kadmin/server/ipropd_svc.c
+lib/kdb/iprop.x
+lib/kdb/kdb_convert.c
+lib/kdb/kdb_log.clib/kdb/kdb_log.h
+lib/krb5/error_tables/kdb5_err.et
+slave/kpropd_rpc.c
+slave/kproplog.c
+
+and marked portions of the following files:
+
+lib/krb5/os/hst_realm.c
+
+are subject to the following license:
+
+Copyright (c) 2004 Sun Microsystems, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+-----------------------------------------
+
+MIT Kerberos includes documentation and software developed at the University of California at Berkeley, which includes this copyright notice:
+
+Copyright (C) 1983 Regents of the University of California.
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+-----------------------------------------
+
+Portions contributed by Novell, Inc., including the LDAP database backend, are subject to the following license:
+
+Copyright (c) 2004-2005, Novell, Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+    The copyright holder's name is not used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+-----------------------------------------
+
+Portions funded by Sandia National Laboratory and developed by the University of Michigan's Center for Information Technology Integration, including the PKINIT implementation, are subject to the following license:
+
+COPYRIGHT (C) 2006-2007
+
+THE REGENTS OF THE UNIVERSITY OF MICHIGAN
+
+ALL RIGHTS RESERVED
+
+Permission is granted to use, copy, create derivative works and redistribute this software and such derivative works for any purpose, so long as the name of The University of Michigan is not used in any advertising or publicity pertaining to the use of distribution of this software without specific, written prior authorization. If the above copyright notice or any other identification of the University of Michigan is included in any copy of any portion of this software, then the disclaimer below must also be included.
+
+THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+-----------------------------------------
+
+The pkcs11.h file included in the PKINIT code has the following license:
+
+Copyright 2006 g10 Code GmbH
+
+Copyright 2006 Andreas Jellinghaus
+
+This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved.
+
+This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+-----------------------------------------
+
+Portions contributed by Apple Inc. are subject to the following license:
+
+Copyright 2004-2008 Apple Inc. All Rights Reserved.
+
+Export of this software from the United States of America may require a specific license from the United States Government. It is the responsibility of any person or organization contemplating export to obtain such a license before exporting.
+
+WITHIN THAT CONSTRAINT, permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Apple Inc. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Apple Inc. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
+
+THIS SOFTWARE IS PROVIDED "AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+-----------------------------------------
+
+The implementations of strlcpy and strlcat in src/util/support/strlcat.c have the following copyright and permission notice:
+
+Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
+
+Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+-----------------------------------------
+
+The implementations of UTF-8 string handling in src/util/support and src/lib/krb5/unicode are subject to the following copyright and permission notice:
+
+The OpenLDAP Public License
+
+Version 2.8, 17 August 2003
+
+Redistribution and use of this software and associated documentation ("Software"), with or without modification, are permitted provided that the following conditions are met:
+
+    Redistributions in source form must retain copyright statements and notices,
+
+    Redistributions in binary form must reproduce applicable copyright statements and notices, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution, and
+
+    Redistributions must contain a verbatim copy of this document.
+
+The OpenLDAP Foundation may revise this license from time to time. Each revision is distinguished by a version number. You may use this Software under terms of this license revision or under the terms of any subsequent revision of the license.
+
+THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS CONTRIBUTORS "AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The names of the authors and copyright holders must not be used in advertising or otherwise to promote the sale, use or other dealing in this Software without specific, written prior permission. Title to copyright in this Software shall at all times remain with copyright holders.
+
+OpenLDAP is a registered trademark of the OpenLDAP Foundation.
+
+Copyright 1999-2003 The OpenLDAP Foundation, Redwood City, California, USA. All Rights Reserved. Permission to copy and distribute verbatim copies of this document is granted.
+
+-----------------------------------------
+
+Marked test programs in src/lib/krb5/krb have the following copyright:
+
+Copyright (c) 2006 Kungliga Tekniska Högskolan
+
+(Royal Institute of Technology, Stockholm, Sweden).
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+    Neither the name of KTH nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS "AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/lib/net40/Oracle.ManagedDataAccess.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/lib/net40/Oracle.ManagedDataAccess.dll
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/lib/net40/Oracle.ManagedDataAccess.dll	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/lib/net40/Oracle.ManagedDataAccess.dll	(revision 84)

Property changes on: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/lib/net40/Oracle.ManagedDataAccess.dll
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/readme.txt
===================================================================
--- branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/readme.txt	(nonexistent)
+++ branches/ddl/DataConert/packages/Oracle.ManagedDataAccess.12.1.24160719/readme.txt	(revision 84)
@@ -0,0 +1,259 @@
+Oracle.ManagedDataAccess NuGet Package 12.1.24160719 README
+===========================================================
+
+Release Notes: Oracle Data Provider for .NET, Managed Driver
+
+September 2016
+
+Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+
+This document provides information that supplements the Oracle Data Provider for .NET (ODP.NET) documentation. 
+You have downloaded Oracle Data Provider for .NET from Oracle, the license agreement to which is available at 
+http://www.oracle.com/technetwork/licenses/distribution-license-152002.html
+
+TABLE OF CONTENTS
+*New Features
+*Bug Fixes
+*Installation and Configuration Steps
+*Installation Changes
+*Documentation Corrections and Additions
+*ODP.NET, Managed Driver Tips, Limitations, and Known Issues
+
+Note: The 32-bit "Oracle Developer Tools for Visual Studio" download from http://otn.oracle.com/dotnet is 
+required for Entity Framework design-time features and for other Visual Studio designers such as the 
+TableAdapter Wizard. This NuGet download does not enable design-time tools; it only provides run-time support. 
+This version of ODP.NET supports Oracle Database version 10.2 and higher.
+
+
+
+New Features since Oracle.ManagedDataAccess NuGet Package 12.1.24160419
+=======================================================================
+1. ODP.NET can connect to Oracle Database Exadata Express Cloud Service using the following instructions. 
+http://www.oracle.com/technetwork/topics/dotnet/tech-info/dotnetcloudexaexpress-3112654.html
+
+
+Bug Fixes since Oracle.ManagedDataAccess NuGet Package 12.1.24160419
+====================================================================
+
+21111355 LDAP: CONNECTION PERFORMANCE ISSUE WITH LDAP CONFIGURATION
+22652577 CHECKSUM: HIT "ORA-12599" WHILE IT SHOULD BE "ORA-01013" AFTER CANCEL COMMAND
+22936067 ODPMANAGED SSL DOESN'T SUPPORT DN MATCHING
+22995665 ODPM - INCORRECT VALUE OF DATACOLUMN'S READONLY PROPERTY
+23040870 ODPM DOES NOT HANDLE PROMOTION PROPERLY
+23059650 SSL: NTS DOESN'T WORK WITH SQLNET.AUTHENTICATION_SERVICES=(NTS,TCPS)
+23102388 ORA-01461: CAN BIND A LONG VALUE ONLY FOR INSERT INTO A LONG COLUMN MANAGED ODP
+23135026 TTC_HARDEN: BEHAVIOR DIFFERENCE FOR TRANSACTION RESTRICTION IN ODPU&ODPM
+23136980 ODPM: ADAPTER FILL FAIL WITH XMLTYPE WHEN RETURNPROVIDERSPECIFICTYPES=TRUE
+23168763 REFCURSORS IN OUTPUT ARRAY BIND DO NOT RETURN ANY ROWS
+23263802 ODPM: CONNECTION IS NOT LOCKED BEFORE DOING COMMIT/ROLLBACK RPC FOR LOCAL TXN
+23265098 IMPLICITLY RETURNED RESULTSET MISSING VALID REFCURSOR WHEN CONTAINS EMPTY REFCUR
+23317774 ODPM : CURSORS NOT FREED WHEN THE CONNECTION IS BEING CLOSED
+23323754 ODPM: CONNECTIONS DO NOT DRAIN PROPERLY IN DTXN/HA SCENARIO
+23342504 ORA-03137: MALFORMED TTC PACKET FROM CLIENT REJECTED
+23559078 ODPM: UOPF_BER FLAG SHOULD NOT BE SET FOR NON-DML ARRAY BIND OPERATIONS
+
+
+Installation and Configuration Steps
+====================================
+The downloads are NuGet packages that can be installed with the NuGet Package Manager. These instructions apply 
+to install ODP.NET, Managed Driver.
+
+1. Un-GAC and un-configure any existing assembly (i.e. Oracle.ManagedDataAccess.dll) and policy DLL 
+(i.e. Policy.4.121.Oracle.ManagedDataAccess.dll) for the ODP.NET, Managed Driver, version 12.1.0.2
+that exist in the GAC. Remove all references of Oracle.ManagedDataAccess from machine.config file, if any exists.
+
+2. In Visual Studio 2010, 2012, 2013, or 2015 open NuGet Package Manager from an existing Visual Studio project. 
+
+3. Install the NuGet package from an OTN-downloaded local package source or from nuget.org.
+
+
+   From Local Package Source
+   -------------------------
+   A. Click on the Settings button in the lower left of the dialog box.
+
+   B. Click the "+" button to add a package source. In the Source field, enter in the directory location where the 
+   NuGet package(s) were downloaded to. Click the Update button, then the Ok button.
+
+   C. On the left side, under the Online root node, select the package source you just created. The ODP.NET NuGet 
+   packages will appear.
+
+
+   From Nuget.org
+   --------------
+   A. In the Search box in the upper right, search for the package with id, "Oracle.ManagedDataAccess". Verify 
+   that the package uses this unique ID to ensure it is the official Oracle Data Provider for .NET, Managed Driver 
+   download.
+
+   B. Select the package you wish to install.
+
+
+4. Click on the Install button to select the desired NuGet package(s) to include with the project. Accept the 
+license agreement and Visual Studio will continue the setup.
+
+5. Open the app/web.config file to configure the ODP.NET connection string and local naming parameters 
+(i.e. tnsnames.ora). Below is an example of configuring the local naming parameters:
+
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources>
+        <!-- Customize these connection alias settings to connect to Oracle DB -->
+        <dataSource alias="MyDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " />
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+
+After following these instructions, ODP.NET is now configured and ready to use.
+
+NOTE: ODP.NET, Managed Driver comes with two platform specific assemblies:
+
+        i.  Oracle.ManagedDataAccessDTC.dll (for Distributed Transaction Support)
+        ii. Oracle.ManagedDataAccessIOP.dll (for Kerberos Support)
+
+The Oracle.ManagedDataAccessDTC.dll assembly is ONLY needed if you are using Distributed Trasactions and the 
+.NET Framework being used is 4.5.1 or lower. If you are using .NET Framework 4.5.2 or higher, this assembly does 
+not need to be referenced by your application.
+
+The Oracle.ManagedDataAccessIOP.dll assembly is ONLY needed if you are using Kerberos5 based external 
+authentication. Kerberos5 users will need to download MIT Kerberos for Windows version 4.0.1 from 
+	http://web.mit.edu/kerberos/dist/
+to utilize ODP.NET, Managed Driver's support of Kerberos5.
+
+These asssemblies are located under
+      packages\Oracle.ManagedDataAccess.<version>\bin\x64
+and
+      packages\Oracle.ManagedDataAccess.<version>\bin\x86
+depending on the platform.
+
+If these assemblies are required by your application, your Visual Studio project requires additional changes.
+
+Use the following steps for your application to use the 64-bit version of Oracle.ManagedDataAccessDTC.dll:
+
+1. Right click on the Visual Studio project.
+2. Select Add -> New Folder
+3. Name the folder x64.
+4. Right click on the newly created x64 folder
+5. Select Add -> Existing Item
+6. Browse to packages\Oracle.ManagedDataAccess.<version>\bin\x64 under your project solution directory.
+7. Choose Oracle.ManagedDataAccessDTC.dll
+8. Click the 'Add' button
+9. Left click the newly added Oracle.ManagedDataAccessDTC.dll in the x64 folder
+10. In the properties window, set 'Copy To Output Directory' to 'Copy Always'.
+
+For x86 targeted applications, name the folder x86 and add assemblies from the 
+packages\Oracle.ManagedDataAccess.<version>\bin\x86 folder.
+
+Use the same steps for adding Oracle.ManagedDataAccessIOP.dll.
+
+To make your application platform independent even if it depends on Oracle.ManagedDataAccessDTC.dll and/or 
+Oracle.ManagedDataAccessIOP.dll, create both x64 and x86 folders with the necessary assemblies added to them.
+
+
+
+Installation Changes
+====================
+The following app/web.config entries are added by including the "Official Oracle ODP.NET, Managed Driver" NuGet package 
+to your application:
+
+1) Configuration Section Handler
+
+The following entry is added to the app/web.config to enable applications to add an <oracle.manageddataaccess.client> 
+section for ODP.NET, Managed Driver-specific configuration:
+
+<configuration>
+  <configSections>
+    <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
+  </configSections>
+</configuration>
+
+Note: If your application is a web application and the above entry was added to a web.config and the same config 
+section handler for "oracle.manageddataaccess.client" also exists in machine.config but the "Version" attribute values 
+are different, an error message of "There is a duplicate 'oracle.manageddataaccess.client' section defined." may be 
+observed at runtime.  If so, the config section handler entry in the machine.config for 
+"oracle.manageddataaccess.client" has to be removed from the machine.config for the web application to not encounter 
+this error.  But given that there may be other applications on the machine that depended on this entry in the 
+machine.config, this config section handler entry may need to be moved to all of the application's .NET config file on 
+that machine that depend on it.
+
+2) DbProviderFactories
+
+The following entry is added for applications that use DbProviderFactories and DbProviderFactory classes. Also, any 
+DbProviderFactories entry for "Oracle.ManagedDataAccess.Client" in the machine.config will be ignored with the following 
+entry:
+
+<configuration>
+  <system.data>
+    <DbProviderFactories>
+      <remove invariant="Oracle.ManagedDataAccess.Client" />
+      <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
+    </DbProviderFactories>
+  </system.data>
+</configuration>
+
+3) Dependent Assembly
+
+The following entry is created to ignore policy DLLs for Oracle.ManagedDataAccess.dll and always use the 
+Oracle.ManagedDataAccess.dll version that is specified by the newVersion attribute in the <bindingRedirect> element.  
+The newVersion attribute corresponds to the Oracle.ManagedDataAccess.dll version which came with the NuGet package 
+associated with the application.
+
+<configuration>
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly>
+        <publisherPolicy apply="no" />
+        <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
+        <bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.121.2.0" />
+      </dependentAssembly>
+    </assemblyBinding>
+  </runtime>
+</configuration>
+
+4) Data Sources
+
+The following entry is added to provide a template on how a data source can be configured in the app/web.config. 
+Simply rename "MyDataSource" to an alias of your liking and modify the PROTOCOL, HOST, PORT, SERVICE_NAME as required 
+and un-comment the <dataSource> element. Once that is done, the alias can be used as the "data source" attribute in 
+your connection string when connecting to an Oracle Database through ODP.NET, Managed Driver.
+
+<configuration>
+  <oracle.manageddataaccess.client>
+    <version number="*">
+      <dataSources>
+        <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " />
+      </dataSources>
+    </version>
+  </oracle.manageddataaccess.client>
+</configuration>
+
+
+
+Documentation Corrections and Additions
+=======================================
+This section contains information that corrects or adds to existing ODP.NET documentation, which can be found here:
+http://www.oracle.com/technetwork/topics/dotnet/tech-info/index.html
+
+1. ODP.NET Entity Framework Database First and Model First applications using Entity Framework 6 requires .NET 
+Framework 4.5 or higher.
+
+2. All Oracle database clients support interrupting database query execution, such as through an ODP.NET command 
+timeout. The database server can be interrupted via either TCP/IP urgent data or normal TCP/IP data, called out of band 
+(OOB) or in band data, respectively. Windows-based database servers only support in band breaks, whereas all other 
+(predominantly UNIX-based) database servers can support OOB or in band breaks. ODP.NET, Managed Driver uses OOB breaks 
+by default with database servers that support it. For certain network topologies, the routers or firewalls involved in 
+the route to the database may have been configured to drop urgent data or in band the data. If the routers or firewalls 
+can not be changed to handle urgent data appropriately, then the ODP.NET, Managed Driver can be configured to utilize 
+in band breaks by setting the .NET configuration parameter disable_oob to "on". The default value for disable_oob is 
+"off". disable_oob can be set in the <settings> of the .NET config file for <oracle.manageddataaccess.client>. As with 
+all ODP.NET, Managed Driver settings, disable_oob can be set in either the .NET config or sqlnet.ora files, whereas it 
+can only be set for ODP.NET, Unmanaged Driver in the sqlnet.ora file.
+
+
+
+ODP.NET, Managed Driver Tips, Limitations, and Known Issues
+===========================================================
+This section contains information that is specific to ODP.NET, Managed Driver. 
+
+1. OracleConnection object's OpenWithNewPassword() method invocation will result in an ORA-1017 error with 11.2.0.3.0 
+and earlier versions of the database. [Bug 12876992]
+
+2. Stored functions/procedures in a PDB cannot be added to a .NET Entity Framework model. [Bug 17344899]
Index: branches/ddl/DataConert/packages/repositories.config
===================================================================
--- branches/ddl/DataConert/packages/repositories.config	(nonexistent)
+++ branches/ddl/DataConert/packages/repositories.config	(revision 84)
@@ -0,0 +1,4 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<repositories>
+  <repository path="..\DataConert\packages.config" />
+</repositories>
\ No newline at end of file
Index: branches/ddl/ProcessManagement.sql
===================================================================
--- branches/ddl/ProcessManagement.sql	(nonexistent)
+++ branches/ddl/ProcessManagement.sql	(revision 84)
@@ -0,0 +1,1896 @@
+SET SESSION FOREIGN_KEY_CHECKS=0;
+
+/* Drop Indexes */
+
+DROP INDEX ActionScheduleData_Index1 ON ActionScheduleData;
+DROP INDEX ActionScheduleData_Index2 ON ActionScheduleData;
+DROP INDEX ActionScheduleData_Index3 ON ActionScheduleData;
+DROP INDEX AttendDaily_Index1 ON AttendanceDailyData;
+DROP INDEX AttendDaily_Index2 ON AttendanceDailyData;
+DROP INDEX BusinessTypeMaster_Index1 ON BusinessTypeMaster;
+DROP INDEX ComponentLinkMaster_Index1 ON ComponentLinkMaster;
+DROP INDEX ComponentLinkMaster_Index2 ON ComponentLinkMaster;
+DROP INDEX ComponentMaster_Index1 ON ComponentMaster;
+DROP INDEX ComponentToTypeMaster_Index1 ON ComponentToTypeMaster;
+DROP INDEX ComponentToTypeMaster_Index2 ON ComponentToTypeMaster;
+DROP INDEX BaseInfo_Index1 ON ConstructionBaseInfo;
+DROP INDEX BaseInfo_Index2 ON ConstructionBaseInfo;
+DROP INDEX BaseInfo_Index3 ON ConstructionBaseInfo;
+DROP INDEX BaseInfo_Index4 ON ConstructionBaseInfo;
+DROP INDEX BaseInfo_Index5 ON ConstructionBaseInfo;
+DROP INDEX BaseInfoDetail_Idx1 ON ConstructionBaseInfoDetail;
+DROP INDEX BaseInfoDetail_Idx2 ON ConstructionBaseInfoDetail;
+DROP INDEX LedgerDetail_Index01 ON ConstructionLedgerDetail;
+DROP INDEX LedgerDetail_Index02 ON ConstructionLedgerDetail;
+DROP INDEX LedgerDetail_Index03 ON ConstructionLedgerDetail;
+DROP INDEX LedgerExcute_Index1 ON ConstructionLedgerExcute;
+DROP INDEX ConstructionLink_Index1 ON ConstructionLink;
+DROP INDEX ConstructionLink_Index2 ON ConstructionLink;
+DROP INDEX ConstructionLink_Index3 ON ConstructionLink;
+DROP INDEX ConstructionSpecMaster_Index1 ON ConstructionSpecMaster;
+DROP INDEX CostDataOfPerson_Index1 ON CostDataOfPerson;
+DROP INDEX CostDataOfPerson_Index2 ON CostDataOfPerson;
+DROP INDEX CostomerRegist_Index1 ON CostomerRegist;
+DROP INDEX DailyDataConstruction_Index1 ON DailyDataConstruction;
+DROP INDEX DailyDataConstruction_Index2 ON DailyDataConstruction;
+DROP INDEX DailyDataConstruction_Index3 ON DailyDataConstruction;
+DROP INDEX DailyDataDetail_Index ON DailyDataDetail;
+DROP INDEX DailyDataField_Index ON DailyDataField;
+DROP INDEX DailyDataMaterials_Index ON DailyDataMaterials;
+DROP INDEX DailyDataSubcontractors_Index ON DailyDataSubcontractors;
+DROP INDEX DailyDataVehicles_Index ON DailyDataVehicles;
+DROP INDEX DepartmentMaster_index1 ON DepartmentMaster;
+DROP INDEX EstimateData_Index1 ON EstimateData;
+DROP INDEX EstimateDataBody_Index1 ON EstimateDataBody;
+DROP INDEX EstimateDataDetail_Index1 ON EstimateDataDetail;
+DROP INDEX HolidayCalender_Index1 ON HolidayCalenderMaster;
+DROP INDEX HolidayCalenderMaster_Index2 ON HolidayCalenderMaster;
+DROP INDEX HolidayCalenderMaster_Index3 ON HolidayCalenderMaster;
+DROP INDEX InputSearchLogData_Index1 ON InputSearchLogData;
+DROP INDEX MessageBoardData_Index1 ON MessageBoardData;
+DROP INDEX MessageBoardData_Index2 ON MessageBoardData;
+DROP INDEX MessageBoardTerget_Index1 ON MessageBoardTerget;
+DROP INDEX PersonDepartmentMaster_Index1 ON PersonDepartmentMaster;
+DROP INDEX PersonDepartmentMaster_Index2 ON PersonDepartmentMaster;
+DROP INDEX PersonInChargeMaster_Index1 ON PersonInChargeMaster;
+DROP INDEX PersonInChargeMaster_Index2 ON PersonInChargeMaster;
+DROP INDEX PersonSalaryMaster_Index1 ON PersonSalaryMaster;
+DROP INDEX PersonSalaryMaster_Index2 ON PersonSalaryMaster;
+DROP INDEX ProcessExcuteMaster_Index1 ON ProcessExcuteMaster;
+DROP INDEX ProcessExcuteMaster_Index2 ON ProcessExcuteMaster;
+DROP INDEX POrderDetail_Index1 ON PurchaseOrderDetail;
+DROP INDEX SalesGraphData_Idx1 ON SalesGraphData;
+DROP INDEX SalesGraphData_idx2 ON SalesGraphData;
+DROP INDEX SecurityMaster_Index1 ON SecurityMaster;
+DROP INDEX SecurityMaster_Index2 ON SecurityMaster;
+DROP INDEX SecurityMaster_Index3 ON SecurityMaster;
+DROP INDEX SubContractorJobItem_Index1 ON SubContractorJobItem;
+DROP INDEX SubContractorJobItem_Index2 ON SubContractorJobItem;
+DROP INDEX SubContractorJobLink_Index1 ON SubContractorJobLink;
+DROP INDEX SubContractorJobLink_Index2 ON SubContractorJobLink;
+DROP INDEX SubContractorMaster_Index1 ON SubContractorMaster;
+DROP INDEX TermMaster_Index1 ON TermMaster;
+DROP INDEX TranceportDailyData_Index1 ON TranceportDailyData;
+DROP INDEX UnitMaster_Index1 ON UnitMaster;
+DROP INDEX VehicleScheduleData_Index1 ON VehicleScheduleData;
+DROP INDEX VehicleScheduleData_Index2 ON VehicleScheduleData;
+DROP INDEX VehicleScheduleData_Index3 ON VehicleScheduleData;
+
+
+
+/* Drop Tables */
+
+DROP TABLE IF EXISTS ActionScheduleData;
+DROP TABLE IF EXISTS ApprovalMaster;
+DROP TABLE IF EXISTS AttendanceDailyData;
+DROP TABLE IF EXISTS AttendanceData;
+DROP TABLE IF EXISTS BK_ConstructionLedger;
+DROP TABLE IF EXISTS BK_ConstructionLedgerDetail;
+DROP TABLE IF EXISTS BK_ConstructionLedgerExcute;
+DROP TABLE IF EXISTS BK_EstimateData;
+DROP TABLE IF EXISTS BK_EstimateDataBody;
+DROP TABLE IF EXISTS BK_EstimateDataDetail;
+DROP TABLE IF EXISTS BusinessTypeMaster;
+DROP TABLE IF EXISTS CommonCostLarge;
+DROP TABLE IF EXISTS CommonCostLinkMS;
+DROP TABLE IF EXISTS CommonCostMiddle;
+DROP TABLE IF EXISTS CommonCostMiddleSearchWord;
+DROP TABLE IF EXISTS ComponentLinkMaster;
+DROP TABLE IF EXISTS ComponentMaster;
+DROP TABLE IF EXISTS ComponentToTypeMaster;
+DROP TABLE IF EXISTS ConstructionBaseInfo;
+DROP TABLE IF EXISTS ConstructionBaseInfoDetail;
+DROP TABLE IF EXISTS ConstructionBudget;
+DROP TABLE IF EXISTS ConstructionBudgetDetail;
+DROP TABLE IF EXISTS ConstructionItemMaster;
+DROP TABLE IF EXISTS ConstructionLedger;
+DROP TABLE IF EXISTS ConstructionLedgerDetail;
+DROP TABLE IF EXISTS ConstructionLedgerExcute;
+DROP TABLE IF EXISTS ConstructionLink;
+DROP TABLE IF EXISTS ConstructionProgressDate;
+DROP TABLE IF EXISTS ConstructionSpecMaster;
+DROP TABLE IF EXISTS ConstructionSpecUnitPrice;
+DROP TABLE IF EXISTS ConstructionTypeMaster;
+DROP TABLE IF EXISTS CostDataOfPerson;
+DROP TABLE IF EXISTS CostomerRegist;
+DROP TABLE IF EXISTS DailyDataConstruction;
+DROP TABLE IF EXISTS DailyDataDetail;
+DROP TABLE IF EXISTS DailyDataField;
+DROP TABLE IF EXISTS DailyDataMaterials;
+DROP TABLE IF EXISTS DailyDataSubcontractors;
+DROP TABLE IF EXISTS DailyDataVehicles;
+DROP TABLE IF EXISTS DepartmentExpensesMaster;
+DROP TABLE IF EXISTS DepartmentMaster;
+DROP TABLE IF EXISTS DivisionMaster;
+DROP TABLE IF EXISTS EstimateBudget;
+DROP TABLE IF EXISTS EstimateBudgetDetail;
+DROP TABLE IF EXISTS EstimateData;
+DROP TABLE IF EXISTS EstimateDataBody;
+DROP TABLE IF EXISTS EstimateDataDetail;
+DROP TABLE IF EXISTS HolidayCalenderMaster;
+DROP TABLE IF EXISTS InputSearchLogData;
+DROP TABLE IF EXISTS MessageBoardData;
+DROP TABLE IF EXISTS MessageBoardTerget;
+DROP TABLE IF EXISTS MessageBrowsingHistory;
+DROP TABLE IF EXISTS OrderersMaster;
+DROP TABLE IF EXISTS OrdersPriceData;
+DROP TABLE IF EXISTS PersonApproval;
+DROP TABLE IF EXISTS PersonApprovalComment;
+DROP TABLE IF EXISTS PersonDepartmentMaster;
+DROP TABLE IF EXISTS PersonInChargeMaster;
+DROP TABLE IF EXISTS PersonSalaryMaster;
+DROP TABLE IF EXISTS ProceedingsData;
+DROP TABLE IF EXISTS ProceedingsDataAttend;
+DROP TABLE IF EXISTS ProceedingsDataDetail;
+DROP TABLE IF EXISTS ProcessApproval;
+DROP TABLE IF EXISTS ProcessApprovalComment;
+DROP TABLE IF EXISTS ProcessApprovalDetail;
+DROP TABLE IF EXISTS ProcessExcuteMaster;
+DROP TABLE IF EXISTS PurchaseOrder;
+DROP TABLE IF EXISTS PurchaseOrderDetail;
+DROP TABLE IF EXISTS SalesGraphData;
+DROP TABLE IF EXISTS SecurityMaster;
+DROP TABLE IF EXISTS SubConstrJobItemRegist;
+DROP TABLE IF EXISTS SubConstrJobLinkRegist;
+DROP TABLE IF EXISTS SubConstrRegist;
+DROP TABLE IF EXISTS SubContractorItemMaster;
+DROP TABLE IF EXISTS SubContractorJobCategory;
+DROP TABLE IF EXISTS SubContractorJobItem;
+DROP TABLE IF EXISTS SubContractorJobLink;
+DROP TABLE IF EXISTS SubContractorMaster;
+DROP TABLE IF EXISTS SuppliersMaster;
+DROP TABLE IF EXISTS SystemExecute;
+DROP TABLE IF EXISTS SystemMaster;
+DROP TABLE IF EXISTS TermMaster;
+DROP TABLE IF EXISTS TranceportDailyData;
+DROP TABLE IF EXISTS TypeExpensesMaster;
+DROP TABLE IF EXISTS UnitMaster;
+DROP TABLE IF EXISTS VehicleMaster;
+DROP TABLE IF EXISTS VehicleRecordData;
+DROP TABLE IF EXISTS VehicleScheduleData;
+
+
+
+
+/* Create Tables */
+
+-- 担当者行動予定データ
+CREATE TABLE ActionScheduleData
+(
+	TargetDate date NOT NULL COMMENT '対象日',
+	PersonCode decimal(8,0) NOT NULL COMMENT '担当者コード',
+	ActionSchedule varchar(30) COMMENT '行動予定',
+	TargetYear year(4) NOT NULL COMMENT '該当年',
+	TargetMonth year(2) NOT NULL COMMENT '該当月',
+	TargetDay year(2) NOT NULL COMMENT '該当日',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (TargetDate, PersonCode)
+) COMMENT = '担当者行動予定データ';
+
+
+-- 承認経路マスタ
+CREATE TABLE ApprovalMaster
+(
+	ApprovalCode decimal(3,0) unsigned NOT NULL COMMENT '承認機能番号',
+	DepartmentCode decimal(5,0) unsigned NOT NULL COMMENT '部署コード',
+	SeqNo decimal(2) NOT NULL COMMENT '枝番',
+	DisplayOrder decimal(2) NOT NULL COMMENT '表示順',
+	ApprovalPerson decimal(8) unsigned NOT NULL COMMENT '承認者コード',
+	ApprovalAuthority decimal(1) NOT NULL COMMENT '承認権限区分',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ApprovalCode, DepartmentCode, SeqNo)
+) COMMENT = '承認経路マスタ';
+
+
+-- 出勤日報データ
+CREATE TABLE AttendanceDailyData
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '作成者コード',
+	AttendanceDate date NOT NULL COMMENT '日報作成日',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	ActionResult varchar(30) NOT NULL COMMENT '行動実績',
+	OvertimeHours decimal(4,1) NOT NULL COMMENT '残業時間',
+	WorkingComment varchar(120) COMMENT 'コメント',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, AttendanceDate, SeqNo)
+) COMMENT = '出勤日報データ';
+
+
+-- 出勤管理データ
+CREATE TABLE AttendanceData
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '作成者コード',
+	AttendanceMonth date NOT NULL COMMENT '出勤管理年月',
+	LastDays decimal(2) unsigned NOT NULL COMMENT '当月最終日',
+	AttendDayCount decimal(2) unsigned NOT NULL COMMENT '出勤日数',
+	TotalOverTimes decimal(4,1) NOT NULL COMMENT '残業時間数',
+	OrderDate date NOT NULL COMMENT '申請日',
+	OrderNo decimal(2) unsigned NOT NULL COMMENT '申請受付番号',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, AttendanceMonth)
+) COMMENT = '出勤管理データ';
+
+
+-- 工事詳細台帳データ【退避用】
+CREATE TABLE BK_ConstructionLedger
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ConstructionPeriod decimal(4) unsigned NOT NULL COMMENT '事業期',
+	CreatorCode decimal(8,0) COMMENT '作成者コード',
+	CreatorName varchar(60) COMMENT '作成者名',
+	CreateDate date NOT NULL COMMENT '作成日',
+	ConstructionTimes decimal(5,2) NOT NULL COMMENT '工期（単位・月）',
+	ConstructionStart date NOT NULL COMMENT '契約工期開始',
+	ConstructionEnd date NOT NULL COMMENT '契約工期完了',
+	OrdersDecisionPrice decimal(14,0) NOT NULL COMMENT '税抜受注決定金額',
+	CompanyExpenses decimal(10,0) NOT NULL COMMENT '会社経費合計',
+	DepartmentExpenses decimal(10,0) NOT NULL COMMENT '部署経費合計',
+	SalesExpenses decimal(10,0) NOT NULL COMMENT '営業経費合計',
+	TotalPayment decimal(10,0) NOT NULL COMMENT '総支払額',
+	GrossProfit decimal(10,0) NOT NULL COMMENT '粗利',
+	Allowance decimal(10,0) NOT NULL COMMENT '給与',
+	NetProfit decimal(10,0) NOT NULL COMMENT '純利益',
+	ComplateFlg decimal(1) NOT NULL COMMENT '入力完了フラグ',
+	IntegrationFlg decimal(1) NOT NULL COMMENT '受注金額積算フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode)
+) COMMENT = '工事詳細台帳データ【退避用】';
+
+
+-- 工事詳細台帳明細データ【退避用】
+CREATE TABLE BK_ConstructionLedgerDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	GroupCount decimal(2,0) unsigned NOT NULL COMMENT 'グループ番号',
+	LineCount decimal(5) unsigned NOT NULL COMMENT '行番号',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	FirstString varchar(120) COMMENT '項目名称',
+	SecondString varchar(120) COMMENT '工事内容',
+	CompanyType decimal(1) NOT NULL COMMENT '協力会社コードタイプ',
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	CompanyName varchar(120) COMMENT '協力会社名称',
+	EstimatePrice decimal(12,0) NOT NULL COMMENT '予算（見積）金額',
+	ExecutionAmount decimal(12,0) NOT NULL COMMENT '実行金額',
+	AmountConfigRate decimal(5,2) NOT NULL COMMENT '金額構成率',
+	PaymentBurden decimal(12,0) NOT NULL COMMENT '支払補填額',
+	FixDataFlg decimal(1) NOT NULL COMMENT '固定データフラグ',
+	IndependentFlg decimal(1) NOT NULL COMMENT '独立データフラグ',
+	FluctuationFlg decimal(1) NOT NULL COMMENT '増減データフラグ',
+	SalaryFlg decimal(1) NOT NULL COMMENT '給与振分区分',
+	SalaryDays decimal(4) NOT NULL COMMENT '給与振分日数',
+	OperatingFlg decimal(1) NOT NULL COMMENT '担当中フラグ',
+	SourceCode decimal(10) unsigned NOT NULL COMMENT '元工事番号',
+	JoinTitleFlg decimal(1) NOT NULL COMMENT '工事名称タイトル',
+	SalaryOnRegist decimal(12,0) NOT NULL COMMENT '登録時月額給与',
+	PurchaseOrderFlg decimal(2) NOT NULL COMMENT '注文書発行フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, GroupCount, LineCount)
+) COMMENT = '工事詳細台帳明細データ【退避用】';
+
+
+-- 工事詳細台帳実行データ【退避用】
+CREATE TABLE BK_ConstructionLedgerExcute
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	GroupCount decimal(2,0) unsigned NOT NULL COMMENT 'グループ番号',
+	LineCount decimal(5) unsigned NOT NULL COMMENT '行番号',
+	ColumnCount decimal(3) NOT NULL COMMENT '列番号',
+	PaymentAmount decimal(12,0) NOT NULL COMMENT '支払金額',
+	TargetMonth date NOT NULL COMMENT '対象年月',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, GroupCount, LineCount, ColumnCount)
+) COMMENT = '工事詳細台帳実行データ【退避用】';
+
+
+-- 積算見積データ【退避用】
+CREATE TABLE BK_EstimateData
+(
+	SaveDate datetime NOT NULL COMMENT '退避日付',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	FixedItemCode varchar(1) COMMENT '固定項目キー',
+	ItemName varchar(120) COMMENT '作業名称',
+	SpecName varchar(120) COMMENT '作業／品質・形状・寸法',
+	PriceValue decimal(14,0) NOT NULL COMMENT '金額',
+	note varchar(60) COMMENT '備考',
+	MyExpensesFlg decimal(1) NOT NULL COMMENT '自社経費フラグ',
+	InputFlg decimal(1) NOT NULL COMMENT '入力フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (SaveDate, ConstructionCode, LineCount)
+) COMMENT = '積算見積データ【退避用】';
+
+
+-- 積算見積ページデータ【退避用】
+CREATE TABLE BK_EstimateDataBody
+(
+	SaveDate datetime NOT NULL COMMENT '退避日付',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	PageCount decimal(4) unsigned NOT NULL COMMENT 'ページ番号',
+	Category decimal(1) NOT NULL COMMENT 'ページ区分',
+	UnionComponentCode decimal(5) unsigned NOT NULL COMMENT '所属構成キー',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	SelectComponent decimal(5) unsigned NOT NULL COMMENT '選択構成キー',
+	PageTitle varchar(120) NOT NULL COMMENT 'ページ表示名',
+	DetailLineCount decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (SaveDate, ConstructionCode, PageCount)
+) COMMENT = '積算見積ページデータ【退避用】';
+
+
+-- 積算見積データ明細【退避用】
+CREATE TABLE BK_EstimateDataDetail
+(
+	SaveDate datetime NOT NULL COMMENT '退避日付',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	PageCount decimal(4) unsigned NOT NULL COMMENT 'ページ番号',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	DataType decimal(1) NOT NULL COMMENT 'データ種別',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	SpecCode decimal(5,0) unsigned NOT NULL COMMENT '作業キー',
+	ItemName varchar(120) COMMENT '作業名称',
+	SpecName varchar(120) COMMENT '作業／品質・形状・寸法',
+	Unitcount decimal(8,2) NOT NULL COMMENT '数量',
+	UnitName varchar(30) COMMENT '単位名称',
+	UnitPrice decimal(9,2) NOT NULL COMMENT '単価',
+	LineTotal decimal(12,0) NOT NULL COMMENT '金額',
+	note varchar(60) COMMENT '備考',
+	CompanyCode decimal(8) NOT NULL COMMENT '協力会社コード',
+	MyExpensesFlg decimal(1) NOT NULL COMMENT '自社経費フラグ',
+	InputFlg decimal(1) COMMENT '入力フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (SaveDate, ConstructionCode, PageCount, LineCount)
+) COMMENT = '積算見積データ明細【退避用】';
+
+
+-- 法人格マスタ
+CREATE TABLE BusinessTypeMaster
+(
+	BusinessTypeCode decimal(5,0) unsigned NOT NULL COMMENT '法人格コード',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	BusinessTypeName varchar(100) DEFAULT '' NOT NULL COMMENT '業種名',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (BusinessTypeCode)
+) COMMENT = '法人格マスタ';
+
+
+-- 共通費大項目マスタ
+CREATE TABLE CommonCostLarge
+(
+	LargeCode decimal(5,0) unsigned NOT NULL COMMENT '大項目キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	LargeName varchar(50) DEFAULT '' NOT NULL COMMENT '大項目名称',
+	CommentText varchar(120) COMMENT '説明書き',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (LargeCode)
+) COMMENT = '共通費大項目マスタ';
+
+
+-- 共通費工種関連マスタ
+CREATE TABLE CommonCostLinkMS
+(
+	LargeCode decimal(5,0) unsigned NOT NULL COMMENT '大項目キー',
+	MiddleCode decimal(5,0) unsigned NOT NULL COMMENT '中項目キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	EntryDate datetime COMMENT '登録日付',
+	UpdateDate datetime COMMENT '更新日付',
+	PRIMARY KEY (LargeCode, MiddleCode, ItemCode)
+) COMMENT = '共通費工種関連マスタ';
+
+
+-- 共通費中項目マスタ
+CREATE TABLE CommonCostMiddle
+(
+	LargeCode decimal(5,0) unsigned NOT NULL COMMENT '大項目キー',
+	MiddleCode decimal(5,0) unsigned NOT NULL COMMENT '中項目キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	MiddleName varchar(50) DEFAULT '' NOT NULL COMMENT '中項目名称',
+	CommentText varchar(120) COMMENT '説明書き',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (LargeCode, MiddleCode)
+) COMMENT = '共通費中項目マスタ';
+
+
+-- 共通費中項目キーマスタ
+CREATE TABLE CommonCostMiddleSearchWord
+(
+	LargeCode decimal(5,0) unsigned NOT NULL COMMENT '大項目キー',
+	MiddleCode decimal(5,0) unsigned NOT NULL COMMENT '中項目キー',
+	SeqNo decimal(5) unsigned NOT NULL COMMENT '順序',
+	SearchWord varchar(50) DEFAULT '' NOT NULL COMMENT '検索項目',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (LargeCode, MiddleCode, SeqNo)
+) COMMENT = '共通費中項目キーマスタ';
+
+
+-- 構成工種関連マスタ
+CREATE TABLE ComponentLinkMaster
+(
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	DisplayOrder decimal(5) unsigned COMMENT '表示順',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ComponentCode, ItemCode)
+) COMMENT = '構成工種関連マスタ';
+
+
+-- 構成マスタ
+CREATE TABLE ComponentMaster
+(
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	ComponentName varchar(120) DEFAULT '' NOT NULL COMMENT '構成名称',
+	SubItemsFlg decimal(1) COMMENT '下位項目フラグ',
+	DirectInputFlg decimal(1) COMMENT '直接入力フラグ',
+	MyExpensesFlg decimal(1) COMMENT '自社経費フラグ',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ComponentCode)
+) COMMENT = '構成マスタ';
+
+
+-- 構成工事種別関連マスタ
+CREATE TABLE ComponentToTypeMaster
+(
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	TypeCode decimal(5,0) unsigned NOT NULL COMMENT '工事種別コード',
+	Dummy decimal(1) NOT NULL COMMENT 'ダミー項目',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ComponentCode, TypeCode)
+) COMMENT = '構成工事種別関連マスタ';
+
+
+-- 工事基本情報
+CREATE TABLE ConstructionBaseInfo
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	TyingFlg decimal(1) NOT NULL COMMENT '紐付データフラグ',
+	JoinFlg decimal(1) NOT NULL COMMENT '結合契約工事フラグ',
+	ConstructionYear smallint unsigned NOT NULL COMMENT '工事年度',
+	ConstructionPeriod smallint unsigned NOT NULL COMMENT '工事期数',
+	RequestedDate date COMMENT '依頼受け日',
+	EstimatesSubmitDeadline date COMMENT '見積提出期限',
+	EstimatesSubmittedDate date COMMENT '見積提出日',
+	ProvisionalOrderDate date COMMENT '仮受注日',
+	OrderDate date COMMENT '受注日',
+	OrderStartingDate date COMMENT '開始予定日',
+	OrderCompletionDate date COMMENT '完了予定日',
+	PreparationStartDate date COMMENT '施工準備開始日',
+	ConstructionStartingDate date COMMENT '施工開始日',
+	ConstructionCompletionDate date COMMENT '施工完了日',
+	NonOrderDate date COMMENT '非受注日',
+	OrdersDecisionPrice decimal(12,0) NOT NULL COMMENT '税抜受注決定金額',
+	OrdersDecisionPriceInTax decimal(12,0) NOT NULL COMMENT '税込受注決定金額',
+	SalesPersonCode decimal(8,0) COMMENT '営業担当者名',
+	ConstructionPersonCode decimal(8,0) NOT NULL COMMENT '工事担当者',
+	ConstrSubPersonCode decimal(8,0) NOT NULL COMMENT '工事副担当者',
+	ConstructionInstructor decimal(8,0) NOT NULL COMMENT '工事指導員',
+	TransferConstruction decimal(8,0) NOT NULL COMMENT '工事移管先コード',
+	TransferConstructionDate date COMMENT '工事移管日',
+	OrderersDivision decimal(5) NOT NULL COMMENT '発注者区分',
+	OrderersCode decimal(5,0) unsigned NOT NULL COMMENT '発注者コード',
+	EstimatesExpirationDate date COMMENT '見積有効期限',
+	ConstructionPeriodStart date COMMENT '契約工期開始日',
+	ConstructionPeriodEnd date COMMENT '契約工期完了',
+	ConstructionPeriodStart2 date COMMENT '契約工期開始（延長時）',
+	ConstructionPeriodEnd2 date COMMENT '契約工期完了（延長時）',
+	StartDate date COMMENT '工事開始日',
+	EndDate date COMMENT '工事終了日',
+	PurchaseOrderMailingDate date COMMENT '注文書郵送日',
+	PurchaseOrderReturnDate date COMMENT '注文書返送日',
+	PurchaseOrderReturnCheckDate date COMMENT '注文書返送確認日',
+	ConsumptionTaxFlg decimal(1) NOT NULL COMMENT '消費税フラグ',
+	PrimeContractorFlg decimal(1) NOT NULL COMMENT '元請フラグ',
+	SalesCostFlg decimal(1) NOT NULL COMMENT '営業経費発生フラグ',
+	ConstructionStatusFlg decimal(2,0) NOT NULL COMMENT '工事状態フラグ',
+	ConstructionType decimal(5) NOT NULL COMMENT '工事種別コード',
+	EstimateType decimal(1) NOT NULL COMMENT '見積種別',
+	BillingStartDate date NOT NULL COMMENT '請求準備開始日',
+	BillingDate date NOT NULL COMMENT '請求日',
+	BillingSplitFlg decimal(1) NOT NULL COMMENT '請求回数フラグ',
+	BillingSendDate date COMMENT '請求書郵送/手渡し日',
+	LedgerComplateDate date NOT NULL COMMENT '工事詳細台帳入力完了日付',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode)
+) COMMENT = '工事基本情報';
+
+
+-- 工事基本情報明細
+CREATE TABLE ConstructionBaseInfoDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	DetailNo decimal(2) NOT NULL COMMENT '明細番号',
+	DetailString varchar(120) COMMENT '明細内容',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, DetailNo)
+) COMMENT = '工事基本情報明細';
+
+
+-- 工事施工予算データ
+CREATE TABLE ConstructionBudget
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	CreatorCode decimal(8,0) NOT NULL COMMENT '作成者コード',
+	CreatorName varchar(60) COMMENT '作成者名',
+	CreatorCosts decimal(11,0) NOT NULL COMMENT '作成者給与',
+	AssistantCode decimal(8,0) NOT NULL COMMENT '副担当者コード',
+	AssistantName varchar(60) COMMENT '副担当者名',
+	AssistantCosts decimal(11,0) NOT NULL COMMENT '副担当者給与',
+	InstructorCode decimal(8,0) NOT NULL COMMENT '工事指導員コード',
+	InstructorName varchar(60) COMMENT '工事指導員名',
+	InstructorCosts decimal(11,0) NOT NULL COMMENT '工事指導員給与',
+	CreateDate date NOT NULL COMMENT '作成日',
+	ConstructionTimes decimal(5,2) NOT NULL COMMENT '工期（単位・月）',
+	ConstructionStart date NOT NULL COMMENT '契約工期開始',
+	ConstructionEnd date NOT NULL COMMENT '契約工期完了',
+	InstructorTimes decimal(5,2) NOT NULL COMMENT '指導員稼働月数',
+	SalaryFlg decimal(1) NOT NULL COMMENT '給与振分区分',
+	SalaryDays decimal(4) NOT NULL COMMENT '振分日数',
+	A_SalaryFlg decimal(1) NOT NULL COMMENT '副担当者給与振分区分',
+	A_SalaryDays decimal(4) NOT NULL COMMENT '副担当者振分日数',
+	I_SalaryFlg decimal(1) NOT NULL COMMENT '指導員給与振分区分',
+	I_SalaryDays decimal(4) NOT NULL COMMENT '指導員振分日数',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode)
+) COMMENT = '工事施工予算データ';
+
+
+-- 工事施工予算データ明細
+CREATE TABLE ConstructionBudgetDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	GroupCount decimal(2,0) unsigned NOT NULL COMMENT 'グループ番号',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	FirstString varchar(120) COMMENT '項目名称',
+	SecondString varchar(120) COMMENT '工事内容',
+	CompanyType decimal(1) NOT NULL COMMENT '協力会社コードタイプ',
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	CompanyName varchar(120) COMMENT '協力会社名称',
+	EstimatePrice decimal(12,0) NOT NULL COMMENT '積算時見積金額',
+	NegotiationPrice decimal(12,0) NOT NULL COMMENT '積算時交渉金額',
+	OrderDesiredAmount decimal(12,0) NOT NULL COMMENT '発注希望金額',
+	ExecutionAmount decimal(12,0) NOT NULL COMMENT '実行金額',
+	AmountConfigRate decimal(5,2) NOT NULL COMMENT '金額構成率',
+	NegotiateFlg decimal(1) NOT NULL COMMENT '協力業者交渉フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, GroupCount, LineCount)
+) COMMENT = '工事施工予算データ明細';
+
+
+-- 工種マスタ
+CREATE TABLE ConstructionItemMaster
+(
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	ItemName varchar(120) DEFAULT '' NOT NULL COMMENT '工種名称',
+	SubItemsFlg decimal(1) COMMENT '下位項目フラグ',
+	MyExpensesFlg decimal(1) NOT NULL COMMENT '自社経費フラグ',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ItemCode)
+) COMMENT = '工種マスタ';
+
+
+-- 工事詳細台帳データ
+CREATE TABLE ConstructionLedger
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ConstructionPeriod decimal(4) unsigned NOT NULL COMMENT '事業期',
+	CreatorCode decimal(8,0) COMMENT '作成者コード',
+	CreatorName varchar(60) COMMENT '作成者名',
+	CreateDate date NOT NULL COMMENT '作成日',
+	ConstructionTimes decimal(5,2) NOT NULL COMMENT '工期（単位・月）',
+	ConstructionStart date NOT NULL COMMENT '契約工期開始',
+	ConstructionEnd date NOT NULL COMMENT '契約工期完了',
+	OrdersDecisionPrice decimal(14,0) NOT NULL COMMENT '税抜受注決定金額',
+	CompanyExpenses decimal(10,0) NOT NULL COMMENT '会社経費合計',
+	DepartmentExpenses decimal(10,0) NOT NULL COMMENT '部署経費合計',
+	SalesExpenses decimal(10,0) NOT NULL COMMENT '営業経費合計',
+	TotalPayment decimal(10,0) NOT NULL COMMENT '総支払額',
+	GrossProfit decimal(10,0) NOT NULL COMMENT '粗利',
+	Allowance decimal(10,0) NOT NULL COMMENT '給与',
+	NetProfit decimal(10,0) NOT NULL COMMENT '純利益',
+	ComplateFlg decimal(1) NOT NULL COMMENT '入力完了フラグ',
+	IntegrationFlg decimal(1) NOT NULL COMMENT '受注金額積算フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode)
+) COMMENT = '工事詳細台帳データ';
+
+
+-- 工事詳細台帳明細データ
+CREATE TABLE ConstructionLedgerDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	GroupCount decimal(2,0) unsigned NOT NULL COMMENT 'グループ番号',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	FirstString varchar(120) COMMENT '項目名称',
+	SecondString varchar(120) COMMENT '工事内容',
+	CompanyType decimal(1) NOT NULL COMMENT '協力会社コードタイプ',
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	CompanyName varchar(120) COMMENT '協力会社名称',
+	EstimatePrice decimal(12,0) NOT NULL COMMENT '予算（見積）金額',
+	ExecutionAmount decimal(12,0) NOT NULL COMMENT '実行金額',
+	AmountConfigRate decimal(5,2) NOT NULL COMMENT '金額構成率',
+	PaymentBurden decimal(12,0) NOT NULL COMMENT '支払補填額',
+	FixDataFlg decimal(1) NOT NULL COMMENT '固定データフラグ',
+	IndependentFlg decimal(1) NOT NULL COMMENT '独立データフラグ',
+	FluctuationFlg decimal(1) NOT NULL COMMENT '増減データフラグ',
+	SalaryFlg decimal(1) NOT NULL COMMENT '給与振分区分',
+	SalaryDays decimal(4) NOT NULL COMMENT '給与振分日数',
+	OperatingFlg decimal(1) NOT NULL COMMENT '担当中フラグ',
+	SourceCode decimal(10) unsigned NOT NULL COMMENT '元工事番号',
+	JoinTitleFlg decimal(1) NOT NULL COMMENT '工事名称タイトル',
+	SalaryOnRegist decimal(12,0) NOT NULL COMMENT '登録時月額給与',
+	PurchaseOrderFlg decimal(2) NOT NULL COMMENT '注文書発行フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, GroupCount, LineCount)
+) COMMENT = '工事詳細台帳明細データ';
+
+
+-- 工事詳細台帳実行データ
+CREATE TABLE ConstructionLedgerExcute
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	GroupCount decimal(2,0) unsigned NOT NULL COMMENT 'グループ番号',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	ColumnCount decimal(3) NOT NULL COMMENT '列番号',
+	PaymentAmount decimal(12,0) NOT NULL COMMENT '支払金額',
+	TargetMonth date NOT NULL COMMENT '対象年月',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, GroupCount, LineCount, ColumnCount)
+) COMMENT = '工事詳細台帳実行データ';
+
+
+-- 工事リンク情報
+CREATE TABLE ConstructionLink
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	FluctuationCode decimal(10,0) NOT NULL COMMENT '子工事番号',
+	LinkType decimal(1) NOT NULL COMMENT 'リンク種別',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, FluctuationCode)
+) COMMENT = '工事リンク情報';
+
+
+-- 案件進捗日付データ
+CREATE TABLE ConstructionProgressDate
+(
+	ConstructionCode decimal(10,0) NOT NULL COMMENT '工事番号',
+	ConstructionStatusFlg decimal(2,0) NOT NULL COMMENT '設定工事状態',
+	PreviousStatusFlg decimal(2,0) COMMENT '変更前状態',
+	ChangeDate datetime NOT NULL COMMENT '設定日付',
+	ChangePersonCode decimal(8,0) NOT NULL COMMENT '設定担当者',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, ConstructionStatusFlg)
+) COMMENT = '案件進捗日付データ';
+
+
+-- 作業マスタ
+CREATE TABLE ConstructionSpecMaster
+(
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	SpecCode decimal(5,0) unsigned NOT NULL COMMENT '作業キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	ItemName varchar(120) DEFAULT '' COMMENT '作業名称',
+	SpecName varchar(120) COMMENT '作業名称',
+	UnitName varchar(30) COMMENT '単位名称',
+	UnitPrice decimal(9,2) NOT NULL COMMENT '単価',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ItemCode, SpecCode)
+) COMMENT = '作業マスタ';
+
+
+-- 作業単価マスタ
+CREATE TABLE ConstructionSpecUnitPrice
+(
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	SpecCode decimal(5,0) unsigned NOT NULL COMMENT '作業キー',
+	ConstructionTypeCode mediumint unsigned NOT NULL COMMENT '工事種別コード',
+	UnitPrice decimal(9,2) NOT NULL COMMENT '単価',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ComponentCode, ItemCode, SpecCode, ConstructionTypeCode)
+) COMMENT = '作業単価マスタ';
+
+
+-- 工事種別マスタ
+CREATE TABLE ConstructionTypeMaster
+(
+	TypeCode decimal(5,0) unsigned NOT NULL COMMENT '工事種別コード',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	NameString varchar(100) DEFAULT '' NOT NULL COMMENT '名称',
+	PublicFlg decimal(1) NOT NULL COMMENT '工事種別フラグ',
+	SecRank decimal(1) NOT NULL COMMENT '保護区分ランク',
+	ExpensesLink decimal(1) NOT NULL COMMENT '経費使用区分',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (TypeCode)
+) COMMENT = '工事種別マスタ';
+
+
+-- 担当者毎経費データ
+CREATE TABLE CostDataOfPerson
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '担当者コード',
+	ActionDate date NOT NULL COMMENT '対象日付',
+	DataType decimal(1) NOT NULL COMMENT 'データ区分',
+	DataAddCount decimal(5) unsigned NOT NULL COMMENT 'データ追加番号',
+	TargetMonth varchar(7) NOT NULL COMMENT '対象年月',
+	ConstructionCode decimal(10,0) unsigned COMMENT '工事コード',
+	SuppliersCode decimal(5) unsigned NOT NULL COMMENT '支払先コード',
+	SuppliersName varchar(120) COMMENT '支払先名称',
+	PaymentContent varchar(60) COMMENT '支払内容',
+	PaymentType decimal(1) NOT NULL COMMENT '支払方法フラグ',
+	EntryPrice decimal(12,0) NOT NULL COMMENT '金額（税抜）',
+	EntryPriceInTax decimal(12,0) NOT NULL COMMENT '金額（税込）',
+	SlipNumber varchar(12) COMMENT '伝票番号',
+	ComplateFlg decimal(1) NOT NULL COMMENT '引込済みフラグ',
+	ApprovalFlg decimal(1) NOT NULL COMMENT '承認フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, ActionDate, DataType, DataAddCount)
+) COMMENT = '担当者毎経費データ';
+
+
+-- 発注者登録申請データ
+CREATE TABLE CostomerRegist
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '申請者番号',
+	CreateDate date NOT NULL COMMENT '作成日',
+	SeqNo decimal(2) NOT NULL COMMENT 'キー連番',
+	DataMode decimal(1) NOT NULL COMMENT 'データ区分',
+	SourceCotegory decimal(5) unsigned NOT NULL COMMENT '発注者区分',
+	SourceCode decimal(5) unsigned NOT NULL COMMENT '発注者コード',
+	PetitionPeriod decimal(4) unsigned NOT NULL COMMENT '事業期',
+	OrderFlg decimal(1) NOT NULL COMMENT '法人団体・個人フラグ',
+	CorporateStatusName varchar(100) COMMENT '法人格名称',
+	CorporateStatusPoint decimal(1) COMMENT '法人格名称位置',
+	OrderersName1 varchar(60) DEFAULT '' NOT NULL COMMENT '発注者名1',
+	OrderersName2 varchar(60) COMMENT '発注者名２',
+	DepartmentName varchar(60) COMMENT '部署名',
+	ChargePersonName varchar(60) COMMENT '担当者名',
+	ZipCode varchar(8) COMMENT '郵便番号',
+	Address1 varchar(60) COMMENT '住所１',
+	Address2 varchar(60) DEFAULT '' COMMENT '住所2',
+	Address3 varchar(60) COMMENT '住所3',
+	PhoneNumber varchar(13) DEFAULT '' COMMENT '電話番号',
+	FaxNumber varchar(13) DEFAULT '' COMMENT 'FAX番号',
+	MailAddress varchar(257) COMMENT 'メールアドレス',
+	Note varchar(300) DEFAULT '' COMMENT '備考',
+	OrderCotegory decimal(5,0) unsigned NOT NULL COMMENT '発注者区分',
+	OrderDate date NOT NULL COMMENT '申請日',
+	OrderNo decimal(2) unsigned NOT NULL COMMENT '申請受付番号',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, CreateDate, SeqNo)
+) COMMENT = '発注者登録申請データ';
+
+
+-- 日報データ
+CREATE TABLE DailyDataConstruction
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '担当者コード',
+	DailyDataDate date NOT NULL COMMENT '日報作成日',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	Weather varchar(60) COMMENT '天気',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, DailyDataDate, ConstructionCode)
+) COMMENT = '日報データ';
+
+
+-- 日報データ (明細)
+CREATE TABLE DailyDataDetail
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '担当者コード',
+	DailyDataDate date NOT NULL COMMENT '日報作成日',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	JobCategoryCode decimal(5,0) NOT NULL COMMENT '職種キー',
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	TodayHeadCount decimal(4,1) NOT NULL COMMENT '当日人員数',
+	TotalHeadCount decimal(5,1) NOT NULL COMMENT '累計人員数',
+	TodayWork varchar(100) COMMENT '当日作業内容',
+	NextdayWork varchar(100) COMMENT '翌日作業内容',
+	NextdayHeadCount decimal(4,1) NOT NULL COMMENT '翌日人員数',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, DailyDataDate, ConstructionCode, SeqNo)
+) COMMENT = '日報データ (明細)';
+
+
+-- 日報データ (現場巡回)
+CREATE TABLE DailyDataField
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '作成者コード',
+	DailyDataDate date NOT NULL COMMENT '日報作成日',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	PatrolTime datetime NOT NULL COMMENT '巡回時間',
+	ContentsText varchar(200) COMMENT '内容',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, DailyDataDate, ConstructionCode, SeqNo)
+) COMMENT = '日報データ (現場巡回)';
+
+
+-- 日報データ (資材)
+CREATE TABLE DailyDataMaterials
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '作成者コード',
+	DailyDataDate date NOT NULL COMMENT '日報作成日',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	Materials varchar(100) COMMENT '資材名',
+	Quantity varchar(100) COMMENT '数量',
+	Production varchar(100) COMMENT '制作会社',
+	Delivery varchar(100) COMMENT '納入業者',
+	QualityControl varchar(100) COMMENT '品質管理事項',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, DailyDataDate, ConstructionCode, SeqNo)
+) COMMENT = '日報データ (資材)';
+
+
+-- 日報データ (協力業者指示)
+CREATE TABLE DailyDataSubcontractors
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '作成者コード',
+	DailyDataDate date NOT NULL COMMENT '日報作成日',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	Attendee varchar(100) COMMENT '出席者',
+	ContentsText varchar(200) COMMENT '内容',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, DailyDataDate, ConstructionCode, SeqNo)
+) COMMENT = '日報データ (協力業者指示)';
+
+
+-- 日報データ (車両)
+CREATE TABLE DailyDataVehicles
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '作成者コード',
+	DailyDataDate date NOT NULL COMMENT '日報作成日',
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	Model varchar(100) COMMENT '機種',
+	Performance varchar(100) COMMENT '性能',
+	Owner varchar(100) COMMENT '所有会社',
+	Driver varchar(100) COMMENT '当日運転者',
+	StartWorkingTime datetime NOT NULL COMMENT '作業時間開始',
+	EndWorkingTime datetime NOT NULL COMMENT '作業時間終了',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, DailyDataDate, ConstructionCode, SeqNo)
+) COMMENT = '日報データ (車両)';
+
+
+-- 部署経費率マスタ
+CREATE TABLE DepartmentExpensesMaster
+(
+	DepartmentCode decimal(5,0) unsigned NOT NULL COMMENT '部署コード',
+	ExpensesPeriod smallint NOT NULL COMMENT '事業期',
+	NameCode decimal(5,0) unsigned NOT NULL COMMENT '経費名称コード',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	ExpensesRaito decimal(4,2) NOT NULL COMMENT '経費率',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (DepartmentCode, ExpensesPeriod, NameCode)
+) COMMENT = '部署経費率マスタ';
+
+
+-- 部署マスタ
+CREATE TABLE DepartmentMaster
+(
+	DepartmentCode decimal(5,0) unsigned NOT NULL COMMENT '部署コード',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	DepartmentString varchar(100) DEFAULT '' NOT NULL COMMENT '部署名',
+	ActionScheduleFlg decimal(1) NOT NULL COMMENT '行動予定表示フラグ',
+	StaffAssignFlg decimal(1) NOT NULL COMMENT '人員配置表示フラグ',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (DepartmentCode)
+) COMMENT = '部署マスタ';
+
+
+-- 区分マスタ
+CREATE TABLE DivisionMaster
+(
+	DivisionCode decimal(5,0) unsigned NOT NULL COMMENT '区分コード',
+	NameCode decimal(5,0) unsigned NOT NULL COMMENT '名称コード',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	NameString varchar(100) DEFAULT '' NOT NULL COMMENT '名称',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (DivisionCode, NameCode)
+) COMMENT = '区分マスタ';
+
+
+-- 積算予算書データ
+CREATE TABLE EstimateBudget
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ConstructionTime decimal(5,2) unsigned NOT NULL COMMENT '工期',
+	IntegratedCode decimal(8) NOT NULL COMMENT '積算者',
+	DataCreateDate datetime NOT NULL COMMENT 'データ引込日',
+	RetValue1 decimal(12,0) NOT NULL COMMENT '予定価格',
+	RetValue2 decimal(12,0) NOT NULL COMMENT '直接工事費',
+	RetValue3 decimal(12,0) NOT NULL COMMENT '積み上げ共通仮設費',
+	RetValue4 decimal(12,0) NOT NULL COMMENT '積み上げ現場管理費',
+	RetPercent decimal(5,2) NOT NULL COMMENT '一般管理費率',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode)
+) COMMENT = '積算予算書データ';
+
+
+-- 積算予算内訳データ明細
+CREATE TABLE EstimateBudgetDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	GroupCount decimal(2,0) unsigned NOT NULL COMMENT 'グループ番号',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned COMMENT '工種キー',
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	FirstString varchar(120) COMMENT '大項目名称',
+	SecondString varchar(120) COMMENT '工種名称・協力会社名',
+	Content varchar(120) COMMENT '内容',
+	EstimatePrice decimal(12,0) NOT NULL COMMENT '見積時金額',
+	NegotiationPrice decimal(12,0) NOT NULL COMMENT '交渉時金額',
+	Notes varchar(120) COMMENT '注意事項',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, GroupCount, LineCount)
+) COMMENT = '積算予算内訳データ明細';
+
+
+-- 積算見積データ
+CREATE TABLE EstimateData
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	FixedItemCode varchar(1) COMMENT '固定項目キー',
+	ItemName varchar(120) COMMENT '作業名称',
+	SpecName varchar(120) COMMENT '作業／品質・形状・寸法',
+	PriceValue decimal(14,0) NOT NULL COMMENT '金額',
+	note varchar(60) COMMENT '備考',
+	MyExpensesFlg decimal(1) NOT NULL COMMENT '自社経費フラグ',
+	InputFlg decimal(1) NOT NULL COMMENT '入力フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, LineCount)
+) COMMENT = '積算見積データ';
+
+
+-- 積算見積ページデータ
+CREATE TABLE EstimateDataBody
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	PageCount decimal(4) unsigned NOT NULL COMMENT 'ページ番号',
+	Category decimal(1) NOT NULL COMMENT 'ページ区分',
+	UnionComponentCode decimal(5) unsigned NOT NULL COMMENT '所属構成キー',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	SelectComponent decimal(5) unsigned NOT NULL COMMENT '選択構成キー',
+	PageTitle varchar(120) NOT NULL COMMENT 'ページ表示名',
+	DetailLineCount decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, PageCount)
+) COMMENT = '積算見積ページデータ';
+
+
+-- 積算見積データ明細
+CREATE TABLE EstimateDataDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	PageCount decimal(4) unsigned NOT NULL COMMENT 'ページ番号',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	DataType decimal(1) NOT NULL COMMENT 'データ種別',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	SpecCode decimal(5,0) unsigned NOT NULL COMMENT '作業キー',
+	ItemName varchar(120) COMMENT '作業名称',
+	SpecName varchar(120) COMMENT '作業／品質・形状・寸法',
+	Unitcount decimal(8,2) NOT NULL COMMENT '数量',
+	UnitName varchar(30) COMMENT '単位名称',
+	UnitPrice decimal(9,2) NOT NULL COMMENT '単価',
+	LineTotal decimal(12,0) NOT NULL COMMENT '金額',
+	note varchar(60) COMMENT '備考',
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	MyExpensesFlg decimal(1) NOT NULL COMMENT '自社経費フラグ',
+	InputFlg decimal(1) COMMENT '入力フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, PageCount, LineCount)
+) COMMENT = '積算見積データ明細';
+
+
+-- 会社休日マスタ
+CREATE TABLE HolidayCalenderMaster
+(
+	Holiday date NOT NULL COMMENT '休日',
+	BusinessYear smallint unsigned NOT NULL COMMENT '営業年度',
+	TargetMonth tinyint unsigned NOT NULL COMMENT '該当月',
+	TargetDay tinyint unsigned NOT NULL COMMENT '該当日',
+	PRIMARY KEY (Holiday)
+) COMMENT = '会社休日マスタ';
+
+
+-- 入力時検索履歴
+CREATE TABLE InputSearchLogData
+(
+	ConstructionCode decimal(10,0) NOT NULL COMMENT '工事コード',
+	UsedProcessNo decimal(4,0) NOT NULL COMMENT '使用機能番号',
+	DisplayOrder decimal(4) unsigned NOT NULL COMMENT '表示順',
+	DataType decimal(1) NOT NULL COMMENT 'データ種別',
+	InputCode decimal(10) COMMENT '入力コード',
+	PRIMARY KEY (ConstructionCode, UsedProcessNo, DisplayOrder)
+) COMMENT = '入力時検索履歴';
+
+
+-- 掲示板メッセージ
+CREATE TABLE MessageBoardData
+(
+	RecordNumber decimal(6) unsigned NOT NULL COMMENT 'レコード番号',
+	BranchNumber decimal(3) unsigned NOT NULL COMMENT 'レコード枝番',
+	FromCode decimal(8) unsigned NOT NULL COMMENT '書込み者コード',
+	FromName varchar(60) NOT NULL COMMENT '書込み者',
+	MessageTitile varchar(100) COMMENT '伝言タイトル',
+	MessageContent varchar(1333) NOT NULL COMMENT '伝言内容',
+	LinkType decimal(2) NOT NULL COMMENT 'リンク動作タイプ',
+	LinkMessage varchar(200) COMMENT 'リンク文字列',
+	LinkCode varchar(30) COMMENT 'リンクキー',
+	WritingDate datetime NOT NULL COMMENT '書込み日時',
+	PersonCode decimal(8,0) NOT NULL COMMENT '書込み担当者コード',
+	ShareFlag decimal(2) NOT NULL COMMENT '管理者対象フラグ',
+	MessageColor varchar(8) COMMENT '文字色',
+	BackColor varchar(8) COMMENT 'バックカラー',
+	MessageFlag decimal(1) NOT NULL COMMENT 'メッセージフラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (RecordNumber, BranchNumber)
+) COMMENT = '掲示板メッセージ';
+
+
+-- 掲示板対象者テーブル
+CREATE TABLE MessageBoardTerget
+(
+	RecordNumber decimal(6) unsigned NOT NULL COMMENT 'レコード番号',
+	BranchNumber decimal(3) unsigned NOT NULL COMMENT 'レコード枝番',
+	SeqNum decimal(3) unsigned NOT NULL COMMENT '順番',
+	ToCode decimal(8) NOT NULL COMMENT '対象者コード',
+	ToName varchar(60) NOT NULL COMMENT '対象者',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (RecordNumber, BranchNumber, SeqNum)
+) COMMENT = '掲示板対象者テーブル';
+
+
+-- 掲示板メッセージ閲覧履歴
+CREATE TABLE MessageBrowsingHistory
+(
+	RecordNumber decimal(6) unsigned NOT NULL COMMENT 'レコード番号',
+	BranchNumber decimal(3) unsigned NOT NULL COMMENT 'レコード枝番',
+	SeqNum decimal(3) unsigned NOT NULL COMMENT '順番',
+	BrowsingCode decimal(8) NOT NULL COMMENT '閲覧者コード',
+	BrowsingDate datetime NOT NULL COMMENT '閲覧日付',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (RecordNumber, BranchNumber, SeqNum)
+) COMMENT = '掲示板メッセージ閲覧履歴';
+
+
+-- 発注者マスタ
+CREATE TABLE OrderersMaster
+(
+	OrderCotegory decimal(5,0) unsigned NOT NULL COMMENT '発注者区分',
+	OrderersCode decimal(5,0) unsigned NOT NULL COMMENT '発注者コード',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	OrderFlg decimal(1) NOT NULL COMMENT '法人団体・個人フラグ',
+	CorporateStatusName varchar(100) COMMENT '法人格名称',
+	CorporateStatusPoint decimal(1) COMMENT '法人格名称位置',
+	OrderersName1 varchar(60) DEFAULT '' NOT NULL COMMENT '発注者名1',
+	OrderersName2 varchar(60) COMMENT '発注者名２',
+	DepartmentName varchar(60) COMMENT '部署名',
+	ChargePersonName varchar(60) COMMENT '担当者名',
+	ZipCode varchar(8) COMMENT '郵便番号',
+	Address1 varchar(60) COMMENT '住所１',
+	Address2 varchar(60) DEFAULT '' COMMENT '住所2',
+	Address3 varchar(60) COMMENT '住所3',
+	PhoneNumber varchar(13) DEFAULT '' COMMENT '電話番号',
+	FaxNumber varchar(13) DEFAULT '' COMMENT 'FAX番号',
+	MailAddress varchar(257) COMMENT 'メールアドレス',
+	Note varchar(300) DEFAULT '' COMMENT '備考',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (OrderCotegory, OrderersCode)
+) COMMENT = '発注者マスタ';
+
+
+-- 受注金額データ
+CREATE TABLE OrdersPriceData
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ChangeNo decimal(3) unsigned NOT NULL COMMENT '変更番号',
+	ChangeDate date NOT NULL COMMENT '変更日',
+	ChangePersonCode decimal(8) unsigned NOT NULL COMMENT '変更者コード',
+	ChangePersonName varchar(60) COMMENT '変更者名',
+	BeforeValue decimal(14,0) NOT NULL COMMENT '変更前税抜受注金額',
+	BeforeValueInTax decimal(14,0) NOT NULL COMMENT '変更前税込受注金額',
+	AfterValue decimal(14,0) NOT NULL COMMENT '変更後税抜受注金額',
+	AfterValueInTax decimal(14,0) NOT NULL COMMENT '変更後税込受注金額',
+	ChangeComment varchar(200) COMMENT '変更理由',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, ChangeNo)
+) COMMENT = '受注金額データ';
+
+
+-- 担当者承認データ
+CREATE TABLE PersonApproval
+(
+	PersonCode decimal(8) unsigned NOT NULL COMMENT '担当者コード',
+	ApprovalCode decimal(3,0) unsigned NOT NULL COMMENT '承認機能番号',
+	OrderDate date NOT NULL COMMENT '受付日',
+	OrderNo decimal(2,0) unsigned NOT NULL COMMENT '受付番号',
+	SeqNo decimal(2) NOT NULL COMMENT '枝番',
+	PersonCodeApproval decimal(8) unsigned NOT NULL COMMENT '申請・承認者コード',
+	PetitionApprovalDate datetime NOT NULL COMMENT '申請・承認日付',
+	ApprovalLimitDates datetime NOT NULL COMMENT '承認希望日',
+	ApprovalStatus decimal(1) NOT NULL COMMENT '承認状態',
+	InputComment varchar(300) COMMENT 'コメント',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, ApprovalCode, OrderDate, OrderNo, SeqNo)
+) COMMENT = '担当者承認データ';
+
+
+-- 担当者承認コメントデータ
+CREATE TABLE PersonApprovalComment
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '担当者コード',
+	ApprovalCode decimal(3,0) unsigned NOT NULL COMMENT '承認機能番号',
+	OrderDate date NOT NULL COMMENT '受付日',
+	OrderNo decimal(2,0) unsigned NOT NULL COMMENT '受付番号',
+	CommentNo decimal(2) NOT NULL COMMENT 'コメント番号',
+	ParentNo decimal(2) NOT NULL COMMENT '親コメント番号',
+	ApproValComment varchar(300) COMMENT '指示・連絡コメント',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, ApprovalCode, OrderDate, OrderNo, CommentNo)
+) COMMENT = '担当者承認コメントデータ';
+
+
+-- 担当者対象部署マスタ
+CREATE TABLE PersonDepartmentMaster
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '担当者コード',
+	DepartmentCode decimal(5,0) unsigned NOT NULL COMMENT '部署コード',
+	AffiliationFlg decimal(1) NOT NULL COMMENT '所属フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, DepartmentCode)
+) COMMENT = '担当者対象部署マスタ';
+
+
+-- 担当者マスタ
+CREATE TABLE PersonInChargeMaster
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '担当者コード',
+	DisplayOrder decimal(8) unsigned NOT NULL COMMENT '表示順',
+	PersonName varchar(60) DEFAULT '' NOT NULL COMMENT '担当者名',
+	StartDate date NOT NULL COMMENT '使用開始年月日',
+	EndDate date COMMENT '使用終了年月日',
+	PassWord varchar(16) COMMENT 'パスワード',
+	SecurityManagement decimal(1) NOT NULL COMMENT '機密区分',
+	SecCode decimal(2,0) unsigned NOT NULL COMMENT '保護区分番号',
+	MsgBackColor varchar(8) COMMENT 'メッセージ背景色',
+	DisplayString varchar(20) COMMENT '表示・印刷名称',
+	DepartmentCode decimal(5,0) unsigned COMMENT '部署コード',
+	MonthlySalary decimal(11,0) NOT NULL COMMENT '月給金額',
+	YearSalary decimal(12,0) NOT NULL COMMENT '年俸金額',
+	Qualification varchar(120) COMMENT '資格入力欄',
+	SealPrintName varchar(5) COMMENT '印鑑表示名',
+	EmployeeClassFlg decimal(1) NOT NULL COMMENT '社員区分',
+	LedgerFlg decimal(1) NOT NULL COMMENT '台帳計算対象フラグ',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode)
+) COMMENT = '担当者マスタ';
+
+
+-- 担当者給与マスタ
+CREATE TABLE PersonSalaryMaster
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '担当者コード',
+	StartDate date NOT NULL COMMENT '使用開始年月日',
+	MonthlySalary decimal(11,0) NOT NULL COMMENT '月給金額',
+	YearSalary decimal(12,0) NOT NULL COMMENT '年俸金額',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, StartDate)
+) COMMENT = '担当者給与マスタ';
+
+
+-- 発注者打ち合わせ議事録データ
+CREATE TABLE ProceedingsData
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ProceedingsDataDate date NOT NULL COMMENT '議事録作成日',
+	StartMeetingTime decimal(4) unsigned NOT NULL COMMENT '会議時間開始',
+	EndMeetingTime decimal(4) unsigned NOT NULL COMMENT '会議時間終了',
+	CreatorCode decimal(8,0) NOT NULL COMMENT '作成者コード',
+	PalceFlag decimal(1) NOT NULL COMMENT '現地フラグ',
+	MeetingPalce varchar(120) COMMENT '打合せ場所',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, ProceedingsDataDate, StartMeetingTime)
+) COMMENT = '発注者打ち合わせ議事録データ';
+
+
+-- 発注者打ち合わせ議事録データ（出席者）
+CREATE TABLE ProceedingsDataAttend
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ProceedingsDataDate date NOT NULL COMMENT '議事録作成日',
+	StartMeetingTime decimal(4) unsigned NOT NULL COMMENT '会議時間開始',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	Department varchar(20) COMMENT '出席者所属',
+	AttendName varchar(10) COMMENT '出席者氏名',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, ProceedingsDataDate, StartMeetingTime, SeqNo)
+) COMMENT = '発注者打ち合わせ議事録データ（出席者）';
+
+
+-- 発注者打ち合わせ議事録データ（明細）
+CREATE TABLE ProceedingsDataDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ProceedingsDataDate date NOT NULL COMMENT '議事録作成日',
+	StartMeetingTime decimal(4) unsigned NOT NULL COMMENT '会議時間開始',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '明細行番号',
+	TitleNo varchar(5) COMMENT '議題番号',
+	Title varchar(20) COMMENT '議題',
+	ContentsText varchar(50) COMMENT '内容',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, ProceedingsDataDate, StartMeetingTime, SeqNo)
+) COMMENT = '発注者打ち合わせ議事録データ（明細）';
+
+
+-- 承認データ
+CREATE TABLE ProcessApproval
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ApprovalCode decimal(3,0) unsigned NOT NULL COMMENT '承認機能番号',
+	OrderNo decimal(2,0) unsigned NOT NULL COMMENT '受付番号',
+	SeqNo decimal(2) NOT NULL COMMENT '枝番',
+	PersonCode decimal(8) unsigned NOT NULL COMMENT '申請・承認者コード',
+	PetitionApprovalDate datetime NOT NULL COMMENT '申請・承認日付',
+	ApprovalLimitDates datetime NOT NULL COMMENT '承認希望日',
+	ApprovalStatus decimal(1) NOT NULL COMMENT '承認状態',
+	InputComment varchar(300) COMMENT 'コメント',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, ApprovalCode, OrderNo, SeqNo)
+) COMMENT = '承認データ';
+
+
+-- 承認コメントデータ
+CREATE TABLE ProcessApprovalComment
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ApprovalCode decimal(3,0) unsigned NOT NULL COMMENT '承認機能番号',
+	OrderNo decimal(2,0) unsigned NOT NULL COMMENT '受付番号',
+	CommentNo decimal(2) NOT NULL COMMENT 'コメント番号',
+	ParentNo decimal(2) NOT NULL COMMENT '親コメント番号',
+	ApproValComment varchar(300) COMMENT '指示・連絡コメント',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, ApprovalCode, OrderNo, CommentNo)
+) COMMENT = '承認コメントデータ';
+
+
+-- 承認明細データ
+CREATE TABLE ProcessApprovalDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	ApprovalCode decimal(3,0) unsigned NOT NULL COMMENT '承認機能番号',
+	OrderNo decimal(2,0) unsigned NOT NULL COMMENT '受付番号',
+	SerialNo decimal(2) unsigned NOT NULL COMMENT '枝番',
+	LinkCode decimal(10) NOT NULL COMMENT 'リンク情報',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, ApprovalCode, OrderNo, SerialNo)
+) COMMENT = '承認明細データ';
+
+
+-- 起動対象マスタ
+CREATE TABLE ProcessExcuteMaster
+(
+	SecCode decimal(2,0) unsigned NOT NULL COMMENT '保護区分番号',
+	ExecCode decimal(4,0) unsigned NOT NULL COMMENT '起動処理番号',
+	EditFlg decimal(1) NOT NULL COMMENT '編集フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (SecCode, ExecCode)
+) COMMENT = '起動対象マスタ';
+
+
+-- 注文書データ
+CREATE TABLE PurchaseOrder
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '注文書枝番',
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	CreateDate date COMMENT '作成日付',
+	OrderPrice decimal(12,0) NOT NULL COMMENT '発注金額',
+	LastRowStringDate date NOT NULL COMMENT '最終行表示日付',
+	OrderSheetType decimal(1) NOT NULL COMMENT '簡易・本式フラグ',
+	PaymentTerms decimal(1) NOT NULL COMMENT '支払い条件',
+	CashRatio decimal(4,1) NOT NULL COMMENT '現金割合（％）',
+	BillPeriod decimal(4) NOT NULL COMMENT '手形期間',
+	PrePayments decimal(1) NOT NULL COMMENT '前金払',
+	PrePaymentsDays decimal(3,0) NOT NULL COMMENT '前金払日数',
+	PrePaymentsPrice decimal(12,0) NOT NULL COMMENT '前金払金額',
+	PartialPayment decimal(1) NOT NULL COMMENT '部分払',
+	PartialPaymentMounth decimal(2) unsigned NOT NULL COMMENT '部分払締切月',
+	PartialPaymentDay1 decimal(2) unsigned NOT NULL COMMENT '部分払締切日',
+	PartialPaymentDay2 decimal(2) unsigned NOT NULL COMMENT '部分払支払日',
+	PartialPaymentPrice decimal(12,0) NOT NULL COMMENT '部分払金額',
+	CompletionPayment decimal(1) NOT NULL COMMENT '引渡し時の支払',
+	CompletionPaymentDays decimal(3) unsigned NOT NULL COMMENT '引渡し時の支払日数',
+	CompletionPaymentPrice decimal(12,0) NOT NULL COMMENT '引渡し時の支払金額',
+	LeadEngineerCode decimal(8,0) COMMENT '主任技術者コード',
+	LeadEngineerName varchar(60) COMMENT 'LeadEngineerName',
+	SafetyOfficerCode decimal(8) COMMENT '安全管理者コード',
+	SafetyOfficerName varchar(60) COMMENT '安全管理者名',
+	WorkersCount decimal(3) unsigned COMMENT '作業員数',
+	PrintoutDate date NOT NULL COMMENT '印刷年月日',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, SeqNo)
+) COMMENT = '注文書データ';
+
+
+-- 注文書明細データ
+CREATE TABLE PurchaseOrderDetail
+(
+	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '工事コード',
+	SeqNo decimal(3) unsigned NOT NULL COMMENT '注文書枝番',
+	GroupCount decimal(1) NOT NULL COMMENT 'グループ番号',
+	LineCount decimal(3) unsigned NOT NULL COMMENT '行番号',
+	ComponentCode decimal(5,0) unsigned NOT NULL COMMENT '構成キー',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	FirstString varchar(120) COMMENT '工種・品名',
+	SecondString varchar(120) COMMENT '内容内訳',
+	UnitCount decimal(8,2) NOT NULL COMMENT '数量',
+	UnitName varchar(30) COMMENT '単位',
+	UnitPrice decimal(10,0) NOT NULL COMMENT '単価',
+	OrdersLinePrice decimal(12,0) COMMENT '金額',
+	SourceCode decimal(10) unsigned NOT NULL COMMENT '予算作成時工事番号',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionCode, SeqNo, GroupCount, LineCount)
+) COMMENT = '注文書明細データ';
+
+
+-- 売上グラフデータ
+CREATE TABLE SalesGraphData
+(
+	GraphDataCode decimal(8) NOT NULL COMMENT 'グラフデータコード',
+	ConstructionPeriod decimal(4) unsigned NOT NULL COMMENT '事業期',
+	SalesDataDays date NOT NULL COMMENT '売上年月',
+	DisplayOrder decimal(8) unsigned NOT NULL COMMENT '表示順',
+	DataName varchar(100) NOT NULL COMMENT 'データ表示名称',
+	SalesAmount decimal(10,0) NOT NULL COMMENT '売上データ',
+	AdministrativeExpense decimal(10,0) NOT NULL COMMENT '販管・部署経費',
+	GrossProfit decimal(10,0) NOT NULL COMMENT '粗利益',
+	NetIncome decimal(10,0) NOT NULL COMMENT '純利益(損益)',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (GraphDataCode, ConstructionPeriod, SalesDataDays)
+) COMMENT = '売上グラフデータ';
+
+
+-- 保護区分マスタ
+CREATE TABLE SecurityMaster
+(
+	SecCode decimal(2,0) unsigned NOT NULL COMMENT '保護区分番号',
+	DisplayOrder decimal(2) NOT NULL COMMENT '表示順',
+	SecName varchar(60) NOT NULL COMMENT '保護区分名称',
+	SecRank decimal(1) NOT NULL COMMENT '保護区分ランク',
+	SecRange decimal(1) NOT NULL COMMENT '保護区分範囲',
+	GeneralAffairs decimal(1) NOT NULL COMMENT '総務業務フラグ',
+	SelectBackColor varchar(8) NOT NULL COMMENT '選択背景色',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (SecCode)
+) COMMENT = '保護区分マスタ';
+
+
+-- 協力業者施工工種登録申請データ
+CREATE TABLE SubConstrJobItemRegist
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '申請者番号',
+	CreateDate date NOT NULL COMMENT '作成日',
+	SeqNo decimal(2) unsigned NOT NULL COMMENT '申請連番',
+	DisplayOrder decimal(8) unsigned NOT NULL COMMENT '表示順',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, CreateDate, SeqNo, DisplayOrder)
+) COMMENT = '協力業者施工工種登録申請データ';
+
+
+-- 協力業者職種リンク登録申請データ
+CREATE TABLE SubConstrJobLinkRegist
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '申請者番号',
+	CreateDate date NOT NULL COMMENT '作成日',
+	SeqNo decimal(2) unsigned NOT NULL COMMENT '申請連番',
+	DisplayOrder decimal(8) unsigned NOT NULL COMMENT '表示順',
+	JobCategoryCode decimal(5,0) NOT NULL COMMENT '職種キー',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, CreateDate, SeqNo, DisplayOrder)
+) COMMENT = '協力業者職種リンク登録申請データ';
+
+
+-- 協力業者登録申請データ
+CREATE TABLE SubConstrRegist
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '申請者番号',
+	CreateDate date NOT NULL COMMENT '作成日',
+	SeqNo decimal(2) unsigned NOT NULL COMMENT '申請連番',
+	DataMode decimal(1) COMMENT 'データ区分',
+	SourceCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	PetitionPeriod decimal(4) unsigned NOT NULL COMMENT '申請年度',
+	CorporateStatusName varchar(40) DEFAULT '' COMMENT '法人格名称',
+	CorporateStatusPoint decimal(1) NOT NULL COMMENT '法人格名称位置',
+	CompanyName varchar(100) DEFAULT '' NOT NULL COMMENT '協力会社名',
+	CEOPositionName varchar(60) DEFAULT '' COMMENT '代表者役職名',
+	CEOName varchar(60) DEFAULT '' COMMENT '代表者氏名',
+	ContactPersonName varchar(60) COMMENT '担当者氏名',
+	ZipCode varchar(8) COMMENT '郵便番号',
+	Address1 varchar(60) COMMENT '住所１',
+	Address2 varchar(60) DEFAULT '' COMMENT '住所2',
+	Address3 varchar(60) COMMENT '住所3',
+	CellPhoneNumber varchar(13) COMMENT '携帯電話番号',
+	MailAddress varchar(257) COMMENT 'メールアドレス',
+	PhoneNumber varchar(13) DEFAULT '' COMMENT '電話番号',
+	FaxNumber varchar(13) DEFAULT '' COMMENT 'FAX番号',
+	JapaneseSyllabary varchar(2) COMMENT '50音読み',
+	StartDate date NOT NULL COMMENT '取引開始年月日',
+	Note varchar(300) DEFAULT '' COMMENT '備考',
+	labourKind decimal(1) NOT NULL COMMENT '支払い通常・手間区分',
+	OrderDate date COMMENT '申請日',
+	OrderNo decimal(2) unsigned NOT NULL COMMENT '申請受付番号',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, CreateDate, SeqNo)
+) COMMENT = '協力業者登録申請データ';
+
+
+-- 協力会社工種マスタ
+CREATE TABLE SubContractorItemMaster
+(
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	ItemName varchar(120) DEFAULT '' NOT NULL COMMENT '工種名称',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ItemCode)
+) COMMENT = '協力会社工種マスタ';
+
+
+-- 協力会社職種マスタ
+CREATE TABLE SubContractorJobCategory
+(
+	JobCategoryCode decimal(5,0) NOT NULL COMMENT '職種キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	JobCategoryName varchar(120) DEFAULT '' NOT NULL COMMENT '職種名称',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (JobCategoryCode)
+) COMMENT = '協力会社職種マスタ';
+
+
+-- 協力会社施工工種データ
+CREATE TABLE SubContractorJobItem
+(
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	ItemCode decimal(5,0) unsigned NOT NULL COMMENT '工種キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (CompanyCode, ItemCode)
+) COMMENT = '協力会社施工工種データ';
+
+
+-- 協力会社職種リンクマスタ
+CREATE TABLE SubContractorJobLink
+(
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	JobCategoryCode decimal(5,0) NOT NULL COMMENT '職種キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (CompanyCode, JobCategoryCode)
+) COMMENT = '協力会社職種リンクマスタ';
+
+
+-- 協力会社マスタ
+CREATE TABLE SubContractorMaster
+(
+	CompanyCode decimal(8,0) NOT NULL COMMENT '協力会社コード',
+	DisplayOrder decimal(8) unsigned NOT NULL COMMENT '表示順',
+	CorporateStatusName varchar(40) DEFAULT '' COMMENT '法人格名称',
+	CorporateStatusPoint decimal(1) NOT NULL COMMENT '法人格名称位置',
+	CompanyName varchar(100) DEFAULT '' NOT NULL COMMENT '協力会社名',
+	CEOPositionName varchar(60) DEFAULT '' COMMENT '代表者役職名',
+	CEOName varchar(60) DEFAULT '' COMMENT '代表者氏名',
+	ContactPersonName varchar(60) COMMENT '担当者氏名',
+	ZipCode varchar(8) COMMENT '郵便番号',
+	Address1 varchar(60) COMMENT '住所１',
+	Address2 varchar(60) DEFAULT '' COMMENT '住所2',
+	Address3 varchar(60) COMMENT '住所3',
+	CellPhoneNumber varchar(13) COMMENT '携帯電話番号',
+	MailAddress varchar(257) COMMENT 'メールアドレス',
+	PhoneNumber varchar(13) DEFAULT '' COMMENT '電話番号',
+	FaxNumber varchar(13) DEFAULT '' COMMENT 'FAX番号',
+	JapaneseSyllabary varchar(2) COMMENT '50音読み',
+	StartDate date NOT NULL COMMENT '取引開始年月日',
+	Note varchar(300) DEFAULT '' COMMENT '備考',
+	labourKind decimal(1) NOT NULL COMMENT '支払い通常・手間区分',
+	DeleteFlg decimal(1) DEFAULT 0 NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (CompanyCode)
+) COMMENT = '協力会社マスタ';
+
+
+-- 仕入先マスタ
+CREATE TABLE SuppliersMaster
+(
+	SuppliersCode decimal(5,0) unsigned NOT NULL COMMENT '仕入先コード',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	SuppliersName1 varchar(60) DEFAULT '' NOT NULL COMMENT '仕入先名1',
+	SuppliersName2 varchar(60) COMMENT '仕入先名２',
+	ZipCode varchar(8) COMMENT '郵便番号',
+	Address1 varchar(60) COMMENT '住所１',
+	Address2 varchar(60) DEFAULT '' COMMENT '住所2',
+	Address3 varchar(60) COMMENT '住所3',
+	PhoneNumber varchar(13) DEFAULT '' COMMENT '電話番号',
+	FaxNumber varchar(13) DEFAULT '' COMMENT 'FAX番号',
+	Note varchar(300) DEFAULT '' COMMENT '備考',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (SuppliersCode)
+) COMMENT = '仕入先マスタ';
+
+
+-- システム起動確認データ
+CREATE TABLE SystemExecute
+(
+	PrimaryCode tinyint NOT NULL COMMENT 'キー項目',
+	TargetDate date NOT NULL COMMENT '起動日付',
+	SystemVersion int NOT NULL COMMENT '本体・環境バージョン',
+	UpDateCopyVersion int NOT NULL COMMENT 'コピーバージョン',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PrimaryCode)
+) COMMENT = 'システム起動確認データ';
+
+
+-- 管理マスタ
+CREATE TABLE SystemMaster
+(
+	SystemCode decimal(3,0) unsigned NOT NULL COMMENT '会社コード',
+	CompanyName1 varchar(60) DEFAULT '' NOT NULL COMMENT '会社名１',
+	CompanyName2 varchar(60) DEFAULT '' COMMENT '会社名２',
+	CEOName varchar(60) DEFAULT '' NOT NULL COMMENT '代表者氏名',
+	CEOPositionName varchar(60) DEFAULT '' COMMENT '代表者役職名',
+	ZipCode varchar(8) NOT NULL COMMENT '郵便番号',
+	Address1 varchar(60) NOT NULL COMMENT '住所１',
+	Address2 varchar(60) DEFAULT '' COMMENT '住所2',
+	Address3 varchar(60) COMMENT '住所3',
+	PhoneNumber varchar(13) DEFAULT '' NOT NULL COMMENT '電話番号',
+	FaxNumber varchar(13) DEFAULT '' COMMENT 'FAX番号',
+	ConstructionExpenses decimal(4,2) NOT NULL COMMENT '工事部経費',
+	OfficeExpenses decimal(4,2) NOT NULL COMMENT '事務所経費',
+	OperatingExpenses decimal(4,2) NOT NULL COMMENT '営業経費',
+	ConsumptionTax decimal(4,2) NOT NULL COMMENT '消費税',
+	CooperationRate decimal(4,2) NOT NULL COMMENT '協力金比率',
+	ExcelSavePath varchar(120) COMMENT 'Excel保存パス',
+	BusinessPeriod smallint NOT NULL COMMENT '現在営業期数',
+	ConstructionYear smallint NOT NULL COMMENT '現在工事年度',
+	BusinessBeginningDate varchar(5) NOT NULL COMMENT '営業期期首日',
+	ConstructionBeginningDate varchar(5) NOT NULL COMMENT '工事年度期首日',
+	ConstructionNoBase decimal(1) NOT NULL COMMENT '工事番号基準値',
+	SloganString1 varchar(100) COMMENT '標語1',
+	SloganString2 varchar(100) COMMENT '標語2',
+	SloganString3 varchar(100) COMMENT '標語3',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (SystemCode)
+) COMMENT = '管理マスタ';
+
+
+-- 期限マスタ
+CREATE TABLE TermMaster
+(
+	ConstructionStatusFlg decimal(2,0) NOT NULL COMMENT '工事状態フラグ',
+	FieldNo decimal(2) NOT NULL COMMENT 'チェック対象フィールド番号',
+	SeqNo decimal(2) NOT NULL COMMENT '枝番',
+	DisplayOrder decimal(2) NOT NULL COMMENT '表示順',
+	CheckSchdule decimal(1) NOT NULL COMMENT 'チェックタイミング',
+	TermDays decimal(3) NOT NULL COMMENT '経過日',
+	SendTitile varchar(100) COMMENT 'タイトル',
+	SendMessage varchar(100) COMMENT 'メッセージ',
+	BackColor varchar(8) COMMENT '背景色',
+	ForeColor varchar(8) COMMENT '文字色',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (ConstructionStatusFlg, FieldNo, SeqNo)
+) COMMENT = '期限マスタ';
+
+
+-- 出勤交通費データ
+CREATE TABLE TranceportDailyData
+(
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '作成者コード',
+	AttendanceDate date NOT NULL COMMENT '日報作成日',
+	StartDistance decimal(7,1) NOT NULL COMMENT '当日出発キロ数',
+	ComplateDistance decimal(7,1) NOT NULL COMMENT '当日終了キロ数',
+	TotalDistance decimal(6,1) NOT NULL COMMENT '当日合計キロ数',
+	OfficeGoFlg decimal(1) NOT NULL COMMENT '事務所出勤フラグ',
+	OfficeOutFlg decimal(1) NOT NULL COMMENT '事務所帰宅フラグ',
+	TrancePayGoFlg decimal(1) NOT NULL COMMENT '有料通勤出勤フラグ',
+	TrancePayOutFlg decimal(1) NOT NULL COMMENT '有料通勤帰宅フラグ',
+	WareHouseFlg decimal(1) NOT NULL COMMENT '資材置場フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (PersonCode, AttendanceDate)
+) COMMENT = '出勤交通費データ';
+
+
+-- 工事種別経費率マスタ
+CREATE TABLE TypeExpensesMaster
+(
+	TypeCode decimal(5,0) unsigned NOT NULL COMMENT '工事種別コード',
+	ExpensesPeriod smallint NOT NULL COMMENT '事業期',
+	NameCode decimal(5,0) unsigned NOT NULL COMMENT '経費名称コード',
+	ExpensesRaito decimal(4,2) NOT NULL COMMENT '経費率',
+	DeleteFlg decimal(1) NOT NULL COMMENT '削除フラグ',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (TypeCode, ExpensesPeriod, NameCode)
+) COMMENT = '工事種別経費率マスタ';
+
+
+-- 単位マスタ
+CREATE TABLE UnitMaster
+(
+	UnitKey decimal(5,0) unsigned NOT NULL COMMENT '単位キー',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	UnitName varchar(30) NOT NULL COMMENT '単位名称',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (UnitKey)
+) COMMENT = '単位マスタ';
+
+
+-- 車両マスタ
+CREATE TABLE VehicleMaster
+(
+	VehicleCode decimal(5,0) unsigned NOT NULL COMMENT '車両コード',
+	DisplayOrder decimal(5) unsigned NOT NULL COMMENT '表示順',
+	VehicleName varchar(100) NOT NULL COMMENT '車両名称',
+	RegistrationNumber varchar(30) COMMENT '登録番号',
+	IdentificationNumber varchar(30) COMMENT '車体番号',
+	ModelCode varchar(30) COMMENT '型式',
+	DepartmentCode decimal(5) unsigned NOT NULL COMMENT '管理部署',
+	VehicleScheduleFlg decimal(1) NOT NULL COMMENT '車両予約表示フラグ',
+	PurchaseDate date COMMENT '購入日',
+	PurchaseName varchar(30) COMMENT '購入先',
+	PurchaseContactPersons varchar(30) COMMENT '購入先担当者',
+	PurchasePhone varchar(13) COMMENT '購入先電話番号',
+	LeaseDate date COMMENT 'リース開始日',
+	LeaseDestination varchar(30) COMMENT 'リース先',
+	LeaseContactPersons varchar(30) COMMENT 'リース先担当者',
+	LeasePhone varchar(13) COMMENT 'リース先電話番号',
+	InsuranceCompany varchar(30) COMMENT '任意保険会社',
+	InsuranceContactPersons varchar(30) COMMENT '任意保険会社担当者',
+	InsurancePhone varchar(13) COMMENT '任意保険会社電話番号',
+	Note varchar(300) COMMENT '備考',
+	EntryDate datetime COMMENT '登録日付',
+	UpdateDate datetime COMMENT '更新日付',
+	PRIMARY KEY (VehicleCode)
+) COMMENT = '車両マスタ';
+
+
+-- 車両記録データ
+CREATE TABLE VehicleRecordData
+(
+	VehicleCode decimal(5,0) unsigned NOT NULL COMMENT '車両コード',
+	DivisionCode decimal(2,0) unsigned NOT NULL COMMENT 'データ区分',
+	SeqNo decimal(2) NOT NULL COMMENT '枝番',
+	RecordDate date COMMENT '実地日',
+	Mileage mediumint COMMENT '走行距離',
+	Content varchar(100) COMMENT '内容',
+	PaymentCost decimal(10,0) COMMENT '費用',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (VehicleCode, DivisionCode, SeqNo)
+) COMMENT = '車両記録データ';
+
+
+-- 車両予約データ
+CREATE TABLE VehicleScheduleData
+(
+	TargetDate date NOT NULL COMMENT '対象日',
+	VehicleCode decimal(5,0) unsigned NOT NULL COMMENT '車両コード',
+	MorningAfternoon decimal(1) NOT NULL COMMENT '午前・午後',
+	PersonCode decimal(8,0) unsigned NOT NULL COMMENT '担当者コード',
+	TargetYear year(4) NOT NULL COMMENT '該当年',
+	TargetMonth tinyint unsigned NOT NULL COMMENT '該当月',
+	TargetDay year(2) NOT NULL COMMENT '該当日',
+	EntryDate datetime NOT NULL COMMENT '登録日付',
+	UpdateDate datetime NOT NULL COMMENT '更新日付',
+	PRIMARY KEY (TargetDate, VehicleCode, MorningAfternoon)
+) COMMENT = '車両予約データ';
+
+
+
+/* Create Indexes */
+
+CREATE INDEX ActionScheduleData_Index1 ON ActionScheduleData (TargetYear ASC);
+CREATE INDEX ActionScheduleData_Index2 ON ActionScheduleData (TargetMonth ASC);
+CREATE INDEX ActionScheduleData_Index3 ON ActionScheduleData (TargetDay ASC);
+CREATE INDEX AttendDaily_Index1 ON AttendanceDailyData (ActionResult ASC);
+CREATE INDEX AttendDaily_Index2 ON AttendanceDailyData (AttendanceDate ASC);
+CREATE INDEX BusinessTypeMaster_Index1 ON BusinessTypeMaster (DisplayOrder ASC);
+CREATE INDEX ComponentLinkMaster_Index1 ON ComponentLinkMaster (ComponentCode ASC);
+CREATE INDEX ComponentLinkMaster_Index2 ON ComponentLinkMaster (ItemCode ASC);
+CREATE INDEX ComponentMaster_Index1 ON ComponentMaster (DisplayOrder ASC);
+CREATE INDEX ComponentToTypeMaster_Index1 ON ComponentToTypeMaster (ComponentCode ASC);
+CREATE INDEX ComponentToTypeMaster_Index2 ON ComponentToTypeMaster (TypeCode ASC);
+CREATE INDEX BaseInfo_Index1 ON ConstructionBaseInfo (ConstructionStatusFlg ASC);
+CREATE INDEX BaseInfo_Index2 ON ConstructionBaseInfo (EstimateType ASC);
+CREATE INDEX BaseInfo_Index3 ON ConstructionBaseInfo (SalesPersonCode ASC);
+CREATE INDEX BaseInfo_Index4 ON ConstructionBaseInfo (ConstructionPersonCode ASC);
+CREATE INDEX BaseInfo_Index5 ON ConstructionBaseInfo (ConstructionInstructor ASC);
+CREATE INDEX BaseInfoDetail_Idx1 ON ConstructionBaseInfoDetail (ConstructionCode ASC);
+CREATE INDEX BaseInfoDetail_Idx2 ON ConstructionBaseInfoDetail (DetailNo ASC);
+CREATE INDEX LedgerDetail_Index01 ON ConstructionLedgerDetail (ConstructionCode ASC);
+CREATE INDEX LedgerDetail_Index02 ON ConstructionLedgerDetail (GroupCount ASC);
+CREATE INDEX LedgerDetail_Index03 ON ConstructionLedgerDetail (SourceCode ASC);
+CREATE INDEX LedgerExcute_Index1 ON ConstructionLedgerExcute (ConstructionCode ASC, TargetMonth ASC, GroupCount ASC, LineCount ASC);
+CREATE INDEX ConstructionLink_Index1 ON ConstructionLink (ConstructionCode ASC);
+CREATE INDEX ConstructionLink_Index2 ON ConstructionLink (FluctuationCode ASC);
+CREATE INDEX ConstructionLink_Index3 ON ConstructionLink (LinkType ASC);
+CREATE INDEX ConstructionSpecMaster_Index1 ON ConstructionSpecMaster (DisplayOrder ASC);
+CREATE INDEX CostDataOfPerson_Index1 ON CostDataOfPerson (TargetMonth ASC);
+CREATE INDEX CostDataOfPerson_Index2 ON CostDataOfPerson (ConstructionCode ASC);
+CREATE INDEX CostomerRegist_Index1 ON CostomerRegist (PetitionPeriod ASC);
+CREATE INDEX DailyDataConstruction_Index1 ON DailyDataConstruction (PersonCode ASC);
+CREATE INDEX DailyDataConstruction_Index2 ON DailyDataConstruction (DailyDataDate ASC);
+CREATE INDEX DailyDataConstruction_Index3 ON DailyDataConstruction (ConstructionCode ASC);
+CREATE INDEX DailyDataDetail_Index ON DailyDataDetail (PersonCode ASC, DailyDataDate ASC, ConstructionCode ASC);
+CREATE INDEX DailyDataField_Index ON DailyDataField (PersonCode ASC, DailyDataDate ASC, ConstructionCode ASC);
+CREATE INDEX DailyDataMaterials_Index ON DailyDataMaterials (PersonCode ASC, DailyDataDate ASC, ConstructionCode ASC);
+CREATE INDEX DailyDataSubcontractors_Index ON DailyDataSubcontractors (PersonCode ASC, DailyDataDate ASC, ConstructionCode ASC);
+CREATE INDEX DailyDataVehicles_Index ON DailyDataVehicles (PersonCode ASC, DailyDataDate ASC, ConstructionCode ASC);
+CREATE INDEX DepartmentMaster_index1 ON DepartmentMaster (DisplayOrder ASC);
+CREATE INDEX EstimateData_Index1 ON EstimateData (ConstructionCode ASC, FixedItemCode ASC);
+CREATE INDEX EstimateDataBody_Index1 ON EstimateDataBody (ConstructionCode ASC, ComponentCode ASC, ItemCode ASC);
+CREATE INDEX EstimateDataDetail_Index1 ON EstimateDataDetail (ConstructionCode ASC, PageCount ASC);
+CREATE INDEX HolidayCalender_Index1 ON HolidayCalenderMaster (BusinessYear ASC);
+CREATE INDEX HolidayCalenderMaster_Index2 ON HolidayCalenderMaster (TargetMonth ASC);
+CREATE INDEX HolidayCalenderMaster_Index3 ON HolidayCalenderMaster (TargetDay ASC);
+CREATE INDEX InputSearchLogData_Index1 ON InputSearchLogData (ConstructionCode ASC, UsedProcessNo ASC, InputCode ASC);
+CREATE INDEX MessageBoardData_Index1 ON MessageBoardData (WritingDate ASC);
+CREATE INDEX MessageBoardData_Index2 ON MessageBoardData (MessageFlag ASC);
+CREATE INDEX MessageBoardTerget_Index1 ON MessageBoardTerget (RecordNumber ASC, BranchNumber ASC);
+CREATE INDEX PersonDepartmentMaster_Index1 ON PersonDepartmentMaster (PersonCode ASC);
+CREATE INDEX PersonDepartmentMaster_Index2 ON PersonDepartmentMaster (DepartmentCode ASC);
+CREATE INDEX PersonInChargeMaster_Index1 ON PersonInChargeMaster (StartDate ASC);
+CREATE INDEX PersonInChargeMaster_Index2 ON PersonInChargeMaster (DepartmentCode ASC);
+CREATE INDEX PersonSalaryMaster_Index1 ON PersonSalaryMaster (PersonCode ASC);
+CREATE INDEX PersonSalaryMaster_Index2 ON PersonSalaryMaster (StartDate ASC);
+CREATE INDEX ProcessExcuteMaster_Index1 ON ProcessExcuteMaster (SecCode ASC);
+CREATE INDEX ProcessExcuteMaster_Index2 ON ProcessExcuteMaster (ExecCode ASC);
+CREATE INDEX POrderDetail_Index1 ON PurchaseOrderDetail (SourceCode ASC);
+CREATE INDEX SalesGraphData_Idx1 ON SalesGraphData (DisplayOrder ASC);
+CREATE INDEX SalesGraphData_idx2 ON SalesGraphData (ConstructionPeriod ASC);
+CREATE INDEX SecurityMaster_Index1 ON SecurityMaster (DisplayOrder ASC);
+CREATE INDEX SecurityMaster_Index2 ON SecurityMaster (SecRank ASC);
+CREATE INDEX SecurityMaster_Index3 ON SecurityMaster (SecRange ASC);
+CREATE INDEX SubContractorJobItem_Index1 ON SubContractorJobItem (CompanyCode ASC);
+CREATE INDEX SubContractorJobItem_Index2 ON SubContractorJobItem (ItemCode ASC);
+CREATE INDEX SubContractorJobLink_Index1 ON SubContractorJobLink (CompanyCode ASC);
+CREATE INDEX SubContractorJobLink_Index2 ON SubContractorJobLink (JobCategoryCode ASC);
+CREATE INDEX SubContractorMaster_Index1 ON SubContractorMaster (JapaneseSyllabary ASC);
+CREATE INDEX TermMaster_Index1 ON TermMaster (DisplayOrder ASC);
+CREATE INDEX TranceportDailyData_Index1 ON TranceportDailyData (AttendanceDate ASC);
+CREATE INDEX UnitMaster_Index1 ON UnitMaster (DisplayOrder ASC);
+CREATE INDEX VehicleScheduleData_Index1 ON VehicleScheduleData (TargetYear ASC);
+CREATE INDEX VehicleScheduleData_Index2 ON VehicleScheduleData (TargetMonth ASC);
+CREATE INDEX VehicleScheduleData_Index3 ON VehicleScheduleData (TargetDay ASC);
+
+
+
