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

15 lines
672 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="GamingSystem" table="system">
2011-02-09 00:05:32 +00:00
<id column="system_id" name="Id" type="int">
<generator class="identity" />
</id>
<property name="Name" column="system_name" not-null="true" length="255" unique="true"/>
<property name="Abbreviation" column="system_abbreviation" not-null="false" length="12" unique="true"/>
2011-02-09 00:05:32 +00:00
<property name="Created" column="created" not-null="true" />
<property name="ReleaseDate" column="release_date" not-null="false" />
</class>
</hibernate-mapping>