Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Inquiries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInquiries(Inquiry inquiry)
 {
     base.AddObject("Inquiries", inquiry);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Inquiry object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="customerId">Initial value of the CustomerId property.</param>
 /// <param name="subject">Initial value of the Subject property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 /// <param name="createdAt">Initial value of the CreatedAt property.</param>
 public static Inquiry CreateInquiry(global::System.Int32 id, global::System.Int32 customerId, global::System.String subject, global::System.String body, global::System.DateTime createdAt)
 {
     Inquiry inquiry = new Inquiry();
     inquiry.Id = id;
     inquiry.CustomerId = customerId;
     inquiry.Subject = subject;
     inquiry.Body = body;
     inquiry.CreatedAt = createdAt;
     return inquiry;
 }