Skip to content

Commit 674cec0

Browse files
Doc adjustment
1 parent 68c3e30 commit 674cec0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/reference/modules/configuration.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ Configuration cfg = new Configuration()
115115
obtain ADO.NET connections wherever it pleases:
116116
</para>
117117

118-
<programlisting><![CDATA[DbConnection conn = myApp.GetOpenConnection();
119-
ISession session = sessions.OpenSession(conn);
118+
<programlisting><![CDATA[var conn = myApp.GetOpenConnection();
119+
var session = sessions.OpenSession(conn);
120120
121121
// do some data access work]]></programlisting>
122122

@@ -291,7 +291,7 @@ ISession session = sessions.OpenSession(conn);
291291
<literal>command_timeout</literal>
292292
</entry>
293293
<entry>
294-
Specify the default timeout of <literal>DbCommands</literal>
294+
Specify the default timeout of <literal>DbCommand</literal>s
295295
generated by NHibernate.
296296
</entry>
297297
</row>

0 commit comments

Comments
 (0)