C# Class Dibware.StoredProcedureFramework.Validators.SqlParameterDecimalValueValidator

Afficher le fichier Open project: dibley1973/StoredProcedureFramework

Méthodes publiques

Méthode Description
SqlParameterDecimalValueValidator ( SqlParameter sqlParameter, decimal value ) : System

Initializes a new instance of the SqlParameterDecimalValueValidator class using the SqlParameter to validate against and the value to validat.

Validate ( ) : void

Determines whether the specified decimal value is valid for the specifed SqlParameter and throws an exception if not.

Method Details

SqlParameterDecimalValueValidator() public méthode

Initializes a new instance of the SqlParameterDecimalValueValidator class using the SqlParameter to validate against and the value to validat.
public SqlParameterDecimalValueValidator ( SqlParameter sqlParameter, decimal value ) : System
sqlParameter System.Data.SqlClient.SqlParameter /// The Sql Parameter to validate against. ///
value decimal The value to validate.
Résultat System

Validate() public méthode

Determines whether the specified decimal value is valid for the specifed SqlParameter and throws an exception if not.
public Validate ( ) : void
Résultat void