Entities retrieved by this query will be loaded in
a read-only mode where Hibernate will never dirty-check
them or make changes persistent.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IDetachedQuery SetReadOnly( bool readOnly ) |
Visual Basic |
---|
Function SetReadOnly ( _ readOnly As Boolean _ ) As IDetachedQuery |
Visual C++ |
---|
IDetachedQuery^ SetReadOnly( bool readOnly ) |
Parameters
- readOnly
- Type: System..::..Boolean
Enable/Disable read -only mode
Return Value
[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetReadOnly(System.Boolean)"]