MetaDataMember.IsDiscriminator Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets whether this member represents the inheritance discriminator.

Namespace:   System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public abstract bool IsDiscriminator { get; }

Property Value

Type: System.Boolean

true if this member represents the inheritance discriminator; otherwise, false.

This property can be true for at most one member of the topmost mapped class in a hierarchy.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: