http://msdn.microsoft.com/en-us/library/bb336792.aspx
public int SaveChanges()
Return Value
Type: System.Int32
The number of objects in an Added, Modified, or Deleted state when SaveChanges was called.
DbContext.SaveChanges Method
Entity Framework 5.0
1 out of 34 rated this helpful - Rate this topic
Saves all changes made in this context to the underlying database.
Namespace: System.Data.Entity
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
--------------------------------------------------------------------------------
C#
C++
F#
JScript
VB
Copy
public virtual int SaveChanges()
Return Value
Type: System.Int32
The number of objects written to the underlying database.