Skip to content

Commit 7b66bd5

Browse files
Add missing ids on documentation sections
Missing ids cause links to the section to change at each doc generation.
1 parent 274cf37 commit 7b66bd5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/reference/modules/query_sql.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<literal>ISession.CreateSQLQuery()</literal>. The following describes how
1919
to use this API for querying.</para>
2020

21-
<sect2>
21+
<sect2 id="querysql-scalar">
2222
<title>Scalar queries</title>
2323

2424
<para>The most basic SQL query is to get a list of scalars
@@ -50,7 +50,7 @@
5050
columns.</para>
5151
</sect2>
5252

53-
<sect2>
53+
<sect2 id="querysql-entity">
5454
<title>Entity queries</title>
5555

5656
<para>The above query was about returning scalar values,
@@ -92,7 +92,7 @@ sess.CreateSQLQuery("SELECT ID, NAME, BIRTHDATE FROM CATS").AddEntity(typeof(Cat
9292
<para>This will allow cat.Dog property access to function properly.</para>
9393
</sect2>
9494

95-
<sect2>
95+
<sect2 id="querysql-associations-collections">
9696
<title>Handling associations and collections</title>
9797

9898
<para>It is possible to eagerly join in the <literal>Dog</literal> to
@@ -129,7 +129,7 @@ sess.CreateSQLQuery("SELECT ID, NAME, BIRTHDATE FROM CATS").AddEntity(typeof(Cat
129129
names are not enough.</para>
130130
</sect2>
131131

132-
<sect2>
132+
<sect2 id="querysql-multiple-entities">
133133
<title>Returning multiple entities</title>
134134

135135
<para>Until now the result set column names are assumed to be the same
@@ -315,7 +315,7 @@ var loggedCats = sess.CreateSQLQuery(sql)
315315
</sect3>
316316
</sect2>
317317

318-
<sect2>
318+
<sect2 id="querysql-non-managed-entities">
319319
<title>Returning non-managed entities</title>
320320

321321
<para>It is possible to apply an <literal>IResultTransformer</literal> to native sql queries. Allowing it to e.g. return non-managed entities.</para>
@@ -345,15 +345,15 @@ var loggedCats = sess.CreateSQLQuery(sql)
345345
</para>
346346
</sect2>
347347

348-
<sect2>
348+
<sect2 id="querysql-inheritance">
349349
<title>Handling inheritance</title>
350350

351351
<para>Native SQL queries which query for entities that are mapped as part
352352
of an inheritance hierarchy must include all properties for the base class and all
353353
its subclasses.</para>
354354
</sect2>
355355

356-
<sect2>
356+
<sect2 id="querysql-parameters">
357357
<title>Parameters</title>
358358

359359
<para>Native SQL queries support positional as well as named

0 commit comments

Comments
 (0)