That's not the way you use hibernate. Normally you first retrieve the object from the database, then you make your modifications, then you persist your changes. Something like:
Code:
Customer c = session.Get<Customer>(1)
c.Address = "New Address";
c.Birthday = "New Birthday";
session.Flush();
or if you close the session after retrieving the object:
Code:
Customer c = session.Get<Customer>(1)
session.Close();
...
c.Address = "New Address";
c.Birthday = "New Birthday";
...
<get new session>
session.Update(c);
session.Flush();