示例#1
0
            public override DataTable Clone()
            {
                SortProfileTableDataTable cln = ((SortProfileTableDataTable)(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();
     }
 }
示例#4
0
 private void InitClass()
 {
     this.DataSetName             = "SortProfileDS";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/SortProfileDS.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableSortProfileTable   = new SortProfileTableDataTable();
     base.Tables.Add(this.tableSortProfileTable);
 }
示例#5
0
 private void InitClass()
 {
     this.DataSetName           = "SortProfileDS";
     this.Prefix                = "";
     this.Namespace             = "http://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);
 }
示例#6
0
 internal void InitVars(bool initTable)
 {
     this.tableSortProfileTable = ((SortProfileTableDataTable)(base.Tables["SortProfileTable"]));
     if ((initTable == true))
     {
         if ((this.tableSortProfileTable != null))
         {
             this.tableSortProfileTable.InitVars();
         }
     }
 }
示例#7
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"];
 }
示例#8
0
 internal SortProfileTableRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableSortProfileTable = ((SortProfileTableDataTable)(this.Table));
 }
示例#9
0
 internal SortProfileTableRow(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableSortProfileTable = ((SortProfileTableDataTable)(this.Table));
 }