Is the specified entity (or proxy) read-only?

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

Syntax

C#
public bool IsReadOnly(
	Object entityOrProxy
)
Visual Basic
Public Function IsReadOnly ( _
	entityOrProxy As Object _
) As Boolean
Visual C++
public:
virtual bool IsReadOnly(
	Object^ entityOrProxy
) sealed

Parameters

entityOrProxy
Type: System..::..Object
An entity (or INHibernateProxy)

Return Value

true if the entity or proxy is read-only, otherwise false.

Implements

IPersistenceContext..::..IsReadOnly(Object)

See Also