NonbindingParameterConfiguration 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 a non-binding operation parameter. Non binding parameters are provided in the POST body for Actions Non binding parameters are provided in 3 ways for Functions
- ~/.../Function(p1=value)
- ~/.../Function(p1=@x)?@x=value
- ~/.../Function?p1=value (only allowed if the Function is the last url path segment).
public class NonbindingParameterConfiguration : Microsoft.AspNet.OData.Builder.ParameterConfiguration
type NonbindingParameterConfiguration = class
inherit ParameterConfiguration
Public Class NonbindingParameterConfiguration
Inherits ParameterConfiguration
- Inheritance
Constructors
NonbindingParameterConfiguration(String, IEdmTypeConfiguration) |
Initializes a new instance of the NonbindingParameterConfiguration class. |
Properties
DefaultValue |
Gets or sets a default value for optional parameter. (Inherited from ParameterConfiguration) |
DerivedTypeConstraints |
Configuration that lists derived types that are allowed for the property. (Inherited from ParameterConfiguration) |
IsOptional |
Gets or sets a value indicating whether this parameter is optional or not. (Inherited from ParameterConfiguration) |
Name |
The name of the parameter (Inherited from ParameterConfiguration) |
Nullable |
Gets or sets a value indicating whether this parameter is nullable or not. (Inherited from ParameterConfiguration) |
TypeConfiguration |
The type of the parameter (Inherited from ParameterConfiguration) |
Methods
HasDefaultValue(String) |
Sets the optional value as true, default value as given value. (Inherited from ParameterConfiguration) |
HasDerivedTypeConstraint<TDerivedType>() |
Adds TDerivedType to the list of derived type constraints. (Inherited from ParameterConfiguration) |
HasDerivedTypeConstraints(Type[]) |
Adds subtypes to the list of derived type constraints. (Inherited from ParameterConfiguration) |
Optional() |
Sets the optional value as true. (Inherited from ParameterConfiguration) |
Required() |
Sets the optional value as false. (Inherited from ParameterConfiguration) |