Changing Entity Data
The Entity Framework and WCF Data Services use conceptual models to translate object operations into database operations. By using conceptual models, you can create, update, and delete data in your objects without knowing the schema of the database. When you need more control over database operations, you can use stored procedures to specify how your entities are stored, updated, and deleted.
The following topics show how to create, update, and delete data by performing operations on entities.
Topic |
Description |
---|---|
Shows how to create, update, and delete objects and save those changes back to the database. |
|
How to: Map Modification Functions to Stored Procedures (Entity Data Model Tools) |
Shows how to use the Entity Data Model Designer to map the insert, update, and delete operations of an entity to stored procedures. |
Walkthrough: Mapping an Entity to Stored Procedures (Entity Data Model Tools) |
Shows how to map two entity types to stored procedures and then insert, update, and delete entities. |
How to: Add, Modify, and Delete Entities (WCF Data Services) |
Shows how to create, update, and delete entity data in a data service. |
Shows how to create or change relationships in a data service. |
See Also
Other Resources
Creating, Adding, Modifying, and Deleting Objects (Entity Framework)