C# Класс Dibware.StoredProcedureFramework.Validators.SqlParameterDecimalValueValidator

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

SqlParameterDecimalValueValidator() публичный Метод

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.
Результат System

Validate() публичный Метод

Determines whether the specified decimal value is valid for the specifed SqlParameter and throws an exception if not.
public Validate ( ) : void
Результат void