Answer the question
In order to leave comments, you need to log in
ASP.NET why aren't model entries returned?
As you can see from the screenshot, the query returns zero records (the lowest variable partners = null), but at the same time they exist and are marked in local. What could be the problem? There is a client completely similar, but there returns 7 records.
Answer the question
In order to leave comments, you need to log in
Naturally, it will be null there, since the break point is triggered first, and then the Partners.ToList() method will be executed.
Take a step forward - then it will not be null, but an empty list, for example.
If an empty list confuses, then there is no data in the database, or a curved mapping is done
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question