Inject ISessionFactory, get the session and do as explained here:
http://www.lostechies.com/blogs/joshua_lockwood/archive/2007/04/10/how-to-enlist-ado-commands-into-an-nhibernate-transaction.aspx


On Nov 2, 10:30 am, kork <[email protected]> wrote:
> hi all, it's possible to use the transaction management with
> attributes using nhibernate and ado.net
>
> what i mean is samething as
>
> [Transaction]
> void Execute()
> {
>     //execute db operation with nhibernate
>
>    //execute db operation with nhibernate inside the same transaction
>
> }
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to