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

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

Syntax

C#
bool IsDirectlyAccessible { get; }
Visual Basic
ReadOnly Property IsDirectlyAccessible As Boolean
	Get
Visual C++
property bool IsDirectlyAccessible {
	bool get ();
}

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