开发者

NHibernate Mapping Attributes + Spring

I'm working on a C# .NET project in which I am mapping my classes to the tables in my database with NHibernate. I need to use NHibernate.Mapping.Attributes and transactions to be configured by Spring.

The fact is that Spring 1.3.0 provides a sample project called "Spring.Data.NHibernate.Northwind" that almost provides all the functionalities and the architecture that I want to implement in my project. The problem is that this sample project uses xml mapping files instead of attributes to map the classes, and as of today I've not been able to found any way to make the sample project work with attri开发者_JAVA百科butes mapping.

Any help would be appreciated.


It's been a while since I actually found a solution, there: Spring.NET forum

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜