Share via


StructuralTypeConfiguration.AddComplexProperty(PropertyInfo) Method

Definition

Adds a complex property to this edm type.

public virtual Microsoft.AspNet.OData.Builder.ComplexPropertyConfiguration AddComplexProperty (System.Reflection.PropertyInfo propertyInfo);
abstract member AddComplexProperty : System.Reflection.PropertyInfo -> Microsoft.AspNet.OData.Builder.ComplexPropertyConfiguration
override this.AddComplexProperty : System.Reflection.PropertyInfo -> Microsoft.AspNet.OData.Builder.ComplexPropertyConfiguration
Public Overridable Function AddComplexProperty (propertyInfo As PropertyInfo) As ComplexPropertyConfiguration

Parameters

propertyInfo
PropertyInfo

The property being added.

Returns

The ComplexPropertyConfiguration so that the property can be configured further.

Applies to