I'm trying to write some extensions on top of EF, and I need to be able to check the ObjectContext code first and extract entity types in it. I feel it should be available somewhere in the metadata workspace, but I'm not sure where to look. I am using EF 5.
Please note that we do not use any code generation to create our contexts, and we do not add access types to the DbSet type in the base DbContext class. So, I canβt just think about DbContext / ObjectContext to see what such properties are.
source share