[ROOT] / doc / DocFrag / ARCCore.PCollection

KeyValue
AssemblyARCCore
DocFragTypeClass
NamePCollection
NamespaceARCCore
TypePCollection

ClassAttribute

KeyValue
AssemblyNameARCCore
BaseTypesPRich
ClassNamespaceARCCore
ClassTypePCollection
InterfacesIP; -IEnumerable<IKIP>-; -IEnumerable-; IGetKeysEqualToValue; -ITrySetPP-
InterfacesDirectlyImplementedIGetKeysEqualToValue; -ITrySetPP-

A class useful for storing a collection of entities (a table in RDBMS-terms) because it implements Indexing.

Uses Indexing for all keys ending with 'Id' (keys assumed to be foreign keys).

Example, for an entity type 'Order', you can create an inheriting class like this:
public class OrderCollection : PCollection {
}
in order to utilize indexing when searching for foreign keys in the 'Order'-collection, like 'Order/WHERE CustomerId = 42'
Note how TryParse choses a collection class with help from AllIPDerivedEntityCollectionClassesDict, but it does not necessarily have to inherit PCollection.

Edit


Generated 2025-10-29 15:11:13.433 UTC