ConventionInsertModificationStoredProcedureConfiguration.Parameter Method

 

Configures a parameter for this stored procedure.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodParameter(PropertyInfo, String)

Configures a parameter for this stored procedure.

System_CAPS_pubmethodParameter(String, String)

Configures a parameter for this stored procedure.


ConventionInsertModificationStoredProcedureConfiguration.Parameter Method (PropertyInfo, String)

Configures a parameter for this stored procedure.

public ConventionInsertModificationStoredProcedureConfiguration Parameter(
	PropertyInfo propertyInfo,
	string parameterName
)

Parameters

propertyInfo
Type: System.Reflection.PropertyInfo

The property to configure the parameter for.

parameterName
Type: System.String

The name of the parameter.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionInsertModificationStoredProcedureConfiguration

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


ConventionInsertModificationStoredProcedureConfiguration.Parameter Method (String, String)

Configures a parameter for this stored procedure.

public ConventionInsertModificationStoredProcedureConfiguration Parameter(
	string propertyName,
	string parameterName
)

Parameters

propertyName
Type: System.String

The name of the property to configure the parameter for.

parameterName
Type: System.String

The name of the parameter.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionInsertModificationStoredProcedureConfiguration

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