开发者

Entity Framework 4 cast object to dynamic proxy

开发者 https://www.devze.com 2023-02-03 06:08 出处:网络
In EF4, is it possible to convert a开发者_运维知识库 POCO object (created using new MyObject()) to a Dynamic Proxy (like you would get with ObjectContext.CreateObject())?

In EF4, is it possible to convert a开发者_运维知识库 POCO object (created using new MyObject()) to a Dynamic Proxy (like you would get with ObjectContext.CreateObject())?

Using EF4 with T4 template for POCO.


No it is not possible. It is a reason why CreateObject method exists.

0

精彩评论

暂无评论...
验证码 换一张
取 消