Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d8f0554

Browse filesBrowse files
Update documentation to 5.4 (#53)
And fix some http canonical links to https.
1 parent c8de967 commit d8f0554
Copy full SHA for d8f0554

File tree

87 files changed

+25865
-100
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner

87 files changed

+25865
-100
lines changed

‎doc/index.html

Copy file name to clipboardExpand all lines: doc/index.html
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h2>Current Reference</h2>
66
<ul>
77
<li>
8-
<a href="/doc/nhibernate-reference/index.html">The NHibernate Reference, v5.3</a>
8+
<a href="/doc/nhibernate-reference/index.html">The NHibernate Reference, v5.4</a>
99
(<a href="/doc/nhibernate-reference/index.html">HTML</a>,
1010
<a href="/doc/nh/en/index.html">single page HTML</a>,
1111
<a href="/doc/nh/en/nhibernate_reference.pdf">PDF</a>,
@@ -17,6 +17,13 @@ <h2>Current Reference</h2>
1717

1818
<h2>Previous Reference</h2>
1919
<ul>
20+
<li>
21+
<a href="/previous-doc/v5.3/ref/index.html">The NHibernate Reference, v5.3</a>
22+
(<a href="/previous-doc/v5.3/ref/index.html">HTML</a>,
23+
<a href="/previous-doc/v5.3/single/index.html">single page HTML</a>,
24+
<a href="/previous-doc/v5.3/single/nhibernate_reference.pdf">PDF</a>,
25+
<a href="/previous-doc/v5.3/single/nhibernate.reference.chm">CHM</a>)
26+
</li>
2027
<li>
2128
<a href="/previous-doc/v5.2/ref/index.html">The NHibernate Reference, v5.2</a>
2229
(<a href="/previous-doc/v5.2/ref/index.html">HTML</a>,

‎doc/nh/en/index.html

Copy file name to clipboardExpand all lines: doc/nh/en/index.html
+95-31Lines changed: 95 additions & 31 deletions
Large diffs are not rendered by default.

‎doc/nh/en/nhibernate.reference.chm

Copy file name to clipboard
2.04 KB
Binary file not shown.

‎doc/nh/en/nhibernate_reference.pdf

Copy file name to clipboard
6.38 KB
Binary file not shown.

‎doc/nhibernate-reference/caches.html

Copy file name to clipboardExpand all lines: doc/nhibernate-reference/caches.html
+13-13Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
</dd></dl></div><p>
177177
SysCache has a config file section handler to allow configuring different expirations and priorities for
178178
different regions. Here is an example:
179-
</p><div class="example"><a name="d0e19463"></a><p class="title"><b>Example&nbsp;27.1.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
179+
</p><div class="example"><a name="d0e19668"></a><p class="title"><b>Example&nbsp;27.1.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
180180
&lt;configuration&gt;
181181
&lt;configSections&gt;
182182
&lt;section name="syscache"
@@ -209,7 +209,7 @@
209209
</dd></dl></div><p>
210210
To configure cache regions with SqlCacheDependencies a <tt class="literal">syscache2</tt> config section must be
211211
defined in the application's configuration file. See the sample below.
212-
</p><div class="example"><a name="d0e19514"></a><p class="title"><b>Example&nbsp;27.2.&nbsp;</b></p><pre class="programlisting">
212+
</p><div class="example"><a name="d0e19719"></a><p class="title"><b>Example&nbsp;27.2.&nbsp;</b></p><pre class="programlisting">
213213
&lt;configSections&gt;
214214
&lt;section name="syscache2"
215215
type="NHibernate.Caches.SysCache2.SysCacheSection, NHibernate.Caches.SysCache2"/&gt;
@@ -224,7 +224,7 @@
224224
</p><p>
225225
To configure the data in a cache region to be invalidated when data in an underlying table is changed,
226226
a cache region must be configured in the application's configuration file. See the sample below.
227-
</p><div class="example"><a name="d0e19527"></a><p class="title"><b>Example&nbsp;27.3.&nbsp;</b></p><pre class="programlisting">&lt;syscache2&gt;
227+
</p><div class="example"><a name="d0e19732"></a><p class="title"><b>Example&nbsp;27.3.&nbsp;</b></p><pre class="programlisting">&lt;syscache2&gt;
228228
&lt;cacheRegion name="Product"&gt;
229229
&lt;dependencies&gt;
230230
&lt;tables&gt;
@@ -256,15 +256,15 @@
256256
</p><p>
257257
To configure the data in a cache region to be invalidated based on a SQL command, a cache region must
258258
be configured in the application's configuration file. See the samples below.
259-
</p><div class="example"><a name="d0e19572"></a><p class="title"><b>Example&nbsp;27.4.&nbsp;Stored Procedure</b></p><pre class="programlisting">&lt;cacheRegion name="Product" priority="High" &gt;
259+
</p><div class="example"><a name="d0e19777"></a><p class="title"><b>Example&nbsp;27.4.&nbsp;Stored Procedure</b></p><pre class="programlisting">&lt;cacheRegion name="Product" priority="High" &gt;
260260
&lt;dependencies&gt;
261261
&lt;commands&gt;
262262
&lt;add name="price"
263263
command="ActiveProductsStoredProcedure"
264264
isStoredProcedure="true"/&gt;
265265
&lt;/commands&gt;
266266
&lt;/dependencies&gt;
267-
&lt;/cacheRegion&gt;</pre></div><div class="example"><a name="d0e19577"></a><p class="title"><b>Example&nbsp;27.5.&nbsp;SELECT Statement</b></p><pre class="programlisting">&lt;cacheRegion name="Product" priority="High"&gt;
267+
&lt;/cacheRegion&gt;</pre></div><div class="example"><a name="d0e19782"></a><p class="title"><b>Example&nbsp;27.5.&nbsp;SELECT Statement</b></p><pre class="programlisting">&lt;cacheRegion name="Product" priority="High"&gt;
268268
&lt;dependencies&gt;
269269
&lt;commands&gt;
270270
&lt;add name="price"
@@ -287,7 +287,7 @@
287287
</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="NHibernate.Caches.SysCache2-Aggregate"></a>27.5.3.&nbsp;Aggregate Dependencies</h3></div></div><div></div></div><p>
288288
Multiple cache dependencies can be specified. If any of the dependencies triggers a change
289289
notification, the data in the cache region will be invalidated. See the samples below.
290-
</p><div class="example"><a name="d0e19638"></a><p class="title"><b>Example&nbsp;27.6.&nbsp;Multiple commands</b></p><pre class="programlisting">&lt;cacheRegion name="Product"&gt;
290+
</p><div class="example"><a name="d0e19843"></a><p class="title"><b>Example&nbsp;27.6.&nbsp;Multiple commands</b></p><pre class="programlisting">&lt;cacheRegion name="Product"&gt;
291291
&lt;dependencies&gt;
292292
&lt;commands&gt;
293293
&lt;add name="price"
@@ -297,7 +297,7 @@
297297
command="Select quantityAvailable from dbo.VideoAvailability"/&gt;
298298
&lt;/commands&gt;
299299
&lt;/dependencies&gt;
300-
&lt;/cacheRegion&gt;</pre></div><div class="example"><a name="d0e19643"></a><p class="title"><b>Example&nbsp;27.7.&nbsp;Mixed</b></p><pre class="programlisting">&lt;cacheRegion name="Product"&gt;
300+
&lt;/cacheRegion&gt;</pre></div><div class="example"><a name="d0e19848"></a><p class="title"><b>Example&nbsp;27.7.&nbsp;Mixed</b></p><pre class="programlisting">&lt;cacheRegion name="Product"&gt;
301301
&lt;dependencies&gt;
302302
&lt;commands&gt;
303303
&lt;add name="price"
@@ -315,7 +315,7 @@
315315
for each item added to the cache. Time based expiration policies will not invalidate the data
316316
dependencies for the whole cache region, but serve as a way to remove items from the cache after they
317317
have been in the cache for a specified amount of time. See the samples below.
318-
</p><div class="example"><a name="d0e19653"></a><p class="title"><b>Example&nbsp;27.8.&nbsp;Relative Expiration</b></p><pre class="programlisting">&lt;cacheRegion name="Product" relativeExpiration="300" priority="High" useSlidingExpiration="true" /&gt;</pre></div><div class="example"><a name="d0e19658"></a><p class="title"><b>Example&nbsp;27.9.&nbsp;Time of Day Expiration</b></p><pre class="programlisting">&lt;cacheRegion name="Product" timeOfDayExpiration="2:00:00" priority="High" /&gt;</pre></div><div class="variablelist"><p class="title"><b>Additional Configuration Properties</b></p><dl><dt><span class="term"><tt class="literal">relativeExpiration</tt></span></dt><dd><p>
318+
</p><div class="example"><a name="d0e19858"></a><p class="title"><b>Example&nbsp;27.8.&nbsp;Relative Expiration</b></p><pre class="programlisting">&lt;cacheRegion name="Product" relativeExpiration="300" priority="High" useSlidingExpiration="true" /&gt;</pre></div><div class="example"><a name="d0e19863"></a><p class="title"><b>Example&nbsp;27.9.&nbsp;Time of Day Expiration</b></p><pre class="programlisting">&lt;cacheRegion name="Product" timeOfDayExpiration="2:00:00" priority="High" /&gt;</pre></div><div class="variablelist"><p class="title"><b>Additional Configuration Properties</b></p><dl><dt><span class="term"><tt class="literal">relativeExpiration</tt></span></dt><dd><p>
319319
Number of seconds that an individual item will exist in the cache before being removed.
320320
Defaults to <tt class="literal">300</tt> if neither <tt class="literal">relativeExpiration</tt> nor
321321
<tt class="literal">timeOfDayExpiration</tt> are defined, and if no expiration settings are
@@ -351,7 +351,7 @@
351351
</dd></dl></div><p>
352352
RtMemoryCache has a config file section handler to allow configuring different expirations for
353353
different regions. Here is an example:
354-
</p><div class="example"><a name="d0e19755"></a><p class="title"><b>Example&nbsp;27.10.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
354+
</p><div class="example"><a name="d0e19960"></a><p class="title"><b>Example&nbsp;27.10.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
355355
&lt;configuration&gt;
356356
&lt;configSections&gt;
357357
&lt;section name="rtmemorycache"
@@ -513,7 +513,7 @@
513513
</dd></dl></div><p>
514514
NHibernate.Caches.StackExchangeRedis has a config file section handler to allow configuring different expirations for
515515
different regions. Here is an example:
516-
</p><div class="example"><a name="d0e20159"></a><p class="title"><b>Example&nbsp;27.11.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
516+
</p><div class="example"><a name="d0e20364"></a><p class="title"><b>Example&nbsp;27.11.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
517517
&lt;configuration&gt;
518518
&lt;configSections&gt;
519519
&lt;section name="redis"
@@ -547,7 +547,7 @@
547547
CoreMemoryCache has a config file section handler to allow configuring different expirations for
548548
different regions, and configuring the <tt class="literal">MemoryCache</tt> expiration scan frequency.
549549
Here is an example:
550-
</p><div class="example"><a name="d0e20209"></a><p class="title"><b>Example&nbsp;27.12.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
550+
</p><div class="example"><a name="d0e20414"></a><p class="title"><b>Example&nbsp;27.12.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
551551
&lt;configuration&gt;
552552
&lt;configSections&gt;
553553
&lt;section name="corememorycache"
@@ -589,7 +589,7 @@
589589
different regions, configuring the <tt class="literal">IDistributedCacheFactory</tt> to use, and configuring
590590
additional properties specific to the chosen <tt class="literal">IDistributedCache</tt> implementation.
591591
Here is an example:
592-
</p><div class="example"><a name="d0e20283"></a><p class="title"><b>Example&nbsp;27.13.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
592+
</p><div class="example"><a name="d0e20488"></a><p class="title"><b>Example&nbsp;27.13.&nbsp;</b></p><pre class="programlisting">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
593593
&lt;configuration&gt;
594594
&lt;configSections&gt;
595595
&lt;section name="coredistributedcache"
@@ -634,7 +634,7 @@
634634
<a href="https://github.com/cnblogs/EnyimMemcachedCore" target="_top">project website</a>. It has to be structured
635635
like the value part of the <tt class="literal">"enyimMemcached"</tt> property in an
636636
<tt class="literal">appsettings.json</tt> file.
637-
<div class="example"><a name="d0e20350"></a><p class="title"><b>Example&nbsp;27.14.&nbsp;</b></p><pre class="programlisting">{
637+
<div class="example"><a name="d0e20555"></a><p class="title"><b>Example&nbsp;27.14.&nbsp;</b></p><pre class="programlisting">{
638638
"Servers": [
639639
{
640640
"Address": "localhost",

‎doc/nhibernate-reference/contrib-preface.html

Copy file name to clipboardExpand all lines: doc/nhibernate-reference/contrib-preface.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44
<!doctype html>
55
<html><head>
6-
<meta charset="utf-8">
7-
<meta name="viewport" content="width=device-width, initial-scale=1" />
8-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1" />
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
99
<title>Preface</title><link rel="stylesheet" href="../shared/css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="up" href="part-contrib.html" title="Part&nbsp;I.&nbsp;NHibernateContrib Documentation"><link rel="previous" href="part-contrib.html" title="Part&nbsp;I.&nbsp;NHibernateContrib Documentation"><link rel="next" href="caches.html" title="Chapter&nbsp;27.&nbsp;NHibernate.Caches"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Preface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="part-contrib.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;I.&nbsp;NHibernateContrib Documentation</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="caches.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="contrib-preface"></a>Preface</h2></div></div><div></div></div>{% include google_adsense.html %}<p>The NHibernateContrib is various programs contributed to NHibernate by members of the NHibernate Team or by the end users. The projects in here are not considered core pieces of NHibernate but they extend it in a useful way.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="part-contrib.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="part-contrib.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="caches.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part&nbsp;I.&nbsp;NHibernateContrib Documentation&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;27.&nbsp;NHibernate.Caches</td></tr></table></div>{% include google_analytics.html %}{% include metrika_yandex_ru.html %}</body></html>

‎doc/nhibernate-reference/index.html

Copy file name to clipboardExpand all lines: doc/nhibernate-reference/index.html
+2-2Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.