When implemented by a class, returns a deep copy of the persistent
state, stopping at entities and at collections.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public abstract Object DeepCopy( Object val, EntityMode entityMode, ISessionFactoryImplementor factory ) |
Visual Basic |
---|
Public MustOverride Function DeepCopy ( _ val As Object, _ entityMode As EntityMode, _ factory As ISessionFactoryImplementor _ ) As Object |
Visual C++ |
---|
public: virtual Object^ DeepCopy( Object^ val, EntityMode entityMode, ISessionFactoryImplementor^ factory ) abstract |
Parameters
- val
- Type: System..::..Object
A Collection element or Entity field
- entityMode
- Type: NHibernate..::..EntityMode
The entityMode.
- factory
- Type: NHibernate.Engine..::..ISessionFactoryImplementor
The session factory.