InheritanceMappingAttribute.Code 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 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 Property Code As Object

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
Show: