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()
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 >
You can’t perform that action at this time.
0 commit comments