DerivedTypeConstraintConfiguration.AddConstraint<TDerivedType> Method
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.
Add TDerivedType to the set of derived type constraints.
public Microsoft.AspNet.OData.Builder.DerivedTypeConstraintConfiguration AddConstraint<TDerivedType> ();
member this.AddConstraint : unit -> Microsoft.AspNet.OData.Builder.DerivedTypeConstraintConfiguration
Public Function AddConstraint(Of TDerivedType) () As DerivedTypeConstraintConfiguration
Type Parameters
- TDerivedType
Derived Type.
Returns
Updated DerivedTypeConstraint set.