Share via


InsertModificationStoredProcedureConfiguration<TEntityType>.Result Method

Definition

Overloads

Result(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.

Result(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.

Result(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.

Result(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.

Result<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.

Result<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.

Result(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.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType> Result (System.Linq.Expressions.Expression<Func<TEntityType,byte[]>> propertyExpression, string columnName);
member this.Result : System.Linq.Expressions.Expression<Func<'EntityType, byte[]>> * string -> System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)>
Public Function Result (propertyExpression As Expression(Of Func(Of TEntityType, Byte())), columnName As String) As InsertModificationStoredProcedureConfiguration(Of TEntityType)

Parameters

propertyExpression
Expression<Func<TEntityType,Byte[]>>

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

columnName
String

The name of the result column.

Returns

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

Attributes

Applies to

Result(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.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType> Result (System.Linq.Expressions.Expression<Func<TEntityType,System.Data.Entity.Spatial.DbGeography>> propertyExpression, string columnName);
member this.Result : System.Linq.Expressions.Expression<Func<'EntityType, System.Data.Entity.Spatial.DbGeography>> * string -> System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)>
Public Function Result (propertyExpression As Expression(Of Func(Of TEntityType, DbGeography)), columnName As String) As InsertModificationStoredProcedureConfiguration(Of TEntityType)

Parameters

propertyExpression
Expression<Func<TEntityType,DbGeography>>

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

columnName
String

The name of the result column.

Returns

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

Attributes

Applies to

Result(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.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType> Result (System.Linq.Expressions.Expression<Func<TEntityType,System.Data.Entity.Spatial.DbGeometry>> propertyExpression, string columnName);
member this.Result : System.Linq.Expressions.Expression<Func<'EntityType, System.Data.Entity.Spatial.DbGeometry>> * string -> System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)>
Public Function Result (propertyExpression As Expression(Of Func(Of TEntityType, DbGeometry)), columnName As String) As InsertModificationStoredProcedureConfiguration(Of TEntityType)

Parameters

propertyExpression
Expression<Func<TEntityType,DbGeometry>>

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

columnName
String

The name of the result column.

Returns

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

Attributes

Applies to

Result(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.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType> Result (System.Linq.Expressions.Expression<Func<TEntityType,string>> propertyExpression, string columnName);
member this.Result : System.Linq.Expressions.Expression<Func<'EntityType, string>> * string -> System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)>
Public Function Result (propertyExpression As Expression(Of Func(Of TEntityType, String)), columnName As String) As InsertModificationStoredProcedureConfiguration(Of TEntityType)

Parameters

propertyExpression
Expression<Func<TEntityType,String>>

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

columnName
String

The name of the result column.

Returns

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

Attributes

Applies to

Result<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.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType> Result<TProperty> (System.Linq.Expressions.Expression<Func<TEntityType,TProperty>> propertyExpression, string columnName) where TProperty : struct;
member this.Result : System.Linq.Expressions.Expression<Func<'EntityType, 'Property>> * string -> System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)> (requires 'Property : struct)
Public Function Result(Of TProperty As Structure) (propertyExpression As Expression(Of Func(Of TEntityType, TProperty)), columnName As String) As InsertModificationStoredProcedureConfiguration(Of TEntityType)

Type Parameters

TProperty

The type of the property to configure.

Parameters

propertyExpression
Expression<Func<TEntityType,TProperty>>

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

columnName
String

The name of the result column.

Returns

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

Attributes

Applies to

Result<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.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType> Result<TProperty> (System.Linq.Expressions.Expression<Func<TEntityType,Nullable<TProperty>>> propertyExpression, string columnName) where TProperty : struct;
member this.Result : System.Linq.Expressions.Expression<Func<'EntityType, Nullable<'Property>>> * string -> System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType (requires 'EntityType : null)> (requires 'Property : struct)
Public Function Result(Of TProperty As Structure) (propertyExpression As Expression(Of Func(Of TEntityType, Nullable(Of TProperty))), columnName As String) As InsertModificationStoredProcedureConfiguration(Of TEntityType)

Type Parameters

TProperty

The type of the property to configure.

Parameters

propertyExpression
Expression<Func<TEntityType,Nullable<TProperty>>>

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

columnName
String

The name of the result column.

Returns

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

Attributes

Applies to