Example #1
0
            public override System.Data.DataTable Clone()
            {
                ScriptsListDataTable cln = ((ScriptsListDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
Example #2
0
 private void InitClass()
 {
     this.DataSetName             = "BatchRunDS";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/BatchRunDS.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableScriptsList        = new ScriptsListDataTable();
     base.Tables.Add(this.tableScriptsList);
     this.tableBatch = new BatchDataTable();
     base.Tables.Add(this.tableBatch);
     this.relationBatch_ScriptsList = new System.Data.DataRelation("Batch_ScriptsList", new System.Data.DataColumn[] {
         this.tableBatch.BatchIdColumn
     }, new System.Data.DataColumn[] {
         this.tableScriptsList.BatchIdColumn
     }, false);
     this.Relations.Add(this.relationBatch_ScriptsList);
 }
Example #3
0
 internal void InitVars(bool initTable)
 {
     this.tableScriptsList = ((ScriptsListDataTable)(base.Tables["ScriptsList"]));
     if ((initTable == true))
     {
         if ((this.tableScriptsList != null))
         {
             this.tableScriptsList.InitVars();
         }
     }
     this.tableBatch = ((BatchDataTable)(base.Tables["Batch"]));
     if ((initTable == true))
     {
         if ((this.tableBatch != null))
         {
             this.tableBatch.InitVars();
         }
     }
     this.relationBatch_ScriptsList = this.Relations["Batch_ScriptsList"];
 }
Example #4
0
 internal ScriptsListRow(System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableScriptsList = ((ScriptsListDataTable)(this.Table));
 }