Open jiehanlin opened 2 years ago
Can you provide short example of code, which causes this error? Also, if it required, write dependent packages with version.
When dbcontext proxycreationenabled set to true,The result is System.Data.Entity.DynamicProxies objects,so Exception_WasThrown.
Interesting situation. I'll try to reproduce. Cloning generated objects can be tricky.
It should be the same for DeepClone.
https://github.com/jiehanlin/deepclonerdemo
the demo,console no exception,but webproject have exception.
System.StackOverflowException:“Exception_WasThrown” on internal static Func<T, DeepCloneState, T> GetClonerForValueType().