EntityCoreTFieldsIEntityCoreCheckIfEntityHasPendingFkSyncs 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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax bool IEntityCore.CheckIfEntityHasPendingFkSyncs<TEntity>(
Dictionary<Guid, TEntity> inQueue
)
where TEntity : IEntityCore
Private Function CheckIfEntityHasPendingFkSyncs(Of TEntity As IEntityCore) (
inQueue As Dictionary(Of Guid, TEntity)
) As Boolean Implements IEntityCore.CheckIfEntityHasPendingFkSyncs
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:
BooleanImplements
IEntityCoreCheckIfEntityHasPendingFkSyncsTEntity(DictionaryGuid, TEntity)See Also