BaseInfoInsertAsCloneInternal Method |
This method is called on cloned object prepared in memory by InsertAsClone method.
Override if you need to do further actions before inserting actual object to DB (insert special objects, modify foreign keys, copy files, etc.).
Calls Insert() by default.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax protected internal virtual void InsertAsCloneInternal(
CloneSettings settings,
CloneResult result,
BaseInfo originalObject
)
Parameters
- settings
- Type: CMS.DataEngineCloneSettings
Cloning settings - result
- Type: CMS.DataEngineCloneResult
Result of the cloning - messages in this object will be altered by processing this method - originalObject
- Type: CMS.DataEngineBaseInfo
Original source BaseInfo (object being cloned)
See Also