C# Class Dibware.StoredProcedureFramework.Validators.SqlParameterStringValueValidator

Datei anzeigen Open project: dibley1973/StoredProcedureFramework

Public Methods

Method Description
SqlParameterStringValueValidator ( SqlParameter sqlParameter, string value ) : System
Validate ( ) : void

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

Method Details

SqlParameterStringValueValidator() public method

public SqlParameterStringValueValidator ( SqlParameter sqlParameter, string value ) : System
sqlParameter System.Data.SqlClient.SqlParameter
value string
return System

Validate() public method

Determines whether the specific string value is valid for the specifed SqlParameter and throws an exception if not.
public Validate ( ) : void
return void