StructuralTypeConfiguration<TStructuralType>.ComplexProperty<TComplexType> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a complex property to the EDM type.
public Microsoft.AspNet.OData.Builder.ComplexPropertyConfiguration ComplexProperty<TComplexType> (System.Linq.Expressions.Expression<Func<TStructuralType,TComplexType>> propertyExpression);
member this.ComplexProperty : System.Linq.Expressions.Expression<Func<'StructuralType, 'ComplexType>> -> Microsoft.AspNet.OData.Builder.ComplexPropertyConfiguration
Public Function ComplexProperty(Of TComplexType) (propertyExpression As Expression(Of Func(Of TStructuralType, TComplexType))) As ComplexPropertyConfiguration
Type Parameters
- TComplexType
The complex type.
Parameters
- propertyExpression
- Expression<Func<TStructuralType,TComplexType>>
A lambda expression representing the navigation property for the relationship.
For example, in C# t => t.MyProperty
and in Visual Basic .NET Function(t) t.MyProperty
.
Returns
A configuration object that can be used to further configure the property.