C# 클래스 Dibware.StoredProcedureFramework.Validators.SqlParameterDecimalValueValidator

파일 보기 프로젝트 열기: dibley1973/StoredProcedureFramework

공개 메소드들

메소드 설명
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