다음을 통해 공유


IConventionEntityTypeBuilder.HasNoServiceProperty 메서드

정의

이 엔터티 형식에서 서비스 속성을 제거합니다.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? HasNoServiceProperty (Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty serviceProperty, bool fromDataAnnotation = false);
abstract member HasNoServiceProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
Public Function HasNoServiceProperty (serviceProperty As IConventionServiceProperty, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder

매개 변수

serviceProperty
IConventionServiceProperty

제거할 서비스 속성입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

서비스 속성이 제거된 null 경우 동일한 작성기가 instance. 그렇지 않으면 입니다.

적용 대상