internal void InitVars(bool initTable) { this.table_MAP_msg_listing = ((_MAP_msg_listingDataTable)(base.Tables["MAP-msg-listing"])); if ((initTable == true)) { if ((this.table_MAP_msg_listing != null)) { this.table_MAP_msg_listing.InitVars(); } } this.tablemsg = ((msgDataTable)(base.Tables["msg"])); if ((initTable == true)) { if ((this.tablemsg != null)) { this.tablemsg.InitVars(); } } this._relationMAP_msg_listing_msg = this.Relations["MAP-msg-listing_msg"]; }
private void InitClass() { this.DataSetName = "NewDataSet"; this.Prefix = ""; this.Namespace = "http://tempuri.org/msg"; this.Locale = new global::System.Globalization.CultureInfo(""); this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.table_MAP_msg_listing = new _MAP_msg_listingDataTable(); base.Tables.Add(this.table_MAP_msg_listing); this.tablemsg = new msgDataTable(); base.Tables.Add(this.tablemsg); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("MAP-msg-listing_msg", new global::System.Data.DataColumn[] { this.table_MAP_msg_listing._MAP_msg_listing_IdColumn}, new global::System.Data.DataColumn[] { this.tablemsg._MAP_msg_listing_IdColumn}); this.tablemsg.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; this._relationMAP_msg_listing_msg = new global::System.Data.DataRelation("MAP-msg-listing_msg", new global::System.Data.DataColumn[] { this.table_MAP_msg_listing._MAP_msg_listing_IdColumn}, new global::System.Data.DataColumn[] { this.tablemsg._MAP_msg_listing_IdColumn}, false); this._relationMAP_msg_listing_msg.Nested = true; this.Relations.Add(this._relationMAP_msg_listing_msg); }
internal _MAP_msg_listingRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.table_MAP_msg_listing = ((_MAP_msg_listingDataTable)(this.Table)); }