PrimitiveType.GetEdmPrimitiveType Method (PrimitiveTypeKind)

 
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.

Returns the equivalent EdmType of a PrimitiveType.

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public static PrimitiveType GetEdmPrimitiveType(
	PrimitiveTypeKind primitiveTypeKind
)

Parameters

primitiveTypeKind
Type: System.Data.Metadata.Edm.PrimitiveTypeKind

A value of type PrimitiveType.

Return Value

Type: System.Data.Metadata.Edm.PrimitiveType

An EdmType object that is an equivalent of a specified PrimitiveType.

For more information, see GetEdmPrimitiveType.

.NET Framework
Available since 3.5
Return to top
Show: