API Reference > OdRx Classes > OdDgRxEventReactor Class > OdDgRxEventReactor Methods > beginInsert Method > OdDgRxEventReactor::beginInsert Method (OdDgDatabase*, OdString&, OdDgDatabase*)
OdDgRxEventReactor::beginInsert Method (OdDgDatabase*, OdString&, OdDgDatabase*)
Syntax
C++
virtual void beginInsert(OdDgDatabase* pToDb, const OdString& blockName, OdDgDatabase* pFromDb);
Parameters 
Description 
OdDgDatabase* pToDb 
[in] Destination database.  
const OdString& blockName 
[in] Name of the block. 
OdDgDatabase* pFromDb 
[in] Source database.  

Notification function called whenever one database is about to be inserted into another. 

 

This function is called before the operation. 

If blockName is specified, pFromDb was inserted into pToDb as a OdDbBlockTableRecord.

  • abortInsert
  • endInsert
  • otherInsert

Copyright © 2002–2021. Open Design Alliance. All rights reserved.