コード例 #1
0
 /// <summary>
 /// Create a new Invoice object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Invoice CreateInvoice(global::System.String id)
 {
     Invoice invoice = new Invoice();
     invoice.ID = id;
     return invoice;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Invoices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvoices(Invoice invoice)
 {
     base.AddObject("Invoices", invoice);
 }