初始化CRICS
This commit is contained in:
9
Domain/Test.hbm.xml
Normal file
9
Domain/Test.hbm.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Domain" namespace="Domain">
|
||||
<class name="Domain.Test, Domain" table="Test">
|
||||
<id name="ID" column="ID" type="int" unsaved-value="0">
|
||||
<generator class="native" />
|
||||
</id>
|
||||
<property name="MyName" column="MyName" type="string" />
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
Reference in New Issue
Block a user