public Procedure(Schema schema, string name, string definition) { this.schema = schema; this.name = name; this.lowercaseName = name.ToLowerInvariant(); this.definition = definition; }
public Table(Schema schema, string name) { this.schema = schema; this.name = name; this.lowercaseName = name.ToLowerInvariant(); this.columnByLowercaseColumnName = new Dictionary<string, TableColumn>(); }
public View(Schema schema, string name, string definition) { this.schema = schema; this.name = name; this.definition = definition; this.lowercaseName = name.ToLowerInvariant(); this.tables = new HashSet<Table>(); }
public Validation(Database database) { this.database = database; this.schema = new Schema(database); this.MissingTableNames = new HashSet<string>(); this.MissingColumnNamesByTable = new Dictionary<Table, HashSet<string>>(); this.InvalidTables = new HashSet<Table>(); this.InvalidColumns = new HashSet<TableColumn>(); this.Validate(); this.success = this.MissingTableNames.Count == 0 & this.MissingColumnNamesByTable.Count == 0 & this.InvalidTables.Count == 0 & this.InvalidColumns.Count == 0; }
public Index(Schema schema, string name) { this.schema = schema; this.name = name; this.lowercaseName = name.ToLowerInvariant(); }
internal Initialization(Mapping mapping, Schema schema, bool useViews) { this.mapping = mapping; this.schema = schema; this.useViews = useViews; }