Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Bill object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="userId">Initial value of the userId property.</param>
 /// <param name="isRefunded">Initial value of the isRefunded property.</param>
 /// <param name="amount">Initial value of the amount property.</param>
 /// <param name="creation">Initial value of the creation property.</param>
 public static Bill CreateBill(global::System.Int64 id, global::System.Int64 userId, global::System.Boolean isRefunded, global::System.Double amount, global::System.DateTime creation)
 {
     Bill bill = new Bill();
     bill.id = id;
     bill.userId = userId;
     bill.isRefunded = isRefunded;
     bill.amount = amount;
     bill.creation = creation;
     return bill;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Bill EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBill(Bill bill)
 {
     base.AddObject("Bill", bill);
 }