Skip to content

Add missing ids on documentation sections #1624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/reference/modules/query_sql.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<literal>ISession.CreateSQLQuery()</literal>. The following describes how
to use this API for querying.</para>

<sect2>
<sect2 id="querysql-scalar">
<title>Scalar queries</title>

<para>The most basic SQL query is to get a list of scalars
Expand Down Expand Up @@ -50,7 +50,7 @@
columns.</para>
</sect2>

<sect2>
<sect2 id="querysql-entity">
<title>Entity queries</title>

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

<sect2>
<sect2 id="querysql-associations-collections">
<title>Handling associations and collections</title>

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

<sect2>
<sect2 id="querysql-multiple-entities">
<title>Returning multiple entities</title>

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

<sect2>
<sect2 id="querysql-non-managed-entities">
<title>Returning non-managed entities</title>

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

<sect2>
<sect2 id="querysql-inheritance">
<title>Handling inheritance</title>

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

<sect2>
<sect2 id="querysql-parameters">
<title>Parameters</title>

<para>Native SQL queries support positional as well as named
Expand Down