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.8.0.0 (5.8.21.0111)
Syntax bool CheckIfEntityHasPendingFkSyncs<TEntity>(
Dictionary<Guid, TEntity> inQueue
)
where TEntity : IEntityCore
Function CheckIfEntityHasPendingFkSyncs(Of TEntity As IEntityCore) (
inQueue As Dictionary(Of Guid, TEntity)
) As Boolean
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:
BooleanSee Also