Mindscape LightSpeed - User Reference & API Documentation
DiscriminatorAttribute Class
API ReferenceMindscape.LightSpeedDiscriminatorAttribute
Facilitates Single Table Inheritance. Use the Attribute property to indicate the database column used to discriminate between types in an inheritance hierachy. The database column used as a discriminator is not required to exist in the domain model.
Declaration Syntax
C#Visual Basic
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class DiscriminatorAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := False)> _
Public NotInheritable Class DiscriminatorAttribute _
	Inherits Attribute
Members
All MembersConstructorsProperties



IconMemberDescription
DiscriminatorAttribute()()()
Attribute
The database column used to discriminate between types in an inheritance hierachy. The database column used as a discriminator is not required to exist in the domain model.

Value
The value of Attribute that when matched causes instances of the type associated with this DiscriminatorAttribute to be created.

Inheritance Hierarchy
Object
Attribute
 DiscriminatorAttribute

Assembly: Mindscape.LightSpeed (Module: Mindscape.LightSpeed) Version: 1.2.1393.0 (1.2.1393.0)