FunctionParameter.Create Method (String, EdmType, ParameterMode)
The factory method for constructing the FunctionParameter object.
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.FunctionParameterA new, read-only instance of the EdmFunction type.