views:

51

answers:

0

Hello everyone,

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 attributes mapping.

Any help would be appreciated.