/// <summary> /// Initializes a new instance of the <see cref="DbValidation"/> class with the specified schema and database executor /// </summary> /// <param name="schema">Schema to use for validation</param> /// <param name="executor">Object for executing SQL commands</param> public DbValidation(string schema, DbExecutor executor) { this.Schema = schema; this.executor = executor; }
/// <summary> /// Initializes a new instance of the <see cref="DbValidation"/> class with the specified schema and data source name /// </summary> /// <param name="schema">Schema to use for validation</param> /// <param name="dsn">Database connection string</param> public DbValidation(string schema, string dsn) { this.Schema = schema; this.executor = new DbExecutor(dsn); }