1 out of 32 rated this helpful - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.