/// <summary> /// 创建新的 tblCustomer 对象。 /// </summary> /// <param name="acctNum">AcctNum 属性的初始值。</param> /// <param name="customerID">CustomerID 属性的初始值。</param> /// <param name="statDt">StatDt 属性的初始值。</param> /// <param name="lastName">LastName 属性的初始值。</param> /// <param name="firstName">FirstName 属性的初始值。</param> /// <param name="companyID">CompanyID 属性的初始值。</param> /// <param name="customerStateID">CustomerStateID 属性的初始值。</param> /// <param name="emailBill">EmailBill 属性的初始值。</param> /// <param name="emailPast">EmailPast 属性的初始值。</param> /// <param name="emailRemin">EmailRemin 属性的初始值。</param> public static tblCustomer CreatetblCustomer(global::System.String acctNum, global::System.String customerID, global::System.DateTime statDt, global::System.String lastName, global::System.String firstName, global::System.String companyID, global::System.String customerStateID, global::System.Int16 emailBill, global::System.Int16 emailPast, global::System.Int16 emailRemin) { tblCustomer tblCustomer = new tblCustomer(); tblCustomer.AcctNum = acctNum; tblCustomer.CustomerID = customerID; tblCustomer.StatDt = statDt; tblCustomer.LastName = lastName; tblCustomer.FirstName = firstName; tblCustomer.CompanyID = companyID; tblCustomer.CustomerStateID = customerStateID; tblCustomer.EmailBill = emailBill; tblCustomer.EmailPast = emailPast; tblCustomer.EmailRemin = emailRemin; return tblCustomer; }
/// <summary> /// 用于向 tblCustomer EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTotblCustomer(tblCustomer tblCustomer) { base.AddObject("tblCustomer", tblCustomer); }