예제 #1
0
            public override DataTable Clone()
            {
                SortProfileTerminalTableDataTable cln = ((SortProfileTerminalTableDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
예제 #2
0
        private void InitClass()
        {
            this.DataSetName           = "SortProfileDS";
            this.Prefix                = "";
            this.Namespace             = "http://www.tempuri.org/SortProfileDS.xsd";
            this.Locale                = new System.Globalization.CultureInfo("en-US");
            this.CaseSensitive         = false;
            this.EnforceConstraints    = true;
            this.tableSortProfileTable = new SortProfileTableDataTable();
            this.Tables.Add(this.tableSortProfileTable);
            this.tableSortProfileTerminalTable = new SortProfileTerminalTableDataTable();
            this.Tables.Add(this.tableSortProfileTerminalTable);
            ForeignKeyConstraint fkc;

            fkc = new ForeignKeyConstraint("SortProfileTable_SortProfileTerminalTable", new DataColumn[] {
                this.tableSortProfileTable.SortProfileTable_IdColumn
            }, new DataColumn[] {
                this.tableSortProfileTerminalTable.SortProfileTable_IdColumn
            });
            this.tableSortProfileTerminalTable.Constraints.Add(fkc);
            fkc.AcceptRejectRule = System.Data.AcceptRejectRule.None;
            fkc.DeleteRule       = System.Data.Rule.Cascade;
            fkc.UpdateRule       = System.Data.Rule.Cascade;
            this.relationSortProfileTable_SortProfileTerminalTable = new DataRelation("SortProfileTable_SortProfileTerminalTable", new DataColumn[] {
                this.tableSortProfileTable.SortProfileTable_IdColumn
            }, new DataColumn[] {
                this.tableSortProfileTerminalTable.SortProfileTable_IdColumn
            }, false);
            this.relationSortProfileTable_SortProfileTerminalTable.Nested = true;
            this.Relations.Add(this.relationSortProfileTable_SortProfileTerminalTable);
        }
예제 #3
0
 internal void InitVars()
 {
     this.tableSortProfileTable = ((SortProfileTableDataTable)(this.Tables["SortProfileTable"]));
     if ((this.tableSortProfileTable != null))
     {
         this.tableSortProfileTable.InitVars();
     }
     this.tableSortProfileTerminalTable = ((SortProfileTerminalTableDataTable)(this.Tables["SortProfileTerminalTable"]));
     if ((this.tableSortProfileTerminalTable != null))
     {
         this.tableSortProfileTerminalTable.InitVars();
     }
     this.relationSortProfileTable_SortProfileTerminalTable = this.Relations["SortProfileTable_SortProfileTerminalTable"];
 }
예제 #4
0
 internal SortProfileTerminalTableRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableSortProfileTerminalTable = ((SortProfileTerminalTableDataTable)(this.Table));
 }