Gets a
Boolean indicating if this PersistentBag needs to be recreated
in the database.
Namespace:
NHibernate.Collection
Assembly:
NHibernate (in NHibernate.dll)
Syntax
JavaScript |
---|
function needsRecreate(persister); |
Return Value
falseFalsefalsefalse (False in Visual Basic) if this is a
one-to-many Bag,
trueTruetruetrue (True in Visual Basic) if this is not
a
one-to-many Bag. Since a Bag is an unordered, unindexed collection
that permits duplicates it is not possible to determine what has changed in a
many-to-many so it is just recreated.
Implements
IPersistentCollection..::.NeedsRecreate(ICollectionPersister)
See Also