public Validation(Database database) { this.database = database; this.mapping = database.Mapping; this.schema = new Schema(database); this.MissingTableNames = new HashSet<string>(); this.InvalidTables = new HashSet<SchemaTable>(); this.MissingTableTypeNames = new HashSet<string>(); this.InvalidTableTypes = new HashSet<SchemaTableType>(); this.MissingProcedureNames = new HashSet<string>(); this.InvalidProcedures = new HashSet<SchemaProcedure>(); this.Validate(); this.isValid = this.MissingTableNames.Count == 0 & this.InvalidTables.Count == 0 & this.MissingTableTypeNames.Count == 0 & this.InvalidTableTypes.Count == 0 & this.MissingProcedureNames.Count == 0 & this.InvalidProcedures.Count == 0; }
private void ResetSchema() { this.mapping = null; }
internal Initialization(Database database) { this.database = database; this.mapping = database.Mapping; }