File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ Configuration cfg = new Configuration()
115
115
obtain ADO.NET connections wherever it pleases:
116
116
</para >
117
117
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);
120
120
121
121
// do some data access work]]> </programlisting >
122
122
@@ -291,7 +291,7 @@ ISession session = sessions.OpenSession(conn);
291
291
<literal >command_timeout</literal >
292
292
</entry >
293
293
<entry >
294
- Specify the default timeout of <literal >DbCommands </literal >
294
+ Specify the default timeout of <literal >DbCommand </literal >s
295
295
generated by NHibernate.
296
296
</entry >
297
297
</row >
You can’t perform that action at this time.
0 commit comments