Click or drag to resize

IEntityCoreCheckIfEntityHasPendingFkSyncsTEntity Method

Checks whether this instance has pending fk syncs. A pending FK sync is a sync which hasn't been used yet. If an entity has pending FK syncs, it has to be included into a save queue. Only syncs with entities in the passed in queue are considered. If a sync is with an entity which isn't in the passed in queue, the sync isn't honoured anyway, so the fk sync can be ignored.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
bool CheckIfEntityHasPendingFkSyncs<TEntity>(
	Dictionary<Guid, TEntity> inQueue
)
where TEntity : IEntityCore

Parameters

inQueue
Type: System.Collections.GenericDictionaryGuid, TEntity
Hashtable of the entities which are currently scheduled to be saved in the queue. A pending sync has to be with an entity in this queue

Type Parameters

TEntity

Return Value

Type: Boolean
See Also