StructuralTypeConfiguration.AddComplexProperty Method (PropertyInfo)
Adds a complex property to this edm type.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual ComplexPropertyConfiguration AddComplexProperty(
PropertyInfo propertyInfo
)
public:
virtual ComplexPropertyConfiguration^ AddComplexProperty(
PropertyInfo^ propertyInfo
)
abstract AddComplexProperty :
propertyInfo:PropertyInfo -> ComplexPropertyConfiguration
override AddComplexProperty :
propertyInfo:PropertyInfo -> ComplexPropertyConfiguration
Public Overridable Function AddComplexProperty (
propertyInfo As PropertyInfo
) As ComplexPropertyConfiguration
Parameters
propertyInfo
Type: System.Reflection.PropertyInfoThe property being added.
Return Value
Type: System.Web.Http.OData.Builder.ComplexPropertyConfiguration
The ComplexPropertyConfiguration so that the property can be configured further.
See Also
StructuralTypeConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top