/// <summary> /// Create a new User object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="commonName">Initial value of the CommonName property.</param> /// <param name="mobtel">Initial value of the Mobtel property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="loginName">Initial value of the LoginName property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="canBeDeleted">Initial value of the CanBeDeleted property.</param> public static User CreateUser(global::System.Int64 id, global::System.String commonName, global::System.String mobtel, global::System.String email, global::System.String loginName, global::System.String password, global::System.Boolean canBeDeleted) { User user = new User(); user.Id = id; user.CommonName = commonName; user.Mobtel = mobtel; user.Email = email; user.LoginName = loginName; user.Password = password; user.CanBeDeleted = canBeDeleted; return user; }
/// <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(User user) { base.AddObject("Users", user); }