PrimitivePropertyConfiguration Constructor (PropertyInfo, StructuralTypeConfiguration)
Initializes a new instance of the PrimitivePropertyConfiguration class.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public PrimitivePropertyConfiguration(
PropertyInfo property,
StructuralTypeConfiguration declaringType
)
public:
PrimitivePropertyConfiguration(
PropertyInfo^ property,
StructuralTypeConfiguration^ declaringType
)
new :
property:PropertyInfo *
declaringType:StructuralTypeConfiguration -> PrimitivePropertyConfiguration
Public Sub New (
property As PropertyInfo,
declaringType As StructuralTypeConfiguration
)
Parameters
property
Type: System.Reflection.PropertyInfoThe name of the property.
declaringType
Type: System.Web.Http.OData.Builder.StructuralTypeConfigurationThe declaring EDM type of the property.
See Also
PrimitivePropertyConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top