Ejemplo n.º 1
0
 /// <summary>
 /// 创建新的 tblBillHistory 对象。
 /// </summary>
 /// <param name="amount">Amount 属性的初始值。</param>
 /// <param name="billHistoryID">BillHistoryID 属性的初始值。</param>
 /// <param name="customerID">CustomerID 属性的初始值。</param>
 /// <param name="sEQ">SEQ 属性的初始值。</param>
 public static tblBillHistory CreatetblBillHistory(global::System.Decimal amount, global::System.String billHistoryID, global::System.String customerID, global::System.Int32 sEQ)
 {
     tblBillHistory tblBillHistory = new tblBillHistory();
     tblBillHistory.Amount = amount;
     tblBillHistory.BillHistoryID = billHistoryID;
     tblBillHistory.CustomerID = customerID;
     tblBillHistory.SEQ = sEQ;
     return tblBillHistory;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 用于向 tblBillHistory EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTotblBillHistory(tblBillHistory tblBillHistory)
 {
     base.AddObject("tblBillHistory", tblBillHistory);
 }