예제 #1
0
        public static bool UpdateTableField(
            string connectionString,
            string tableName,
            string keyFieldName,
            string keyFieldValue,
            string dataFieldName,
            string dataFieldValue,
            string additionalWhere
            )
        {
            if (dataFieldName is null)
            {
                throw new ArgumentNullException(nameof(dataFieldName));
            }

            return(DBPortal.DatabaseHelperUpdateTableField(
                       connectionString,
                       tableName,
                       keyFieldName,
                       keyFieldValue,
                       dataFieldName,
                       dataFieldValue,
                       additionalWhere
                       ));
        }
예제 #2
0
 public static bool UpdateTableField(
     String tableName,
     String keyFieldName,
     String keyFieldValue,
     String dataFieldName,
     String dataFieldValue,
     String additionalWhere)
 {
     return(DBPortal.DatabaseHelperUpdateTableField(
                tableName,
                keyFieldName,
                keyFieldValue,
                dataFieldName,
                dataFieldValue,
                additionalWhere));
 }