There's a bit of trouble I'm running into with setting up unit tests for logic that queries from an EntityManager.
I've been able to stub dummy entities into a disconnected EntityManager, but there's one piece of code that calls to a stored procedure, and this isn't allowed in a disconnected state.
I'd like to code-generate the method call to invoke the stored procedure as a virtual method so that we can override it in test scenarios to return dummy data, instead of trying to connect to a database.
My question is, why does the MethodDef class contain an IsOverload property, but no IsVirtualProperty? Is this planned for a future release?
I'm also open to alternatives ways to test this scenario where a stored procedure call needs to be dummied for testing purposes.