pmMDA.NET

PersistenceHandler.GetPersistentItemIds Method 

[This is preliminary documentation and subject to change.]

Returns the identifiers of the specified items which are persistent.

public object[] GetPersistentItemIds(
   Type ownerType,
   object ownerId,
   Type itemType,
   string fieldName,
   object[] itemIds
);

Parameters

ownerType
The type of the owner of the indexed property.
ownerId
The Id of the owner.
itemType
The item type of the indexed property.
fieldName
The name of the field which represents the indexed property.
itemIds
The identifiers of the items to check.

Return Value

The identifiers of all items which are persistent.

Implements

IDataObjectHandlerImpl.GetPersistentItemIds

Remarks

Only the identifiers of persistent available items are returned. This method is used to check whether an item was already removed by another transaction.

See Also

PersistenceHandler Class | PmMda.Net.Dog.Persistence Namespace