API Reference > imodeljs-backend > iModels > ChangeSummaryManager > attachChangeCache attachChangeCache MethodStatic Attaches the Change Cache file to the specified iModel if it hasn't been attached yet. A new Change Cache file will be created for the iModel if it hasn't existed before. attachChangeCache(iModel: IModelDb): void throws IModelError Parameter Type Description iModel IModelDb iModel to attach the Change Cache file file to Returns - void Defined in core/backend/src/ChangeSummaryManager.ts Line 113 Last Updated: 11 June, 2024