And you may begin a transaction before making any changes, and call
ITransaction.Commit() whenever you want.

On Fri, Sep 7, 2012 at 3:02 PM, Oskar Berggren <[email protected]>wrote:

> There is. It is called ISession.Flush().
>
> /Oskar
>
>
>
> 2012/9/7 Mouhong Lin <[email protected]>
>
>> Hi guys,
>>
>> I'm just wondering why NHibernate does not provide a "SaveChanges" or
>> "CommitChanges" method in the ISession interface just like what
>> EntityFramework, Linq to SQL and RavenDB does. Is there any historical
>> reason?
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "nhusers" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/nhusers/-/GjlsBIoYPa8J.
>>
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>



-- 

Sadullah Ceran,
[image: LinkedIn] <http://www.linkedin.com/in/sadullahceran> [image:
Twitter] <http://www.twitter.com/sadullahceran> [image:
Facebook]<https://www.facebook.com/ceran>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to