Will entities (and proxies) loaded by this Criteria be put in read-only mode?
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
bool IsReadOnly { get; } |
Visual Basic |
---|
ReadOnly Property IsReadOnly As Boolean Get |
Visual C++ |
---|
property bool IsReadOnly { bool get (); } |
Return Value
true if entities and proxies loaded by the criteria will be put in read-only mode, otherwise false.Remarks
If the read-only setting was not initialized, then the value of the session's DefaultReadOnly property is returned instead.
The read-only setting has no impact on entities or proxies returned by the Criteria that existed in the session before the Criteria was executed.