Hibernate Team |
|
Joined: Tue Jun 13, 2006 11:29 pm Posts: 315 Location: Calgary, Alberta, Canada
|
Where one puts the mapping files (hbm.xml files) is mostly a preference thing. I personally like to put it with my data access project ("project" in Visual Studio's sense); I won't bore you with my rationale and stuff. You can put them in which ever project you choose.
To embed the mapping file, go to the Solution Explorer, for each hbm.xml files, highlight it and press F4, then in the "Properties" window, change the "Build Action" property from "Content" to "Embedded Resource".
_________________ Karl Chu
|
|