Click or drag to resize
IContactDataInjectorInject Method
Injects provided data to a ContactInfo identified by contactId.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax
C#
void Inject(
	ISimpleDataContainer data,
	int contactId,
	IContactDataMapper mapper,
	IContactDataPropagationChecker checker = null
)

Parameters

data
Type: CMS.BaseISimpleDataContainer
Data to update contact with.
contactId
Type: SystemInt32
Contact ID.
mapper
Type: CMS.ContactManagementIContactDataMapper
Mapper to map values from data to contact.
checker (Optional)
Type: CMS.ContactManagementIContactDataPropagationChecker
Optionally checks whether the injection is allowed. If not provided, data is updated.
See Also