BindingPathConfiguration<TStructuralType>.HasManyPath Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
HasManyPath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>) |
Konfiguruje cestu 1:N odvozeného typu pro tuto cestu vazby. |
HasManyPath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>, Boolean) |
Konfiguruje cestu 1:N odvozeného typu pro tuto cestu vazby. |
HasManyPath<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>) |
Nakonfiguruje cestu 1:N pro tuto cestu vazby. |
HasManyPath<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>, Boolean) |
Nakonfiguruje cestu 1:N pro tuto cestu vazby. |
HasManyPath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>)
Konfiguruje cestu 1:N odvozeného typu pro tuto cestu vazby.
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)
Parametry typu
- TTargetType
Typ vlastnosti cíle.
- TDerivedType
Odvozený typ konstrukce.
Parametry
- pathExpression
- Expression<Func<TDerivedType,IEnumerable<TTargetType>>>
Výraz lambda představující vlastnost cesty vazby pro relaci.
Například v jazyce C# t => t.MyProperty
a v jazyce Visual Basic .NET Function(t) t.MyProperty
.
Návraty
Objekt BindingPathConfiguration<TStructuralType> konfigurace, který lze použít k další konfiguraci cesty vazby nebo ukončení vazby.
Platí pro
HasManyPath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>, Boolean)
Konfiguruje cestu 1:N odvozeného typu pro tuto cestu vazby.
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)
Parametry typu
- TTargetType
Typ vlastnosti cíle.
- TDerivedType
Odvozený typ konstrukce.
Parametry
- pathExpression
- Expression<Func<TDerivedType,IEnumerable<TTargetType>>>
Výraz lambda představující vlastnost cesty vazby pro relaci.
Například v jazyce C# t => t.MyProperty
a v jazyce Visual Basic .NET Function(t) t.MyProperty
.
- contained
- Boolean
Příznak představující vlastnost cíle jako uzavření.
Návraty
Objekt BindingPathConfiguration<TStructuralType> konfigurace, který lze použít k další konfiguraci cesty vazby nebo ukončení vazby.
Platí pro
HasManyPath<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>)
Nakonfiguruje cestu 1:N pro tuto cestu vazby.
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)
Parametry typu
- TTargetType
Typ vlastnosti cíle.
Parametry
- pathExpression
- Expression<Func<TStructuralType,IEnumerable<TTargetType>>>
Výraz lambda představující vlastnost cesty vazby pro relaci.
Například v jazyce C# t => t.MyProperty
a v jazyce Visual Basic .NET Function(t) t.MyProperty
.
Návraty
Objekt BindingPathConfiguration<TStructuralType> konfigurace, který lze použít k další konfiguraci cesty vazby nebo ukončení vazby.
Platí pro
HasManyPath<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>, Boolean)
Nakonfiguruje cestu 1:N pro tuto cestu vazby.
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)
Parametry typu
- TTargetType
Typ vlastnosti cíle.
Parametry
- pathExpression
- Expression<Func<TStructuralType,IEnumerable<TTargetType>>>
Výraz lambda představující vlastnost cesty vazby pro relaci.
Například v jazyce C# t => t.MyProperty
a v jazyce Visual Basic .NET Function(t) t.MyProperty
.
- contained
- Boolean
Příznak představující vlastnost cíle jako uzavření.
Návraty
Objekt BindingPathConfiguration<TStructuralType> konfigurace, který lze použít k další konfiguraci cesty vazby nebo ukončení vazby.