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: 12.0.0
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