EdmOptionalParameter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an EDM operation parameter.
public class EdmOptionalParameter : Microsoft.OData.Edm.EdmOperationParameter, Microsoft.OData.Edm.IEdmOptionalParameter
type EdmOptionalParameter = class
inherit EdmOperationParameter
interface IEdmOptionalParameter
interface IEdmOperationParameter
interface IEdmNamedElement
interface IEdmElement
interface IEdmVocabularyAnnotatable
Public Class EdmOptionalParameter
Inherits EdmOperationParameter
Implements IEdmOptionalParameter
- Inheritance
- Implements
Constructors
EdmOptionalParameter(IEdmOperation, String, IEdmTypeReference, String) |
Initializes a new instance of the EdmOperationParameter class. |
EdmOptionalParameter(IEdmOperation, String, IEdmTypeReference) |
Initializes a new instance of the EdmOperationParameter class. |
Properties
DeclaringOperation |
Gets the operation that declared this parameter. (Inherited from EdmOperationParameter) |
DefaultValueString |
Gets the type of this parameter. |
Name |
Gets the name of this element. (Inherited from EdmNamedElement) |
Type |
Gets the type of this parameter. (Inherited from EdmOperationParameter) |
Extension Methods
GetSymbolicString(IEdmVocabularyAnnotatable) |
Gets the symbolic string of an annotated element. In the next breaking change, it's better to add a property into IEdmVocabularyAnnotatable. |
Location(IEdmElement) |
Gets the location of this element. |
VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel) |
Gets an annotatable element's vocabulary annotations as seen from a particular model. |
Errors(IEdmElement) |
Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. |
IsBad(IEdmElement) |
Returns true if this element contains errors returned by the Errors(IEdmElement) method. |