vgquotes/Src/VideoGameQuotes.Api/Mappings/Publisher.hbm.xml

14 lines
560 B
XML
Raw Normal View History

2011-02-09 00:05:32 +00:00
<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="VideoGameQuotes.Api" namespace="VideoGameQuotes.Api">
<class name="Publisher" table="publisher">
<id column="publisher_id" name="Id" type="int">
<generator class="identity" />
</id>
<property name="Name" column="publisher_name" not-null="true" length="512"/>
<property name="Website" column="website" not-null="false" length="512"/>
<property name="Created" column="created" not-null="true" />
</class>
</hibernate-mapping>