Share via


BindingPathConfiguration<TStructuralType> Class

Definition

Represents the configuration for the binding path that can be built using ODataModelBuilder. The structural type of the current binding path property.

public class BindingPathConfiguration<TStructuralType> where TStructuralType : class
type BindingPathConfiguration<'StructuralType (requires 'StructuralType : null)> = class
Public Class BindingPathConfiguration(Of TStructuralType)

Type Parameters

TStructuralType
Inheritance
BindingPathConfiguration<TStructuralType>

Constructors

BindingPathConfiguration<TStructuralType>(ODataModelBuilder, StructuralTypeConfiguration<TStructuralType>, NavigationSourceConfiguration, IList<MemberInfo>)

Initializes a new instance of the BindingPathConfiguration<TStructuralType> class.

BindingPathConfiguration<TStructuralType>(ODataModelBuilder, StructuralTypeConfiguration<TStructuralType>, NavigationSourceConfiguration)

Initializes a new instance of the BindingPathConfiguration<TStructuralType> class.

Properties

BindingPath

Gets the string of binding path information. like "A.B/C/D.E".

Path

Gets the list of binding path information.

Methods

HasManyBinding<TTargetType,TDerivedType>(Expression<Func<TDerivedType,IEnumerable<TTargetType>>>, String)

Configures an one-to-many path of the derived type for this binding path and binds the corresponding navigation property to the given entity set.

HasManyBinding<TTargetType>(Expression<Func<TStructuralType,IEnumerable<TTargetType>>>, String)

Configures an one-to-many path for this binding path and binds the corresponding navigation property to the given entity set.

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

Configures an one-to-many path of the derived type for this binding path.

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

Configures an one-to-many path of the derived type for this binding path.

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

Configures an one-to-many path for this binding path.

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

Configures an one-to-many path for this binding path.

HasOptionalBinding<TTargetType,TDerivedType>(Expression<Func<TDerivedType,TTargetType>>, String)

Configures an one-to-one path of the derived type for this binding path and binds the corresponding navigation property to the given entity set.

HasOptionalBinding<TTargetType>(Expression<Func<TStructuralType,TTargetType>>, String)

Configures an optional one-to-one path for this binding path and binds the corresponding navigation property to the given entity set.

HasRequiredBinding<TTargetType,TDerivedType>(Expression<Func<TDerivedType,TTargetType>>, String)

Configures a required one-to-one path of the derived type for this binding path and binds the corresponding navigation property to the given entity set.

HasRequiredBinding<TTargetType>(Expression<Func<TStructuralType,TTargetType>>, String)

Configures a required one-to-one path for this binding path and binds the corresponding navigation property to the given entity set.

HasSinglePath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,TTargetType>>, Boolean, Boolean)

Configures a required one-to-one path of the derived type for this binding path.

HasSinglePath<TTargetType,TDerivedType>(Expression<Func<TDerivedType,TTargetType>>)

Configures a required one-to-one path of the derived type for this binding path.

HasSinglePath<TTargetType>(Expression<Func<TStructuralType,TTargetType>>, Boolean, Boolean)

Configures an one-to-one path for this binding path.

HasSinglePath<TTargetType>(Expression<Func<TStructuralType,TTargetType>>)

Configures an one-to-one path for this binding path.

Applies to