다음을 통해 공유


MutableEntityTypeExtensions.RemoveKey 메서드

정의

이 엔터티 형식에서 기본 또는 대체 키를 제거합니다.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableKey RemoveKey (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> properties);
static member RemoveKey : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
<Extension()>
Public Function RemoveKey (entityType As IMutableEntityType, properties As IReadOnlyList(Of IMutableProperty)) As IMutableKey

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

properties
IReadOnlyList<IMutableProperty>

키를 구성하는 속성입니다.

반환

제거된 키입니다.

적용 대상