Read-only status

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

Syntax

C#
bool ReadOnly { get; set; }
Visual Basic
Property ReadOnly As Boolean
	Get
	Set
Visual C++
property bool ReadOnly {
	bool get ();
	void set (bool value);
}

Remarks

Not available when the proxy is detached or its associated session is closed.

To check if the read-only setting is available, use IsReadOnlySettingAvailable

The read-only status of the entity will be made to match the read-only status of the proxy upon initialization.

See Also