Saves the instance to the database and flushes the session. If the primary key is unitialized it creates the instance on the database. Otherwise it updates it.
If the primary key is assigned, then you must invoke Create(object) or Update(object) instead.