internal Person_LinkRow(DataRowBuilder rb) :
     base(rb)
 {
     tablePerson_Link = ((Person_LinkDataTable) (Table));
 }
 private void InitClass()
 {
     DataSetName = "Map_Info_Tables";
     Prefix = "";
     Namespace = "";
     Locale = new CultureInfo("en-US");
     CaseSensitive = false;
     EnforceConstraints = true;
     tableFeature = new FeatureDataTable();
     Tables.Add(tableFeature);
     tableStreet = new StreetDataTable();
     Tables.Add(tableStreet);
     tableCorporation_Link = new Corporation_LinkDataTable();
     Tables.Add(tableCorporation_Link);
     tablePerson_Link = new Person_LinkDataTable();
     Tables.Add(tablePerson_Link);
     tableSheet_Link = new Sheet_LinkDataTable();
     Tables.Add(tableSheet_Link);
     ForeignKeyConstraint fkc;
     fkc = new ForeignKeyConstraint("Feature_Corp_Link", new DataColumn[]
                                                             {
                                                                 tableFeature.FeatureIDColumn
                                                             }, new DataColumn[]
                                                                    {
                                                                        tableCorporation_Link.FeatureIDColumn
                                                                    });
     tableCorporation_Link.Constraints.Add(fkc);
     fkc.AcceptRejectRule = AcceptRejectRule.None;
     fkc.DeleteRule = Rule.Cascade;
     fkc.UpdateRule = Rule.Cascade;
     fkc = new ForeignKeyConstraint("Feature_Person_Link", new DataColumn[]
                                                               {
                                                                   tableFeature.FeatureIDColumn
                                                               }, new DataColumn[]
                                                                      {
                                                                          tablePerson_Link.FeatureIDColumn
                                                                      });
     tablePerson_Link.Constraints.Add(fkc);
     fkc.AcceptRejectRule = AcceptRejectRule.None;
     fkc.DeleteRule = Rule.Cascade;
     fkc.UpdateRule = Rule.Cascade;
     fkc = new ForeignKeyConstraint("Feature_Sheet_Link", new DataColumn[]
                                                              {
                                                                  tableFeature.FeatureIDColumn
                                                              }, new DataColumn[]
                                                                     {
                                                                         tableSheet_Link.FeatureIDColumn
                                                                     });
     tableSheet_Link.Constraints.Add(fkc);
     fkc.AcceptRejectRule = AcceptRejectRule.None;
     fkc.DeleteRule = Rule.Cascade;
     fkc.UpdateRule = Rule.Cascade;
     relationFeature_Corp_Link = new DataRelation("Feature_Corp_Link", new DataColumn[]
                                                                           {
                                                                               tableFeature.FeatureIDColumn
                                                                           }, new DataColumn[]
                                                                                  {
                                                                                      tableCorporation_Link.FeatureIDColumn
                                                                                  }, false);
     Relations.Add(relationFeature_Corp_Link);
     relationFeature_Person_Link = new DataRelation("Feature_Person_Link", new DataColumn[]
                                                                               {
                                                                                   tableFeature.FeatureIDColumn
                                                                               }, new DataColumn[]
                                                                                      {
                                                                                          tablePerson_Link.FeatureIDColumn
                                                                                      }, false);
     Relations.Add(relationFeature_Person_Link);
     relationFeature_Sheet_Link = new DataRelation("Feature_Sheet_Link", new DataColumn[]
                                                                             {
                                                                                 tableFeature.FeatureIDColumn
                                                                             }, new DataColumn[]
                                                                                    {
                                                                                        tableSheet_Link.FeatureIDColumn
                                                                                    }, false);
     Relations.Add(relationFeature_Sheet_Link);
 }
 internal void InitVars()
 {
     tableFeature = ((FeatureDataTable) (Tables["Feature"]));
     if ((tableFeature != null))
     {
         tableFeature.InitVars();
     }
     tableStreet = ((StreetDataTable) (Tables["Street"]));
     if ((tableStreet != null))
     {
         tableStreet.InitVars();
     }
     tableCorporation_Link = ((Corporation_LinkDataTable) (Tables["Corporation_Link"]));
     if ((tableCorporation_Link != null))
     {
         tableCorporation_Link.InitVars();
     }
     tablePerson_Link = ((Person_LinkDataTable) (Tables["Person_Link"]));
     if ((tablePerson_Link != null))
     {
         tablePerson_Link.InitVars();
     }
     tableSheet_Link = ((Sheet_LinkDataTable) (Tables["Sheet_Link"]));
     if ((tableSheet_Link != null))
     {
         tableSheet_Link.InitVars();
     }
     relationFeature_Corp_Link = Relations["Feature_Corp_Link"];
     relationFeature_Person_Link = Relations["Feature_Person_Link"];
     relationFeature_Sheet_Link = Relations["Feature_Sheet_Link"];
 }