コード例 #1
0
 /// <summary>
 /// Create a new invoice object.
 /// </summary>
 /// <param name="invoice_id">Initial value of the invoice_id property.</param>
 public static invoice Createinvoice(global::System.Int32 invoice_id)
 {
     invoice invoice = new invoice();
     invoice.invoice_id = invoice_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);
 }