Exemplo n.º 1
0
            public override DataTable Clone()
            {
                VariablesDataTable cln = ((VariablesDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
Exemplo n.º 2
0
 internal void InitVars()
 {
     this.tableVariables = ((VariablesDataTable)(this.Tables["Variables"]));
     if ((this.tableVariables != null))
     {
         this.tableVariables.InitVars();
     }
 }
Exemplo n.º 3
0
 private void InitClass()
 {
     this.DataSetName        = "VariablesDataset";
     this.Prefix             = "";
     this.Namespace          = "http://tempuri.org/VariablesDataset.xsd";
     this.Locale             = new System.Globalization.CultureInfo("en-US");
     this.CaseSensitive      = false;
     this.EnforceConstraints = true;
     this.tableVariables     = new VariablesDataTable();
     this.Tables.Add(this.tableVariables);
 }
 private void InitClass() {
     this.DataSetName = "VariablesDataset";
     this.Prefix = "WaterOneFlow.odws.v1_1";
     this.Namespace = "http://www.cuahsi.org/schema/VariablesDataset.xsd";
     this.EnforceConstraints = false;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableVariables = new VariablesDataTable();
     base.Tables.Add(this.tableVariables);
     this.tableUnits = new UnitsDataTable();
     base.Tables.Add(this.tableUnits);
     this.tableCategories = new CategoriesDataTable();
     base.Tables.Add(this.tableCategories);
     this.relationVariables_FK01 = new global::System.Data.DataRelation("Variables_FK01", new global::System.Data.DataColumn[] {
                 this.tableUnits.UnitsIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableVariables.TimeUnitsIDColumn}, false);
     this.Relations.Add(this.relationVariables_FK01);
     this.relationVariables_FK00 = new global::System.Data.DataRelation("Variables_FK00", new global::System.Data.DataColumn[] {
                 this.tableUnits.UnitsIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableVariables.VariableUnitsIDColumn}, false);
     this.Relations.Add(this.relationVariables_FK00);
     this.relationVariables_Categories = new global::System.Data.DataRelation("Variables_Categories", new global::System.Data.DataColumn[] {
                 this.tableVariables.VariableIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableCategories.VariableIDColumn}, false);
     this.Relations.Add(this.relationVariables_Categories);
 }
 internal void InitVars(bool initTable) {
     this.tableVariables = ((VariablesDataTable)(base.Tables["Variables"]));
     if ((initTable == true)) {
         if ((this.tableVariables != null)) {
             this.tableVariables.InitVars();
         }
     }
     this.tableUnits = ((UnitsDataTable)(base.Tables["Units"]));
     if ((initTable == true)) {
         if ((this.tableUnits != null)) {
             this.tableUnits.InitVars();
         }
     }
     this.tableCategories = ((CategoriesDataTable)(base.Tables["Categories"]));
     if ((initTable == true)) {
         if ((this.tableCategories != null)) {
             this.tableCategories.InitVars();
         }
     }
     this.relationVariables_FK01 = this.Relations["Variables_FK01"];
     this.relationVariables_FK00 = this.Relations["Variables_FK00"];
     this.relationVariables_Categories = this.Relations["Variables_Categories"];
 }
 internal VariablesRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableVariables = ((VariablesDataTable)(this.Table));
 }
Exemplo n.º 7
0
 internal VariablesRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableVariables = ((VariablesDataTable)(this.Table));
 }