/// <summary> /// Deprecated Method for adding a new object to the ContactRequests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContactRequests(ContactRequest contactRequest) { base.AddObject("ContactRequests", contactRequest); }
/// <summary> /// Create a new ContactRequest object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="subject">Initial value of the Subject property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="category">Initial value of the Category property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="eventId">Initial value of the EventId property.</param> /// <param name="status">Initial value of the Status property.</param> public static ContactRequest CreateContactRequest(global::System.Int32 id, global::System.String name, global::System.String subject, global::System.String description, global::System.String category, global::System.String email, global::System.Int32 eventId, global::System.String status) { ContactRequest contactRequest = new ContactRequest(); contactRequest.Id = id; contactRequest.Name = name; contactRequest.Subject = subject; contactRequest.Description = description; contactRequest.Category = category; contactRequest.Email = email; contactRequest.EventId = eventId; contactRequest.Status = status; return contactRequest; }