Click or drag to resize

EntityCoreTFieldsSetEntitySyncInformation Method

Will set the passed in information as Entity sync information. If there is no sync information stored yet for the related entity then a new entry is created, otherwise it's info is added to the sync information of this entity, if it isn't already present. If there is already sync information for this field stored for another related entity, that information is removed.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
protected virtual void SetEntitySyncInformation(
	string fieldName,
	IEntityCore relatedEntity,
	IEntityRelation relation
)

Parameters

fieldName
Type: SystemString
Name of field of this entity mapped onto passed in relation
relatedEntity
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
related entity set as value for field with name fieldName
relation
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
EntityRelation object which is the relation between this entity and the passed in relatedEntity
See Also