InsertModificationStoredProcedureConfiguration<TEntityType>.Result Method

 

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

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

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

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

System_CAPS_pubmethodResult(Expression<Func<TEntityType, DbGeography>>, String)

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

System_CAPS_pubmethodResult(Expression<Func<TEntityType, DbGeometry>>, String)

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

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

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

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

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

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

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.


InsertModificationStoredProcedureConfiguration<TEntityType>.Result Method (Expression<Func<TEntityType, Byte[]>>, String)

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public InsertModificationStoredProcedureConfiguration<TEntityType> Result(
	Expression<Func<TEntityType, byte[]>> propertyExpression,
	string columnName
)

Parameters

propertyExpression
Type: System.Linq.Expressions.Expression<Func<TEntityType, Byte[]>>

A lambda expression representing the property to configure the result for. C#: t =&gt; t.MyProperty VB.Net: Function(t) t.MyProperty

columnName
Type: System.String

The name of the result column.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType>

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


InsertModificationStoredProcedureConfiguration<TEntityType>.Result Method (Expression<Func<TEntityType, DbGeography>>, String)

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public InsertModificationStoredProcedureConfiguration<TEntityType> Result(
	Expression<Func<TEntityType, DbGeography>> propertyExpression,
	string columnName
)

Parameters

propertyExpression
Type: System.Linq.Expressions.Expression<Func<TEntityType, DbGeography>>

A lambda expression representing the property to configure the result for. C#: t =&gt; t.MyProperty VB.Net: Function(t) t.MyProperty

columnName
Type: System.String

The name of the result column.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType>

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


InsertModificationStoredProcedureConfiguration<TEntityType>.Result Method (Expression<Func<TEntityType, DbGeometry>>, String)

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public InsertModificationStoredProcedureConfiguration<TEntityType> Result(
	Expression<Func<TEntityType, DbGeometry>> propertyExpression,
	string columnName
)

Parameters

propertyExpression
Type: System.Linq.Expressions.Expression<Func<TEntityType, DbGeometry>>

A lambda expression representing the property to configure the result for. C#: t =&gt; t.MyProperty VB.Net: Function(t) t.MyProperty

columnName
Type: System.String

The name of the result column.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType>

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


InsertModificationStoredProcedureConfiguration<TEntityType>.Result Method (Expression<Func<TEntityType, String>>, String)

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public InsertModificationStoredProcedureConfiguration<TEntityType> Result(
	Expression<Func<TEntityType, string>> propertyExpression,
	string columnName
)

Parameters

propertyExpression
Type: System.Linq.Expressions.Expression<Func<TEntityType, String>>

A lambda expression representing the property to configure the result for. C#: t =&gt; t.MyProperty VB.Net: Function(t) t.MyProperty

columnName
Type: System.String

The name of the result column.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType>

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


InsertModificationStoredProcedureConfiguration<TEntityType>.Result<TProperty> Method (Expression<Func<TEntityType, TProperty>>, String)

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public InsertModificationStoredProcedureConfiguration<TEntityType> Result<TProperty>(
	Expression<Func<TEntityType, TProperty>> propertyExpression,
	string columnName
)
where TProperty : struct

Parameters

propertyExpression
Type: System.Linq.Expressions.Expression<Func<TEntityType, TProperty>>

A lambda expression representing the property to configure the result for. C#: t =&gt; t.MyProperty VB.Net: Function(t) t.MyProperty

columnName
Type: System.String

The name of the result column.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType>

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

Type Parameters

TProperty

The type of the property to configure.


InsertModificationStoredProcedureConfiguration<TEntityType>.Result<TProperty> Method (Expression<Func<TEntityType, Nullable<TProperty>>>, String)

Configures a column of the result for this stored procedure to map to a property. This is used for database generated columns.

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public InsertModificationStoredProcedureConfiguration<TEntityType> Result<TProperty>(
	Expression<Func<TEntityType, Nullable<TProperty>>> propertyExpression,
	string columnName
)
where TProperty : struct

Parameters

propertyExpression
Type: System.Linq.Expressions.Expression<Func<TEntityType, Nullable<TProperty>>>

A lambda expression representing the property to configure the result for. C#: t =&gt; t.MyProperty VB.Net: Function(t) t.MyProperty

columnName
Type: System.String

The name of the result column.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType>

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

Type Parameters

TProperty

The type of the property to configure.