Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » General » Downloads
 

NHibernate Made Simple

By , 31 Oct 2007
 
nhibernatesimpledemo.zip
NHibernateSimpleDemo
Database
NHibernateSimpleDemo.mdf
NHibernateSimpleDemo_log.ldf
NHibernateSimpleDemo.suo
NHibernateSimpleDemo
bin
Debug
Castle.DynamicProxy.dll
Iesi.Collections.dll
log4net.dll
NHibernate.dll
NHibernateSimpleDemo.exe
NHibernateSimpleDemo.vshost.exe
Controller
Model
BusinessModel.cd
NHibernateSimpleDemo.csproj.user
Persistence
Properties
View
<?xml version="1.0"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   namespace="NHibernateSimpleDemo"
                   assembly="NHibernateSimpleDemo">

    <!-- Mappings for class 'Product' -->
    <class name="Product" table="Products" lazy="false">

        <!-- Identity mapping -->
        <id name="ID">
            <column name="ProductID" />
            <generator class="native" />
        </id>

        <!-- Simple mappings -->
        <property name="Name" />

    </class>

</hibernate-mapping>

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

David Veeneman
Software Developer (Senior) Foresight Systems
United States United States
Member
David Veeneman is a financial planner and software developer. He is the author of "The Fortune in Your Future" (McGraw-Hill 1998). His company, Foresight Systems, develops planning and financial software.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 31 Oct 2007
Article Copyright 2007 by David Veeneman
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid