ModificationFunctionMapping Constructor (EntitySetBase, EntityTypeBase, EdmFunction, IEnumerable<ModificationFunctionParameterBinding>, FunctionParameter, IEnumerable<ModificationFunctionResultBinding>)

 

Initializes a new instance of the ModificationFunctionMapping class.

Namespace:   System.Data.Entity.Core.Mapping
Assembly:  EntityFramework (in EntityFramework.dll)

public ModificationFunctionMapping(
	EntitySetBase entitySet,
	EntityTypeBase entityType,
	EdmFunction function,
	IEnumerable<ModificationFunctionParameterBinding> parameterBindings,
	FunctionParameter rowsAffectedParameter,
	IEnumerable<ModificationFunctionResultBinding> resultBindings
)

Parameters

entitySet
Type: System.Data.Entity.Core.Metadata.Edm.EntitySetBase

The entity or association set.

entityType
Type: System.Data.Entity.Core.Metadata.Edm.EntityTypeBase

The entity or association type.

function
Type: System.Data.Entity.Core.Metadata.Edm.EdmFunction

The metadata of function to which we should bind.

parameterBindings
Type: System.Collections.Generic.IEnumerable<ModificationFunctionParameterBinding>

The bindings for function parameters.

rowsAffectedParameter
Type: System.Data.Entity.Core.Metadata.Edm.FunctionParameter

The output parameter producing number of rows affected.

resultBindings
Type: System.Collections.Generic.IEnumerable<ModificationFunctionResultBinding>

The bindings for the results of function evaluation