Gets a Boolean indicating if the underlying collection is directly accessable through code.

Namespace:  NHibernate.Collection
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Property IsDirectlyAccessible As Boolean
C#
bool IsDirectlyAccessible { get; set; }
Visual C++
property bool IsDirectlyAccessible {
	bool get ();
	void set (bool value);
}
JavaScript
function get_isDirectlyAccessible();
function set_isDirectlyAccessible(value);

Field Value

trueTruetruetrue (True in Visual Basic) if we are not guaranteed that the NHibernate collection wrapper is being used.

Remarks

This is typically falseFalsefalsefalse (False in Visual Basic) whenever a transient object that contains a collection is being associated with an ISession through Save(Object) or SaveOrUpdate(Object). NHibernate can't guarantee that it will know about all operations that would cause NHibernate's collections to call Read()()() or Write()()().

See Also