コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PasswordResets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPasswordResets(PasswordReset passwordReset)
 {
     base.AddObject("PasswordResets", passwordReset);
 }
コード例 #2
0
 /// <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;
 }