Share via


FunctionParameter Class

Definition

Class representing a function parameter

public sealed class FunctionParameter : System.Data.Entity.Core.Metadata.Edm.MetadataItem
type FunctionParameter = class
    inherit MetadataItem
Public NotInheritable Class FunctionParameter
Inherits MetadataItem
Inheritance
FunctionParameter

Properties

BuiltInTypeKind

Gets the built-in type kind for this FunctionParameter.

DeclaringFunction

Gets the EdmFunction on which this parameter is declared.

Documentation

Gets or sets the documentation associated with this type.

(Inherited from MetadataItem)
IsMaxLength

Gets whether the parameter uses the maximum length supported by the database provider.

IsMaxLengthConstant

Gets whether the max length facet is constant for the database provider.

IsPrecisionConstant

Gets whether the precision facet is constant for the database provider.

IsScaleConstant

Gets whether the scale facet is constant for the database provider.

MaxLength

Gets the maximum length of the parameter.

MetadataProperties

Gets the list of properties of the current type.

(Inherited from MetadataItem)
Mode

Gets the mode of this FunctionParameter.

Name

Gets the name of this FunctionParameter.

Precision

Gets the precision value of the parameter.

Scale

Gets the scale value of the parameter.

TypeName

Gets the type name of this parameter.

TypeUsage

Gets the instance of the TypeUsage class that contains both the type of the parameter and facets for the type.

Methods

AddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.

(Inherited from MetadataItem)
Create(String, EdmType, ParameterMode)

The factory method for constructing the FunctionParameter object.

RemoveAnnotation(String)

Removes an annotation with the specified name.

(Inherited from MetadataItem)
ToString()

Returns the name of this FunctionParameter.

Applies to