EntitySetConfiguration<TEntityType>.HasDerivedTypeConstraint<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.
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.