[ROOT] / doc / toc / ARAdventureWorksOLAP / Enum / DimSalesTerritoryP / Image / __TOCDet
| Key | Value |
|---|---|
| Assembly | ARAdventureWorksOLAP |
| DocFragType | EnumMember |
| Name | Image |
| Namespace | ARAdventureWorksOLAP |
| Type | DimSalesTerritoryP |
PK
| Key | Value |
|---|---|
| PKHTMLAttribute | Contains pointer to HTML encoder for a property. The encoder replaces any standard mechanism used for HTML encoding a single property. It is useful for instance for showing images, where the property value can be for instance a Base64-encoding of the binary data which the encoder converts into an HTML <IMG> tag. Used in ARCCore by class Extensions method ToHTMLSimpleAsTableRow. Used in ARCQuery by class -QueryProgressDetails- method ToHTMLSimpleSingle. This attribute can be used in two distinct manners: 1) Manually in C#, that is, at TaggingOfPropertyKeys like: [PKHtml(Encoder = typeof(PictureEncoder))] Picture, for a specific property called 'Picture'. or 2) Use a class implementing ITypeDescriber which through the EnrichKey-principle in that interface, supplies this attribute (PKHTMLAttribute) with the necessary encoder. In this manner (with a class called 'Picture', you only have to write: [PKType(type=typeof(Picture))] Picture, Note: In the last case, the class 'Picture' also have to set ValidatorAndParser and implement ToString(). Encoder, EnumMember, EnumType |
| PKTypeAttribute | Called 'SalesTerritoryImage' in original sample database BoilerplateCodeProperties, Cardinality, Description, EnumMember, EnumType, IsObligatory, Type |
Called 'SalesTerritoryImage' in original sample database
Generated 2025-10-28 10:22:18.260 UTC