다음을 통해 공유


SingletonConfiguration<TEntityType>.HasDerivedTypeConstraints 메서드

정의

오버로드

HasDerivedTypeConstraints(Type[])

파생 형식 제약 조건 목록에 하위 형식을 추가합니다.

HasDerivedTypeConstraints<TDerivedType>()

파생 형식 제약 조건 목록에 TDerivedType을 추가합니다.

HasDerivedTypeConstraints(Type[])

파생 형식 제약 조건 목록에 하위 형식을 추가합니다.

public Microsoft.AspNet.OData.Builder.SingletonConfiguration<TEntityType> HasDerivedTypeConstraints (params Type[] subtypes);
member this.HasDerivedTypeConstraints : Type[] -> Microsoft.AspNet.OData.Builder.SingletonConfiguration<'EntityType (requires 'EntityType : null)>
Public Function HasDerivedTypeConstraints (ParamArray subtypes As Type()) As SingletonConfiguration(Of TEntityType)

매개 변수

subtypes
Type[]

제약 조건을 추가해야 하는 하위 형식입니다.

반환

구성 개체가 업데이트되었습니다.

적용 대상

HasDerivedTypeConstraints<TDerivedType>()

파생 형식 제약 조건 목록에 TDerivedType을 추가합니다.

public Microsoft.AspNet.OData.Builder.SingletonConfiguration<TEntityType> HasDerivedTypeConstraints<TDerivedType> () where TDerivedType : TEntityType;
member this.HasDerivedTypeConstraints : unit -> Microsoft.AspNet.OData.Builder.SingletonConfiguration<'EntityType (requires 'EntityType : null)>
Public Function HasDerivedTypeConstraints(Of TDerivedType As TEntityType) () As SingletonConfiguration(Of TEntityType)

형식 매개 변수

TDerivedType

반환

구성 개체가 업데이트되었습니다.

적용 대상