Click or drag to resize
EntityCoreTFieldsPerformDesetupSyncRelatedEntity Method
Performs the desetup of the sync info related to the relatedentity passed in

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
protected void PerformDesetupSyncRelatedEntity(
	IEntityCore relatedEntity,
	PropertyChangedEventHandler propertiesChangedHandler,
	string fieldName,
	IEntityRelation relation,
	bool disconnectFromSaveEvent,
	bool signalRelatedEntity,
	string fieldInRelatedEntity,
	bool resetFKFields,
	int[] fkFieldIndexes


Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
The related entity.
Type: System.ComponentModelPropertyChangedEventHandler
The properties changed handler.
Type: SystemString
Name of the field.
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
The relation.
Type: SystemBoolean
if set to true [disconnect from save event].
Type: SystemBoolean
if set to true, it will signal the related entity that it's been dereferenced by calling it's UnsetRelatedEntity method. If the relation is a m:1 relation, the related entity is told not to signal us back IF resetFKFields is false. This is a special case because the 1:n location is in a collection and by telling the related entity not to signal us back, the related entity will use a silent remove on the collection, otherwise the remove is done by the public Remove method which will always signal us back. THe resetFKFields flag signals that this call originates from a location where FK fields are written manually, and the signal back from the related entity will do that again, if performed, hence the special case.
Type: SystemString
The field in related entity.
Type: SystemBoolean
if set to true [reset FK fields].
Type: SystemInt32
The fk field indexes.
See Also