/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Bill EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBill(Bill bill) { base.AddObject("Bill", bill); }