diff --git a/doc/reference/modules/query_sql.xml b/doc/reference/modules/query_sql.xml index 4524967651d..5045da565a1 100644 --- a/doc/reference/modules/query_sql.xml +++ b/doc/reference/modules/query_sql.xml @@ -18,7 +18,7 @@ ISession.CreateSQLQuery(). The following describes how to use this API for querying. - + Scalar queries The most basic SQL query is to get a list of scalars @@ -50,7 +50,7 @@ columns. - + Entity queries The above query was about returning scalar values, @@ -92,7 +92,7 @@ sess.CreateSQLQuery("SELECT ID, NAME, BIRTHDATE FROM CATS").AddEntity(typeof(Cat This will allow cat.Dog property access to function properly. - + Handling associations and collections It is possible to eagerly join in the Dog to @@ -129,7 +129,7 @@ sess.CreateSQLQuery("SELECT ID, NAME, BIRTHDATE FROM CATS").AddEntity(typeof(Cat names are not enough. - + Returning multiple entities Until now the result set column names are assumed to be the same @@ -315,7 +315,7 @@ var loggedCats = sess.CreateSQLQuery(sql) - + Returning non-managed entities It is possible to apply an IResultTransformer to native sql queries. Allowing it to e.g. return non-managed entities. @@ -345,7 +345,7 @@ var loggedCats = sess.CreateSQLQuery(sql) - + Handling inheritance Native SQL queries which query for entities that are mapped as part @@ -353,7 +353,7 @@ var loggedCats = sess.CreateSQLQuery(sql) its subclasses. - + Parameters Native SQL queries support positional as well as named