/// <summary> /// Create a new ContactFormMessage object. /// </summary> /// <param name="rowGuid">Initial value of the RowGuid property.</param> /// <param name="siteGuid">Initial value of the SiteGuid property.</param> /// <param name="moduleGuid">Initial value of the ModuleGuid property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="url">Initial value of the Url property.</param> /// <param name="subject">Initial value of the Subject property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="createdUtc">Initial value of the CreatedUtc property.</param> /// <param name="createdFromIpAddress">Initial value of the CreatedFromIpAddress property.</param> /// <param name="userGuid">Initial value of the UserGuid property.</param> public static ContactFormMessage CreateContactFormMessage(global::System.Guid rowGuid, global::System.Guid siteGuid, global::System.Guid moduleGuid, global::System.String email, global::System.String url, global::System.String subject, global::System.String message, global::System.DateTime createdUtc, global::System.String createdFromIpAddress, global::System.Guid userGuid) { ContactFormMessage contactFormMessage = new ContactFormMessage(); contactFormMessage.RowGuid = rowGuid; contactFormMessage.SiteGuid = siteGuid; contactFormMessage.ModuleGuid = moduleGuid; contactFormMessage.Email = email; contactFormMessage.Url = url; contactFormMessage.Subject = subject; contactFormMessage.Message = message; contactFormMessage.CreatedUtc = createdUtc; contactFormMessage.CreatedFromIpAddress = createdFromIpAddress; contactFormMessage.UserGuid = userGuid; return contactFormMessage; }
/// <summary> /// Deprecated Method for adding a new object to the ContactFormMessages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContactFormMessages(ContactFormMessage contactFormMessage) { base.AddObject("ContactFormMessages", contactFormMessage); }