Returns an Identical copy of this Object that is not attached to an ObjectSet or a Parent Object.
[Visual Basic]
Public Function _Clone( _
Optional ByVal ReplicateRowValuesByCopy As Boolean _
) As BaseClass[C#]
public BaseClass _Clone(
bool ReplicateRowValuesByCopy
);[JScript]
public function _Clone(
ReplicateRowValuesByCopy : boolean
) : BaseClass;If the underlying rowdata is cloned (i.e. ReplicateRowValuesByCopy=False) then amendments to values in the cloned object will be replicated in the source object.
If the underlying rowdata is copied (i.e. ReplicateRowValuesByCopy=True) then the cloned object will have its status set to 'NewObject' and can be added to an ObjectSet.
(in this case you need to ensure Primary Key and other constraints are observed).
ConstructorClass Class | ConstructorClass Members
©2006 i3 Design Limited. All rights reserved.