HI,
With a surprise I have found this. See the attached screen shots. I have a DbContext object "db" and I tried both the options and the result is surprising to me.
DbContext.Set() and dbContext<TEntity).Set are returning different objects.
The problem is: I am getting the Type of Object to be created at runtime and running the Dynamic Linq on that. So I am using DbContext.Set(Type) method to create the Object.
But in that case Expression of the queryable Object is getting changed and can not be able to Query the Object.
Any Solution?
Note: If the above inserted image is shown broken, please right click and Open Image in a new tab.
Regards--
AG