Dela via


Saving Entity Data

When you create, update, or delete entities that connect to a database through the Entity Framework or WCF Data Services, you must explicitly save the changes back to the database. The following topics describe how to save changes to entity data in Entity Framework and WCF Data Services applications.

Topic

Description

How to: Add, Modify, and Delete Objects (Entity Framework)

Shows how to save changes in entity data back to the database.

How to: Manage Data Concurrency in the Object Context (Entity Framework)

Shows how to manage what data is saved to the database.

Walkthrough: Serialize Self-Tracking Entities (Entity Framework)

Shows how to use and save self-tracking entities.

How to: Add, Modify, and Delete Entities (WCF Data Services)

Shows how to save changes in entity data back through a data service.

How to: Execute Asynchronous Data Service Queries (WCF Data Services)

Shows how to asynchronously save changes through a data service.

See Also

Other Resources

Saving Changes and Managing Concurrency (Entity Framework)

Updating the Data Service (WCF Data Services)