[ROOT] / doc / tocInheritance / IGetKeysEqualToValue / PCollection
DimAccountCollection , DimCustomerCollection , DimDepartmentCollection , DimEmployeeCollection , DimOrganizationCollection , DimProductCollection , DimProductSubcategoryCollection , DimResellerCollection , FactCurrencyRateCollection , FactFinanceCollection , FactInternetSaleCollection , FactInternetSaleReasonCollection , FactProductDescriptionCollection , FactProductInventoryCollection , FactResellerSaleCollection , FactSalesQuotaCollection , FactSurveyResponseCollection , TranslationsCollection
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.
TODO: Consider introducing a generic type-parameter for the class for which we are a collection for.
TODO: See -PCollectionES- in ARCEvent for examples.
DimAccountCollection | The existence of this class ensures that Indexing will be used for foreign key ParentDimAccountId. |
DimCustomerCollection | The existence of this class ensures that Indexing will be used for foreign key DimGeographyId. |
DimDepartmentCollection | The existence of this class ensures that Indexing will be used for foreign key ParentDimDepartmentId. |
DimEmployeeCollection | The existence of this class ensures that Indexing will be used for foreign keys ParentEmployeeId and DimSalesTerritoryId. |
DimOrganizationCollection | The existence of this class ensures that Indexing will be used for foreign keys like ParentDimOrganizationId and DimCurrencyId, |
DimProductCollection | The existence of this class ensures that Indexing will be used for foreign key DimProductSubcategoryId. |
DimProductSubcategoryCollection | The existence of this class ensures that Indexing will be used for foreign key DimProductCategoryId. |
DimResellerCollection | The existence of this class ensures that Indexing will be used for foreign key DimGeographyId. |
FactCurrencyRateCollection | The existence of this class ensures that Indexing will be used for foreign key DimCurrencyId. |
FactFinanceCollection | The existence of this class ensures that Indexing will be used for foreign keys like DimOrganizationId, DimDepartmentGroupId and DimAccountId. |
FactInternetSaleCollection | The existence of this class ensures that Indexing will be used for foreign keys like DimCustomerId, DimPromotionId, DimProductId and DimCurrencyId. |
FactInternetSaleReasonCollection | The existence of this class ensures that Indexing will be used for foreign key DimSalesReasonId. |
FactProductDescriptionCollection | The existence of this class ensures that Indexing will be used for foreign key DimProductId. |
FactProductInventoryCollection | The existence of this class ensures that Indexing will be used for foreign key DimProductId. |
FactResellerSaleCollection | The existence of this class ensures that Indexing will be used for foreign keys like DimProductId, DimResellerId, DimPromotionId, DimEmployeeId and DimSalesTerritoryId. |
FactSalesQuotaCollection | The existence of this class ensures that Indexing will be used for foreign key DimEmployeeId. |
FactSurveyResponseCollection | The existence of this class ensures that Indexing will be used for foreign keys DimCustomerId, DimProductCategoryId and DimProductSubcategoryId. |
TranslationsCollection | This would consist of one key per language, with keys like "de_DE", "fr_FR", "nb_NO". |
Generated 2024-05-18 09:23:51.452 UTC