Skip to content

Commit 197f88a

Browse files
Update v5.4 docs (#58)
1 parent a50bff4 commit 197f88a

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

doc/nh/en/index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3075,6 +3075,7 @@
30753075
formula="any SQL expression" <span class="co">(9)</span>
30763076
entity-name="entityName" <span class="co">(10)</span>
30773077
foreign-key="foreignKeyName" <span class="co">(11)</span>
3078+
optimistic-lock="true|false" <span class="co">(12)</span>
30783079
/&gt;</pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left">(1)</td><td valign="top" align="left"><p>
30793080
<tt class="literal">name</tt>: The name of the property.
30803081
</p></td></tr><tr><td width="5%" valign="top" align="left">(2)</td><td valign="top" align="left"><p>
@@ -3116,9 +3117,14 @@
31163117
<tt class="literal">&lt;formula&gt;</tt> element(s).
31173118
</p></td></tr><tr><td width="5%" valign="top" align="left">(10)</td><td valign="top" align="left"><p>
31183119
<tt class="literal">entity-name</tt> (optional): The entity name of the associated class.
3119-
</p></td></tr><tr><td width="5%" valign="top" align="left">(10)</td><td valign="top" align="left"><p>
3120+
</p></td></tr><tr><td width="5%" valign="top" align="left">(11)</td><td valign="top" align="left"><p>
31203121
<tt class="literal">foreign-key</tt> (optional): Specifies the name of the foreign key
31213122
constraint for DDL generation.
3123+
</p></td></tr><tr><td width="5%" valign="top" align="left">(12)</td><td valign="top" align="left"><p>
3124+
<tt class="literal">optimistic-lock</tt> (optional - defaults to <tt class="literal">true</tt>):
3125+
Specifies that updates to this property do or do not require acquisition of the
3126+
optimistic lock. In other words, determines if a version increment should occur when
3127+
this property is dirty.
31223128
</p></td></tr></table></div></div><p>
31233129
There are two varieties of one-to-one association:
31243130
</p><div class="itemizedlist"><ul type="disc"><li><p>

doc/nh/en/nhibernate.reference.chm

36 Bytes
Binary file not shown.

doc/nh/en/nhibernate_reference.pdf

410 Bytes
Binary file not shown.

doc/nhibernate-reference/mapping.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,7 @@
12681268
formula="any SQL expression" <span class="co">(9)</span>
12691269
entity-name="entityName" <span class="co">(10)</span>
12701270
foreign-key="foreignKeyName" <span class="co">(11)</span>
1271+
optimistic-lock="true|false" <span class="co">(12)</span>
12711272
/&gt;</pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left">(1)</td><td valign="top" align="left"><p>
12721273
<tt class="literal">name</tt>: The name of the property.
12731274
</p></td></tr><tr><td width="5%" valign="top" align="left">(2)</td><td valign="top" align="left"><p>
@@ -1309,9 +1310,14 @@
13091310
<tt class="literal">&lt;formula&gt;</tt> element(s).
13101311
</p></td></tr><tr><td width="5%" valign="top" align="left">(10)</td><td valign="top" align="left"><p>
13111312
<tt class="literal">entity-name</tt> (optional): The entity name of the associated class.
1312-
</p></td></tr><tr><td width="5%" valign="top" align="left">(10)</td><td valign="top" align="left"><p>
1313+
</p></td></tr><tr><td width="5%" valign="top" align="left">(11)</td><td valign="top" align="left"><p>
13131314
<tt class="literal">foreign-key</tt> (optional): Specifies the name of the foreign key
13141315
constraint for DDL generation.
1316+
</p></td></tr><tr><td width="5%" valign="top" align="left">(12)</td><td valign="top" align="left"><p>
1317+
<tt class="literal">optimistic-lock</tt> (optional - defaults to <tt class="literal">true</tt>):
1318+
Specifies that updates to this property do or do not require acquisition of the
1319+
optimistic lock. In other words, determines if a version increment should occur when
1320+
this property is dirty.
13151321
</p></td></tr></table></div></div><p>
13161322
There are two varieties of one-to-one association:
13171323
</p><div class="itemizedlist"><ul type="disc"><li><p>

0 commit comments

Comments
 (0)