public static MaintenanceRenewalItemDAL Insert(
     Guid renewalId,
     string title,
     string description,
     bool ignored,
     string url,
     DateTime?acknowledgedAt,
     string acknowledgedBy,
     string productTag,
     DateTime dateReleased,
     string newVersion)
 {
     using (SqlConnection connection = DatabaseFunctions.CreateConnection())
     {
         using (SqlTransaction tr = connection.BeginTransaction())
         {
             try
             {
                 MaintenanceRenewalItemDAL maintenanceRenewalItemDal = MaintenanceRenewalItemDAL.Insert(connection, tr, renewalId, title, description, ignored, url, acknowledgedAt, acknowledgedBy, productTag, dateReleased, newVersion);
                 tr.Commit();
                 return(maintenanceRenewalItemDal);
             }
             catch (Exception ex)
             {
                 tr.Rollback();
                 NotificationItemDAL.log.Error((object)(string.Format("Can't INSERT maintenance renewal item: ") + ex.ToString()));
                 throw;
             }
         }
     }
 }
        // Token: 0x060008C9 RID: 2249 RVA: 0x0003F400 File Offset: 0x0003D600
        public static MaintenanceRenewalItemDAL Insert(Guid renewalId, string title, string description, bool ignored, string url, DateTime?acknowledgedAt, string acknowledgedBy, string productTag, DateTime dateReleased, string newVersion)
        {
            MaintenanceRenewalItemDAL result;

            using (SqlConnection sqlConnection = DatabaseFunctions.CreateConnection())
            {
                using (SqlTransaction sqlTransaction = sqlConnection.BeginTransaction())
                {
                    try
                    {
                        MaintenanceRenewalItemDAL maintenanceRenewalItemDAL = MaintenanceRenewalItemDAL.Insert(sqlConnection, sqlTransaction, renewalId, title, description, ignored, url, acknowledgedAt, acknowledgedBy, productTag, dateReleased, newVersion);
                        sqlTransaction.Commit();
                        result = maintenanceRenewalItemDAL;
                    }
                    catch (Exception ex)
                    {
                        sqlTransaction.Rollback();
                        NotificationItemDAL.log.Error(string.Format("Can't INSERT maintenance renewal item: ", Array.Empty <object>()) + ex.ToString());
                        throw;
                    }
                }
            }
            return(result);
        }