/// <summary> /// Deprecated Method for adding a new object to the LoginCredentials EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLoginCredentials(LoginCredential loginCredential) { base.AddObject("LoginCredentials", loginCredential); }
/// <summary> /// Create a new LoginCredential object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="passwordQuestion">Initial value of the PasswordQuestion property.</param> /// <param name="passwordAnswer">Initial value of the PasswordAnswer property.</param> /// <param name="userName">Initial value of the UserName property.</param> public static LoginCredential CreateLoginCredential(global::System.Int32 id, global::System.String password, global::System.String passwordQuestion, global::System.String passwordAnswer, global::System.String userName) { LoginCredential loginCredential = new LoginCredential(); loginCredential.Id = id; loginCredential.Password = password; loginCredential.PasswordQuestion = passwordQuestion; loginCredential.PasswordAnswer = passwordAnswer; loginCredential.UserName = userName; return loginCredential; }