Пример #1
0
            public override DataTable Clone()
            {
                SwitcherViewTableDataTable cln = ((SwitcherViewTableDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
Пример #2
0
 private void InitClass()
 {
     this.DataSetName              = "SwitcherDS";
     this.Prefix                   = "";
     this.Namespace                = "http://www.tempuri.org/SwitcherDS.xsd";
     this.Locale                   = new System.Globalization.CultureInfo("en-US");
     this.CaseSensitive            = false;
     this.EnforceConstraints       = true;
     this.tableSwitcherDetailTable = new SwitcherDetailTableDataTable();
     this.Tables.Add(this.tableSwitcherDetailTable);
     this.tableSwitcherViewTable = new SwitcherViewTableDataTable();
     this.Tables.Add(this.tableSwitcherViewTable);
 }
Пример #3
0
 internal void InitVars()
 {
     this.tableSwitcherDetailTable = ((SwitcherDetailTableDataTable)(this.Tables["SwitcherDetailTable"]));
     if ((this.tableSwitcherDetailTable != null))
     {
         this.tableSwitcherDetailTable.InitVars();
     }
     this.tableSwitcherViewTable = ((SwitcherViewTableDataTable)(this.Tables["SwitcherViewTable"]));
     if ((this.tableSwitcherViewTable != null))
     {
         this.tableSwitcherViewTable.InitVars();
     }
 }
Пример #4
0
 internal SwitcherViewTableRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableSwitcherViewTable = ((SwitcherViewTableDataTable)(this.Table));
 }