In this example, we want to create a very simple domain model and map it using XML files. We will then let NHibernate create a SQL schema generation script based on these mapping files.
NHibernate.dllto the project.
nhibernate-mapping.xsd, which is located in the
libfolder, to the
Schemafolder. (If the said file is not yet located in your
libfolder, then please extract it from the ZIP file containing the NHibernate binaries—that you downloaded in Chapter 2—and copy ...