开发者

What is a POCO Proxy?

I came across this term while working on ADO.net entity framework (EF 4.0). It's hard for me to understand this term. I am aware of POCO classes and their use in creating PI model but I am not sure about 开发者_JAVA技巧a POCO proxy.

Can anyone help on this?


Are you familiar with dependency injection (DI)? POCO proxies are a form of DI:

http://blogs.msdn.com/b/adonet/archive/2009/12/22/poco-proxies-part-1.aspx


It refers to the technique used to accomplish persistence ignorance where the object is instantiated as a proxy at runtime. Castle has a proxying framework that you might want to look at to see what sort of thing you can use proxies for. Castle Dynamic Proxy

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜