/// <summary> /// Create a new Users object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="role">Initial value of the Role property.</param> public static Users CreateUsers(global::System.Int32 userId, global::System.String userName, global::System.String password, global::System.String role) { Users users = new Users(); users.UserId = userId; users.UserName = userName; users.Password = password; users.Role = role; return users; }
/// <summary> /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsers(Users users) { base.AddObject("Users", users); }