ConventionInsertModificationStoredProcedureConfiguration.Result Method
Configures a column of the result for this stored procedure to map to a property.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Result(PropertyInfo, String) | Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns. |
![]() | Result(String, String) | Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns. |
ConventionInsertModificationStoredProcedureConfiguration.Result Method (PropertyInfo, String)
Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.
public ConventionInsertModificationStoredProcedureConfiguration Result( PropertyInfo propertyInfo, string columnName )
Parameters
- propertyInfo
-
Type:
System.Reflection.PropertyInfo
The property to configure the result for.
- columnName
-
Type:
System.String
The name of the result column.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionInsertModificationStoredProcedureConfigurationThe same configuration instance so that multiple calls can be chained.
ConventionInsertModificationStoredProcedureConfiguration.Result Method (String, String)
Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.
public ConventionInsertModificationStoredProcedureConfiguration Result( string propertyName, string columnName )
Parameters
- propertyName
-
Type:
System.String
The name of the property to configure the result for.
- columnName
-
Type:
System.String
The name of the result column.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionInsertModificationStoredProcedureConfigurationThe same configuration instance so that multiple calls can be chained.