internal void InitVars() { this.tableskipDirs = ((skipDirsDataTable)(this.Tables["skipDirs"])); if ((this.tableskipDirs != null)) { this.tableskipDirs.InitVars(); } this.tabledir = ((dirDataTable)(this.Tables["dir"])); if ((this.tabledir != null)) { this.tabledir.InitVars(); } this.tableskipNameParts = ((skipNamePartsDataTable)(this.Tables["skipNameParts"])); if ((this.tableskipNameParts != null)) { this.tableskipNameParts.InitVars(); } this.tablepart = ((partDataTable)(this.Tables["part"])); if ((this.tablepart != null)) { this.tablepart.InitVars(); } this.relationskipDirs_dir = this.Relations["skipDirs_dir"]; this.relationskipNameParts_part = this.Relations["skipNameParts_part"]; }
public override DataTable Clone() { partDataTable cln = ((partDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "p4HelperConfig"; this.Prefix = ""; this.Namespace = ""; this.Locale = new System.Globalization.CultureInfo("en-US"); this.CaseSensitive = false; this.EnforceConstraints = true; this.tableskipDirs = new skipDirsDataTable(); this.Tables.Add(this.tableskipDirs); this.tabledir = new dirDataTable(); this.Tables.Add(this.tabledir); this.tableskipNameParts = new skipNamePartsDataTable(); this.Tables.Add(this.tableskipNameParts); this.tablepart = new partDataTable(); this.Tables.Add(this.tablepart); ForeignKeyConstraint fkc; fkc = new ForeignKeyConstraint("skipDirs_dir", new DataColumn[] { this.tableskipDirs.skipDirs_IdColumn }, new DataColumn[] { this.tabledir.skipDirs_IdColumn }); this.tabledir.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; fkc = new ForeignKeyConstraint("skipNameParts_part", new DataColumn[] { this.tableskipNameParts.skipNameParts_IdColumn }, new DataColumn[] { this.tablepart.skipNameParts_IdColumn }); this.tablepart.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; this.relationskipDirs_dir = new DataRelation("skipDirs_dir", new DataColumn[] { this.tableskipDirs.skipDirs_IdColumn }, new DataColumn[] { this.tabledir.skipDirs_IdColumn }, false); this.relationskipDirs_dir.Nested = true; this.Relations.Add(this.relationskipDirs_dir); this.relationskipNameParts_part = new DataRelation("skipNameParts_part", new DataColumn[] { this.tableskipNameParts.skipNameParts_IdColumn }, new DataColumn[] { this.tablepart.skipNameParts_IdColumn }, false); this.relationskipNameParts_part.Nested = true; this.Relations.Add(this.relationskipNameParts_part); }
internal partRow(DataRowBuilder rb) : base(rb) { this.tablepart = ((partDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "p4HelperConfig"; this.Prefix = ""; this.Namespace = ""; this.Locale = new System.Globalization.CultureInfo("en-US"); this.CaseSensitive = false; this.EnforceConstraints = true; this.tableskipDirs = new skipDirsDataTable(); this.Tables.Add(this.tableskipDirs); this.tabledir = new dirDataTable(); this.Tables.Add(this.tabledir); this.tableskipNameParts = new skipNamePartsDataTable(); this.Tables.Add(this.tableskipNameParts); this.tablepart = new partDataTable(); this.Tables.Add(this.tablepart); ForeignKeyConstraint fkc; fkc = new ForeignKeyConstraint("skipDirs_dir", new DataColumn[] { this.tableskipDirs.skipDirs_IdColumn}, new DataColumn[] { this.tabledir.skipDirs_IdColumn}); this.tabledir.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; fkc = new ForeignKeyConstraint("skipNameParts_part", new DataColumn[] { this.tableskipNameParts.skipNameParts_IdColumn}, new DataColumn[] { this.tablepart.skipNameParts_IdColumn}); this.tablepart.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; this.relationskipDirs_dir = new DataRelation("skipDirs_dir", new DataColumn[] { this.tableskipDirs.skipDirs_IdColumn}, new DataColumn[] { this.tabledir.skipDirs_IdColumn}, false); this.relationskipDirs_dir.Nested = true; this.Relations.Add(this.relationskipDirs_dir); this.relationskipNameParts_part = new DataRelation("skipNameParts_part", new DataColumn[] { this.tableskipNameParts.skipNameParts_IdColumn}, new DataColumn[] { this.tablepart.skipNameParts_IdColumn}, false); this.relationskipNameParts_part.Nested = true; this.Relations.Add(this.relationskipNameParts_part); }