/// <summary>   Validate the specified instance asynchronously. </summary>
 /// <param name="instance">     The instance to validate. </param>
 /// <param name="cancellation"> The cancellation. </param>
 /// <returns>   A ValidationResult object containing any validation failures. </returns>
 public Task <ValidationResult> ValidateAsync(IDatevRow instance,
                                              CancellationToken cancellation = new CancellationToken())
 {
     return(base.ValidateAsync(instance as AddressRow, cancellation));
 }
Exemplo n.º 2
0
 /// <summary>   Validates the specified instance. </summary>
 ///
 /// <param name="instance"> The instance to validate. </param>
 ///
 /// <returns>   A ValidationResult object containing any validation failures. </returns>
 public ValidationResult Validate(IDatevRow instance)
 {
     return(base.Validate(instance as BookingRow));
 }
 /// <summary>   Validates the specified instance. </summary>
 /// <param name="instance"> The instance to validate. </param>
 /// <returns>   A ValidationResult object containing any validation failures. </returns>
 public ValidationResult Validate(IDatevRow instance)
 {
     return(base.Validate(instance as AddressRow));
 }
 /// <summary>   Validates the specified instance. </summary>
 /// <param name="instance"> The instance to validate. </param>
 /// <returns>   A ValidationResult object containing any validation failures. </returns>
 public ValidationResult Validate(IDatevRow instance)
 {
     return(base.Validate(instance as TermsOfPaymentRow));
 }