Description: PrimitiveType GetEdmPrimitiveType is a method that is used to get the EdmPrimitiveType for a given primitive type.
Examples: 1. This example gets the EdmPrimitiveType for an Int32 primitive type.
var primitiveType = PrimitiveType.GetEdmPrimitiveType(typeof(Int32));
2. This example gets the EdmPrimitiveType for a String primitive type.
var primitiveType = PrimitiveType.GetEdmPrimitiveType(typeof(String));
Package Library:
This method is part of the Microsoft.Data.Edm library which is available as a NuGet package.
C# (CSharp) PrimitiveType.GetEdmPrimitiveType - 30 examples found. These are the top rated real world C# (CSharp) examples of PrimitiveType.GetEdmPrimitiveType extracted from open source projects. You can rate examples to help us improve the quality of examples.