Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LineItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLineItems(LineItem lineItem)
 {
     base.AddObject("LineItems", lineItem);
 }
Пример #2
0
 /// <summary>
 /// Create a new LineItem object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="invoiceId">Initial value of the InvoiceId property.</param>
 public static LineItem CreateLineItem(global::System.Guid id, global::System.Guid invoiceId)
 {
     LineItem lineItem = new LineItem();
     lineItem.Id = id;
     lineItem.InvoiceId = invoiceId;
     return lineItem;
 }