Example #1
0
 internal void InitVars(bool initTable) {
     this.tableFacilities = ((FacilitiesDataTable)(base.Tables["Facilities"]));
     if ((initTable == true)) {
         if ((this.tableFacilities != null)) {
             this.tableFacilities.InitVars();
         }
     }
     this.tableSponsors = ((SponsorsDataTable)(base.Tables["Sponsors"]));
     if ((initTable == true)) {
         if ((this.tableSponsors != null)) {
             this.tableSponsors.InitVars();
         }
     }
     this.tableMeetingAttendees = ((MeetingAttendeesDataTable)(base.Tables["MeetingAttendees"]));
     if ((initTable == true)) {
         if ((this.tableMeetingAttendees != null)) {
             this.tableMeetingAttendees.InitVars();
         }
     }
     this.tableMeetings = ((MeetingsDataTable)(base.Tables["Meetings"]));
     if ((initTable == true)) {
         if ((this.tableMeetings != null)) {
             this.tableMeetings.InitVars();
         }
     }
     this.tableMeetingSponsors = ((MeetingSponsorsDataTable)(base.Tables["MeetingSponsors"]));
     if ((initTable == true)) {
         if ((this.tableMeetingSponsors != null)) {
             this.tableMeetingSponsors.InitVars();
         }
     }
     this.tableMembers = ((MembersDataTable)(base.Tables["Members"]));
     if ((initTable == true)) {
         if ((this.tableMembers != null)) {
             this.tableMembers.InitVars();
         }
     }
     this.relationFK8D77D2CBCA706C4 = this.Relations["FK8D77D2CBCA706C4"];
     this.relationFK8D77D2CED2CAB7 = this.Relations["FK8D77D2CED2CAB7"];
     this.relationFK_Meetings_Facilities = this.Relations["FK_Meetings_Facilities"];
     this.relationFK949DF60C2AA178BE = this.Relations["FK949DF60C2AA178BE"];
     this.relationFK949DF60CED2CAB7 = this.Relations["FK949DF60CED2CAB7"];
 }
Example #2
0
 private void InitClass() {
     this.DataSetName = "Database";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Database.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableFacilities = new FacilitiesDataTable();
     base.Tables.Add(this.tableFacilities);
     this.tableSponsors = new SponsorsDataTable();
     base.Tables.Add(this.tableSponsors);
     this.tableMeetingAttendees = new MeetingAttendeesDataTable();
     base.Tables.Add(this.tableMeetingAttendees);
     this.tableMeetings = new MeetingsDataTable();
     base.Tables.Add(this.tableMeetings);
     this.tableMeetingSponsors = new MeetingSponsorsDataTable();
     base.Tables.Add(this.tableMeetingSponsors);
     this.tableMembers = new MembersDataTable();
     base.Tables.Add(this.tableMembers);
     this.relationFK8D77D2CBCA706C4 = new global::System.Data.DataRelation("FK8D77D2CBCA706C4", new global::System.Data.DataColumn[] {
                 this.tableMembers.MemberIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableMeetingAttendees.MemberIdColumn}, false);
     this.Relations.Add(this.relationFK8D77D2CBCA706C4);
     this.relationFK8D77D2CED2CAB7 = new global::System.Data.DataRelation("FK8D77D2CED2CAB7", new global::System.Data.DataColumn[] {
                 this.tableMeetings.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableMeetingAttendees.MeetingIdColumn}, false);
     this.Relations.Add(this.relationFK8D77D2CED2CAB7);
     this.relationFK_Meetings_Facilities = new global::System.Data.DataRelation("FK_Meetings_Facilities", new global::System.Data.DataColumn[] {
                 this.tableFacilities.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableMeetings.FacilityIdColumn}, false);
     this.Relations.Add(this.relationFK_Meetings_Facilities);
     this.relationFK949DF60C2AA178BE = new global::System.Data.DataRelation("FK949DF60C2AA178BE", new global::System.Data.DataColumn[] {
                 this.tableSponsors.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableMeetingSponsors.SponsorIdColumn}, false);
     this.Relations.Add(this.relationFK949DF60C2AA178BE);
     this.relationFK949DF60CED2CAB7 = new global::System.Data.DataRelation("FK949DF60CED2CAB7", new global::System.Data.DataColumn[] {
                 this.tableMeetings.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableMeetingSponsors.MeetingIdColumn}, false);
     this.Relations.Add(this.relationFK949DF60CED2CAB7);
 }
Example #3
0
 internal SponsorsRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableSponsors = ((SponsorsDataTable)(this.Table));
 }