Session: How to clear a session?
To clear session state, that is to stop tracking entities and remove all pending commands, etc.
Clear method is used from
Advanced session operations.
FirstName = "John",
LastName = "Doe"
session.SaveChanges(); // nothing will happen