예제 #1
0
        /// <summary>
        /// 创建新的 ViewBillHistory 对象。
        /// </summary>
        /// <param name="acctNum">AcctNum 属性的初始值。</param>
        /// <param name="customerID">CustomerID 属性的初始值。</param>
        /// <param name="name">Name 属性的初始值。</param>
        /// <param name="address">Address 属性的初始值。</param>
        /// <param name="location">Location 属性的初始值。</param>
        /// <param name="amount">Amount 属性的初始值。</param>
        public static ViewBillHistory CreateViewBillHistory(global::System.String acctNum, global::System.String customerID, global::System.String name, global::System.String address, global::System.String location, global::System.Decimal amount)
        {
            ViewBillHistory viewBillHistory = new ViewBillHistory();

            viewBillHistory.AcctNum    = acctNum;
            viewBillHistory.CustomerID = customerID;
            viewBillHistory.Name       = name;
            viewBillHistory.Address    = address;
            viewBillHistory.Location   = location;
            viewBillHistory.Amount     = amount;
            return(viewBillHistory);
        }
예제 #2
0
 /// <summary>
 /// 用于向 ViewBillHistory EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToViewBillHistory(ViewBillHistory viewBillHistory)
 {
     base.AddObject("ViewBillHistory", viewBillHistory);
 }
예제 #3
0
 /// <summary>
 /// 创建新的 ViewBillHistory 对象。
 /// </summary>
 /// <param name="acctNum">AcctNum 属性的初始值。</param>
 /// <param name="customerID">CustomerID 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="totalDue">TotalDue 属性的初始值。</param>
 /// <param name="address">Address 属性的初始值。</param>
 /// <param name="location">Location 属性的初始值。</param>
 /// <param name="expr1">Expr1 属性的初始值。</param>
 public static ViewBillHistory CreateViewBillHistory(global::System.String acctNum, global::System.String customerID, global::System.String name, global::System.Decimal totalDue, global::System.String address, global::System.String location, global::System.Decimal expr1)
 {
     ViewBillHistory viewBillHistory = new ViewBillHistory();
     viewBillHistory.AcctNum = acctNum;
     viewBillHistory.CustomerID = customerID;
     viewBillHistory.Name = name;
     viewBillHistory.TotalDue = totalDue;
     viewBillHistory.Address = address;
     viewBillHistory.Location = location;
     viewBillHistory.Expr1 = expr1;
     return viewBillHistory;
 }
예제 #4
0
 /// <summary>
 /// 创建新的 ViewBillHistory 对象。
 /// </summary>
 /// <param name="acctNum">AcctNum 属性的初始值。</param>
 /// <param name="customerID">CustomerID 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="address">Address 属性的初始值。</param>
 /// <param name="location">Location 属性的初始值。</param>
 /// <param name="amount">Amount 属性的初始值。</param>
 public static ViewBillHistory CreateViewBillHistory(global::System.String acctNum, global::System.String customerID, global::System.String name, global::System.String address, global::System.String location, global::System.Decimal amount)
 {
     ViewBillHistory viewBillHistory = new ViewBillHistory();
     viewBillHistory.AcctNum = acctNum;
     viewBillHistory.CustomerID = customerID;
     viewBillHistory.Name = name;
     viewBillHistory.Address = address;
     viewBillHistory.Location = location;
     viewBillHistory.Amount = amount;
     return viewBillHistory;
 }
예제 #5
0
 /// <summary>
 /// 用于向 ViewBillHistory EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToViewBillHistory(ViewBillHistory viewBillHistory)
 {
     base.AddObject("ViewBillHistory", viewBillHistory);
 }