|
64 | 64 | </mediaobject> |
65 | 65 |
|
66 | 66 | <para> |
67 | | - Heres some definitions of the objects in the diagrams: |
| 67 | + Here are some definitions of the objects in the diagrams: |
68 | 68 |
|
69 | 69 | <variablelist spacing="compact"> |
70 | 70 | <varlistentry> |
|
122 | 122 | (Optional) A single-threaded, short-lived object used by the application to |
123 | 123 | specify atomic units of work. Abstracts application from underlying ADO.NET |
124 | 124 | transaction. An <literal>ISession</literal> might span several |
125 | | - <literal>ITransaction</literal>s in some cases. |
| 125 | + <literal>ITransaction</literal>s in some cases. Transaction scopes may be used |
| 126 | + instead. |
126 | 127 | </para> |
127 | 128 | </listitem> |
128 | 129 | </varlistentry> |
|
227 | 228 | Starting with version 1.2, NHibernate added the <literal>ISessionFactory.GetCurrentSession()</literal> |
228 | 229 | method. The processing behind <literal>ISessionFactory.GetCurrentSession()</literal> is pluggable. |
229 | 230 | An extension interface (<literal>NHibernate.Context.ICurrentSessionContext</literal>) and a new |
230 | | - configuration parameter (<literal>hibernate.current_session_context_class</literal>) have been added |
| 231 | + configuration parameter (<literal>current_session_context_class</literal>) have been added |
231 | 232 | to allow pluggability of the scope and context of defining current sessions. |
232 | 233 | </para> |
233 | 234 | <para> |
|
245 | 246 | by current asynchronous flow. You are responsible to bind and unbind an |
246 | 247 | <literal>ISession</literal> instance with static methods of class |
247 | 248 | <literal>CurrentSessionContext</literal>. Binding operations from inner flows will not be |
248 | | - propagated to outer or siblings flows. |
| 249 | + propagated to outer or siblings flows. Added in NHibernate 5.0. |
249 | 250 | </para> |
250 | 251 | </listitem> |
251 | 252 | <listitem> |
|
293 | 294 | </itemizedlist> |
294 | 295 |
|
295 | 296 | <para> |
296 | | - The <literal>hibernate.current_session_context_class</literal> configuration parameter |
| 297 | + The <literal>current_session_context_class</literal> configuration parameter |
297 | 298 | defines which <literal>NHibernate.Context.ICurrentSessionContext</literal> implementation |
298 | 299 | should be used. Typically, the value of this parameter would just name the implementation |
299 | 300 | class to use (including the assembly name); for the out-of-the-box implementations, however, |
|
0 commit comments