/// <summary> /// Read in plants and related intakes /// Tables DRWPLANT, DRWPLANTINTAKE are filled. /// </summary> /// <param name="DataBaseFileName"></param> public void ReadPlantData() { DRWPLANTTableAdapter DTA = new DRWPLANTTableAdapter(); DTA.Connection.ConnectionString = ConnectionString; DTA.Fill(DRWPLANT); DTA.Dispose(); DRWPLANTINTAKETableAdapter DTIA = new DRWPLANTINTAKETableAdapter(); DTIA.Connection.ConnectionString = ConnectionString; DTIA.Fill(DRWPLANTINTAKE); DTIA.Dispose(); DRWPLANTCOMPANYTYPETableAdapter dca = new DRWPLANTCOMPANYTYPETableAdapter(); dca.Connection.ConnectionString = ConnectionString; dca.Fill(DRWPLANTCOMPANYTYPE); dca.Dispose(); }