/// <summary> /// Deprecated Method for adding a new object to the PasswordResets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPasswordResets(PasswordReset passwordReset) { base.AddObject("PasswordResets", passwordReset); }
/// <summary> /// Create a new PasswordReset object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="newPassword">Initial value of the NewPassword property.</param> /// <param name="expiryDate">Initial value of the ExpiryDate property.</param> public static PasswordReset CreatePasswordReset(global::System.Guid id, global::System.String newPassword, global::System.DateTime expiryDate) { PasswordReset passwordReset = new PasswordReset(); passwordReset.Id = id; passwordReset.NewPassword = newPassword; passwordReset.ExpiryDate = expiryDate; return passwordReset; }