PrimitivePropertyConfiguration Constructor
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
'Declaration
Public Sub New ( _
property As PropertyInfo, _
declaringType As StructuralTypeConfiguration _
)
'Usage
Dim property As PropertyInfo
Dim declaringType As StructuralTypeConfiguration
Dim instance As New PrimitivePropertyConfiguration(property, _
declaringType)
public PrimitivePropertyConfiguration(
PropertyInfo property,
StructuralTypeConfiguration declaringType
)
public:
PrimitivePropertyConfiguration(
PropertyInfo^ property,
StructuralTypeConfiguration^ declaringType
)
new :
property:PropertyInfo *
declaringType:StructuralTypeConfiguration -> PrimitivePropertyConfiguration
public function PrimitivePropertyConfiguration(
property : PropertyInfo,
declaringType : StructuralTypeConfiguration
)
Parameters
- property
Type: System.Reflection.PropertyInfo
The name of the property.
- declaringType
Type: System.Web.Http.OData.Builder.StructuralTypeConfiguration
The declaring EDM type of the property.