pmMDA.NET

PersistenceHandler.GetCount Method (Type, Object, Type, String)

[This is preliminary documentation and subject to change.]

Gets the item count of an indexed property.

public int GetCount(
   Type ownerType,
   object ownerId,
   Type itemType,
   string fieldName
);

Parameters

ownerType
The type of the owner of the indexed property.
ownerId
The Id of the owner.
itemType
The type of the items of the indexed collection.
fieldName
The name of the field which represents the indexed property.

Return Value

The count of persistent items of the specified indexed property.

Implements

IDataObjectHandlerImpl.GetCount

Remarks

This method is used to retrieve the count of an indexed property which is paged.

See Also

PersistenceHandler Class | PmMda.Net.Dog.Persistence Namespace | PersistenceHandler.GetCount Overload List