Not all navigation properties are shown
I have two identical SQL Server 2014 databases which I have added as connections to Linqpad 5. (I have ensured that the schemas are identical (with schema compare from VS 2017)). For a specific table in the first DB all navigation properties are shown. In the second DB for the same table some of the navigation properties are missing.
Has anybody got an explanation for that?
Has anybody got an explanation for that?
Comments
Hi, I'm having this issue too. Tried it with the latest beta v5.41. I think the problem is that I have a navigation property and a string property that result to the same name:
This is the FK:
ALTER TABLE [dbo].[Campsite.Addresses] WITH CHECK ADD CONSTRAINT [FK_Campsite.Addresses_Lookup.Cities] FOREIGN KEY([CityId])
REFERENCES [dbo].[Lookup.Cities] ([Id])
ALTER TABLE [dbo].[Campsite.Addresses] CHECK CONSTRAINT [FK_Campsite.Addresses_Lookup.Cities]