Last post Apr 30, 2015 02:21 AM by anil.channa
Apr 30, 2015 01:53 AM|anil.channa|LINK
I am working on a project where I am using Entity Framework. There is a very strange problem I came across. I am getting User table information via EDMX which has relation with Contacts table (through UserID column). Now, User collection has retrieved
ContactID and it should also retrieve Contact Information for all the users whereas the Contact Entity is populated for some of the Users and for others it is NULL, but, if I check the value in ContactID it is available but Contact Entity is NULL for some
Users. I never faced this kind of issue. Any suggestions shall be highly apppreciated......
Apr 30, 2015 02:05 AM|Mikesdotnetting|LINK
What code are you using the retrieve the data?
Apr 30, 2015 02:21 AM|anil.channa|LINK
I am using Repository Pattern to work with. I have used it in many applications but didn't face this type of issue.