开发者

can i mix NHibernate updates with direct SQL in the same transaction

I'm wondering if it is possible to do direct 开发者_JAVA百科SQL updates of my own in the same transaction as NHibernate is using to update my persistent objects?


Yes, it's possible with ITransaction.Enlist(IDbCommand).

See this blog post for details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜