You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Session: Saving changes

Pending session operations e.g. Store, Delete and many others will not be send to server till SaveChanges is called.


void SaveChanges();


// storing new entity
session.Store(new Employee
		              FirstName = "John", 
					  LastName = "Doe"