/// <summary> /// 创建新的 View_CustomerInformation 对象。 /// </summary> /// <param name="acctNum">AcctNum 属性的初始值。</param> /// <param name="customerID">CustomerID 属性的初始值。</param> /// <param name="firstName">FirstName 属性的初始值。</param> /// <param name="lastName">LastName 属性的初始值。</param> public static View_CustomerInformation CreateView_CustomerInformation(global::System.String acctNum, global::System.String customerID, global::System.String firstName, global::System.String lastName) { View_CustomerInformation view_CustomerInformation = new View_CustomerInformation(); view_CustomerInformation.AcctNum = acctNum; view_CustomerInformation.CustomerID = customerID; view_CustomerInformation.FirstName = firstName; view_CustomerInformation.LastName = lastName; return(view_CustomerInformation); }
/// <summary> /// 用于向 View_CustomerInformation EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToView_CustomerInformation(View_CustomerInformation view_CustomerInformation) { base.AddObject("View_CustomerInformation", view_CustomerInformation); }
/// <summary> /// 创建新的 View_CustomerInformation 对象。 /// </summary> /// <param name="acctNum">AcctNum 属性的初始值。</param> /// <param name="customerID">CustomerID 属性的初始值。</param> /// <param name="firstName">FirstName 属性的初始值。</param> /// <param name="lastName">LastName 属性的初始值。</param> public static View_CustomerInformation CreateView_CustomerInformation(global::System.String acctNum, global::System.String customerID, global::System.String firstName, global::System.String lastName) { View_CustomerInformation view_CustomerInformation = new View_CustomerInformation(); view_CustomerInformation.AcctNum = acctNum; view_CustomerInformation.CustomerID = customerID; view_CustomerInformation.FirstName = firstName; view_CustomerInformation.LastName = lastName; return view_CustomerInformation; }