Export (0) Print
Expand All

DbContext::SaveChanges Method

Entity Framework 5.0

Saves all changes made in this context to the underlying database.

Namespace:  System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

public:
virtual int SaveChanges()

Return Value

Type: System::Int32
The number of objects written to the underlying database.
Show:
© 2014 Microsoft