public override global::System.Data.DataTable Clone() { DemoTableDataTable cln = ((DemoTableDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "DemoData"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DemoData.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableDemoTable = new DemoTableDataTable(); base.Tables.Add(this.tableDemoTable); }
internal void InitVars(bool initTable) { this.tableDemoTable = ((DemoTableDataTable)(base.Tables["DemoTable"])); if ((initTable == true)) { if ((this.tableDemoTable != null)) { this.tableDemoTable.InitVars(); } } }
internal DemoTableRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDemoTable = ((DemoTableDataTable)(this.Table)); }