Gets or sets a TypeNames object that contains the names of the types
that represent Endeca primitives (i.e. records and dimension values).
Namespace:
Endeca.Data.ProviderAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.1.0 (2.1.1.620)
Syntax
Remarks
This property enables an application developer to define subclasses of Endeca primitives
such as Record and DimensionValue, and instruct the RAD API
to create instances of these application-specific subclasses instead of the base
primitive types.
When defining a subclass of a primitive, it is required that the subclass provide a public, 0-argument constructor. Additionally, the programmer will generally want to apply a TypeDescriptionProviderAttribute to the subclass indicating that AttributeMapTypeDescriptionProvider<(Of <(T>)>) should be used as the type description provider for the subclass. This provider exposes the values in Properties or Properties to be exposed as PropertyDescriptors. In particular, this enables values in these PropertyMaps to be accessed by name when using the Eval method in an ASP.NET web application.
Examples
The following example shows a simple Record subclass:
CopyC#
using System.ComponentModel; using Endeca.Data; using Endeca.Data.ComponentModel; [TypeDescriptionProvider(typeof(AttributeMapTypeDescriptionProvider<AppRecord>))] public class AppRecord : Record { public AppRecord() { } }