<
hibernate-mapping 
xmlns
=”urn:nhibernate-mapping-2.2″
 namespace
=”ThoughtSoft.CMS.Box”
 assembly
=”thoughtsoft.cms”
>

    

<
class 
name
=”BoxParamDao”
 table
=”Cms_Box_Param”
>

        

<
id 
name
=”BoxParamId”
 
>

            

<
column 
name
=”BOX_PARAM_ID”
 sql-type
=”nvarchar2″
 length
=”36″
 not-null
=”true”
/>

            

<
generator 
class
=”assigned”
 
/>

        

</
id
>

        

<
property 
name
=”BoxId”
 
>

            

<
column 
name
=”BOX_ID”
 sql-type
=”number(8,0)”
 not-null
=”true”
/>

        

</
property
>

        

<
property 
name
=”AttributeInfo”
 type
=”ThoughtSoft.CMS.Box.BoxParamCompositeType, thoughtsoft.cms”
>

            

<
column 
name
=”BOX_PARAM_TYPE”
 sql-type
=”nvarchar2″
 length
=”20″
 not-null
=”true”
/>

            

<
column 
name
=”BOX_PARAM_NAME”
 sql-type
=”nvarchar2″
 length
=”20″
 not-null
=”true”
/>

            

<
column 
name
=”BOX_PARAM_DESC”
 sql-type
=”nvarchar2″
 length
=”50″
 not-null
=”false”
/>

            

<
column 
name
=”BOX_PARAM_LEN”
 sql-type
=”nvarchar2″
 length
=”50″
 not-null
=”false”
/>

        

</
property
>

        

<
property 
name
=”Value”
 
>

            

<
column 
name
=”BOX_PARAM_VALUE”
 sql-type
=”nvarchar2″
 length
=”2000″
 not-null
=”false”
/>

        

</
property
>

    

</
class
>


</
hibernate-mapping
>

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。