/// <summary>
 /// 用于向 Users EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToUsers(Users users)
 {
     base.AddObject("Users", users);
 }
 /// <summary>
 /// 创建新的 Users 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="loginId">LoginId 属性的初始值。</param>
 /// <param name="loginPwd">LoginPwd 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="address">Address 属性的初始值。</param>
 /// <param name="phone">Phone 属性的初始值。</param>
 /// <param name="mail">Mail 属性的初始值。</param>
 /// <param name="userStateId">UserStateId 属性的初始值。</param>
 /// <param name="actived">Actived 属性的初始值。</param>
 public static Users CreateUsers(global::System.Int32 id, global::System.String loginId, global::System.String loginPwd, global::System.String name, global::System.String address, global::System.String phone, global::System.String mail, global::System.Int32 userStateId, global::System.Boolean actived)
 {
     Users users = new Users();
     users.Id = id;
     users.LoginId = loginId;
     users.LoginPwd = loginPwd;
     users.Name = name;
     users.Address = address;
     users.Phone = phone;
     users.Mail = mail;
     users.UserStateId = userStateId;
     users.Actived = actived;
     return users;
 }