Share via


EntitySetConfiguration<TEntityType>.HasDerivedTypeConstraint<TDerivedType> Method

Definition

Adds TDerivedType to the list of derived type constraints.

public Microsoft.AspNet.OData.Builder.EntitySetConfiguration<TEntityType> HasDerivedTypeConstraint<TDerivedType> ();
member this.HasDerivedTypeConstraint : unit -> Microsoft.AspNet.OData.Builder.EntitySetConfiguration<'EntityType (requires 'EntityType : null)>
Public Function HasDerivedTypeConstraint(Of TDerivedType) () As EntitySetConfiguration(Of TEntityType)

Type Parameters

TDerivedType

Returns

Updated configuration object.

Applies to