/// <summary>
 /// 创建新的 User 对象。
 /// </summary>
 /// <param name="uID">UID 属性的初始值。</param>
 /// <param name="loginName">LoginName 属性的初始值。</param>
 /// <param name="password">Password 属性的初始值。</param>
 /// <param name="realName">RealName 属性的初始值。</param>
 /// <param name="updateTime">UpdateTime 属性的初始值。</param>
 /// <param name="createTime">CreateTime 属性的初始值。</param>
 /// <param name="operator">Operator 属性的初始值。</param>
 /// <param name="feeDiscountType">FeeDiscountType 属性的初始值。</param>
 /// <param name="feeDiscountRate">FeeDiscountRate 属性的初始值。</param>
 /// <param name="weightDiscountType">WeightDiscountType 属性的初始值。</param>
 /// <param name="weightDiscountRate">WeightDiscountRate 属性的初始值。</param>
 /// <param name="settleType">SettleType 属性的初始值。</param>
 /// <param name="weightCalType">WeightCalType 属性的初始值。</param>
 /// <param name="status">Status 属性的初始值。</param>
 public static User CreateUser(global::System.Guid uID, global::System.String loginName, global::System.String password, global::System.String realName, global::System.DateTime updateTime, global::System.DateTime createTime, global::System.String @operator, global::System.Int32 feeDiscountType, global::System.Decimal feeDiscountRate, global::System.Int32 weightDiscountType, global::System.Decimal weightDiscountRate, global::System.Int32 settleType, global::System.Int32 weightCalType, global::System.Int32 status)
 {
     User user = new User();
     user.UID = uID;
     user.LoginName = loginName;
     user.Password = password;
     user.RealName = realName;
     user.UpdateTime = updateTime;
     user.CreateTime = createTime;
     user.Operator = @operator;
     user.FeeDiscountType = feeDiscountType;
     user.FeeDiscountRate = feeDiscountRate;
     user.WeightDiscountType = weightDiscountType;
     user.WeightDiscountRate = weightDiscountRate;
     user.SettleType = settleType;
     user.WeightCalType = weightCalType;
     user.Status = status;
     return user;
 }
 /// <summary>
 /// 用于向 User EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToUser(User user)
 {
     base.AddObject("User", user);
 }