コード例 #1
0
            public override global::System.Data.DataTable Clone()
            {
                ConfigurationDataTable cln = ((ConfigurationDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
コード例 #2
0
 private void InitClass()
 {
     this.DataSetName             = "ConfigurationDataSet";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/ConfigurationDataSet.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableConfiguration      = new ConfigurationDataTable();
     base.Tables.Add(this.tableConfiguration);
 }
コード例 #3
0
 internal void InitVars(bool initTable)
 {
     this.tableConfiguration = ((ConfigurationDataTable)(base.Tables["Configuration"]));
     if ((initTable == true))
     {
         if ((this.tableConfiguration != null))
         {
             this.tableConfiguration.InitVars();
         }
     }
 }
コード例 #4
0
 private void InitClass() {
     this.DataSetName = "PrebuiltConfigData";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/PrebuiltConfigData.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableConfigurationCategory = new ConfigurationCategoryDataTable();
     base.Tables.Add(this.tableConfigurationCategory);
     this.tableConfiguration = new ConfigurationDataTable();
     base.Tables.Add(this.tableConfiguration);
     this.tableInput = new InputDataTable();
     base.Tables.Add(this.tableInput);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_ConfigurationCategory_Configuration", new global::System.Data.DataColumn[] {
                 this.tableConfigurationCategory.CategoryIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableConfiguration.CategoryIDColumn});
     this.tableConfiguration.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Configuration_Input", new global::System.Data.DataColumn[] {
                 this.tableConfiguration.ConfigurationIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableInput.ConfigurationIDColumn});
     this.tableInput.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     this.relationFK_ConfigurationCategory_Configuration = new global::System.Data.DataRelation("FK_ConfigurationCategory_Configuration", new global::System.Data.DataColumn[] {
                 this.tableConfigurationCategory.CategoryIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableConfiguration.CategoryIDColumn}, false);
     this.relationFK_ConfigurationCategory_Configuration.Nested = true;
     this.Relations.Add(this.relationFK_ConfigurationCategory_Configuration);
     this.relationFK_Configuration_Input = new global::System.Data.DataRelation("FK_Configuration_Input", new global::System.Data.DataColumn[] {
                 this.tableConfiguration.ConfigurationIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableInput.ConfigurationIDColumn}, false);
     this.relationFK_Configuration_Input.Nested = true;
     this.Relations.Add(this.relationFK_Configuration_Input);
 }
コード例 #5
0
 internal void InitVars(bool initTable) {
     this.tableConfigurationCategory = ((ConfigurationCategoryDataTable)(base.Tables["ConfigurationCategory"]));
     if ((initTable == true)) {
         if ((this.tableConfigurationCategory != null)) {
             this.tableConfigurationCategory.InitVars();
         }
     }
     this.tableConfiguration = ((ConfigurationDataTable)(base.Tables["Configuration"]));
     if ((initTable == true)) {
         if ((this.tableConfiguration != null)) {
             this.tableConfiguration.InitVars();
         }
     }
     this.tableInput = ((InputDataTable)(base.Tables["Input"]));
     if ((initTable == true)) {
         if ((this.tableInput != null)) {
             this.tableInput.InitVars();
         }
     }
     this.relationFK_ConfigurationCategory_Configuration = this.Relations["FK_ConfigurationCategory_Configuration"];
     this.relationFK_Configuration_Input = this.Relations["FK_Configuration_Input"];
 }
コード例 #6
0
 internal ConfigurationRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableConfiguration = ((ConfigurationDataTable)(this.Table));
 }
コード例 #7
0
 internal ConfigurationRow(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableConfiguration = ((ConfigurationDataTable)(this.Table));
 }
コード例 #8
0
ファイル: Config.cs プロジェクト: CarverLab/Oyster
 internal void InitVars()
 {
     this.tableConfiguration = ((ConfigurationDataTable)(this.Tables["Configuration"]));
     if ((this.tableConfiguration != null)) {
         this.tableConfiguration.InitVars();
     }
 }
コード例 #9
0
ファイル: Config.cs プロジェクト: CarverLab/Oyster
 internal ConfigurationRow(DataRowBuilder rb)
     : base(rb)
 {
     this.tableConfiguration = ((ConfigurationDataTable)(this.Table));
 }
コード例 #10
0
ファイル: Config.cs プロジェクト: CarverLab/Oyster
 private void InitClass()
 {
     this.DataSetName = "Config";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Config.xsd";
     this.Locale = new System.Globalization.CultureInfo("en-US");
     this.CaseSensitive = false;
     this.EnforceConstraints = true;
     this.tableConfiguration = new ConfigurationDataTable();
     this.Tables.Add(this.tableConfiguration);
 }