Gets a Boolean indicating if the rows for this collection need to be recreated in the table.

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

Syntax

C#
public virtual bool NeedsRecreate(
	ICollectionPersister persister
)
Visual Basic
Public Overridable Function NeedsRecreate ( _
	persister As ICollectionPersister _
) As Boolean
Visual C++
public:
virtual bool NeedsRecreate(
	ICollectionPersister^ persister
)

Return Value

falseFalsefalsefalse (False in Visual Basic) by default since most collections can determine which rows need to be individually updated/inserted/deleted. Currently only PersistentBag's for many-to-many need to be recreated.

Implements

IPersistentCollection..::..NeedsRecreate(ICollectionPersister)

See Also