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"]; }
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 ConfigurationsRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableConfigurations = ((ConfigurationsDataTable)(this.Table)); }