private void InitClass() { this.DataSetName = "AdventureWorks"; this.Prefix = ""; this.Namespace = "http://tempuri.org/AdventureWorks.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableTopStore = new TopStoreDataTable(); base.Tables.Add(this.tableTopStore); this.tableTopModel = new TopModelDataTable(); base.Tables.Add(this.tableTopModel); }
internal TopModelRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableTopModel = ((TopModelDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableTopStore = ((TopStoreDataTable)(base.Tables["TopStore"])); if ((initTable == true)) { if ((this.tableTopStore != null)) { this.tableTopStore.InitVars(); } } this.tableTopModel = ((TopModelDataTable)(base.Tables["TopModel"])); if ((initTable == true)) { if ((this.tableTopModel != null)) { this.tableTopModel.InitVars(); } } }