DerivedTypeConstraintConfiguration Class
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.
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. |