ConventionInsertModificationStoredProcedureConfiguration.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(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.ConventionInsertModificationStoredProcedureConfigurationThe 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.ConventionInsertModificationStoredProcedureConfigurationThe same configuration instance so that multiple calls can be chained.