Code Property
Collapse the table of content
Expand the table of content

InheritanceMappingAttribute.Code Property


Gets or sets the discriminator code value in a mapped inheritance hierarchy.

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

public object Code { get; set; }

Property Value

Type: System.Object

Must be user-specified. There is no default value.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
© 2015 Microsoft