ConventionUpdateModificationStoredProcedureConfiguration.Parameter Method
Configures a parameter for this stored procedure.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Parameter(PropertyInfo, String) | Configures a parameter for this stored procedure. |
![]() | Parameter(PropertyInfo, String, String) | Configures a parameter for this stored procedure. |
![]() | Parameter(String, String) | Configures a parameter for this stored procedure. |
![]() | Parameter(String, String, String) | Configures a parameter for this stored procedure. |
ConventionUpdateModificationStoredProcedureConfiguration.Parameter Method (PropertyInfo, String)
Configures a parameter for this stored procedure.
public ConventionUpdateModificationStoredProcedureConfiguration 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.ConventionUpdateModificationStoredProcedureConfigurationThe same configuration instance so that multiple calls can be chained.
ConventionUpdateModificationStoredProcedureConfiguration.Parameter Method (PropertyInfo, String, String)
Configures a parameter for this stored procedure.
public ConventionUpdateModificationStoredProcedureConfiguration Parameter( PropertyInfo propertyInfo, string currentValueParameterName, string originalValueParameterName )
Parameters
- propertyInfo
-
Type:
System.Reflection.PropertyInfo
The property to configure the parameter for.
- currentValueParameterName
-
Type:
System.String
The current value parameter name.
- originalValueParameterName
-
Type:
System.String
The original value parameter name.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionUpdateModificationStoredProcedureConfigurationThe same configuration instance so that multiple calls can be chained.
ConventionUpdateModificationStoredProcedureConfiguration.Parameter Method (String, String)
Configures a parameter for this stored procedure.
public ConventionUpdateModificationStoredProcedureConfiguration 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.ConventionUpdateModificationStoredProcedureConfigurationThe same configuration instance so that multiple calls can be chained.
ConventionUpdateModificationStoredProcedureConfiguration.Parameter Method (String, String, String)
Configures a parameter for this stored procedure.
public ConventionUpdateModificationStoredProcedureConfiguration Parameter( string propertyName, string currentValueParameterName, string originalValueParameterName )
Parameters
- propertyName
-
Type:
System.String
The name of the property to configure the parameter for.
- currentValueParameterName
-
Type:
System.String
The current value parameter name.
- originalValueParameterName
-
Type:
System.String
The original value parameter name.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionUpdateModificationStoredProcedureConfigurationThe same configuration instance so that multiple calls can be chained.