FunctionParameter.Create Method (String, EdmType, ParameterMode)

 

The factory method for constructing the FunctionParameter object.

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

public static FunctionParameter Create(
	string name,
	EdmType edmType,
	ParameterMode parameterMode
)

Parameters

name
Type: System.String

The name of the parameter.

edmType
Type: System.Data.Entity.Core.Metadata.Edm.EdmType

The EdmType of the parameter.

parameterMode
Type: System.Data.Entity.Core.Metadata.Edm.ParameterMode

The ParameterMode of the parameter.

Return Value

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

A new, read-only instance of the EdmFunction type.