Share via


AssociationModificationStoredProcedureConfiguration<TEntityType>.Parameter Method

Definition

Overloads

Parameter(Expression<Func<TEntityType,Byte[]>>, String)

Configures a parameter for this stored procedure.

Parameter(Expression<Func<TEntityType,String>>, String)

Configures a parameter for this stored procedure.

Parameter<TProperty>(Expression<Func<TEntityType,Nullable<TProperty>>>, String)

Configures a parameter for this stored procedure.

Parameter<TProperty>(Expression<Func<TEntityType,TProperty>>, String)

Configures a parameter for this stored procedure.

Parameter(Expression<Func<TEntityType,Byte[]>>, String)

Configures a parameter for this stored procedure.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<TEntityType> Parameter (System.Linq.Expressions.Expression<Func<TEntityType,byte[]>> propertyExpression, string parameterName);
member this.Parameter : System.Linq.Expressions.Expression<Func<'EntityType, byte[]>> * string -> System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)>
Public Function Parameter (propertyExpression As Expression(Of Func(Of TEntityType, Byte())), parameterName As String) As AssociationModificationStoredProcedureConfiguration(Of TEntityType)

Parameters

propertyExpression
Expression<Func<TEntityType,Byte[]>>

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

parameterName
String

The name of the parameter.

Returns

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

Attributes

Applies to

Parameter(Expression<Func<TEntityType,String>>, String)

Configures a parameter for this stored procedure.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<TEntityType> Parameter (System.Linq.Expressions.Expression<Func<TEntityType,string>> propertyExpression, string parameterName);
member this.Parameter : System.Linq.Expressions.Expression<Func<'EntityType, string>> * string -> System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)>
Public Function Parameter (propertyExpression As Expression(Of Func(Of TEntityType, String)), parameterName As String) As AssociationModificationStoredProcedureConfiguration(Of TEntityType)

Parameters

propertyExpression
Expression<Func<TEntityType,String>>

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

parameterName
String

The name of the parameter.

Returns

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

Attributes

Applies to

Parameter<TProperty>(Expression<Func<TEntityType,Nullable<TProperty>>>, String)

Configures a parameter for this stored procedure.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<TEntityType> Parameter<TProperty> (System.Linq.Expressions.Expression<Func<TEntityType,Nullable<TProperty>>> propertyExpression, string parameterName) where TProperty : struct;
member this.Parameter : System.Linq.Expressions.Expression<Func<'EntityType, Nullable<'Property>>> * string -> System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)> (requires 'Property : struct)
Public Function Parameter(Of TProperty As Structure) (propertyExpression As Expression(Of Func(Of TEntityType, Nullable(Of TProperty))), parameterName As String) As AssociationModificationStoredProcedureConfiguration(Of TEntityType)

Type Parameters

TProperty

The type of the property.

Parameters

propertyExpression
Expression<Func<TEntityType,Nullable<TProperty>>>

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

parameterName
String

The name of the parameter.

Returns

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

Attributes

Applies to

Parameter<TProperty>(Expression<Func<TEntityType,TProperty>>, String)

Configures a parameter for this stored procedure.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<TEntityType> Parameter<TProperty> (System.Linq.Expressions.Expression<Func<TEntityType,TProperty>> propertyExpression, string parameterName) where TProperty : struct;
member this.Parameter : System.Linq.Expressions.Expression<Func<'EntityType, 'Property>> * string -> System.Data.Entity.ModelConfiguration.Configuration.AssociationModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)> (requires 'Property : struct)
Public Function Parameter(Of TProperty As Structure) (propertyExpression As Expression(Of Func(Of TEntityType, TProperty)), parameterName As String) As AssociationModificationStoredProcedureConfiguration(Of TEntityType)

Type Parameters

TProperty

The type of the property.

Parameters

propertyExpression
Expression<Func<TEntityType,TProperty>>

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

parameterName
String

The name of the parameter.

Returns

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

Attributes

Applies to