EntityTypeConfiguration.AddComplexProperty Method
Adds a new EDM complex property to this entity type.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Overrides Function AddComplexProperty ( _
propertyInfo As PropertyInfo _
) As ComplexPropertyConfiguration
'Usage
Dim instance As EntityTypeConfiguration
Dim propertyInfo As PropertyInfo
Dim returnValue As ComplexPropertyConfiguration
returnValue = instance.AddComplexProperty(propertyInfo)
public override ComplexPropertyConfiguration AddComplexProperty(
PropertyInfo propertyInfo
)
public:
virtual ComplexPropertyConfiguration^ AddComplexProperty(
PropertyInfo^ propertyInfo
) override
abstract AddComplexProperty :
propertyInfo:PropertyInfo -> ComplexPropertyConfiguration
override AddComplexProperty :
propertyInfo:PropertyInfo -> ComplexPropertyConfiguration
public override function AddComplexProperty(
propertyInfo : PropertyInfo
) : ComplexPropertyConfiguration
Parameters
- propertyInfo
Type: System.Reflection.PropertyInfo
The backing CLR property.
Return Value
Type: System.Web.Http.OData.Builder.ComplexPropertyConfiguration
Returns the ComplexPropertyConfiguration of the added property.