PrimitiveType.GetEdmPrimitiveType Method

Definition

Overloads

GetEdmPrimitiveType()

Returns the equivalent EdmType of this PrimitiveType .

GetEdmPrimitiveType(PrimitiveTypeKind)

Returns the equivalent EdmType of a PrimitiveType .

GetEdmPrimitiveType()

Returns the equivalent EdmType of this PrimitiveType .

public System.Data.Entity.Core.Metadata.Edm.EdmType GetEdmPrimitiveType ();
member this.GetEdmPrimitiveType : unit -> System.Data.Entity.Core.Metadata.Edm.EdmType
Public Function GetEdmPrimitiveType () As EdmType

Returns

An EdmType object that is an equivalent of this PrimitiveType .

Remarks

For example if this instance is nvarchar and it's base type is Edm String then the return type is Edm String. If the type is actually already a model type then the return type is "this".

Applies to

GetEdmPrimitiveType(PrimitiveTypeKind)

Returns the equivalent EdmType of a PrimitiveType .

public static System.Data.Entity.Core.Metadata.Edm.PrimitiveType GetEdmPrimitiveType (System.Data.Entity.Core.Metadata.Edm.PrimitiveTypeKind primitiveTypeKind);
static member GetEdmPrimitiveType : System.Data.Entity.Core.Metadata.Edm.PrimitiveTypeKind -> System.Data.Entity.Core.Metadata.Edm.PrimitiveType

Parameters

primitiveTypeKind
PrimitiveTypeKind

A value of type PrimitiveType.

Returns

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

Applies to