PropertyConfiguration Constructor
Initializes a new instance of the PropertyConfiguration class.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Protected Sub New ( _
property As PropertyInfo, _
declaringType As StructuralTypeConfiguration _
)
'Usage
Dim property As PropertyInfo
Dim declaringType As StructuralTypeConfiguration
Dim instance As New PropertyConfiguration(property, _
declaringType)
protected PropertyConfiguration(
PropertyInfo property,
StructuralTypeConfiguration declaringType
)
protected:
PropertyConfiguration(
PropertyInfo^ property,
StructuralTypeConfiguration^ declaringType
)
new :
property:PropertyInfo *
declaringType:StructuralTypeConfiguration -> PropertyConfiguration
protected function PropertyConfiguration(
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.