src/Shared/EntityFramework/Core/Metadata/Edm/FunctionParameter.cs
/// <summary>
/// The factory method for constructing the <see cref="FunctionParameter" /> object.
/// </summary>
/// <param name="name">The name of the parameter.</param>
/// <param name="edmType">The EdmType of the parameter.</param>
/// <param name="parameterMode">
/// The <see cref="ParameterMode" /> of the parameter.
/// </param>
/// <returns>
/// A new, read-only instance of the <see cref="EdmFunction" /> type.
/// </returns>
The factory method for constructing the  object.
The factory method for constructing the object .
public static FunctionParameter Create(string name, EdmType edmType, ParameterMode parameterMode)
        {
            Check.NotEmpty(name, "name");
            Check.NotNull(edmType, "edmType");
            var functionParameter =
                new FunctionParameter(name, TypeUsage.Create(edmType, FacetValues.NullFacetValues), parameterMode);
            functionParameter.SetReadOnly();
            return functionParameter;
        }
public static FunctionParameter Create ( string name , EdmType edmType , ParameterMode parameterMode ) { Check . NotEmpty ( name , " " ) ; Check . NotNull ( edmType , " " ) ; var functionParameter = new FunctionParameter ( name , TypeUsage . Create ( edmType , FacetValues . NullFacetValues ) , parameterMode ) ; functionParameter . SetReadOnly ( ) ; return functionParameter ; }
The factory method for constructing the  object.
The factory method for constructing the object .
A new, read-only instance of the  type.
A new read - only instance of the type .
name
string
The name of the parameter.
The name of the parameter .
edmType
EdmType
The EdmType of the parameter.
The EdmType of the parameter .
parameterMode
ParameterMode
The  of the parameter.
The of the parameter .