/// <summary> /// Adds subtypes to the list of derived type constraints. /// </summary> /// <param name="subtypes">The subtypes for which the constraint needs to be added.</param> /// <returns>Updated configuration object.</returns> public CollectionPropertyConfiguration HasDerivedTypeConstraints(params Type[] subtypes) { DerivedTypeConstraints.AddConstraints(subtypes); return(this); }
/// <summary> /// Adds subtypes to the list of derived type constraints. /// </summary> /// <param name="subtypes">The subtypes for which the constraint needs to be added.</param> /// <returns>Updated configuration object.</returns> public SingletonConfiguration HasDerivedTypeConstraints(params Type[] subtypes) { DerivedTypeConstraints.AddConstraints(subtypes); return(this); }
/// <summary> /// Adds subtypes to the list of derived type constraints. /// </summary> /// <param name="subtypes">The subtypes for which the constraint needs to be added.</param> /// <returns>Updated configuration object.</returns> public EntitySetConfiguration HasDerivedTypeConstraints(params Type[] subtypes) { DerivedTypeConstraints.AddConstraints(subtypes); return(this); }