Ejemplo n.º 1
0
            public override System.Data.DataTable Clone()
            {
                BatchDataTable cln = ((BatchDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
Ejemplo n.º 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);
 }
Ejemplo n.º 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"];
 }
Ejemplo n.º 4
0
 internal BatchRow(System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableBatch = ((BatchDataTable)(this.Table));
 }