Jaa


DerivedTypeConstraintConfiguration Class

Definition

Configuration for derived type constraints.

public class DerivedTypeConstraintConfiguration
type DerivedTypeConstraintConfiguration = class
Public Class DerivedTypeConstraintConfiguration
Inheritance
DerivedTypeConstraintConfiguration

Constructors

DerivedTypeConstraintConfiguration()

Initializes a DerivedTypeConstraintConfiguration instance without setting a base type.

DerivedTypeConstraintConfiguration(EdmVocabularyAnnotationSerializationLocation)

Initializes a DerivedTypeContraintSet instance with a base type specified.

Properties

Location

Location of the derived type constraint annotation. By default, it will be inline.

Methods

AddConstraint<TDerivedType>()

Add TDerivedType to the set of derived type constraints.

AddConstraints(IEnumerable<Type>)

Add the derived type constraints to the set.

Applies to