C# Class Rebel.Framework.Persistence.NHibernate.OrmConfig.SchemaChangeValidator

Performs tailored checking of database schema, for example when schema changes are introduced between versions of this provider
Based on the code of SchemaValidator in the NHibernate 3.1 codebase
Mostrar archivo Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
SchemaChangeValidator ( Configuration cfg ) : System
SchemaChangeValidator ( Configuration cfg, string>.IDictionary connectionProperties ) : System
Validate ( ) : ValidationResult
ValidateSchema ( Dialect dialect, DatabaseMetadata databaseMetadata ) : ValidationResult

Method Details

SchemaChangeValidator() public method

public SchemaChangeValidator ( Configuration cfg ) : System
cfg Configuration
return System

SchemaChangeValidator() public method

public SchemaChangeValidator ( Configuration cfg, string>.IDictionary connectionProperties ) : System
cfg Configuration
connectionProperties string>.IDictionary
return System

Validate() public method

public Validate ( ) : ValidationResult
return ValidationResult

ValidateSchema() public method

public ValidateSchema ( Dialect dialect, DatabaseMetadata databaseMetadata ) : ValidationResult
dialect Dialect
databaseMetadata DatabaseMetadata
return ValidationResult