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# |
---|
Object DeepCopy( Object val, EntityMode entityMode, ISessionFactoryImplementor factory ) |
Visual Basic |
---|
Function DeepCopy ( _ val As Object, _ entityMode As EntityMode, _ factory As ISessionFactoryImplementor _ ) As Object |
Visual C++ |
---|
Object^ DeepCopy( Object^ val, EntityMode entityMode, ISessionFactoryImplementor^ factory ) |
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.