コード例 #1
0
 /// <summary>
 /// Create a new Bill object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 public static Bill CreateBill(global::System.Int32 id, global::System.Int32 orderId)
 {
     Bill bill = new Bill();
     bill.Id = id;
     bill.OrderId = orderId;
     return bill;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Bills EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBills(Bill bill)
 {
     base.AddObject("Bills", bill);
 }