This documentation is archived and is not being maintained.
ColumnAttribute.IsDiscriminator Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets whether a column contains a discriminator value for a LINQ to SQL inheritance hierarchy.
Namespace:
System.Data.Linq.Mapping
Assembly:
System.Data.Linq (in System.Data.Linq.dll)
public bool IsDiscriminator { get; set; }
When true, this property identifies the class member as holding the discriminator value for an inheritance hierarchy.
You can set this property to true for no more than one member, which must belong to the topmost mapped class in the hierarchy.
Windows Phone OS
Supported in: 8.1, 8.0