MetaFileInfoProviderUpdateMetaFiles Method |
Updates the object meta files from the given DataTable. Returns true if some metafiles were updated.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public static bool UpdateMetaFiles(
BaseInfo infoObj,
DataTable filesDt,
int filesObjectId,
TranslationHelper th,
LoadDataEventHandler onLoadData = null,
bool logSynchronization = true,
bool parentIsNew = false,
bool onlyAddNew = false
)
Parameters
- infoObj
- Type: CMS.DataEngineBaseInfo
Info object for which the metafiles update - filesDt
- Type: System.DataDataTable
Table of the new files (with binaries) - filesObjectId
- Type: SystemInt32
Object ID in the new files table - th
- Type: CMS.DataEngineTranslationHelper
If provided, TranslateColumns events are raised with given TranslationHelper. - onLoadData (Optional)
- Type: CMS.DataEngineLoadDataEventHandler
Load data event handler - logSynchronization (Optional)
- Type: SystemBoolean
Indicates if staging tasks should be logged - parentIsNew (Optional)
- Type: SystemBoolean
If true, the parent object is a new object, therefore is no need to update or delete existing (there are none) - onlyAddNew (Optional)
- Type: SystemBoolean
If true, only new metafiles are added and existing are not updated
Return Value
Type:
BooleanReturns the GUID of the thumbnail meta file if found
See Also