Compartir a través de


StructuralTypeConfiguration<TStructuralType>.ComplexProperty<TComplexType> Método

Definición

Agrega una propiedad compleja al tipo EDM.

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

Parámetros de tipo

TComplexType

El tipo complejo.

Parámetros

propertyExpression
Expression<Func<TStructuralType,TComplexType>>

Una expresión lambda que representa la propiedad de navegación de la relación. Por ejemplo, en C# t => t.MyProperty y en Visual Basic .NET Function(t) t.MyProperty.

Devoluciones

Un objeto de configuración que se puede usar para seguir configurando la propiedad.

Se aplica a