How to: Create a POCO Entity with Proxies

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The example in this topic shows how to create POCO entities with proxies. To create POCO entities with proxies, the POCO class must meet the requirements described in Requirements for Creating POCO Proxies.

The example in this topic uses the POCO classes that are defined in How to: Define POCO Entities and an AdventureWorks-based data model that is defined in How to: Customize Modeling and Mapping Files to Work with Custom Objects.

Example

This example creates a new LineItem object by using the CreateObject method, and then adds the new LineItem to an existing Order.

See Also

Show: