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)

Syntax

Visual Basic (Declaration)
Public Overridable Function NeedsRecreate ( _
	persister As ICollectionPersister _
) As Boolean
C#
public virtual bool NeedsRecreate(
	ICollectionPersister persister
)
Visual C++
public:
virtual bool NeedsRecreate(
	ICollectionPersister^ persister
)
JavaScript
function needsRecreate(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