/// <summary> /// Adds TDerived to the list of derived type constraints. /// </summary> /// <returns>Updated configuration object.</returns> public CollectionPropertyConfiguration HasDerivedTypeConstraint <TDerivedType>() { DerivedTypeConstraints.AddConstraint <TDerivedType>(); return(this); }
/// <summary> /// Adds TDerived to the list of derived type constraints. /// </summary> /// <returns>Updated configuration object.</returns> public SingletonConfiguration HasDerivedTypeConstraint <TDerivedType>() { DerivedTypeConstraints.AddConstraint <TDerivedType>(); return(this); }
/// <summary> /// Adds TDerived to the list of derived type constraints. /// </summary> /// <returns>Updated configuration object.</returns> public EntitySetConfiguration HasDerivedTypeConstraint <TDerivedType>() { DerivedTypeConstraints.AddConstraint <TDerivedType>(); return(this); }