Enforce the condition that this query is read-only. This ensure that certain query rewrite optimizations, such as join elimination, can be used.

Namespace: NHibernate.Dialect
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public string ForReadOnlyString { get; }
Visual Basic
Public ReadOnly Property ForReadOnlyString As String
	Get
Visual C++
public:
property String^ ForReadOnlyString {
	String^ get ();
}

See Also