Share via


InsertModificationStoredProcedureConfiguration<TEntityType>.Navigation Method

Definition

Overloads

Navigation<TPrincipalEntityType>(Expression<Func<TPrincipalEntityType, ICollection<TEntityType>>>, Action<AssociationModificationStoredProcedureConfiguration<TPrincipalEntityType>>)

Configures parameters for a relationship where the foreign key property is not included in the class.

Navigation<TPrincipalEntityType>(Expression<Func<TPrincipalEntityType, TEntityType>>, Action<AssociationModificationStoredProcedureConfiguration<TPrincipalEntityType>>)

Configures parameters for a relationship where the foreign key property is not included in the class.

Navigation<TPrincipalEntityType>(Expression<Func<TPrincipalEntityType, ICollection<TEntityType>>>, Action<AssociationModificationStoredProcedureConfiguration<TPrincipalEntityType>>)

Configures parameters for a relationship where the foreign key property is not included in the class.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType> Navigation<TPrincipalEntityType> (System.Linq.Expressions.Expression<Func<TPrincipalEntityType,System.Collections.Generic.ICollection<TEntityType>>> navigationPropertyExpression, Action<System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<TPrincipalEntityType>> associationModificationStoredProcedureConfigurationAction) where TPrincipalEntityType : class;
member this.Navigation : System.Linq.Expressions.Expression<Func<'PrincipalEntityType, System.Collections.Generic.ICollection<'EntityType>>> * Action<System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<'PrincipalEntityType>> -> System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)> (requires 'PrincipalEntityType : null)
Public Function Navigation(Of TPrincipalEntityType As Class) (navigationPropertyExpression As Expression(Of Func(Of TPrincipalEntityType, ICollection(Of TEntityType))), associationModificationStoredProcedureConfigurationAction As Action(Of AssociationModificationStoredProcedureConfiguration(Of TPrincipalEntityType))) As InsertModificationStoredProcedureConfiguration(Of TEntityType)

Type Parameters

TPrincipalEntityType

The type of the principal entity in the relationship.

Parameters

navigationPropertyExpression
Expression<Func<TPrincipalEntityType,ICollection<TEntityType>>>

A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

associationModificationStoredProcedureConfigurationAction
Action<AssociationModificationStoredProcedureConfiguration<TPrincipalEntityType>>

A lambda expression that performs the configuration.

Returns

The same configuration instance so that multiple calls can be chained.

Attributes

Applies to

Navigation<TPrincipalEntityType>(Expression<Func<TPrincipalEntityType, TEntityType>>, Action<AssociationModificationStoredProcedureConfiguration<TPrincipalEntityType>>)

Configures parameters for a relationship where the foreign key property is not included in the class.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType> Navigation<TPrincipalEntityType> (System.Linq.Expressions.Expression<Func<TPrincipalEntityType,TEntityType>> navigationPropertyExpression, Action<System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<TPrincipalEntityType>> associationModificationStoredProcedureConfigurationAction) where TPrincipalEntityType : class;
member this.Navigation : System.Linq.Expressions.Expression<Func<'PrincipalEntityType, 'EntityType>> * Action<System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<'PrincipalEntityType>> -> System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)> (requires 'PrincipalEntityType : null)
Public Function Navigation(Of TPrincipalEntityType As Class) (navigationPropertyExpression As Expression(Of Func(Of TPrincipalEntityType, TEntityType)), associationModificationStoredProcedureConfigurationAction As Action(Of AssociationModificationStoredProcedureConfiguration(Of TPrincipalEntityType))) As InsertModificationStoredProcedureConfiguration(Of TEntityType)

Type Parameters

TPrincipalEntityType

The type of the principal entity in the relationship.

Parameters

navigationPropertyExpression
Expression<Func<TPrincipalEntityType,TEntityType>>

A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

associationModificationStoredProcedureConfigurationAction
Action<AssociationModificationStoredProcedureConfiguration<TPrincipalEntityType>>

A lambda expression that performs the configuration.

Returns

The same configuration instance so that multiple calls can be chained.

Attributes

Applies to