Index: branches/ddl/DataConert/DataConert/MySQLDB/Core/IBaseDBForMySQL.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/Core/IBaseDBForMySQL.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/Core/IBaseDBForMySQL.cs	(nonexistent)
@@ -1,40 +0,0 @@
-﻿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/Core/DBCommonForMySQL.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/Core/DBCommonForMySQL.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/Core/DBCommonForMySQL.cs	(nonexistent)
@@ -1,72 +0,0 @@
-﻿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/ABaseDBProcessForMySQL.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/Core/ABaseDBProcessForMySQL.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/Core/ABaseDBProcessForMySQL.cs	(nonexistent)
@@ -1,468 +0,0 @@
-﻿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/IOAccess/IOMApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMApproval.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMApproval.cs	(nonexistent)
@@ -1,323 +0,0 @@
-﻿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/IORequestDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestDataDetail.cs	(nonexistent)
@@ -1,367 +0,0 @@
-﻿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/IOMConstructionSpecUnitPrice.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpecUnitPrice.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpecUnitPrice.cs	(nonexistent)
@@ -1,373 +0,0 @@
-﻿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/IOEstimateBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudget.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudget.cs	(nonexistent)
@@ -1,468 +0,0 @@
-﻿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/IOSystemExecute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSystemExecute.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSystemExecute.cs	(nonexistent)
@@ -1,413 +0,0 @@
-﻿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/IOConstructionLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLink.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLink.cs	(nonexistent)
@@ -1,421 +0,0 @@
-﻿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/IOBillingData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingData.cs	(nonexistent)
@@ -1,290 +0,0 @@
-﻿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/IOOrdersPriceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOOrdersPriceData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOOrdersPriceData.cs	(nonexistent)
@@ -1,463 +0,0 @@
-﻿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/IOConstructionLedger.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedger.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedger.cs	(nonexistent)
@@ -1,544 +0,0 @@
-﻿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/IOCostDataOfPerson.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostDataOfPerson.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostDataOfPerson.cs	(nonexistent)
@@ -1,443 +0,0 @@
-﻿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/IODailyDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataDetail.cs	(nonexistent)
@@ -1,522 +0,0 @@
-﻿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/IOInputSearchLogData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInputSearchLogData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInputSearchLogData.cs	(nonexistent)
@@ -1,373 +0,0 @@
-﻿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/IOSalesGraphData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSalesGraphData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSalesGraphData.cs	(nonexistent)
@@ -1,300 +0,0 @@
-﻿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/IOProcessApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApproval.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApproval.cs	(nonexistent)
@@ -1,514 +0,0 @@
-﻿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/IOMPersonInCharge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonInCharge.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonInCharge.cs	(nonexistent)
@@ -1,609 +0,0 @@
-﻿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/IOMVehicleRecordData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicleRecordData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicleRecordData.cs	(nonexistent)
@@ -1,312 +0,0 @@
-﻿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/IOMessageBoardData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardData.cs	(nonexistent)
@@ -1,530 +0,0 @@
-﻿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/IOPurchaseOrderDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrderDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrderDetail.cs	(nonexistent)
@@ -1,482 +0,0 @@
-﻿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/IOMDepartmentExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartmentExpenses.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartmentExpenses.cs	(nonexistent)
@@ -1,465 +0,0 @@
-﻿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/IOMSubContractorJobCategory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobCategory.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobCategory.cs	(nonexistent)
@@ -1,382 +0,0 @@
-﻿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/IOConstructionLedgerDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerDetail.cs	(nonexistent)
@@ -1,668 +0,0 @@
-﻿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/IOBankBusinessDayMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBankBusinessDayMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBankBusinessDayMaster.cs	(nonexistent)
@@ -1,257 +0,0 @@
-﻿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/IOMDivision.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDivision.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDivision.cs	(nonexistent)
@@ -1,371 +0,0 @@
-﻿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/IOMOrderers.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMOrderers.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMOrderers.cs	(nonexistent)
@@ -1,530 +0,0 @@
-﻿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/IOPointingOutComment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPointingOutComment.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPointingOutComment.cs	(nonexistent)
@@ -1,407 +0,0 @@
-﻿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/IOEstimateData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateData.cs	(nonexistent)
@@ -1,524 +0,0 @@
-﻿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/IOMSubContractor.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractor.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractor.cs	(nonexistent)
@@ -1,602 +0,0 @@
-﻿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/IOProcessApprovalDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalDetail.cs	(nonexistent)
@@ -1,439 +0,0 @@
-﻿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/IOMExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMExpenses.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMExpenses.cs	(nonexistent)
@@ -1,371 +0,0 @@
-﻿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/IOSubConstrJobLinkRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobLinkRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobLinkRegist.cs	(nonexistent)
@@ -1,360 +0,0 @@
-﻿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/IOMProcessExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMProcessExcute.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMProcessExcute.cs	(nonexistent)
@@ -1,343 +0,0 @@
-﻿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/IOMCommonCostLarge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLarge.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLarge.cs	(nonexistent)
@@ -1,370 +0,0 @@
-﻿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/IOCostomerRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostomerRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOCostomerRegist.cs	(nonexistent)
@@ -1,599 +0,0 @@
-﻿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/IOMConstructionWork.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionWork.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionWork.cs	(nonexistent)
@@ -1,400 +0,0 @@
-﻿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/IOPersonApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApproval.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApproval.cs	(nonexistent)
@@ -1,509 +0,0 @@
-﻿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/IOMCommonCostLinkMS.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLinkMS.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostLinkMS.cs	(nonexistent)
@@ -1,356 +0,0 @@
-﻿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/IOConstructionProgressDate.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionProgressDate.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionProgressDate.cs	(nonexistent)
@@ -1,346 +0,0 @@
-﻿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/IOMCommonCostMiddle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddle.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddle.cs	(nonexistent)
@@ -1,376 +0,0 @@
-﻿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/IOMComponent.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponent.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponent.cs	(nonexistent)
@@ -1,525 +0,0 @@
-﻿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/IOProceedingsDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataDetail.cs	(nonexistent)
@@ -1,382 +0,0 @@
-﻿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/DBCommonMotions.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/DBCommonMotions.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/DBCommonMotions.cs	(nonexistent)
@@ -1,219 +0,0 @@
-﻿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/IOMDepartment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartment.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMDepartment.cs	(nonexistent)
@@ -1,432 +0,0 @@
-﻿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/IOMessageBrowsingHistory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBrowsingHistory.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBrowsingHistory.cs	(nonexistent)
@@ -1,404 +0,0 @@
-﻿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/IORequestData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestData.cs	(nonexistent)
@@ -1,423 +0,0 @@
-﻿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/IOMConstructionSpec.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpec.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionSpec.cs	(nonexistent)
@@ -1,454 +0,0 @@
-﻿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/IOInvoiceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInvoiceData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOInvoiceData.cs	(nonexistent)
@@ -1,560 +0,0 @@
-﻿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/IODepositApprovalInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositApprovalInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositApprovalInfo.cs	(nonexistent)
@@ -1,378 +0,0 @@
-﻿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/IOEstimateDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataDetail.cs	(nonexistent)
@@ -1,608 +0,0 @@
-﻿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/IOMCategoryName.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCategoryName.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCategoryName.cs	(nonexistent)
@@ -1,340 +0,0 @@
-﻿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/IODailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyData.cs	(nonexistent)
@@ -1,352 +0,0 @@
-﻿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/IOMVehicle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicle.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMVehicle.cs	(nonexistent)
@@ -1,427 +0,0 @@
-﻿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/IODailyDataMaterials.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataMaterials.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataMaterials.cs	(nonexistent)
@@ -1,428 +0,0 @@
-﻿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/IOMPersonSalary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonSalary.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonSalary.cs	(nonexistent)
@@ -1,372 +0,0 @@
-﻿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/IODailyDataField.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataField.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataField.cs	(nonexistent)
@@ -1,407 +0,0 @@
-﻿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/IOMComponentToTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentToTypeMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentToTypeMaster.cs	(nonexistent)
@@ -1,336 +0,0 @@
-﻿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/IOSubConstrRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrRegist.cs	(nonexistent)
@@ -1,620 +0,0 @@
-﻿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/IODepositData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositData.cs	(nonexistent)
@@ -1,368 +0,0 @@
-﻿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/IOMSystem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSystem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSystem.cs	(nonexistent)
@@ -1,470 +0,0 @@
-﻿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/IOMessageBoardDataTerget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardDataTerget.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMessageBoardDataTerget.cs	(nonexistent)
@@ -1,504 +0,0 @@
-﻿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/IOMHolidayCalender.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMHolidayCalender.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMHolidayCalender.cs	(nonexistent)
@@ -1,321 +0,0 @@
-﻿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/IOProcessApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalCommnet.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProcessApprovalCommnet.cs	(nonexistent)
@@ -1,452 +0,0 @@
-﻿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/IOPurchaseOrder.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrder.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPurchaseOrder.cs	(nonexistent)
@@ -1,660 +0,0 @@
-﻿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/IODailyDataConstruction.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataConstruction.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataConstruction.cs	(nonexistent)
@@ -1,392 +0,0 @@
-﻿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/IOMTypeExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTypeExpenses.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTypeExpenses.cs	(nonexistent)
@@ -1,435 +0,0 @@
-﻿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/IOMaterialRecordInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialRecordInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialRecordInfo.cs	(nonexistent)
@@ -1,334 +0,0 @@
-﻿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/IORequestHead.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestHead.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IORequestHead.cs	(nonexistent)
@@ -1,495 +0,0 @@
-﻿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/IOSubConstrJobItemRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobItemRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOSubConstrJobItemRegist.cs	(nonexistent)
@@ -1,360 +0,0 @@
-﻿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/IODailyDataVehicles.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataVehicles.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataVehicles.cs	(nonexistent)
@@ -1,440 +0,0 @@
-﻿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/IOMSubContractorJobItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobItem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobItem.cs	(nonexistent)
@@ -1,289 +0,0 @@
-﻿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/IODeadLineMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODeadLineMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODeadLineMaster.cs	(nonexistent)
@@ -1,264 +0,0 @@
-﻿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/IOAttendanceDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceDailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceDailyData.cs	(nonexistent)
@@ -1,454 +0,0 @@
-﻿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/IOMTerm.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTerm.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMTerm.cs	(nonexistent)
@@ -1,342 +0,0 @@
-﻿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/IOMSubContractorItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorItem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorItem.cs	(nonexistent)
@@ -1,330 +0,0 @@
-﻿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/IODepositDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODepositDataDetail.cs	(nonexistent)
@@ -1,423 +0,0 @@
-﻿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/IOMSecurity.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSecurity.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSecurity.cs	(nonexistent)
@@ -1,489 +0,0 @@
-﻿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/IOConstructionBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudget.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudget.cs	(nonexistent)
@@ -1,573 +0,0 @@
-﻿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/IOEstimateBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudgetDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateBudgetDetail.cs	(nonexistent)
@@ -1,467 +0,0 @@
-﻿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/IOProceedingsDataAttend.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataAttend.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsDataAttend.cs	(nonexistent)
@@ -1,376 +0,0 @@
-﻿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/IOMUnit.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMUnit.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMUnit.cs	(nonexistent)
@@ -1,285 +0,0 @@
-﻿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/IOBillingPaymentSummary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingPaymentSummary.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingPaymentSummary.cs	(nonexistent)
@@ -1,320 +0,0 @@
-﻿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/IOProceedingsData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOProceedingsData.cs	(nonexistent)
@@ -1,376 +0,0 @@
-﻿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/IOBillingDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOBillingDataDetail.cs	(nonexistent)
@@ -1,311 +0,0 @@
-﻿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/IOPersonApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApprovalCommnet.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPersonApprovalCommnet.cs	(nonexistent)
@@ -1,451 +0,0 @@
-﻿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/IOPaymentApprovalInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentApprovalInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentApprovalInfo.cs	(nonexistent)
@@ -1,299 +0,0 @@
-﻿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/IOTranceportDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOTranceportDailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOTranceportDailyData.cs	(nonexistent)
@@ -1,511 +0,0 @@
-﻿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/IOMCommonCostMiddleSearchWord.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddleSearchWord.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMCommonCostMiddleSearchWord.cs	(nonexistent)
@@ -1,314 +0,0 @@
-﻿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/IOAttendanceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOAttendanceData.cs	(nonexistent)
@@ -1,432 +0,0 @@
-﻿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/IOConstructionBaseInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfo.cs	(nonexistent)
@@ -1,980 +0,0 @@
-﻿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/IOMSuppliers.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSuppliers.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSuppliers.cs	(nonexistent)
@@ -1,490 +0,0 @@
-﻿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/IOMPersonDepartment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonDepartment.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMPersonDepartment.cs	(nonexistent)
@@ -1,358 +0,0 @@
-﻿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/IOConstructionBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudgetDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBudgetDetail.cs	(nonexistent)
@@ -1,484 +0,0 @@
-﻿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/IOMaterialInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialInfo.cs	(nonexistent)
@@ -1,315 +0,0 @@
-﻿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/IOMBusinessType.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMBusinessType.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMBusinessType.cs	(nonexistent)
@@ -1,286 +0,0 @@
-﻿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/IOMaterialItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialItem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialItem.cs	(nonexistent)
@@ -1,385 +0,0 @@
-﻿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/IOMSubContractorJobLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobLink.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMSubContractorJobLink.cs	(nonexistent)
@@ -1,314 +0,0 @@
-﻿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/IOEstimateDataBody.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataBody.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOEstimateDataBody.cs	(nonexistent)
@@ -1,489 +0,0 @@
-﻿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/IOMaterialTypes.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialTypes.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMaterialTypes.cs	(nonexistent)
@@ -1,325 +0,0 @@
-﻿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/IOActionScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOActionScheduleData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOActionScheduleData.cs	(nonexistent)
@@ -1,358 +0,0 @@
-﻿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/IOConstructionBaseInfoDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfoDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionBaseInfoDetail.cs	(nonexistent)
@@ -1,412 +0,0 @@
-﻿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/IOMConstructionTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionTypeMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionTypeMaster.cs	(nonexistent)
@@ -1,475 +0,0 @@
-﻿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/IOConstructionMaterialInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionMaterialInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionMaterialInfo.cs	(nonexistent)
@@ -1,357 +0,0 @@
-﻿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/IOMConstructionItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionItem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMConstructionItem.cs	(nonexistent)
@@ -1,403 +0,0 @@
-﻿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/IOVehicleScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOVehicleScheduleData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOVehicleScheduleData.cs	(nonexistent)
@@ -1,367 +0,0 @@
-﻿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/IOAccess/IODailyDataSubcontractors.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataSubcontractors.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IODailyDataSubcontractors.cs	(nonexistent)
@@ -1,405 +0,0 @@
-﻿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/IOPaymentDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOPaymentDataDetail.cs	(nonexistent)
@@ -1,368 +0,0 @@
-﻿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/IOConstructionLedgerExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerExcute.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOConstructionLedgerExcute.cs	(nonexistent)
@@ -1,506 +0,0 @@
-﻿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/IOMComponentLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentLink.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/IOAccess/IOMComponentLink.cs	(nonexistent)
@@ -1,356 +0,0 @@
-﻿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/MySql/MySqlProcess.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQLDB/MySql/MySqlProcess.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/MySQLDB/MySql/MySqlProcess.cs	(nonexistent)
@@ -1,48 +0,0 @@
-﻿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/DataConert.csproj
===================================================================
--- branches/ddl/DataConert/DataConert/DataConert.csproj	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataConert.csproj	(revision 97)
@@ -67,25 +67,22 @@
     <Prefer32Bit>true</Prefer32Bit>
   </PropertyGroup>
   <ItemGroup>
-    <Reference Include="log4net">
-      <HintPath>..\..\..\..\ProcessManagement\ProcessManagement\lib\log4net.dll</HintPath>
+    <Reference Include="log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>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">
+    <Reference Include="MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
       <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\..\..\..\..\..\app\Oracle\product\12.1.0\client_1\odp.net\bin\4\Oracle.DataAccess.dll</HintPath>
+      <HintPath>lib\MySql.Data.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>
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>lib\Oracle.ManagedDataAccess.dll</HintPath>
     </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" />
@@ -93,6 +90,675 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ActionScheduleData.cs">
+      <Link>DataModel\ActionScheduleData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\AmountAllocation.cs">
+      <Link>DataModel\AmountAllocation.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ApprovalMaster.cs">
+      <Link>DataModel\ApprovalMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\AttendanceDailyData.cs">
+      <Link>DataModel\AttendanceDailyData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\AttendanceData.cs">
+      <Link>DataModel\AttendanceData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\BankBusinessDayMaster.cs">
+      <Link>DataModel\BankBusinessDayMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\BillingData.cs">
+      <Link>DataModel\BillingData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\BillingDataDetail.cs">
+      <Link>DataModel\BillingDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\BillingPaymentSummary.cs">
+      <Link>DataModel\BillingPaymentSummary.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\BusinessTypeMaster.cs">
+      <Link>DataModel\BusinessTypeMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CalennderPage.cs">
+      <Link>DataModel\CalennderPage.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CategoryNameMaster.cs">
+      <Link>DataModel\CategoryNameMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CategoryType.cs">
+      <Link>DataModel\CategoryType.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CommonCostLarge.cs">
+      <Link>DataModel\CommonCostLarge.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CommonCostLinkMS.cs">
+      <Link>DataModel\CommonCostLinkMS.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CommonCostMiddle.cs">
+      <Link>DataModel\CommonCostMiddle.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CommonCostMiddleSearchWord.cs">
+      <Link>DataModel\CommonCostMiddleSearchWord.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ComponentLinkMaster.cs">
+      <Link>DataModel\ComponentLinkMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ComponentMaster.cs">
+      <Link>DataModel\ComponentMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ComponentToTypeMaster.cs">
+      <Link>DataModel\ComponentToTypeMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionBaseInfo.cs">
+      <Link>DataModel\ConstructionBaseInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionBaseInfoDetail.cs">
+      <Link>DataModel\ConstructionBaseInfoDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionBudget.cs">
+      <Link>DataModel\ConstructionBudget.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionBudgetDetail.cs">
+      <Link>DataModel\ConstructionBudgetDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionFieldNameDetail.cs">
+      <Link>DataModel\ConstructionFieldNameDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionFieldNameHeader.cs">
+      <Link>DataModel\ConstructionFieldNameHeader.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionItemMaster.cs">
+      <Link>DataModel\ConstructionItemMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionLedger.cs">
+      <Link>DataModel\ConstructionLedger.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionLedgerDetail.cs">
+      <Link>DataModel\ConstructionLedgerDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionLedgerExcute.cs">
+      <Link>DataModel\ConstructionLedgerExcute.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionLink.cs">
+      <Link>DataModel\ConstructionLink.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionListDat.cs">
+      <Link>DataModel\ConstructionListDat.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionMaterialInfo.cs">
+      <Link>DataModel\ConstructionMaterialInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionProgressDate.cs">
+      <Link>DataModel\ConstructionProgressDate.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionSpecMaster.cs">
+      <Link>DataModel\ConstructionSpecMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionSpecUnitPrice.cs">
+      <Link>DataModel\ConstructionSpecUnitPrice.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ConstructionTypeMaster.cs">
+      <Link>DataModel\ConstructionTypeMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CostDataOfPerson.cs">
+      <Link>DataModel\CostDataOfPerson.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\CostomerRegist.cs">
+      <Link>DataModel\CostomerRegist.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DailyData.cs">
+      <Link>DataModel\DailyData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DailyDataConstruction.cs">
+      <Link>DataModel\DailyDataConstruction.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DailyDataDetail.cs">
+      <Link>DataModel\DailyDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DailyDataField.cs">
+      <Link>DataModel\DailyDataField.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DailyDataMaterials.cs">
+      <Link>DataModel\DailyDataMaterials.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DailyDataSubcontractors.cs">
+      <Link>DataModel\DailyDataSubcontractors.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DailyDataVehicles.cs">
+      <Link>DataModel\DailyDataVehicles.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DeadLineMaster.cs">
+      <Link>DataModel\DeadLineMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DepartmentExpenses.cs">
+      <Link>DataModel\DepartmentExpenses.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DepartmentMaster.cs">
+      <Link>DataModel\DepartmentMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DepositApprovalInfo.cs">
+      <Link>DataModel\DepositApprovalInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DepositData.cs">
+      <Link>DataModel\DepositData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DepositDataDetail.cs">
+      <Link>DataModel\DepositDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\DivisionMaster.cs">
+      <Link>DataModel\DivisionMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\EstimateBudget.cs">
+      <Link>DataModel\EstimateBudget.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\EstimateBudgetDetail.cs">
+      <Link>DataModel\EstimateBudgetDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\EstimateData.cs">
+      <Link>DataModel\EstimateData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\EstimateDataBody.cs">
+      <Link>DataModel\EstimateDataBody.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\EstimateDataDetail.cs">
+      <Link>DataModel\EstimateDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ExpensesMaster.cs">
+      <Link>DataModel\ExpensesMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\HolidayCalenderMaster.cs">
+      <Link>DataModel\HolidayCalenderMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\InputSearchLogData.cs">
+      <Link>DataModel\InputSearchLogData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\InvoiceData.cs">
+      <Link>DataModel\InvoiceData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\MaterialInfo.cs">
+      <Link>DataModel\MaterialInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\MaterialItemMaster.cs">
+      <Link>DataModel\MaterialItemMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\MaterialKindMaster.cs">
+      <Link>DataModel\MaterialKindMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\MaterialRecordInfo.cs">
+      <Link>DataModel\MaterialRecordInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\MessageBoardData.cs">
+      <Link>DataModel\MessageBoardData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\MessageBoardTerget.cs">
+      <Link>DataModel\MessageBoardTerget.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\MessageBrowsingHistory.cs">
+      <Link>DataModel\MessageBrowsingHistory.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\OfficeShapeDefine.cs">
+      <Link>DataModel\OfficeShapeDefine.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\OrderersMaster.cs">
+      <Link>DataModel\OrderersMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\OrdersPriceData.cs">
+      <Link>DataModel\OrdersPriceData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PaymentApprovalInfo.cs">
+      <Link>DataModel\PaymentApprovalInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PaymentDataDetail.cs">
+      <Link>DataModel\PaymentDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PersonApproval.cs">
+      <Link>DataModel\PersonApproval.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PersonApprovalCommnet .cs">
+      <Link>DataModel\PersonApprovalCommnet .cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PersonDepartmentMaster.cs">
+      <Link>DataModel\PersonDepartmentMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PersonInChargeMaster.cs">
+      <Link>DataModel\PersonInChargeMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PersonSalaryMaster.cs">
+      <Link>DataModel\PersonSalaryMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PointingOutComment.cs">
+      <Link>DataModel\PointingOutComment.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ProceedingsData.cs">
+      <Link>DataModel\ProceedingsData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ProceedingsDataAttend.cs">
+      <Link>DataModel\ProceedingsDataAttend.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ProceedingsDataDetail.cs">
+      <Link>DataModel\ProceedingsDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ProcessApproval.cs">
+      <Link>DataModel\ProcessApproval.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ProcessApprovalCommnet.cs">
+      <Link>DataModel\ProcessApprovalCommnet.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ProcessApprovalDetail.cs">
+      <Link>DataModel\ProcessApprovalDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\ProcessExcuter.cs">
+      <Link>DataModel\ProcessExcuter.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PurchaseOrder.cs">
+      <Link>DataModel\PurchaseOrder.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\PurchaseOrderDetail.cs">
+      <Link>DataModel\PurchaseOrderDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\RequestData.cs">
+      <Link>DataModel\RequestData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\RequestDataDetail.cs">
+      <Link>DataModel\RequestDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\RequestGridKeys.cs">
+      <Link>DataModel\RequestGridKeys.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\RequestHead.cs">
+      <Link>DataModel\RequestHead.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SalesGraphData.cs">
+      <Link>DataModel\SalesGraphData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SecurityMaster.cs">
+      <Link>DataModel\SecurityMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SubConstrJobItemRegist.cs">
+      <Link>DataModel\SubConstrJobItemRegist.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SubConstrJobLinkRegist.cs">
+      <Link>DataModel\SubConstrJobLinkRegist.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SubConstrRegist.cs">
+      <Link>DataModel\SubConstrRegist.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SubContractorItemMaster.cs">
+      <Link>DataModel\SubContractorItemMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SubContractorJobCategory.cs">
+      <Link>DataModel\SubContractorJobCategory.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SubContractorJobILink.cs">
+      <Link>DataModel\SubContractorJobILink.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SubContractorJobItem.cs">
+      <Link>DataModel\SubContractorJobItem.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SubContractorMaster.cs">
+      <Link>DataModel\SubContractorMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SuppliersMaster.cs">
+      <Link>DataModel\SuppliersMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SystemExecute.cs">
+      <Link>DataModel\SystemExecute.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\SystemMaster.cs">
+      <Link>DataModel\SystemMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\TermMaster.cs">
+      <Link>DataModel\TermMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\TermMasterList.cs">
+      <Link>DataModel\TermMasterList.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\TranceportDailyData.cs">
+      <Link>DataModel\TranceportDailyData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\TypeExpensesMaster.cs">
+      <Link>DataModel\TypeExpensesMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\UnitMaster.cs">
+      <Link>DataModel\UnitMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\VehicleMaster.cs">
+      <Link>DataModel\VehicleMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\VehicleRecordData.cs">
+      <Link>DataModel\VehicleRecordData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DataModel\VehicleScheduleData.cs">
+      <Link>DataModel\VehicleScheduleData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\Core\ABaseDBProcess.cs">
+      <Link>MySQL\Core\ABaseDBProcess.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\Core\IBase.cs">
+      <Link>MySQL\Core\IBase.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\DBCommonMotions.cs">
+      <Link>MySQL\IOAccess\DBCommonMotions.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOActionScheduleData.cs">
+      <Link>MySQL\IOAccess\IOActionScheduleData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOAttendanceDailyData.cs">
+      <Link>MySQL\IOAccess\IOAttendanceDailyData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOAttendanceData.cs">
+      <Link>MySQL\IOAccess\IOAttendanceData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOBankBusinessDayMaster.cs">
+      <Link>MySQL\IOAccess\IOBankBusinessDayMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOBillingData.cs">
+      <Link>MySQL\IOAccess\IOBillingData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOBillingDataDetail.cs">
+      <Link>MySQL\IOAccess\IOBillingDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOBillingPaymentSummary.cs">
+      <Link>MySQL\IOAccess\IOBillingPaymentSummary.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionBaseInfo.cs">
+      <Link>MySQL\IOAccess\IOConstructionBaseInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionBaseInfoDetail.cs">
+      <Link>MySQL\IOAccess\IOConstructionBaseInfoDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionBudget.cs">
+      <Link>MySQL\IOAccess\IOConstructionBudget.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionBudgetDetail.cs">
+      <Link>MySQL\IOAccess\IOConstructionBudgetDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionLedger.cs">
+      <Link>MySQL\IOAccess\IOConstructionLedger.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionLedgerDetail.cs">
+      <Link>MySQL\IOAccess\IOConstructionLedgerDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionLedgerExcute.cs">
+      <Link>MySQL\IOAccess\IOConstructionLedgerExcute.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionLink.cs">
+      <Link>MySQL\IOAccess\IOConstructionLink.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionMaterialInfo.cs">
+      <Link>MySQL\IOAccess\IOConstructionMaterialInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOConstructionProgressDate.cs">
+      <Link>MySQL\IOAccess\IOConstructionProgressDate.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOCostDataOfPerson.cs">
+      <Link>MySQL\IOAccess\IOCostDataOfPerson.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOCostomerRegist.cs">
+      <Link>MySQL\IOAccess\IOCostomerRegist.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODailyData.cs">
+      <Link>MySQL\IOAccess\IODailyData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODailyDataConstruction.cs">
+      <Link>MySQL\IOAccess\IODailyDataConstruction.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODailyDataDetail.cs">
+      <Link>MySQL\IOAccess\IODailyDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODailyDataField.cs">
+      <Link>MySQL\IOAccess\IODailyDataField.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODailyDataMaterials.cs">
+      <Link>MySQL\IOAccess\IODailyDataMaterials.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODailyDataSubcontractors.cs">
+      <Link>MySQL\IOAccess\IODailyDataSubcontractors.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODailyDataVehicles.cs">
+      <Link>MySQL\IOAccess\IODailyDataVehicles.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODeadLineMaster.cs">
+      <Link>MySQL\IOAccess\IODeadLineMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODepositApprovalInfo.cs">
+      <Link>MySQL\IOAccess\IODepositApprovalInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODepositData.cs">
+      <Link>MySQL\IOAccess\IODepositData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IODepositDataDetail.cs">
+      <Link>MySQL\IOAccess\IODepositDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOEstimateBudget.cs">
+      <Link>MySQL\IOAccess\IOEstimateBudget.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOEstimateBudgetDetail.cs">
+      <Link>MySQL\IOAccess\IOEstimateBudgetDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOEstimateData.cs">
+      <Link>MySQL\IOAccess\IOEstimateData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOEstimateDataBody.cs">
+      <Link>MySQL\IOAccess\IOEstimateDataBody.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOEstimateDataDetail.cs">
+      <Link>MySQL\IOAccess\IOEstimateDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOInputSearchLogData.cs">
+      <Link>MySQL\IOAccess\IOInputSearchLogData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOInvoiceData.cs">
+      <Link>MySQL\IOAccess\IOInvoiceData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMApproval.cs">
+      <Link>MySQL\IOAccess\IOMApproval.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMaterialInfo.cs">
+      <Link>MySQL\IOAccess\IOMaterialInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMaterialItem.cs">
+      <Link>MySQL\IOAccess\IOMaterialItem.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMaterialRecordInfo.cs">
+      <Link>MySQL\IOAccess\IOMaterialRecordInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMaterialTypes.cs">
+      <Link>MySQL\IOAccess\IOMaterialTypes.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMBusinessType.cs">
+      <Link>MySQL\IOAccess\IOMBusinessType.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMCategoryName.cs">
+      <Link>MySQL\IOAccess\IOMCategoryName.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMCommonCostLarge.cs">
+      <Link>MySQL\IOAccess\IOMCommonCostLarge.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMCommonCostLinkMS.cs">
+      <Link>MySQL\IOAccess\IOMCommonCostLinkMS.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMCommonCostMiddle.cs">
+      <Link>MySQL\IOAccess\IOMCommonCostMiddle.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMCommonCostMiddleSearchWord.cs">
+      <Link>MySQL\IOAccess\IOMCommonCostMiddleSearchWord.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMComponent.cs">
+      <Link>MySQL\IOAccess\IOMComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMComponentLink.cs">
+      <Link>MySQL\IOAccess\IOMComponentLink.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMComponentToTypeMaster.cs">
+      <Link>MySQL\IOAccess\IOMComponentToTypeMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMConstructionItem.cs">
+      <Link>MySQL\IOAccess\IOMConstructionItem.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMConstructionSpec.cs">
+      <Link>MySQL\IOAccess\IOMConstructionSpec.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMConstructionSpecUnitPrice.cs">
+      <Link>MySQL\IOAccess\IOMConstructionSpecUnitPrice.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMConstructionTypeMaster.cs">
+      <Link>MySQL\IOAccess\IOMConstructionTypeMaster.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMDepartment.cs">
+      <Link>MySQL\IOAccess\IOMDepartment.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMDepartmentExpenses.cs">
+      <Link>MySQL\IOAccess\IOMDepartmentExpenses.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMDivision.cs">
+      <Link>MySQL\IOAccess\IOMDivision.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMessageBoardData.cs">
+      <Link>MySQL\IOAccess\IOMessageBoardData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMessageBoardDataTerget.cs">
+      <Link>MySQL\IOAccess\IOMessageBoardDataTerget.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMessageBrowsingHistory.cs">
+      <Link>MySQL\IOAccess\IOMessageBrowsingHistory.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMExpenses.cs">
+      <Link>MySQL\IOAccess\IOMExpenses.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMHolidayCalender.cs">
+      <Link>MySQL\IOAccess\IOMHolidayCalender.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMOrderers.cs">
+      <Link>MySQL\IOAccess\IOMOrderers.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMPersonDepartment.cs">
+      <Link>MySQL\IOAccess\IOMPersonDepartment.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMPersonInCharge.cs">
+      <Link>MySQL\IOAccess\IOMPersonInCharge.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMPersonSalary.cs">
+      <Link>MySQL\IOAccess\IOMPersonSalary.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMProcessExcute.cs">
+      <Link>MySQL\IOAccess\IOMProcessExcute.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMSecurity.cs">
+      <Link>MySQL\IOAccess\IOMSecurity.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMSubContractor.cs">
+      <Link>MySQL\IOAccess\IOMSubContractor.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMSubContractorItem.cs">
+      <Link>MySQL\IOAccess\IOMSubContractorItem.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMSubContractorJobCategory.cs">
+      <Link>MySQL\IOAccess\IOMSubContractorJobCategory.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMSubContractorJobItem.cs">
+      <Link>MySQL\IOAccess\IOMSubContractorJobItem.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMSubContractorJobLink.cs">
+      <Link>MySQL\IOAccess\IOMSubContractorJobLink.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMSuppliers.cs">
+      <Link>MySQL\IOAccess\IOMSuppliers.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMSystem.cs">
+      <Link>MySQL\IOAccess\IOMSystem.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMTerm.cs">
+      <Link>MySQL\IOAccess\IOMTerm.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMTypeExpenses.cs">
+      <Link>MySQL\IOAccess\IOMTypeExpenses.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMUnit.cs">
+      <Link>MySQL\IOAccess\IOMUnit.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMVehicle.cs">
+      <Link>MySQL\IOAccess\IOMVehicle.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOMVehicleRecordData.cs">
+      <Link>MySQL\IOAccess\IOMVehicleRecordData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOOrdersPriceData.cs">
+      <Link>MySQL\IOAccess\IOOrdersPriceData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOPaymentApprovalInfo.cs">
+      <Link>MySQL\IOAccess\IOPaymentApprovalInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOPaymentDataDetail.cs">
+      <Link>MySQL\IOAccess\IOPaymentDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOPersonApproval.cs">
+      <Link>MySQL\IOAccess\IOPersonApproval.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOPersonApprovalCommnet.cs">
+      <Link>MySQL\IOAccess\IOPersonApprovalCommnet.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOPointingOutComment.cs">
+      <Link>MySQL\IOAccess\IOPointingOutComment.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOProceedingsData.cs">
+      <Link>MySQL\IOAccess\IOProceedingsData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOProceedingsDataAttend.cs">
+      <Link>MySQL\IOAccess\IOProceedingsDataAttend.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOProceedingsDataDetail.cs">
+      <Link>MySQL\IOAccess\IOProceedingsDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOProcessApproval.cs">
+      <Link>MySQL\IOAccess\IOProcessApproval.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOProcessApprovalCommnet.cs">
+      <Link>MySQL\IOAccess\IOProcessApprovalCommnet.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOProcessApprovalDetail.cs">
+      <Link>MySQL\IOAccess\IOProcessApprovalDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOPurchaseOrder.cs">
+      <Link>MySQL\IOAccess\IOPurchaseOrder.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOPurchaseOrderDetail.cs">
+      <Link>MySQL\IOAccess\IOPurchaseOrderDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IORequestData.cs">
+      <Link>MySQL\IOAccess\IORequestData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IORequestDataDetail.cs">
+      <Link>MySQL\IOAccess\IORequestDataDetail.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IORequestHead.cs">
+      <Link>MySQL\IOAccess\IORequestHead.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOSalesGraphData.cs">
+      <Link>MySQL\IOAccess\IOSalesGraphData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOSubConstrJobItemRegist.cs">
+      <Link>MySQL\IOAccess\IOSubConstrJobItemRegist.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOSubConstrJobLinkRegist.cs">
+      <Link>MySQL\IOAccess\IOSubConstrJobLinkRegist.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOSubConstrRegist.cs">
+      <Link>MySQL\IOAccess\IOSubConstrRegist.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOSystemExecute.cs">
+      <Link>MySQL\IOAccess\IOSystemExecute.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOTranceportDailyData.cs">
+      <Link>MySQL\IOAccess\IOTranceportDailyData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\IOAccess\IOVehicleScheduleData.cs">
+      <Link>MySQL\IOAccess\IOVehicleScheduleData.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\ProcessManagement\ProcessManagement\DB\MySql\MySqlProcess.cs">
+      <Link>MySQL\MySQL\MySqlProcess.cs</Link>
+    </Compile>
     <Compile Include="DataConvertAuxiliary.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -101,233 +767,7 @@
     <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="MySQL\Core\DBCommon.cs" />
     <Compile Include="OracleDB\Core\ABaseDBProcessForOracle.cs" />
     <Compile Include="OracleDB\Core\DBCommonForOracle.cs" />
     <Compile Include="OracleDB\Core\IBaseDBForOracle.cs" />
@@ -370,11 +810,9 @@
     <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" />
@@ -474,6 +912,7 @@
       <Install>false</Install>
     </BootstrapperPackage>
   </ItemGroup>
+  <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.
Index: branches/ddl/DataConert/DataConert/DataConvertAuxiliary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataConvertAuxiliary.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataConvertAuxiliary.cs	(revision 97)
@@ -11,9 +11,9 @@
 using ProcessManagement.OracleDB.Core;
 using ProcessManagement.OracleDB.IOAccess;
 
-using ProcessManagement.MySQLDB.MySql;
-using ProcessManagement.MySQLDB.Core;
-using ProcessManagement.MySQLDB.IOAccess;
+using ProcessManagement.DB.MySql;
+using ProcessManagement.DB.Core;
+using ProcessManagement.DB.IOAccess;
 
 using ProcessManagement.DataModel;
 using ProcessManagement.Common;
@@ -691,7 +691,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOActionScheduleData OutDB = new ProcessManagement.DB.IOAccess.IOActionScheduleData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -705,52 +705,27 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ActionScheduleData> BuffList = new List<ActionScheduleData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
-                        strMsg += " ＤＢ処理異常";
+                        strMsg += "　ＤＢ処理異常";
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -779,7 +754,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMApproval OutDB = new ProcessManagement.DB.IOAccess.IOMApproval();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -793,47 +768,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ApprovalMaster> BuffList = new List<ApprovalMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -840,6 +788,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -869,7 +818,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOAttendanceDailyData OutDB = new ProcessManagement.DB.IOAccess.IOAttendanceDailyData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -883,54 +832,27 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<AttendanceDailyData> BuffList = new List<AttendanceDailyData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
-                        strMsg += " ＤＢ処理異常";
+                        strMsg += "　ＤＢ処理異常";
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -961,7 +883,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOAttendanceData OutDB = new ProcessManagement.DB.IOAccess.IOAttendanceData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -975,57 +897,27 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<AttendanceData> BuffList = new List<AttendanceData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
-                        strMsg += " ＤＢ処理異常";
+                        strMsg += "　ＤＢ処理異常";
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -1055,7 +947,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionLedger OutDB = new ProcessManagement.DB.IOAccess.IOConstructionLedger();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -1102,7 +994,7 @@
                     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)))
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn)))
                     {
                         if (!bColFirst) strSQL += ", ";
                         strSQL += gender.ToString();
@@ -1120,64 +1012,64 @@
                         if (bDataFirst) strSQL += " (";
                         else strSQL += ", (";
 
-                        work.ConstructionCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ConstructionCode);
+                        work.ConstructionCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.ConstructionCode);
                         strSQL += string.Format("  {0}", work.ConstructionCode);                // 工事番号
 
-                        work.ConstructionPeriod = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ConstructionPeriod);
+                        work.ConstructionPeriod = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.ConstructionPeriod);
                         strSQL += string.Format(", {0}", work.ConstructionPeriod);              // 事業期
 
-                        work.CreatorCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.CreatorCode);
+                        work.CreatorCode = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.CreatorCode);
                         strSQL += string.Format(", {0}", work.CreatorCode);                     // 作成者コード
 
-                        work.CreatorName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.CreatorName);
+                        work.CreatorName = CommonMotions.ObjectToString(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.CreatorName);
                         strSQL += string.Format(",'{0}'", work.CreatorName);                    // 作成者名
 
-                        work.CreateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.CreateDate);
+                        work.CreateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.DB.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);
+                        work.ConstructionTimes = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.ConstructionTimes);
                         strSQL += string.Format(", {0}", work.ConstructionTimes);               // 工期（単位・月）
 
-                        work.ConstructionStart = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ConstructionStart);
+                        work.ConstructionStart = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.DB.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);
+                        work.ConstructionEnd = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.DB.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);
+                        work.OrdersDecisionPrice = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.OrdersDecisionPrice);
                         strSQL += string.Format(",{0}", work.OrdersDecisionPrice);              // 税抜受注決定金額
 
-                        work.CompanyExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.CompanyExpenses);
+                        work.CompanyExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.CompanyExpenses);
                         strSQL += string.Format(",{0}", work.CompanyExpenses);                  // 会社経費合計
 
-                        work.DepartmentExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.DepartmentExpenses);
+                        work.DepartmentExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.DepartmentExpenses);
                         strSQL += string.Format(",{0}", work.DepartmentExpenses);               // 部署経費合計
 
-                        work.SalesExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.SalesExpenses);
+                        work.SalesExpenses = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.SalesExpenses);
                         strSQL += string.Format(",{0}", work.SalesExpenses);                    // 営業経費合計
 
-                        work.TotalPayment = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.TotalPayment);
+                        work.TotalPayment = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.TotalPayment);
                         strSQL += string.Format(",{0}", work.TotalPayment);                     // 総支払額
 
-                        work.GrossProfit = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.GrossProfit);
+                        work.GrossProfit = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.GrossProfit);
                         strSQL += string.Format(",{0}", work.GrossProfit);                      // 粗利
 
-                        work.Allowance = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.Allowance);
+                        work.Allowance = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.Allowance);
                         strSQL += string.Format(",{0}", work.Allowance);                        // 給与
 
-                        work.NetProfit = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.NetProfit);
+                        work.NetProfit = CommonMotions.ObjectToDouble(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.NetProfit);
                         strSQL += string.Format(",{0}", work.NetProfit);                        // 純利益
 
-                        work.ComplateFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.ComplateFlg);
+                        work.ComplateFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.ComplateFlg);
                         strSQL += string.Format(",{0}", work.ComplateFlg);                      // 入力完了フラグ
 
-                        work.IntegrationFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.IntegrationFlg);
+                        work.IntegrationFlg = CommonMotions.ObjectToInt(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.IntegrationFlg);
                         strSQL += string.Format(",{0}", work.IntegrationFlg);                   // 受注金額積算フラグ
 
-                        work.EntryDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.MySQLDB.IOAccess.IOConstructionLedger.TableColumn.EntryDate);
+                        work.EntryDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.DB.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);
+                        work.UpdateDate = CommonMotions.ObjectToDateTime(CurRec, (int)ProcessManagement.DB.IOAccess.IOConstructionLedger.TableColumn.UpdateDate);
                         strSQL += string.Format(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
 
                         strSQL += ")";
@@ -1222,7 +1114,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionLedgerDetail OutDB = new ProcessManagement.DB.IOAccess.IOConstructionLedgerDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -1275,7 +1167,7 @@
                     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)))
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.DB.IOAccess.IOConstructionLedgerDetail.TableColumn)))
                     {
                         if (!bColFirst) strSQL += ", ";
                         strSQL += gender.ToString();
@@ -1413,7 +1305,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionLedgerExcute OutDB = new ProcessManagement.DB.IOAccess.IOConstructionLedgerExcute();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -1448,7 +1340,7 @@
                     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)))
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.DB.IOAccess.IOConstructionLedgerExcute.TableColumn)))
                     {
                         if (!bColFirst) strSQL += ", ";
                         strSQL += gender.ToString();
@@ -1532,7 +1424,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOEstimateData OutDB = new ProcessManagement.DB.IOAccess.IOEstimateData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -1575,7 +1467,7 @@
                     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)))
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.DB.IOAccess.IOEstimateData.TableColumn)))
                     {
                         if (!bColFirst) strSQL += ", ";
                         strSQL += gender.ToString();
@@ -1674,7 +1566,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOEstimateDataBody OutDB = new ProcessManagement.DB.IOAccess.IOEstimateDataBody();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -1716,7 +1608,7 @@
                     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)))
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.DB.IOAccess.IOEstimateDataBody.TableColumn)))
                     {
                         if (!bColFirst) strSQL += " ,";
                         strSQL += gender.ToString();
@@ -1812,7 +1704,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOEstimateDataDetail OutDB = new ProcessManagement.DB.IOAccess.IOEstimateDataDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -1862,7 +1754,7 @@
                     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)))
+                    foreach (var gender in Enum.GetValues(typeof(ProcessManagement.DB.IOAccess.IOEstimateDataDetail.TableColumn)))
                     {
                         if (!bColFirst) strSQL += " ,";
                         strSQL += gender.ToString();
@@ -1982,7 +1874,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMBusinessType OutDB = new ProcessManagement.DB.IOAccess.IOMBusinessType();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -1996,44 +1888,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<BusinessTypeMaster> BuffList = new List<BusinessTypeMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2040,6 +1908,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2070,7 +1939,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMCommonCostLarge OutDB = new ProcessManagement.DB.IOAccess.IOMCommonCostLarge();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2084,46 +1953,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<CommonCostLarge> BuffList = new List<CommonCostLarge>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2130,6 +1973,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2160,7 +2004,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMCommonCostLinkMS OutDB = new ProcessManagement.DB.IOAccess.IOMCommonCostLinkMS();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2174,44 +2018,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<CommonCostLinkMS> BuffList = new List<CommonCostLinkMS>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2218,6 +2038,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2248,7 +2069,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMCommonCostMiddle OutDB = new ProcessManagement.DB.IOAccess.IOMCommonCostMiddle();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2262,47 +2083,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<CommonCostMiddle> BuffList = new List<CommonCostMiddle>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2309,6 +2103,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2339,7 +2134,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMCommonCostMiddleSearchWord OutDB = new ProcessManagement.DB.IOAccess.IOMCommonCostMiddleSearchWord();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2353,45 +2148,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<CommonCostMiddleSearchWord> BuffList = new List<CommonCostMiddleSearchWord>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2398,6 +2168,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2428,7 +2199,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMComponentLink OutDB = new ProcessManagement.DB.IOAccess.IOMComponentLink();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2442,44 +2213,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ComponentLinkMaster> BuffList = new List<ComponentLinkMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2486,6 +2233,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2516,7 +2264,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMComponent OutDB = new ProcessManagement.DB.IOAccess.IOMComponent();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2530,49 +2278,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ComponentMaster> BuffList = new List<ComponentMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2579,6 +2298,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2609,7 +2329,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionBaseInfo OutDB = new ProcessManagement.DB.IOAccess.IOConstructionBaseInfo();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2623,98 +2343,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionBaseInfo> BuffList = new List<ConstructionBaseInfo>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2721,6 +2363,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2751,7 +2394,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionBaseInfoDetail OutDB = new ProcessManagement.DB.IOAccess.IOConstructionBaseInfoDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2765,45 +2408,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionBaseInfoDetail> BuffList = new List<ConstructionBaseInfoDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2810,6 +2428,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2840,7 +2459,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionBudget OutDB = new ProcessManagement.DB.IOAccess.IOConstructionBudget();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2854,71 +2473,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionBudget> BuffList = new List<ConstructionBudget>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -2925,6 +2493,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -2955,7 +2524,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionBudgetDetail OutDB = new ProcessManagement.DB.IOAccess.IOConstructionBudgetDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -2969,58 +2538,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionBudgetDetail> BuffList = new List<ConstructionBudgetDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3027,6 +2558,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3057,7 +2589,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMConstructionItem OutDB = new ProcessManagement.DB.IOAccess.IOMConstructionItem();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3071,48 +2603,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionItemMaster> BuffList = new List<ConstructionItemMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3119,6 +2623,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3149,7 +2654,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionLedger OutDB = new ProcessManagement.DB.IOAccess.IOConstructionLedger();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3163,65 +2668,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionLedger> BuffList = new List<ConstructionLedger>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3228,6 +2688,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3258,7 +2719,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionLedgerDetail OutDB = new ProcessManagement.DB.IOAccess.IOConstructionLedgerDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3272,70 +2733,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionLedgerDetail> BuffList = new List<ConstructionLedgerDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3342,6 +2753,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3372,7 +2784,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionLedgerExcute OutDB = new ProcessManagement.DB.IOAccess.IOConstructionLedgerExcute();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3386,50 +2798,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionLedgerExcute> BuffList = new List<ConstructionLedgerExcute>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3436,6 +2818,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3466,7 +2849,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionLink OutDB = new ProcessManagement.DB.IOAccess.IOConstructionLink();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3480,46 +2863,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionLink> BuffList = new List<ConstructionLink>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3526,6 +2883,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3556,7 +2914,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOConstructionProgressDate OutDB = new ProcessManagement.DB.IOAccess.IOConstructionProgressDate();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3570,47 +2928,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionProgressDate> BuffList = new List<ConstructionProgressDate>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3617,6 +2948,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3647,7 +2979,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMConstructionSpec OutDB = new ProcessManagement.DB.IOAccess.IOMConstructionSpec();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3661,51 +2993,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionSpecMaster> BuffList = new List<ConstructionSpecMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3712,6 +3013,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3742,7 +3044,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMConstructionSpecUnitPrice OutDB = new ProcessManagement.DB.IOAccess.IOMConstructionSpecUnitPrice();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3756,47 +3058,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionSpecUnitPrice> BuffList = new List<ConstructionSpecUnitPrice>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3803,6 +3078,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3833,7 +3109,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMConstructionType OutDB = new ProcessManagement.DB.IOAccess.IOMConstructionType();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3847,49 +3123,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ConstructionTypeMaster> BuffList = new List<ConstructionTypeMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3896,6 +3143,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -3926,7 +3174,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOCostDataOfPerson OutDB = new ProcessManagement.DB.IOAccess.IOCostDataOfPerson();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -3940,59 +3188,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<CostDataOfPerson> BuffList = new List<CostDataOfPerson>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -3999,6 +3208,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4029,7 +3239,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOCostomerRegist OutDB = new ProcessManagement.DB.IOAccess.IOCostomerRegist();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4043,67 +3253,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<CostomerRegist> BuffList = new List<CostomerRegist>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4110,6 +3273,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4140,7 +3304,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IODailyDataConstruction OutDB = new ProcessManagement.DB.IOAccess.IODailyDataConstruction();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4154,47 +3318,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DailyDataConstruction> BuffList = new List<DailyDataConstruction>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4201,6 +3338,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4231,7 +3369,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IODailyDataDetail OutDB = new ProcessManagement.DB.IOAccess.IODailyDataDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4245,54 +3383,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DailyDataDetail> BuffList = new List<DailyDataDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4299,6 +3403,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4329,7 +3434,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IODailyDataField OutDB = new ProcessManagement.DB.IOAccess.IODailyDataField();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4343,51 +3448,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DailyDataField> BuffList = new List<DailyDataField>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4394,6 +3468,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4424,7 +3499,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IODailyDataMaterials OutDB = new ProcessManagement.DB.IOAccess.IODailyDataMaterials();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4438,52 +3513,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DailyDataMaterials> BuffList = new List<DailyDataMaterials>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4490,6 +3533,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4520,7 +3564,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IODailyDataSubcontractors OutDB = new ProcessManagement.DB.IOAccess.IODailyDataSubcontractors();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4534,50 +3578,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DailyDataSubcontractors> BuffList = new List<DailyDataSubcontractors>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4584,6 +3598,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4614,7 +3629,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IODailyDataVehicles OutDB = new ProcessManagement.DB.IOAccess.IODailyDataVehicles();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4628,55 +3643,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DailyDataVehicles> BuffList = new List<DailyDataVehicles>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4683,6 +3663,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4713,7 +3694,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMDepartmentExpenses OutDB = new ProcessManagement.DB.IOAccess.IOMDepartmentExpenses();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4727,48 +3708,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DepartmentExpenses> BuffList = new List<DepartmentExpenses>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4775,6 +3728,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4805,7 +3759,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMDepartment OutDB = new ProcessManagement.DB.IOAccess.IOMDepartment();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4819,48 +3773,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DepartmentMaster> BuffList = new List<DepartmentMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4867,6 +3793,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4897,7 +3824,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMDivision OutDB = new ProcessManagement.DB.IOAccess.IOMDivision();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -4911,47 +3838,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<DivisionMaster> BuffList = new List<DivisionMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -4958,6 +3858,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -4988,7 +3889,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOEstimateBudget OutDB = new ProcessManagement.DB.IOAccess.IOEstimateBudget();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5002,52 +3903,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<EstimateBudget> BuffList = new List<EstimateBudget>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5054,6 +3923,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5084,7 +3954,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOEstimateBudgetDetail OutDB = new ProcessManagement.DB.IOAccess.IOEstimateBudgetDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5098,53 +3968,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<EstimateBudgetDetail> BuffList = new List<EstimateBudgetDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5151,6 +3988,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5181,7 +4019,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOEstimateData OutDB = new ProcessManagement.DB.IOAccess.IOEstimateData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5195,52 +4033,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<EstimateData> BuffList = new List<EstimateData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5247,6 +4053,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5277,7 +4084,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOEstimateDataBody OutDB = new ProcessManagement.DB.IOAccess.IOEstimateDataBody();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5291,51 +4098,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<EstimateDataBody> BuffList = new List<EstimateDataBody>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5342,6 +4118,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5372,7 +4149,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOEstimateDataDetail OutDB = new ProcessManagement.DB.IOAccess.IOEstimateDataDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5386,59 +4163,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<EstimateDataDetail> BuffList = new List<EstimateDataDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5445,6 +4183,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5475,7 +4214,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMHolidayCalender OutDB = new ProcessManagement.DB.IOAccess.IOMHolidayCalender();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5489,43 +4228,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<HolidayCalenderMaster> BuffList = new List<HolidayCalenderMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5532,6 +4248,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5562,7 +4279,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOInputSearchLogData OutDB = new ProcessManagement.DB.IOAccess.IOInputSearchLogData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5576,44 +4293,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<InputSearchLogData> BuffList = new List<InputSearchLogData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5620,6 +4313,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5650,7 +4344,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMessageBoardData OutDB = new ProcessManagement.DB.IOAccess.IOMessageBoardData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5664,58 +4358,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<MessageBoardData> BuffList = new List<MessageBoardData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5722,6 +4378,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5752,7 +4409,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMessageBoardTerget OutDB = new ProcessManagement.DB.IOAccess.IOMessageBoardTerget();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5766,47 +4423,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<MessageBoardTerget> BuffList = new List<MessageBoardTerget>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5813,6 +4443,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5843,7 +4474,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMessageBrowsingHistory OutDB = new ProcessManagement.DB.IOAccess.IOMessageBrowsingHistory();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5857,47 +4488,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<MessageBrowsingHistory> BuffList = new List<MessageBrowsingHistory>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -5904,6 +4508,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -5934,7 +4539,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMOrderers OutDB = new ProcessManagement.DB.IOAccess.IOMOrderers();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -5948,61 +4553,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<OrderersMaster> BuffList = new List<OrderersMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6009,6 +4573,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6039,7 +4604,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOOrdersPriceData OutDB = new ProcessManagement.DB.IOAccess.IOOrdersPriceData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6053,52 +4618,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<OrdersPriceData> BuffList = new List<OrdersPriceData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6105,6 +4638,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6135,7 +4669,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOPersonApproval OutDB = new ProcessManagement.DB.IOAccess.IOPersonApproval();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6149,52 +4683,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<PersonApproval> BuffList = new List<PersonApproval>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6201,6 +4703,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6231,7 +4734,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOPersonApprovalComment OutDB = new ProcessManagement.DB.IOAccess.IOPersonApprovalComment();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6245,49 +4748,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<PersonApprovalComment> BuffList = new List<PersonApprovalComment>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6294,6 +4768,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6324,7 +4799,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMPersonDepartment OutDB = new ProcessManagement.DB.IOAccess.IOMPersonDepartment();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6338,46 +4813,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<PersonDepartmentMaster> BuffList = new List<PersonDepartmentMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6384,6 +4833,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6414,7 +4864,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMPersonInCharge OutDB = new ProcessManagement.DB.IOAccess.IOMPersonInCharge();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6428,60 +4878,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<PersonInChargeMaster> BuffList = new List<PersonInChargeMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6488,6 +4898,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6518,7 +4929,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMPersonSalary OutDB = new ProcessManagement.DB.IOAccess.IOMPersonSalary();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6532,46 +4943,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<PersonSalaryMaster> BuffList = new List<PersonSalaryMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6578,6 +4963,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6608,7 +4994,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOProceedingsData OutDB = new ProcessManagement.DB.IOAccess.IOProceedingsData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6622,50 +5008,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ProceedingsData> BuffList = new List<ProceedingsData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6672,6 +5028,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6702,7 +5059,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOProceedingsDataAttend OutDB = new ProcessManagement.DB.IOAccess.IOProceedingsDataAttend();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6716,48 +5073,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ProceedingsDataAttend> BuffList = new List<ProceedingsDataAttend>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6764,6 +5093,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6794,7 +5124,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOProceedingsDataDetail OutDB = new ProcessManagement.DB.IOAccess.IOProceedingsDataDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6808,49 +5138,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ProceedingsDataDetail> BuffList = new List<ProceedingsDataDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6857,6 +5158,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6887,7 +5189,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOProcessApproval OutDB = new ProcessManagement.DB.IOAccess.IOProcessApproval();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6901,52 +5203,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ProcessApproval> BuffList = new List<ProcessApproval>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -6953,6 +5223,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -6983,7 +5254,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOProcessApprovalComment OutDB = new ProcessManagement.DB.IOAccess.IOProcessApprovalComment();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -6997,48 +5268,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ProcessApprovalComment> BuffList = new List<ProcessApprovalComment>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7045,6 +5288,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7075,7 +5319,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOProcessApprovalDetail OutDB = new ProcessManagement.DB.IOAccess.IOProcessApprovalDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7089,47 +5333,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ProcessApprovalDetail> BuffList = new List<ProcessApprovalDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7136,6 +5353,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7166,7 +5384,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMProcessExcute OutDB = new ProcessManagement.DB.IOAccess.IOMProcessExcute();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7180,45 +5398,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<ProcessExcute> BuffList = new List<ProcessExcute>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7225,6 +5418,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7255,7 +5449,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOPurchaseOrder OutDB = new ProcessManagement.DB.IOAccess.IOPurchaseOrder();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7269,75 +5463,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<PurchaseOrder> BuffList = new List<PurchaseOrder>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7344,6 +5483,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7374,7 +5514,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOPurchaseOrderDetail OutDB = new ProcessManagement.DB.IOAccess.IOPurchaseOrderDetail();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7388,56 +5528,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<PurchaseOrderDetail> BuffList = new List<PurchaseOrderDetail>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7444,6 +5548,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7474,7 +5579,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOSalesGraphData OutDB = new ProcessManagement.DB.IOAccess.IOSalesGraphData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7488,51 +5593,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SalesGraphData> BuffList = new List<SalesGraphData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7539,6 +5613,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7569,7 +5644,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMSecurity OutDB = new ProcessManagement.DB.IOAccess.IOMSecurity();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7583,49 +5658,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SecurityMaster> BuffList = new List<SecurityMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7632,6 +5678,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7662,7 +5709,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOSubConstrJobItemRegist OutDB = new ProcessManagement.DB.IOAccess.IOSubConstrJobItemRegist();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7676,47 +5723,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SubConstrJobItemRegist> BuffList = new List<SubConstrJobItemRegist>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7723,6 +5743,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7753,7 +5774,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOSubConstrJobLinkRegist OutDB = new ProcessManagement.DB.IOAccess.IOSubConstrJobLinkRegist();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7767,47 +5788,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SubConstrJobLinkRegist> BuffList = new List<SubConstrJobLinkRegist>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7814,6 +5808,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7844,7 +5839,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOSubConstrRegist OutDB = new ProcessManagement.DB.IOAccess.IOSubConstrRegist();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7858,69 +5853,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SubConstrRegist> BuffList = new List<SubConstrRegist>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -7927,6 +5873,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -7957,7 +5904,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMSubContractorItem OutDB = new ProcessManagement.DB.IOAccess.IOMSubContractorItem();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -7971,46 +5918,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SubContractorItemMaster> BuffList = new List<SubContractorItemMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8017,6 +5938,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8047,7 +5969,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMSubContractorJobCategory OutDB = new ProcessManagement.DB.IOAccess.IOMSubContractorJobCategory();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8061,46 +5983,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SubContractorJobCategory> BuffList = new List<SubContractorJobCategory>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8107,6 +6003,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8137,7 +6034,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMSubContractorJobItem OutDB = new ProcessManagement.DB.IOAccess.IOMSubContractorJobItem();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8151,45 +6048,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SubContractorJobItem> BuffList = new List<SubContractorJobItem>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8196,6 +6068,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8226,7 +6099,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMSubContractorJobLink OutDB = new ProcessManagement.DB.IOAccess.IOMSubContractorJobLink();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8240,45 +6113,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SubContractorJobLink> BuffList = new List<SubContractorJobLink>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8285,6 +6133,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8315,7 +6164,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMSubContractor OutDB = new ProcessManagement.DB.IOAccess.IOMSubContractor();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8329,63 +6178,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SubContractorMaster> BuffList = new List<SubContractorMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8392,6 +6198,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8422,7 +6229,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMSuppliers OutDB = new ProcessManagement.DB.IOAccess.IOMSuppliers();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8436,54 +6243,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SuppliersMaster> BuffList = new List<SuppliersMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8490,6 +6263,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8520,7 +6294,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOSystemExecute OutDB = new ProcessManagement.DB.IOAccess.IOSystemExecute();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8534,46 +6308,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SystemExecute> BuffList = new List<SystemExecute>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8580,6 +6328,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8610,7 +6359,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMSystem OutDB = new ProcessManagement.DB.IOAccess.IOMSystem();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8624,69 +6373,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<SystemMaster> BuffList = new List<SystemMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8693,6 +6393,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8723,7 +6424,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMTerm OutDB = new ProcessManagement.DB.IOAccess.IOMTerm();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8737,52 +6438,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<TermMaster> BuffList = new List<TermMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8789,6 +6458,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8819,7 +6489,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOTranceportDailyData OutDB = new ProcessManagement.DB.IOAccess.IOTranceportDailyData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8833,54 +6503,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<TranceportDailyData> BuffList = new List<TranceportDailyData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8887,6 +6523,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -8917,7 +6554,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMTypeExpenses OutDB = new ProcessManagement.DB.IOAccess.IOMTypeExpenses();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -8931,47 +6568,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<TypeExpensesMaster> BuffList = new List<TypeExpensesMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -8978,6 +6588,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -9008,7 +6619,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMUnit OutDB = new ProcessManagement.DB.IOAccess.IOMUnit();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -9022,45 +6633,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<UnitMaster> BuffList = new List<UnitMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -9067,6 +6653,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -9097,7 +6684,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMVehicle OutDB = new ProcessManagement.DB.IOAccess.IOMVehicle();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -9111,62 +6698,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<VehicleMaster> BuffList = new List<VehicleMaster>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -9173,6 +6718,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -9203,7 +6749,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOMVehicleRecordData OutDB = new ProcessManagement.DB.IOAccess.IOMVehicleRecordData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -9217,49 +6763,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<VehicleRecordData> BuffList = new List<VehicleRecordData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -9266,6 +6783,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
@@ -9296,7 +6814,7 @@
         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();
+            ProcessManagement.DB.IOAccess.IOVehicleScheduleData OutDB = new ProcessManagement.DB.IOAccess.IOVehicleScheduleData();
             strMsg = string.Format("№{0}：テーブル:{1}({2})", (ino + 1).ToString("00"), s_OracleTables[ino].Value, s_OracleTables[ino].Key);
             try
             {
@@ -9310,49 +6828,20 @@
                 strSQL = string.Format("TRUNCATE TABLE {0}", s_OracleTables[ino].Key);
                 OutDB.ExecuteNonQuery(strSQL, false);
 
+                List<VehicleScheduleData> BuffList = new List<VehicleScheduleData>();
                 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";
+                    BuffList.Clear();
 
-                    bDataFirst = true;
-                    for (int i = 0; i < s_LoopCount; i++, DataCnt++)
+                    for (int ii = 0; ii < s_LoopCount; ii++, 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;
+                        BuffList.Add(getList[DataCnt]);
                     }
 
-                    if (!OutDB.ExecuteNonQuery(strSQL, false))
+                    if (!OutDB.InsertAction(BuffList, false))
                     {
                         OutDB.rollback();
                         strMsg += "　ＤＢ処理異常";
@@ -9359,6 +6848,7 @@
                         return false;
                     }
                 }
+
                 strMsg += string.Format("　処理件数={0}", DataCnt.ToString("#,0"));
 
                 return true;
Index: branches/ddl/DataConert/DataConert/DataModel/DailyDataMaterials.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataMaterials.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataMaterials.cs	(nonexistent)
@@ -1,151 +0,0 @@
-﻿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/ConstructionFieldNameDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameDetail.cs	(nonexistent)
@@ -1,108 +0,0 @@
-﻿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/PersonInChargeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonInChargeMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonInChargeMaster.cs	(nonexistent)
@@ -1,209 +0,0 @@
-﻿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/SalesGraphData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SalesGraphData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SalesGraphData.cs	(nonexistent)
@@ -1,121 +0,0 @@
-﻿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/ConstructionProgressDate.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionProgressDate.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionProgressDate.cs	(nonexistent)
@@ -1,106 +0,0 @@
-﻿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/EstimateData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateData.cs	(nonexistent)
@@ -1,134 +0,0 @@
-﻿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/ProceedingsDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataDetail.cs	(nonexistent)
@@ -1,127 +0,0 @@
-﻿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/BillingPaymentSummary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BillingPaymentSummary.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/BillingPaymentSummary.cs	(nonexistent)
@@ -1,163 +0,0 @@
-﻿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/CommonCostMiddleSearchWord.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddleSearchWord.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddleSearchWord.cs	(nonexistent)
@@ -1,76 +0,0 @@
-﻿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/ConstructionFieldNameHeader.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameHeader.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionFieldNameHeader.cs	(nonexistent)
@@ -1,62 +0,0 @@
-﻿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/AttendanceDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/AttendanceDailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/AttendanceDailyData.cs	(nonexistent)
@@ -1,115 +0,0 @@
-﻿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/PersonApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonApproval.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonApproval.cs	(nonexistent)
@@ -1,154 +0,0 @@
-﻿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/SubContractorJobILink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorJobILink.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorJobILink.cs	(nonexistent)
@@ -1,67 +0,0 @@
-﻿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/HolidayCalenderMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/HolidayCalenderMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/HolidayCalenderMaster.cs	(nonexistent)
@@ -1,58 +0,0 @@
-﻿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/DeadLineMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DeadLineMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DeadLineMaster.cs	(nonexistent)
@@ -1,90 +0,0 @@
-﻿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/ConstructionListDat.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionListDat.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionListDat.cs	(nonexistent)
@@ -1,215 +0,0 @@
-﻿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/ProceedingsData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProceedingsData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ProceedingsData.cs	(nonexistent)
@@ -1,127 +0,0 @@
-﻿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/EstimateBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateBudgetDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateBudgetDetail.cs	(nonexistent)
@@ -1,143 +0,0 @@
-﻿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/ConstructionSpecMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecMaster.cs	(nonexistent)
@@ -1,115 +0,0 @@
-﻿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/SubContractorMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorMaster.cs	(nonexistent)
@@ -1,231 +0,0 @@
-﻿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/ProceedingsDataAttend.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataAttend.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ProceedingsDataAttend.cs	(nonexistent)
@@ -1,115 +0,0 @@
-﻿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/MaterialRecordInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MaterialRecordInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/MaterialRecordInfo.cs	(nonexistent)
@@ -1,125 +0,0 @@
-﻿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/PointingOutComment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PointingOutComment.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PointingOutComment.cs	(nonexistent)
@@ -1,161 +0,0 @@
-﻿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/ConstructionBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionBudget.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionBudget.cs	(nonexistent)
@@ -1,242 +0,0 @@
-﻿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/DailyDataSubcontractors.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataSubcontractors.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataSubcontractors.cs	(nonexistent)
@@ -1,115 +0,0 @@
-﻿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/DepositApprovalInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepositApprovalInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DepositApprovalInfo.cs	(nonexistent)
@@ -1,142 +0,0 @@
-﻿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/ConstructionBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionBudgetDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionBudgetDetail.cs	(nonexistent)
@@ -1,188 +0,0 @@
-﻿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/DailyDataConstruction.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataConstruction.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataConstruction.cs	(nonexistent)
@@ -1,91 +0,0 @@
-﻿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/BillingData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BillingData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/BillingData.cs	(nonexistent)
@@ -1,77 +0,0 @@
-﻿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/PaymentApprovalInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PaymentApprovalInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PaymentApprovalInfo.cs	(nonexistent)
@@ -1,131 +0,0 @@
-﻿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/TermMasterList.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/TermMasterList.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/TermMasterList.cs	(nonexistent)
@@ -1,34 +0,0 @@
-﻿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/PurchaseOrderDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PurchaseOrderDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PurchaseOrderDetail.cs	(nonexistent)
@@ -1,163 +0,0 @@
-﻿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/CostomerRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CostomerRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CostomerRegist.cs	(nonexistent)
@@ -1,274 +0,0 @@
-﻿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/CommonCostMiddle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddle.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CommonCostMiddle.cs	(nonexistent)
@@ -1,94 +0,0 @@
-﻿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/SystemMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SystemMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SystemMaster.cs	(nonexistent)
@@ -1,274 +0,0 @@
-﻿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/DepartmentMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepartmentMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DepartmentMaster.cs	(nonexistent)
@@ -1,94 +0,0 @@
-﻿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/VehicleScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/VehicleScheduleData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/VehicleScheduleData.cs	(nonexistent)
@@ -1,103 +0,0 @@
-﻿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/DataModel/BusinessTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BusinessTypeMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/BusinessTypeMaster.cs	(nonexistent)
@@ -1,67 +0,0 @@
-﻿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/ProcessExcuter.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProcessExcuter.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ProcessExcuter.cs	(nonexistent)
@@ -1,82 +0,0 @@
-﻿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/DepartmentExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepartmentExpenses.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DepartmentExpenses.cs	(nonexistent)
@@ -1,95 +0,0 @@
-﻿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/ProcessApprovalDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalDetail.cs	(nonexistent)
@@ -1,106 +0,0 @@
-﻿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/ComponentToTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ComponentToTypeMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ComponentToTypeMaster.cs	(nonexistent)
@@ -1,58 +0,0 @@
-﻿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/ProcessApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProcessApproval.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ProcessApproval.cs	(nonexistent)
@@ -1,154 +0,0 @@
-﻿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/SubConstrJobItemRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubConstrJobItemRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SubConstrJobItemRegist.cs	(nonexistent)
@@ -1,85 +0,0 @@
-﻿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/SubContractorJobCategory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorJobCategory.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorJobCategory.cs	(nonexistent)
@@ -1,76 +0,0 @@
-﻿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/DailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyData.cs	(nonexistent)
@@ -1,103 +0,0 @@
-﻿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/ConstructionLedgerExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerExcute.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerExcute.cs	(nonexistent)
@@ -1,99 +0,0 @@
-﻿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/SubConstrJobLinkRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubConstrJobLinkRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SubConstrJobLinkRegist.cs	(nonexistent)
@@ -1,85 +0,0 @@
-﻿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/ConstructionBaseInfoDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfoDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfoDetail.cs	(nonexistent)
@@ -1,168 +0,0 @@
-﻿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/PersonSalaryMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonSalaryMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonSalaryMaster.cs	(nonexistent)
@@ -1,79 +0,0 @@
-﻿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/AttendanceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/AttendanceData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/AttendanceData.cs	(nonexistent)
@@ -1,127 +0,0 @@
-﻿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/OrdersPriceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/OrdersPriceData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/OrdersPriceData.cs	(nonexistent)
@@ -1,135 +0,0 @@
-﻿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/CostDataOfPerson.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CostDataOfPerson.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CostDataOfPerson.cs	(nonexistent)
@@ -1,228 +0,0 @@
-﻿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/ComponentLinkMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ComponentLinkMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ComponentLinkMaster.cs	(nonexistent)
@@ -1,67 +0,0 @@
-﻿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/MaterialKindMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MaterialKindMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/MaterialKindMaster.cs	(nonexistent)
@@ -1,77 +0,0 @@
-﻿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/DailyDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataDetail.cs	(nonexistent)
@@ -1,175 +0,0 @@
-﻿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/MessageBrowsingHistory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MessageBrowsingHistory.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/MessageBrowsingHistory.cs	(nonexistent)
@@ -1,86 +0,0 @@
-﻿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/ConstructionItemMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionItemMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionItemMaster.cs	(nonexistent)
@@ -1,94 +0,0 @@
-﻿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/MessageBoardData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MessageBoardData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/MessageBoardData.cs	(nonexistent)
@@ -1,178 +0,0 @@
-﻿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/SystemExecute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SystemExecute.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SystemExecute.cs	(nonexistent)
@@ -1,96 +0,0 @@
-﻿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/EstimateBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateBudget.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateBudget.cs	(nonexistent)
@@ -1,125 +0,0 @@
-﻿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/DailyDataField.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataField.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataField.cs	(nonexistent)
@@ -1,115 +0,0 @@
-﻿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/ApprovalMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ApprovalMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ApprovalMaster.cs	(nonexistent)
@@ -1,118 +0,0 @@
-﻿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/PurchaseOrder.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PurchaseOrder.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PurchaseOrder.cs	(nonexistent)
@@ -1,298 +0,0 @@
-﻿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/OfficeShapeDefine.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/OfficeShapeDefine.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/OfficeShapeDefine.cs	(nonexistent)
@@ -1,171 +0,0 @@
-﻿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/SubContractorJobItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorJobItem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorJobItem.cs	(nonexistent)
@@ -1,67 +0,0 @@
-﻿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/CalennderPage.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CalennderPage.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CalennderPage.cs	(nonexistent)
@@ -1,91 +0,0 @@
-﻿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/EstimateDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateDataDetail.cs	(nonexistent)
@@ -1,199 +0,0 @@
-﻿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/BillingDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BillingDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/BillingDataDetail.cs	(nonexistent)
@@ -1,148 +0,0 @@
-﻿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/BankBusinessDayMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/BankBusinessDayMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/BankBusinessDayMaster.cs	(nonexistent)
@@ -1,77 +0,0 @@
-﻿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/MaterialItemMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MaterialItemMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/MaterialItemMaster.cs	(nonexistent)
@@ -1,87 +0,0 @@
-﻿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/CommonCostLinkMS.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CommonCostLinkMS.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CommonCostLinkMS.cs	(nonexistent)
@@ -1,67 +0,0 @@
-﻿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/ConstructionMaterialInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionMaterialInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionMaterialInfo.cs	(nonexistent)
@@ -1,87 +0,0 @@
-﻿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/VehicleMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/VehicleMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/VehicleMaster.cs	(nonexistent)
@@ -1,287 +0,0 @@
-﻿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/UnitMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/UnitMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/UnitMaster.cs	(nonexistent)
@@ -1,67 +0,0 @@
-﻿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/TranceportDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/TranceportDailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/TranceportDailyData.cs	(nonexistent)
@@ -1,164 +0,0 @@
-﻿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/ConstructionLedger.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionLedger.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionLedger.cs	(nonexistent)
@@ -1,208 +0,0 @@
-﻿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/ComponentMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ComponentMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ComponentMaster.cs	(nonexistent)
@@ -1,103 +0,0 @@
-﻿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/OrderersMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/OrderersMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/OrderersMaster.cs	(nonexistent)
@@ -1,215 +0,0 @@
-﻿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/RequestGridKeys.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/RequestGridKeys.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/RequestGridKeys.cs	(nonexistent)
@@ -1,35 +0,0 @@
-﻿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/VehicleRecordData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/VehicleRecordData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/VehicleRecordData.cs	(nonexistent)
@@ -1,129 +0,0 @@
-﻿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/TermMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/TermMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/TermMaster.cs	(nonexistent)
@@ -1,130 +0,0 @@
-﻿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/PersonApprovalCommnet .cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonApprovalCommnet .cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonApprovalCommnet .cs	(nonexistent)
@@ -1,130 +0,0 @@
-﻿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/ConstructionLedgerDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionLedgerDetail.cs	(nonexistent)
@@ -1,263 +0,0 @@
-﻿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/SecurityMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SecurityMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SecurityMaster.cs	(nonexistent)
@@ -1,130 +0,0 @@
-﻿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/InvoiceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/InvoiceData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/InvoiceData.cs	(nonexistent)
@@ -1,204 +0,0 @@
-﻿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	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/MaterialInfo.cs	(nonexistent)
@@ -1,78 +0,0 @@
-﻿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/SubConstrRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubConstrRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SubConstrRegist.cs	(nonexistent)
@@ -1,278 +0,0 @@
-﻿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/DepositDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepositDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DepositDataDetail.cs	(nonexistent)
@@ -1,203 +0,0 @@
-﻿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/RequestDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/RequestDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/RequestDataDetail.cs	(nonexistent)
@@ -1,104 +0,0 @@
-﻿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/CategoryType.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CategoryType.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CategoryType.cs	(nonexistent)
@@ -1,39 +0,0 @@
-﻿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/ConstructionBaseInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionBaseInfo.cs	(nonexistent)
@@ -1,470 +0,0 @@
-﻿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/PaymentDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PaymentDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PaymentDataDetail.cs	(nonexistent)
@@ -1,201 +0,0 @@
-﻿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/ProcessApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalCommnet.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ProcessApprovalCommnet.cs	(nonexistent)
@@ -1,118 +0,0 @@
-﻿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/SuppliersMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SuppliersMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SuppliersMaster.cs	(nonexistent)
@@ -1,149 +0,0 @@
-﻿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/DepositData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DepositData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DepositData.cs	(nonexistent)
@@ -1,133 +0,0 @@
-﻿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/RequestData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/RequestData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/RequestData.cs	(nonexistent)
@@ -1,203 +0,0 @@
-﻿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/ExpensesMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ExpensesMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ExpensesMaster.cs	(nonexistent)
@@ -1,85 +0,0 @@
-﻿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/AmountAllocation.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/AmountAllocation.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/AmountAllocation.cs	(nonexistent)
@@ -1,58 +0,0 @@
-﻿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/ConstructionTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionTypeMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionTypeMaster.cs	(nonexistent)
@@ -1,104 +0,0 @@
-﻿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/SubContractorItemMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/SubContractorItemMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/SubContractorItemMaster.cs	(nonexistent)
@@ -1,76 +0,0 @@
-﻿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/CategoryNameMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CategoryNameMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CategoryNameMaster.cs	(nonexistent)
@@ -1,85 +0,0 @@
-﻿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/RequestHead.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/RequestHead.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/RequestHead.cs	(nonexistent)
@@ -1,193 +0,0 @@
-﻿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/DailyDataVehicles.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DailyDataVehicles.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DailyDataVehicles.cs	(nonexistent)
@@ -1,163 +0,0 @@
-﻿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/ConstructionWorkMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionWorkMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionWorkMaster.cs	(nonexistent)
@@ -1,121 +0,0 @@
-﻿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/ActionScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ActionScheduleData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ActionScheduleData.cs	(nonexistent)
@@ -1,94 +0,0 @@
-﻿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/ConstructionLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionLink.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionLink.cs	(nonexistent)
@@ -1,72 +0,0 @@
-﻿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/ConstructionSpecUnitPrice.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecUnitPrice.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionSpecUnitPrice.cs	(nonexistent)
@@ -1,85 +0,0 @@
-﻿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/InputSearchLogData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/InputSearchLogData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/InputSearchLogData.cs	(nonexistent)
@@ -1,67 +0,0 @@
-﻿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/EstimateDataBody.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/EstimateDataBody.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/EstimateDataBody.cs	(nonexistent)
@@ -1,125 +0,0 @@
-﻿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/CommonCostLarge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/CommonCostLarge.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/CommonCostLarge.cs	(nonexistent)
@@ -1,85 +0,0 @@
-﻿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/PersonDepartmentMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/PersonDepartmentMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/PersonDepartmentMaster.cs	(nonexistent)
@@ -1,70 +0,0 @@
-﻿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/ConstructionItemOLDMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/ConstructionItemOLDMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/ConstructionItemOLDMaster.cs	(nonexistent)
@@ -1,94 +0,0 @@
-﻿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/MessageBoardTerget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/MessageBoardTerget.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/MessageBoardTerget.cs	(nonexistent)
@@ -1,86 +0,0 @@
-﻿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/DivisionMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/DivisionMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/DivisionMaster.cs	(nonexistent)
@@ -1,85 +0,0 @@
-﻿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/TypeExpensesMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/DataModel/TypeExpensesMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/DataModel/TypeExpensesMaster.cs	(nonexistent)
@@ -1,85 +0,0 @@
-﻿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/FrmDataConvert.cs
===================================================================
--- branches/ddl/DataConert/DataConert/FrmDataConvert.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/FrmDataConvert.cs	(revision 97)
@@ -15,9 +15,9 @@
 using ProcessManagement.OracleDB.Core;
 using ProcessManagement.OracleDB.IOAccess;
 
-using ProcessManagement.MySQLDB.MySql;
-using ProcessManagement.MySQLDB.Core;
-using ProcessManagement.MySQLDB.IOAccess;
+using ProcessManagement.DB.MySql;
+using ProcessManagement.DB.Core;
+using ProcessManagement.DB.IOAccess;
 
 using ProcessManagement.DataModel;
 using ProcessManagement.Common;
@@ -147,7 +147,7 @@
         {
             // 共通クラス初期化
             DBCommonForOracle.Instance.Initialize();
-            DBCommonForMySQL.Instance.Initialize();
+            DBCommon.Instance.Initialize();
         }
 
         private void btnStart_Click(object sender, EventArgs e)
Index: branches/ddl/DataConert/DataConert/MySQL/Core/DBCommon.cs
===================================================================
--- branches/ddl/DataConert/DataConert/MySQL/Core/DBCommon.cs	(nonexistent)
+++ branches/ddl/DataConert/DataConert/MySQL/Core/DBCommon.cs	(revision 97)
@@ -0,0 +1,72 @@
+﻿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+using log4net;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.DB.Core
+{
+    /// <summary>
+    /// データベース共通接続クラス
+    /// </summary>
+    public class DBCommon
+    {
+        #region 定義部
+        /// <summary>
+        /// データベース接続共通クラスインスタンスハンドル
+        /// </summary>
+        private static DBCommon m_instance = new DBCommon();
+        /// <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 DBCommon 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/OracleDB/IOAccess/IOMConstructionWork.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionWork.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionWork.cs	(nonexistent)
@@ -1,400 +0,0 @@
-﻿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/IOMConstructionItemOLD.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItemOLD.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItemOLD.cs	(nonexistent)
@@ -1,378 +0,0 @@
-﻿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/IOActionScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOActionScheduleData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOActionScheduleData.cs	(revision 97)
@@ -158,7 +158,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceDailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceDailyData.cs	(revision 97)
@@ -201,7 +201,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOAttendanceData.cs	(revision 97)
@@ -208,7 +208,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfo.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfo.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfo.cs	(revision 97)
@@ -308,7 +308,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfoDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfoDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBaseInfoDetail.cs	(revision 97)
@@ -172,7 +172,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudget.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudget.cs	(revision 97)
@@ -271,7 +271,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudgetDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionBudgetDetail.cs	(revision 97)
@@ -210,7 +210,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedger.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedger.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedger.cs	(revision 97)
@@ -250,7 +250,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerDetail.cs	(revision 97)
@@ -263,7 +263,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerExcute.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLedgerExcute.cs	(revision 97)
@@ -212,7 +212,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLink.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionLink.cs	(revision 97)
@@ -176,7 +176,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionProgressDate.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionProgressDate.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOConstructionProgressDate.cs	(revision 97)
@@ -161,7 +161,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostDataOfPerson.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostDataOfPerson.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostDataOfPerson.cs	(revision 97)
@@ -218,7 +218,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostomerRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostomerRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOCostomerRegist.cs	(revision 97)
@@ -253,7 +253,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyData.cs	(revision 97)
@@ -187,7 +187,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataConstruction.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataConstruction.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataConstruction.cs	(revision 97)
@@ -181,7 +181,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataDetail.cs	(revision 97)
@@ -236,7 +236,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataField.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataField.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataField.cs	(revision 97)
@@ -197,7 +197,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataMaterials.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataMaterials.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataMaterials.cs	(revision 97)
@@ -213,7 +213,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataSubcontractors.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataSubcontractors.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataSubcontractors.cs	(revision 97)
@@ -196,7 +196,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataVehicles.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataVehicles.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IODailyDataVehicles.cs	(revision 97)
@@ -221,7 +221,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudget.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudget.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudget.cs	(revision 97)
@@ -194,7 +194,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudgetDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudgetDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateBudgetDetail.cs	(revision 97)
@@ -197,7 +197,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateData.cs	(revision 97)
@@ -181,7 +181,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataBody.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataBody.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataBody.cs	(revision 97)
@@ -182,7 +182,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOEstimateDataDetail.cs	(revision 97)
@@ -211,7 +211,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMApproval.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMApproval.cs	(revision 97)
@@ -147,7 +147,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMBusinessType.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMBusinessType.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMBusinessType.cs	(revision 97)
@@ -120,7 +120,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCategoryName.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCategoryName.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCategoryName.cs	(revision 97)
@@ -130,7 +130,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLarge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLarge.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLarge.cs	(revision 97)
@@ -165,7 +165,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLinkMS.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLinkMS.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostLinkMS.cs	(revision 97)
@@ -159,7 +159,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddle.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddle.cs	(revision 97)
@@ -168,7 +168,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddleSearchWord.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddleSearchWord.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMCommonCostMiddleSearchWord.cs	(revision 97)
@@ -160,7 +160,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponent.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponent.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponent.cs	(revision 97)
@@ -191,7 +191,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentLink.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentLink.cs	(revision 97)
@@ -159,7 +159,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentToTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentToTypeMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMComponentToTypeMaster.cs	(revision 97)
@@ -178,7 +178,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionItem.cs	(revision 97)
@@ -168,7 +168,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpec.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpec.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpec.cs	(revision 97)
@@ -173,7 +173,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpecUnitPrice.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpecUnitPrice.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionSpecUnitPrice.cs	(revision 97)
@@ -177,7 +177,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionTypeMaster.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionTypeMaster.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMConstructionTypeMaster.cs	(revision 97)
@@ -201,7 +201,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartment.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartment.cs	(revision 97)
@@ -188,7 +188,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartmentExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartmentExpenses.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDepartmentExpenses.cs	(revision 97)
@@ -216,12 +216,12 @@
                 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.ExpensesRaito.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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
@@ -282,7 +282,7 @@
                 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(",ExpensesRatio = {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')";
@@ -379,7 +379,7 @@
                 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.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());
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDivision.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDivision.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMDivision.cs	(revision 97)
@@ -166,7 +166,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMHolidayCalender.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMHolidayCalender.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMHolidayCalender.cs	(revision 97)
@@ -165,7 +165,7 @@
                     strcmd += string.Format(" ,{0}", work.TargetMonth.ToString());
                     strcmd += string.Format(" ,{0}", work.TargetDay.ToString());
 
-                    strcmd = strcmd + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMOrderers.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMOrderers.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMOrderers.cs	(revision 97)
@@ -232,7 +232,7 @@
 
                 strcmd += ") VALUES (";
 
-                strcmd += string.Format("  {0}", work.OrderCategory);
+                strcmd += string.Format("  {0}", work.OrderCotegory);
                 strcmd += string.Format(", {0}", work.OrderersCode);
                 strcmd += string.Format(", {0}", work.DisplayOrder);
                 strcmd += string.Format(", {0}", work.OrderFlg);
@@ -254,7 +254,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
@@ -285,7 +285,7 @@
 
                 strcmd += " SET";
 
-                strcmd += string.Format("  OrderCotegory = {0}", data.OrderCategory);
+                strcmd += string.Format("  OrderCotegory = {0}", data.OrderCotegory);
                 strcmd += string.Format(", OrderersCode = {0}", data.OrderersCode);
                 strcmd += string.Format(", DisplayOrder = {0}", data.DisplayOrder);
                 strcmd += string.Format(", OrderFlg = {0}", data.OrderFlg);
@@ -358,7 +358,7 @@
             try
             {
                 // データ取得
-                wrk.OrderCategory = int.Parse(objwrk[(int)OrderersColumn.OrderCotegory].ToString());
+                wrk.OrderCotegory = 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());
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonDepartment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonDepartment.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonDepartment.cs	(revision 97)
@@ -184,7 +184,7 @@
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonInCharge.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonInCharge.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonInCharge.cs	(revision 97)
@@ -246,7 +246,7 @@
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonSalary.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonSalary.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMPersonSalary.cs	(revision 97)
@@ -192,7 +192,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMProcessExcute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMProcessExcute.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMProcessExcute.cs	(revision 97)
@@ -183,7 +183,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSecurity.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSecurity.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSecurity.cs	(revision 97)
@@ -196,7 +196,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractor.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractor.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractor.cs	(revision 97)
@@ -232,7 +232,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorItem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorItem.cs	(revision 97)
@@ -163,7 +163,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobCategory.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobCategory.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobCategory.cs	(revision 97)
@@ -183,7 +183,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobItem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobItem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobItem.cs	(revision 97)
@@ -159,7 +159,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobLink.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobLink.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSubContractorJobLink.cs	(revision 97)
@@ -179,7 +179,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSuppliers.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSuppliers.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSuppliers.cs	(revision 97)
@@ -185,7 +185,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
@@ -230,7 +230,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSystem.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSystem.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMSystem.cs	(revision 97)
@@ -270,7 +270,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTerm.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTerm.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTerm.cs	(revision 97)
@@ -140,7 +140,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTypeExpenses.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTypeExpenses.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMTypeExpenses.cs	(revision 97)
@@ -193,7 +193,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMUnit.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMUnit.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMUnit.cs	(revision 97)
@@ -120,7 +120,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicle.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicle.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicle.cs	(revision 97)
@@ -177,7 +177,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicleRecordData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicleRecordData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMVehicleRecordData.cs	(revision 97)
@@ -136,7 +136,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
                 }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOMessageBoardData.cs	(revision 97)
@@ -233,7 +233,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOOrdersPriceData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOOrdersPriceData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOOrdersPriceData.cs	(revision 97)
@@ -186,7 +186,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApproval.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApproval.cs	(revision 97)
@@ -229,7 +229,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApprovalCommnet.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPersonApprovalCommnet.cs	(revision 97)
@@ -222,7 +222,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPointingOutComment.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPointingOutComment.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPointingOutComment.cs	(revision 97)
@@ -189,7 +189,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsData.cs	(revision 97)
@@ -207,7 +207,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataAttend.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataAttend.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataAttend.cs	(revision 97)
@@ -204,7 +204,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProceedingsDataDetail.cs	(revision 97)
@@ -208,7 +208,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApproval.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApproval.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApproval.cs	(revision 97)
@@ -229,7 +229,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalCommnet.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalCommnet.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalCommnet.cs	(revision 97)
@@ -220,7 +220,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOProcessApprovalDetail.cs	(revision 97)
@@ -215,7 +215,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrder.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrder.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrder.cs	(revision 97)
@@ -292,7 +292,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrderDetail.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrderDetail.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOPurchaseOrderDetail.cs	(revision 97)
@@ -222,7 +222,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSalesGraphData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSalesGraphData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSalesGraphData.cs	(revision 97)
@@ -138,7 +138,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobItemRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobItemRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobItemRegist.cs	(revision 97)
@@ -193,7 +193,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobLinkRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobLinkRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrJobLinkRegist.cs	(revision 97)
@@ -191,7 +191,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrRegist.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrRegist.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSubConstrRegist.cs	(revision 97)
@@ -257,7 +257,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSystemExecute.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSystemExecute.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOSystemExecute.cs	(revision 97)
@@ -185,7 +185,7 @@
 
             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 + ")";
+            strcmd += ")";
 
             return strcmd;
         }
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOTranceportDailyData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOTranceportDailyData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOTranceportDailyData.cs	(revision 97)
@@ -230,7 +230,7 @@
 
                 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 + ")";
+                strcmd += ")";
 
                 if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOVehicleScheduleData.cs
===================================================================
--- branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOVehicleScheduleData.cs	(revision 96)
+++ branches/ddl/DataConert/DataConert/OracleDB/IOAccess/IOVehicleScheduleData.cs	(revision 97)
@@ -161,7 +161,7 @@
 
                     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 + ")";
+                    strcmd += ")";
 
                     if (!ExecuteNonQuery(strcmd, bConnect)) return false;
 
Index: branches/ddl/DataConert/DataConert/lib/Oracle.ManagedDataAccess.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/DataConert/DataConert/lib/Oracle.ManagedDataAccess.dll
===================================================================
--- branches/ddl/DataConert/DataConert/lib/Oracle.ManagedDataAccess.dll	(nonexistent)
+++ branches/ddl/DataConert/DataConert/lib/Oracle.ManagedDataAccess.dll	(revision 97)

Property changes on: branches/ddl/DataConert/DataConert/lib/Oracle.ManagedDataAccess.dll
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/ddl/DataConert/DataConert.v12.suo
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/ddl/ProcessManagement.sql
===================================================================
--- branches/ddl/ProcessManagement.sql	(revision 96)
+++ branches/ddl/ProcessManagement.sql	(revision 97)
@@ -1439,6 +1439,7 @@
 	UnitPrice decimal(10,0) NOT NULL COMMENT '単価',
 	OrdersLinePrice decimal(12,0) COMMENT '金額',
 	SourceCode decimal(10) unsigned NOT NULL COMMENT '予算作成時工事番号',
+	SourceLineCnt decimal(3) unsigned NOT NULL COMMENT '注文書作成時台帳行番号',
 	EntryDate datetime NOT NULL COMMENT '登録日付',
 	UpdateDate datetime NOT NULL COMMENT '更新日付',
 	PRIMARY KEY (ConstructionCode, SeqNo, GroupCount, LineCount)
