Skip to content

Commit ba6576b

Browse files
committed
NH-3722 - Remove mentions of default_entity_mode from documentation
1 parent acd305d commit ba6576b

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

doc/reference/modules/persistent_classes.xml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -256,18 +256,11 @@ namespace Eg
256256
(using <literal>Dictionaries</literal> of <literal>Dictionary</literal>s at runtime) . With this approach, you don't
257257
write persistent classes, only mapping files.
258258
</para>
259-
260-
<para>
261-
By default, NHibernate works in normal POCO mode. You may set a default entity
262-
representation mode for a particular <literal>ISessionFactory</literal> using the
263-
<literal>default_entity_mode</literal> configuration option (see
264-
<xref linkend="configuration-optional-properties"/>.
265-
</para>
266-
259+
267260
<para>
268261
The following examples demonstrates the representation using <literal>Map</literal>s (Dictionary).
269262
First, in the mapping file, an <literal>entity-name</literal> has to be declared
270-
instead of (or in addition to) a class name:
263+
instead of a class name:
271264
</para>
272265

273266
<programlisting><![CDATA[<hibernate-mapping>
@@ -305,16 +298,13 @@ namespace Eg
305298
</hibernate-mapping>]]></programlisting>
306299

307300
<para>
308-
309301
Note that even though associations are declared using target class names,
310302
the target type of an associations may also be a dynamic entity instead
311303
of a POCO.
312304
</para>
313305

314306
<para>
315-
After setting the default entity mode to <literal>dynamic-map</literal>
316-
for the <literal>ISessionFactory</literal>, we can at runtime work with
317-
<literal>Dictionaries</literal> of <literal>Dictionaries</literal>:
307+
At runtime we can work with <literal>Dictionaries</literal> of <literal>Dictionaries</literal>:
318308
</para>
319309

320310
<programlisting><![CDATA[using(ISession s = OpenSession())

0 commit comments

Comments
 (0)