InheritanceMappingAttribute.IsDefault Property

 

Gets or sets whether an object of this type in instantiated when the discriminator value does not match a specified value.

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

public bool IsDefault { get; set; }

Property Value

Type: System.Boolean

Default = false.

Exactly one of the InheritanceMappingAttribute attributes must be declared with IsDefault as true.

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