Exemplo n.º 1
0
 private void InitClass() {
     this.DataSetName = "ServiceSettings";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/ServiceSettings.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableServiceSettings = new ServiceSettingsDataTable();
     base.Tables.Add(this.tableServiceSettings);
     this.tableServices = new ServicesDataTable();
     base.Tables.Add(this.tableServices);
     this.relationServices_ServicesSettings = new System.Data.DataRelation("Services_ServicesSettings", new System.Data.DataColumn[] {
                 this.tableServices.ServiceColumn}, new System.Data.DataColumn[] {
                 this.tableServiceSettings.KeyColumn}, false);
     this.Relations.Add(this.relationServices_ServicesSettings);
 }
Exemplo n.º 2
0
 internal ServicesRow(System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableServices = ((ServicesDataTable)(this.Table));
 }
Exemplo n.º 3
0
 internal void InitVars(bool initTable) {
     this.tableServiceSettings = ((ServiceSettingsDataTable)(base.Tables["ServiceSettings"]));
     if ((initTable == true)) {
         if ((this.tableServiceSettings != null)) {
             this.tableServiceSettings.InitVars();
         }
     }
     this.tableServices = ((ServicesDataTable)(base.Tables["Services"]));
     if ((initTable == true)) {
         if ((this.tableServices != null)) {
             this.tableServices.InitVars();
         }
     }
     this.relationServices_ServicesSettings = this.Relations["Services_ServicesSettings"];
 }