Compartir a través de


BindingPathConfiguration<TStructuralType>.HasManyPath Método

Definición

Sobrecargas

HasManyPath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>)

Configura una ruta de acceso uno a varios del tipo derivado para esta ruta de acceso de enlace.

HasManyPath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>, Boolean)

Configura una ruta de acceso uno a varios del tipo derivado para esta ruta de acceso de enlace.

HasManyPath<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>)

Configura una ruta de acceso uno a varios para esta ruta de acceso de enlace.

HasManyPath<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>, Boolean)

Configura una ruta de acceso uno a varios para esta ruta de acceso de enlace.

HasManyPath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>)

Configura una ruta de acceso uno a varios del tipo derivado para esta ruta de acceso de enlace.

public Microsoft.AspNet.OData.Builder.BindingPathConfiguration<TTargetType> HasManyPath<TTargetType,TDerivedType> (System.Linq.Expressions.Expression<Func<TDerivedType,System.Collections.Generic.IEnumerable<TTargetType>>> pathExpression) where TTargetType : class where TDerivedType : class, TStructuralType;
member this.HasManyPath : System.Linq.Expressions.Expression<Func<#'StructuralType, seq<'argetType>>> -> Microsoft.AspNet.OData.Builder.BindingPathConfiguration<'argetType (requires 'argetType : null)> (requires 'argetType : null)
Public Function HasManyPath(Of TTargetType As Class, TDerivedType As Class) (pathExpression As Expression(Of Func(Of TDerivedType, IEnumerable(Of TTargetType)))) As BindingPathConfiguration(Of TTargetType)

Parámetros de tipo

TTargetType

Tipo de propiedad de destino.

TDerivedType

Tipo estructural derivado.

Parámetros

pathExpression
Expression<Func<TDerivedType,IEnumerable<TTargetType>>>

Expresión lambda que representa la propiedad de ruta de acceso de enlace para la relación. Por ejemplo, en C# t => t.MyProperty y en Visual Basic .NET Function(t) t.MyProperty.

Devoluciones

Objeto de configuración BindingPathConfiguration<TStructuralType> que se puede usar para configurar aún más la ruta de acceso de enlace o finalizar el enlace.

Se aplica a

HasManyPath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>, Boolean)

Configura una ruta de acceso uno a varios del tipo derivado para esta ruta de acceso de enlace.

public Microsoft.AspNet.OData.Builder.BindingPathConfiguration<TTargetType> HasManyPath<TTargetType,TDerivedType> (System.Linq.Expressions.Expression<Func<TDerivedType,System.Collections.Generic.IEnumerable<TTargetType>>> pathExpression, bool contained) where TTargetType : class where TDerivedType : class, TStructuralType;
member this.HasManyPath : System.Linq.Expressions.Expression<Func<#'StructuralType, seq<'argetType>>> * bool -> Microsoft.AspNet.OData.Builder.BindingPathConfiguration<'argetType (requires 'argetType : null)> (requires 'argetType : null)
Public Function HasManyPath(Of TTargetType As Class, TDerivedType As Class) (pathExpression As Expression(Of Func(Of TDerivedType, IEnumerable(Of TTargetType))), contained As Boolean) As BindingPathConfiguration(Of TTargetType)

Parámetros de tipo

TTargetType

Tipo de propiedad de destino.

TDerivedType

Tipo estructural derivado.

Parámetros

pathExpression
Expression<Func<TDerivedType,IEnumerable<TTargetType>>>

Expresión lambda que representa la propiedad de ruta de acceso de enlace para la relación. Por ejemplo, en C# t => t.MyProperty y en Visual Basic .NET Function(t) t.MyProperty.

contained
Boolean

Marca que representa la propiedad de destino como contención.

Devoluciones

Objeto de configuración BindingPathConfiguration<TStructuralType> que se puede usar para configurar aún más la ruta de acceso de enlace o finalizar el enlace.

Se aplica a

HasManyPath<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>)

Configura una ruta de acceso uno a varios para esta ruta de acceso de enlace.

public Microsoft.AspNet.OData.Builder.BindingPathConfiguration<TTargetType> HasManyPath<TTargetType> (System.Linq.Expressions.Expression<Func<TStructuralType,System.Collections.Generic.IEnumerable<TTargetType>>> pathExpression) where TTargetType : class;
member this.HasManyPath : System.Linq.Expressions.Expression<Func<'StructuralType, seq<'argetType>>> -> Microsoft.AspNet.OData.Builder.BindingPathConfiguration<'argetType (requires 'argetType : null)> (requires 'argetType : null)
Public Function HasManyPath(Of TTargetType As Class) (pathExpression As Expression(Of Func(Of TStructuralType, IEnumerable(Of TTargetType)))) As BindingPathConfiguration(Of TTargetType)

Parámetros de tipo

TTargetType

Tipo de propiedad de destino.

Parámetros

pathExpression
Expression<Func<TStructuralType,IEnumerable<TTargetType>>>

Expresión lambda que representa la propiedad de ruta de acceso de enlace para la relación. Por ejemplo, en C# t => t.MyProperty y en Visual Basic .NET Function(t) t.MyProperty.

Devoluciones

Objeto de configuración BindingPathConfiguration<TStructuralType> que se puede usar para configurar aún más la ruta de acceso de enlace o finalizar el enlace.

Se aplica a

HasManyPath<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>, Boolean)

Configura una ruta de acceso uno a varios para esta ruta de acceso de enlace.

public Microsoft.AspNet.OData.Builder.BindingPathConfiguration<TTargetType> HasManyPath<TTargetType> (System.Linq.Expressions.Expression<Func<TStructuralType,System.Collections.Generic.IEnumerable<TTargetType>>> pathExpression, bool contained) where TTargetType : class;
member this.HasManyPath : System.Linq.Expressions.Expression<Func<'StructuralType, seq<'argetType>>> * bool -> Microsoft.AspNet.OData.Builder.BindingPathConfiguration<'argetType (requires 'argetType : null)> (requires 'argetType : null)
Public Function HasManyPath(Of TTargetType As Class) (pathExpression As Expression(Of Func(Of TStructuralType, IEnumerable(Of TTargetType))), contained As Boolean) As BindingPathConfiguration(Of TTargetType)

Parámetros de tipo

TTargetType

Tipo de propiedad de destino.

Parámetros

pathExpression
Expression<Func<TStructuralType,IEnumerable<TTargetType>>>

Expresión lambda que representa la propiedad de ruta de acceso de enlace para la relación. Por ejemplo, en C# t => t.MyProperty y en Visual Basic .NET Function(t) t.MyProperty.

contained
Boolean

Marca que representa la propiedad de destino como contención.

Devoluciones

Objeto de configuración BindingPathConfiguration<TStructuralType> que se puede usar para configurar aún más la ruta de acceso de enlace o finalizar el enlace.

Se aplica a