Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.QueryCacheRegion Property

Gets or sets the name of the cache region for queries executed by this template.

[Visual Basic]
Public Overrides Property QueryCacheRegion() As String
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public override string QueryCacheRegion { public get; public set; }

Property Value

The query cache region.

Remarks

If this is specified, it will be applied to all IQuery and ICriteria objects created by this template (including all queries through find methods).

The cache region will not take effect unless queries created by this template are configured to be cached via the CacheQueries property.

See Also

HibernateTemplate Class | Spring.Data.NHibernate.Generic Namespace