public SchemaTable(Schema schema, string name) { this.schema = schema; this.name = name; this.columnByLowercaseColumnName = new Dictionary<string, SchemaTableColumn>(); }
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; }
public SchemaProcedure(Schema schema, string name, string definition) { this.name = name; this.definition = definition; }