Initializes a new instance of CollectionEntry for initialized detached collections.
Namespace:
NHibernate.ImplAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ cs As ICollectionSnapshot, _ factory As ISessionFactoryImplementor _ ) |
C# |
---|
public CollectionEntry( ICollectionSnapshot cs, ISessionFactoryImplementor factory ) |
Visual C++ |
---|
public: CollectionEntry( ICollectionSnapshot^ cs, ISessionFactoryImplementor^ factory ) |
JavaScript |
---|
NHibernate.Impl.CollectionEntry = function(cs, factory); |
Parameters
- cs
- Type: NHibernate.Engine..::.ICollectionSnapshot
The ICollectionSnapshot from another ISession.
- factory
- Type: NHibernate.Engine..::.ISessionFactoryImplementor
The ISessionFactoryImplementor that created this ISession.
Remarks
This takes an ICollectionSnapshot from another ISession and
creates an entry for it in this ISession by copying the values from the
cs parameter.