コード例 #1
0
        public int Insert(InsertClip insertClip)
        {
            List <DbParameter> parameters = new List <DbParameter>();
            string             sqlInsert  = "";

            insertClip.GetParameterString(excuteImport, ref sqlInsert, ref parameters);
            sqlInsert = "INSERT " + TableName + insertClip;
            return(excuteImport.ExcuteNotQuery(sqlInsert, parameters));
        }
コード例 #2
0
        public int Insert(InsertClip insertClip, DBtransaction dbtran)
        {
            List <DbParameter> parameters = new List <DbParameter>();
            string             sqlInsert  = "";

            insertClip.GetParameterString(excuteImport, ref sqlInsert, ref parameters);
            string sqlStr = "INSERT " + TableName + sqlInsert;

            return(excuteImport.ExcuteNotQuery(sqlStr, parameters, dbtran));
        }