Share via


DerivedTypeConstraintConfiguration.AddConstraint<TDerivedType> Method

Definition

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.

Applies to