I work in VisualStudio 2005. I already have a dataset with sevral data. I had to modify the database to add a new foreign key that I forgot about. How to get a visual studio to recognize new relationships?
.Net does not automatically load FK relationships into your DataSet - however, you can add them yourself using DataRelation *.
* this may not be true if you use LINQ - if so, I'm not sure.
Right-click on the DataSet page and select Add-> Relation?
, , .
Source: https://habr.com/ru/post/1697668/More articles:LOAD SQL Table from a flat file - sqlEclipse c ++ pretty prints? - c ++The best way to manage configuration data - database-designRemoving a button while progress is displayed - ajaxRegular expression for filtering files in OpenFileDialog - c #Exporting iSeries to CSV - csvΠΠ°ΠΊΠΈΠ΅ ΡΠ΅Π³ΠΈ Π²Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΠ΅ Π² ΡΠΏΠΈΡΠΊΠ΅ Π·Π°Π΄Π°Ρ (Π½Π°ΠΏΡΠΈΠΌΠ΅Ρ, Visual Studio 2008) - visual-studioGet a list of files on a server using ASP.NET using a picker - asp.netΠΡΡΡ Π»ΠΈ ΡΠΏΠΎΡΠΎΠ± ΠΎΠΏΡΠ΅Π΄Π΅Π»ΠΈΡΡ, ΠΊΠ°ΠΊΠΈΠ΅ ΠΏΠΎΠ»Ρ Π² ΠΌΠΎΠ΄Π΅Π»ΠΈ Π΄ΠΎΡΡΡΠΏΠ½Ρ Π΄Π»Ρ ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π² ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΈ Π°Π΄ΠΌΠΈΠ½ΠΈΡΡΡΠ°ΡΠΎΡΠ°? - pythonWhat are your favorite Ruby on Rails books and why? - ruby ββ| fooobar.comAll Articles