Skip to main content

Definition

Assembly: mscorlib.dll Namespace: System

Syntax

System.Type

Summary

This type is defined in mscorlib.

Methods

GetPrimitiveTypeReference Extension

Extension method from Microsoft.Restier.AspNet.Model.EdmHelpers
The type to get the primitive type reference.

Syntax

public static Microsoft.OData.Edm.EdmTypeReference GetPrimitiveTypeReference(System.Type type)

Parameters

NameTypeDescription
typeSystem.TypeThe clr type to get edm type reference.

Returns

Type: Microsoft.OData.Edm.EdmTypeReference The edm type reference for the clr type.

GetPrimitiveTypeReference Extension

Extension method from Microsoft.Restier.AspNetCore.Model.EdmHelpers
The type to get the primitive type reference.

Syntax

public static Microsoft.OData.Edm.EdmTypeReference GetPrimitiveTypeReference(System.Type type)

Parameters

NameTypeDescription
typeSystem.TypeThe clr type to get edm type reference.

Returns

Type: Microsoft.OData.Edm.EdmTypeReference The edm type reference for the clr type.

GetTypeReference Extension

Extension method from Microsoft.Restier.AspNet.Model.EdmHelpers
Get the edm type reference for a clr type.

Syntax

public static Microsoft.OData.Edm.IEdmTypeReference GetTypeReference(System.Type type, Microsoft.OData.Edm.IEdmModel model)

Parameters

NameTypeDescription
typeSystem.TypeThe clr type.
modelMicrosoft.OData.Edm.IEdmModelThe Edm model.

Returns

Type: Microsoft.OData.Edm.IEdmTypeReference The Edm type reference.

GetTypeReference Extension

Extension method from Microsoft.Restier.AspNetCore.Model.EdmHelpers
Get the edm type reference for a clr type.

Syntax

public static Microsoft.OData.Edm.IEdmTypeReference GetTypeReference(System.Type type, Microsoft.OData.Edm.IEdmModel model)

Parameters

NameTypeDescription
typeSystem.TypeThe clr type.
modelMicrosoft.OData.Edm.IEdmModelThe Edm model.

Returns

Type: Microsoft.OData.Edm.IEdmTypeReference The Edm type reference.