Provides proxies for persistent types by generating and compiling proxy implementation during schema compilation.
Marking the type with the <CodeGeneratedProxy> element will generate and compile proxy implementations for the type to support both context-bound and unbound proxies. The <CodeGeneratedProxy> element has no additional parameters.
The proxy classes derive from the type. All abstract members mapped to features supporting code-generation are implemented by the generated proxy. Proxy generation and compilation is part of schema compilation and the compiled proxy classes are part of the schema assembly created by the schema compiler .
Specifies the proxy provider for the
<Type name="Employee"> ... <CodeGeneratedProxy /> ... </Type>
Editions: Professional, Evaluation, Express
Database Platforms: Microsoft SQL Server 2000, Microsoft SQL Server 2005, Oracle 9i Release 2, Oracle 10g Release 2