c# - Dynamic Proxy Object Creation -


recently have been looking way create proxy objects reflect properties of other objects programmatically. have been unable find information on how this, believe should possible have noticed in entityframework performing linq operations returns proxy objects same properties can cast directly type represent.

basically looking same functionality , if explain how works greatful.

pseudo code:

object proxy = getdynamicproxy(typeof(proxytype)); 

so looking way object represents proxytype , method getdynamicproxy it.

thanks, alex.

in ef proxy generated dynamically deriving entity type , dynamically implementing code. need looking @ dynamically compiled assemblies, types , lambdas. system.reflection.emit friend (???). here link should http://msdn.microsoft.com/en-us/library/3y322t50


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -