Orders Mapped Storage
Key information about PurchaseOrders exists both as runtime objects and as data in a SQL Server database. You specify which properties of PurchaseOrders and its nested objects to store in the database, and define how properties of runtime objects map to columns in tables in the database by using the OrderObjectMappings.xml file. Then you run the Order Mapping tool to generate the SQL script that will create the tables and the stored procedures that store the runtime data in the appropriate columns of the database tables.
In This Section
How to Map a Weakly Typed Indexer Property to an Explicit Database Column
What Are the Restrictions on Mapping Class Container Relationships?
How to Generate SQL Tables and Stored Procedures for Orders Mapped Storage