http://nhforge.org/doc/nh/en/index.html#mapping-declaration-version

2009/12/10 NHibernate1 <[email protected]>

> Hi All,
>
> I am new to NHibernate Versioning can anyone provide nice links and
> examples regarding using NHibernate Versioining.
> I would like to know the full details about the below element in Hbm
> mappings.
>
> <xs:element name="version">
>                <xs:annotation>
>                        <xs:documentation>Versioned data requires a column
> holding a
> version number. This is exposed to the application through a property
> of the .NET class</xs:documentation>
>                </xs:annotation>
>                <xs:complexType>
>                        <xs:attribute name="name" type="xs:string"
> use="required"/>
>                        <xs:attribute name="access" type="xs:string"/>
>                        <xs:attribute name="column" type="xs:string"/>
>                        <xs:attribute name="type" type="xs:string"
> default="Int32"/>
>                        <xs:attribute name="unsaved-value" type="xs:string">
>                                <xs:annotation>
>
>  <xs:documentation>undefined|any|none|null|0|-1|... </
> xs:documentation>
>                                </xs:annotation>
>                        </xs:attribute>
>                        <xs:attribute name="generated" type="
>                        Generation" use="optional" default="never"/>
>                </xs:complexType>
>        </xs:element>
>
>
> InDepth details would be appreciated.
>
> Thanks
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>
>


-- 
Fabio Maulo

--

You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.


Reply via email to