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)
Syntax
Visual Basic (Declaration) |
---|
Public MustOverride Function DeepCopy ( _ val As Object _ ) As Object |
C# |
---|
public abstract Object DeepCopy( Object val ) |
Visual C++ |
---|
public: virtual Object^ DeepCopy( Object^ val ) abstract |
JavaScript |
---|
function deepCopy(val); |
Parameters
- val
- Type: System..::.Object
A Collection element or Entity field