EntityTypeConfiguration.AddComplexProperty Method (PropertyInfo)
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
public override ComplexPropertyConfiguration AddComplexProperty(
PropertyInfo propertyInfo
)
public:
virtual ComplexPropertyConfiguration^ AddComplexProperty(
PropertyInfo^ propertyInfo
) override
override AddComplexProperty :
propertyInfo:PropertyInfo -> ComplexPropertyConfiguration
Public Overrides Function AddComplexProperty (
propertyInfo As PropertyInfo
) As ComplexPropertyConfiguration
Parameters
propertyInfo
Type: System.Reflection.PropertyInfoThe backing CLR property.
Return Value
Type: System.Web.Http.OData.Builder.ComplexPropertyConfiguration
Returns the ComplexPropertyConfiguration of the added property.
See Also
EntityTypeConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top