Called before inserting rows, to ensure that any surrogate keys are fully generated

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

Syntax

Visual Basic (Declaration)
Public Overridable Sub PreInsert ( _
	persister As ICollectionPersister _
)
C#
public virtual void PreInsert(
	ICollectionPersister persister
)
Visual C++
public:
virtual void PreInsert(
	ICollectionPersister^ persister
)
JavaScript
function preInsert(persister);

Implements

IPersistentCollection..::.PreInsert(ICollectionPersister)

See Also