/// <summary> /// Deprecated Method for adding a new object to the ContactUs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContactUs(ContactUs contactUs) { base.AddObject("ContactUs", contactUs); }
/// <summary> /// Create a new ContactUs object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="inquiryType">Initial value of the InquiryType property.</param> /// <param name="inquiry">Initial value of the Inquiry property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> public static ContactUs CreateContactUs(global::System.Int32 id, global::System.String inquiryType, global::System.String inquiry, global::System.String email, global::System.DateTime dateTimeStamp) { ContactUs contactUs = new ContactUs(); contactUs.Id = id; contactUs.InquiryType = inquiryType; contactUs.Inquiry = inquiry; contactUs.Email = email; contactUs.DateTimeStamp = dateTimeStamp; return contactUs; }