Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Models Inheritance: System.Enum

Syntax

Microsoft.OData.Mcp.Core.Models.EdmPrimitiveType

Summary

Represents the EDM primitive types as defined in the OData specification.

Remarks

These types correspond to the primitive types defined in the Entity Data Model (EDM) and are used to represent the basic data types in OData services.

Values

NameValueDescription
Binary0Represents binary data.
Boolean1Represents a boolean value (true or false).
Byte2Represents a single byte unsigned integer.
Date3Represents a date value without time information.
DateTimeOffset4Represents a date and time value.
Decimal5Represents a numeric value with fixed precision and scale.
Double6Represents a 64-bit floating point value.
Duration7Represents a duration value.
Guid8Represents a 128-bit globally unique identifier.
Int169Represents a 16-bit signed integer.
Int3210Represents a 32-bit signed integer.
Int6411Represents a 64-bit signed integer.
SByte12Represents a signed byte.
Single13Represents a 32-bit floating point value.
Stream14Represents a stream value.
String15Represents a string value.
TimeOfDay16Represents a time of day value.
Geography17Represents geography data.
GeographyPoint18Represents geography point data.
GeographyLineString19Represents geography line string data.
GeographyPolygon20Represents geography polygon data.
GeographyMultiPoint21Represents geography multi-point data.
GeographyMultiLineString22Represents geography multi-line string data.
GeographyMultiPolygon23Represents geography multi-polygon data.
GeographyCollection24Represents geography collection data.
Geometry25Represents geometry data.
GeometryPoint26Represents geometry point data.
GeometryLineString27Represents geometry line string data.
GeometryPolygon28Represents geometry polygon data.
GeometryMultiPoint29Represents geometry multi-point data.
GeometryMultiLineString30Represents geometry multi-line string data.
GeometryMultiPolygon31Represents geometry multi-polygon data.
GeometryCollection32Represents geometry collection data.