internal void InitVars(bool initTable) {
     this.tableKeys = ((KeysDataTable)(base.Tables["Keys"]));
     if ((initTable == true)) {
         if ((this.tableKeys != null)) {
             this.tableKeys.InitVars();
         }
     }
     this.tableDevices = ((DevicesDataTable)(base.Tables["Devices"]));
     if ((initTable == true)) {
         if ((this.tableDevices != null)) {
             this.tableDevices.InitVars();
         }
     }
     this.tableExecutors = ((ExecutorsDataTable)(base.Tables["Executors"]));
     if ((initTable == true)) {
         if ((this.tableExecutors != null)) {
             this.tableExecutors.InitVars();
         }
     }
     this.tableKeyIRs = ((KeyIRsDataTable)(base.Tables["KeyIRs"]));
     if ((initTable == true)) {
         if ((this.tableKeyIRs != null)) {
             this.tableKeyIRs.InitVars();
         }
     }
     this.tableModes = ((ModesDataTable)(base.Tables["Modes"]));
     if ((initTable == true)) {
         if ((this.tableModes != null)) {
             this.tableModes.InitVars();
         }
     }
     this.relationKeysToKeysIR = this.Relations["KeysToKeysIR"];
     this.relationDevicesToExecutors = this.Relations["DevicesToExecutors"];
     this.relationDevices_Keys = this.Relations["Devices_Keys"];
 }
 private void InitClass() {
     this.DataSetName = "DeviceImagesDS";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableKeys = new KeysDataTable();
     base.Tables.Add(this.tableKeys);
     this.tableDevices = new DevicesDataTable();
     base.Tables.Add(this.tableDevices);
     this.tableExecutors = new ExecutorsDataTable();
     base.Tables.Add(this.tableExecutors);
     this.tableKeyIRs = new KeyIRsDataTable();
     base.Tables.Add(this.tableKeyIRs);
     this.tableModes = new ModesDataTable();
     base.Tables.Add(this.tableModes);
     this.relationKeysToKeysIR = new System.Data.DataRelation("KeysToKeysIR", new System.Data.DataColumn[] {
                 this.tableKeys.Key_fkColumn}, new System.Data.DataColumn[] {
                 this.tableKeyIRs.Key_fkColumn}, false);
     this.Relations.Add(this.relationKeysToKeysIR);
     this.relationDevicesToExecutors = new System.Data.DataRelation("DevicesToExecutors", new System.Data.DataColumn[] {
                 this.tableDevices.Executor_fkColumn}, new System.Data.DataColumn[] {
                 this.tableExecutors.Executor_fkColumn}, false);
     this.Relations.Add(this.relationDevicesToExecutors);
     this.relationDevices_Keys = new System.Data.DataRelation("Devices_Keys", new System.Data.DataColumn[] {
                 this.tableDevices.DBDevTypeColumn,
                 this.tableDevices.DBDevIDColumn}, new System.Data.DataColumn[] {
                 this.tableKeys.DBDevTypeColumn,
                 this.tableKeys.DBDevIDColumn}, false);
     this.Relations.Add(this.relationDevices_Keys);
 }
 internal ExecutorsRow(System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableExecutors = ((ExecutorsDataTable)(this.Table));
 }