I was playing around with Microsoft Entity framework 4 and at some point i want to create a fake instance of ObjectStateEntry using a proxy or FormatterServices and faced with the issues that follow:
- The class has internal abstract members therefore creating a proxy ends up with type having not-implemented members. Therefore, throws exception during
CreateInstance
. - Can't use
FormatterServices.GetUinitializedData
as it is an abstract class.
Would love to know, if are there any other option available ?