Beispiel #1
0
        public static void UpdateContent(int logID, string json, string server)
        {
            json = json.Substring(0, json.Length > 4000 ? 4000 : json.Length).Replace("'", "''");
            string sql = String.Format(@"Update abs.dbo.RateShoppingConfigLog set content='{0}' WHERE logID={1}", json, logID);

            DataAccessHelper.AnyExecuteNoResult(sql, server);
        }