Exemplo n.º 1
0
            public override global::System.Data.DataTable Clone()
            {
                DevicesDataTable cln = ((DevicesDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
Exemplo n.º 2
0
 private void InitClass()
 {
     this.DataSetName             = "DataSet";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/DataSet.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableDevices            = new DevicesDataTable();
     base.Tables.Add(this.tableDevices);
 }
Exemplo n.º 3
0
 internal void InitVars(bool initTable)
 {
     this.tableDevices = ((DevicesDataTable)(base.Tables["Devices"]));
     if ((initTable == true))
     {
         if ((this.tableDevices != null))
         {
             this.tableDevices.InitVars();
         }
     }
 }
 private void InitClass() {
     this.DataSetName = "test_oneDataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/test_oneDataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableConfigurations = new ConfigurationsDataTable();
     base.Tables.Add(this.tableConfigurations);
     this.tabledeviceKeys = new deviceKeysDataTable();
     base.Tables.Add(this.tabledeviceKeys);
     this.tableDevices = new DevicesDataTable();
     base.Tables.Add(this.tableDevices);
     this.tableLearnedKeys = new LearnedKeysDataTable();
     base.Tables.Add(this.tableLearnedKeys);
     this.tableUsers = new UsersDataTable();
     base.Tables.Add(this.tableUsers);
     this.relationFK_deviceKeys_Devices = new global::System.Data.DataRelation("FK_deviceKeys_Devices", new global::System.Data.DataColumn[] {
                 this.tableDevices.UserIDColumn,
                 this.tableDevices.ConfigIDColumn,
                 this.tableDevices.DeviceIDColumn}, new global::System.Data.DataColumn[] {
                 this.tabledeviceKeys.UserIDColumn,
                 this.tabledeviceKeys.ConfigIDColumn,
                 this.tabledeviceKeys.DeviceIDColumn}, false);
     this.Relations.Add(this.relationFK_deviceKeys_Devices);
     this.relationFK_deviceKeys_LearnedKeys = new global::System.Data.DataRelation("FK_deviceKeys_LearnedKeys", new global::System.Data.DataColumn[] {
                 this.tableLearnedKeys.UserIDColumn,
                 this.tableLearnedKeys.ConfigIDColumn,
                 this.tableLearnedKeys.DeviceIDColumn,
                 this.tableLearnedKeys.LearnedIDColumn}, new global::System.Data.DataColumn[] {
                 this.tabledeviceKeys.UserIDColumn,
                 this.tabledeviceKeys.ConfigIDColumn,
                 this.tabledeviceKeys.DeviceIDColumn,
                 this.tabledeviceKeys.LearnedIDColumn}, false);
     this.Relations.Add(this.relationFK_deviceKeys_LearnedKeys);
     this.relationFK_Devices_Configurations = new global::System.Data.DataRelation("FK_Devices_Configurations", new global::System.Data.DataColumn[] {
                 this.tableConfigurations.UserIDColumn,
                 this.tableConfigurations.ConfigIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableDevices.UserIDColumn,
                 this.tableDevices.ConfigIDColumn}, false);
     this.Relations.Add(this.relationFK_Devices_Configurations);
     this.relationFK_LearnedKeys_Devices = new global::System.Data.DataRelation("FK_LearnedKeys_Devices", new global::System.Data.DataColumn[] {
                 this.tableDevices.UserIDColumn,
                 this.tableDevices.ConfigIDColumn,
                 this.tableDevices.DeviceIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLearnedKeys.UserIDColumn,
                 this.tableLearnedKeys.ConfigIDColumn,
                 this.tableLearnedKeys.DeviceIDColumn}, false);
     this.Relations.Add(this.relationFK_LearnedKeys_Devices);
 }
 internal void InitVars(bool initTable) {
     this.tableConfigurations = ((ConfigurationsDataTable)(base.Tables["Configurations"]));
     if ((initTable == true)) {
         if ((this.tableConfigurations != null)) {
             this.tableConfigurations.InitVars();
         }
     }
     this.tabledeviceKeys = ((deviceKeysDataTable)(base.Tables["deviceKeys"]));
     if ((initTable == true)) {
         if ((this.tabledeviceKeys != null)) {
             this.tabledeviceKeys.InitVars();
         }
     }
     this.tableDevices = ((DevicesDataTable)(base.Tables["Devices"]));
     if ((initTable == true)) {
         if ((this.tableDevices != null)) {
             this.tableDevices.InitVars();
         }
     }
     this.tableLearnedKeys = ((LearnedKeysDataTable)(base.Tables["LearnedKeys"]));
     if ((initTable == true)) {
         if ((this.tableLearnedKeys != null)) {
             this.tableLearnedKeys.InitVars();
         }
     }
     this.tableUsers = ((UsersDataTable)(base.Tables["Users"]));
     if ((initTable == true)) {
         if ((this.tableUsers != null)) {
             this.tableUsers.InitVars();
         }
     }
     this.relationFK_deviceKeys_Devices = this.Relations["FK_deviceKeys_Devices"];
     this.relationFK_deviceKeys_LearnedKeys = this.Relations["FK_deviceKeys_LearnedKeys"];
     this.relationFK_Devices_Configurations = this.Relations["FK_Devices_Configurations"];
     this.relationFK_LearnedKeys_Devices = this.Relations["FK_LearnedKeys_Devices"];
 }
 internal DevicesRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableDevices = ((DevicesDataTable)(this.Table));
 }
 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 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"];
 }
Exemplo n.º 9
0
 internal DevicesRow(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableDevices = ((DevicesDataTable)(this.Table));
 }