/// <summary>
 /// Create a new BillLine object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="billId">Initial value of the BillId property.</param>
 /// <param name="orderItemId">Initial value of the OrderItemId property.</param>
 public static BillLine CreateBillLine(global::System.Int32 id, global::System.Double amount, global::System.Int32 billId, global::System.Int32 orderItemId)
 {
     BillLine billLine = new BillLine();
     billLine.Id = id;
     billLine.Amount = amount;
     billLine.BillId = billId;
     billLine.OrderItemId = orderItemId;
     return billLine;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the BillLines EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBillLines(BillLine billLine)
 {
     base.AddObject("BillLines", billLine);
 }