IEdmEntityType person = edmModel.FindDeclaredType("Person") as IEdmEntityType; IEdmStructuralProperty ageProperty = person.FindProperty("Age") as IEdmStructuralProperty; person.AssertHasPrimitiveProperty(ageProperty.Name);In this example, we are using the IEdmEntityType interface to retrieve the "Person" entity type from the model. Then we are using the FindProperty method to retrieve the "Age" property, and checking that it is a primitive type property by calling the AssertHasPrimitiveProperty method. Package library: Microsoft.OData.Edm.