PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/MM.Persistence.NH/Domain/Movie.hbm.xml

#
XML | 14 lines | 14 code | 0 blank | 0 comment | 0 complexity | ee63506dfd664a82bc8b6883f5dc85d0 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8" ?>
 2<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" 
 3                   namespace="MM.Domain" 
 4                   assembly="MM.Domain">
 5  <class name="Movie" table="Movies">
 6    <id name="Id">
 7      <generator class="identity"/>
 8    </id>
 9    <property name="Name"/>
10    <many-to-one name="Categoria" class="Categoria" column="IdCategoria"/>
11    <property name="Synopsis"/>
12    <property name="Year"/>
13  </class>
14  </hibernate-mapping>