internal View(Schema schema, string name, SqlNative definition, CheckOptions checkOptions) : base(schema, name) { columns = new PairedNodeCollection <View, ViewColumn>(this, "ViewColumns"); this.definition = definition; this.checkOptions = checkOptions; }
internal Domain(Schema schema, string name, SqlValueType dataType, SqlExpression defaultValue) : base(schema, name) { this.dataType = dataType; this.defaultValue = defaultValue; constraints = new PairedNodeCollection <Domain, DomainConstraint>(this, "DomainConstraints"); }
internal Table(Schema schema, string name) : base(schema, name) { columns = new PairedNodeCollection <Table, TableColumn>(this, "TableColumns"); constraints = new PairedNodeCollection <Table, TableConstraint>(this, "TableConstraints"); }
// Constructors internal Schema(Catalog catalog, string name) : base(catalog, name) { Tables = new PairedNodeCollection <Schema, Table>(this, "Tables"); Views = new PairedNodeCollection <Schema, View>(this, "Views"); Assertions = new PairedNodeCollection <Schema, Assertion>(this, "Assertions"); CharacterSets = new PairedNodeCollection <Schema, CharacterSet>(this, "CharacterSets"); Collations = new PairedNodeCollection <Schema, Collation>(this, "Collations"); Translations = new PairedNodeCollection <Schema, Translation>(this, "Translations"); Domains = new PairedNodeCollection <Schema, Domain>(this, "Domains"); Sequences = new PairedNodeCollection <Schema, Sequence>(this, "Sequences"); }
/// <summary> /// Initializes a new instance of the <see cref="DataTable"/> class. /// </summary> /// <param name="schema">The schema.</param> /// <param name="name">The name.</param> protected DataTable(Schema schema, string name) : base(schema, name) { indexes = new PairedNodeCollection <DataTable, Index>(this, "Indexes"); }
private PartitionDescriptor(IPartitionable owner, TableColumn column) { this.owner = owner; Column = column; partitions = new PairedNodeCollection <PartitionDescriptor, Partition>(this, "Partitions"); }
internal View(Schema schema, string name) : base(schema, name) { columns = new PairedNodeCollection <View, ViewColumn>(this, "ViewColumns"); }
internal Index(DataTable dataTable, string name) : base(dataTable, name) { nonkeyColumns = new NodeCollection <DataTableColumn>(); columns = new PairedNodeCollection <Index, IndexColumn>(this, "Columns"); }
// Constructors public Catalog(string name) : base(name) { schemas = new PairedNodeCollection <Catalog, Schema>(this, "Schemas", 1); }