Can someone explain how to avoid the following situation?
I have a variable called data that is an IQueryable<>. As you can see before calling Skip/Take on it, the runtime knows of its exact type (IQueryable<...Module>).
After doing Skip/Take the variable data becomes an IQueryable< object>.
I want it to retain the original type it had before executing the Skip/Take. How can I do that?
PS1: The collection has been returned by a method that returns an IQueryable< object>
Aucun commentaire:
Enregistrer un commentaire