다음을 통해 공유


EntityKey 클래스

정의

엔터티의 식별자입니다.

[System.Diagnostics.DebuggerDisplay("{ConcatKeyValue()}")]
[System.Runtime.Serialization.DataContract(IsReference=true)]
[System.Serializable]
public sealed class EntityKey : IEquatable<System.Data.Entity.Core.EntityKey>
type EntityKey = class
    interface IEquatable<EntityKey>
Public NotInheritable Class EntityKey
Implements IEquatable(Of EntityKey)
상속
EntityKey
특성
구현

생성자

EntityKey()

EntityKey 클래스의 새 인스턴스를 초기화합니다.

EntityKey(String, IEnumerable<EntityKeyMember>)

엔터티 집합 이름 및 EntityKey 개체의 IEnumerable<T> 컬렉션을 사용하여 EntityKeyMember 클래스의 새 인스턴스를 초기화합니다.

EntityKey(String, IEnumerable<KeyValuePair<String,Object>>)

엔터티 집합 이름 및 제네릭 EntityKey 컬렉션을 사용하여 KeyValuePair 클래스의 새 인스턴스를 초기화합니다.

EntityKey(String, String, Object)

엔터티 집합 이름 및 특정 엔터티 키 쌍을 사용하여 EntityKey 클래스의 새 인스턴스를 초기화합니다.

속성

EntityContainerName

엔터티 컨테이너의 이름을 가져오거나 설정합니다.

EntityKeyValues

EntityKey와 연결된 키 값을 가져오거나 설정합니다.

EntityNotValidKey

실패한 TREAT에서 발생한 엔터티를 식별하는 Singleton EntityKey를 가져옵니다.

EntitySetName

엔터티 집합의 이름을 가져오거나 설정합니다.

IsTemporary

EntityKey가 임시인지 여부를 나타내는 값을 가져옵니다.

NoEntitySetKey

읽기 전용 엔터티가 식별되는 Singleton EntityKey를 가져옵니다.

메서드

Equals(EntityKey)

이 instance 지정된 EntityKey 과 같은지 여부를 나타내는 값을 반환합니다.

Equals(Object)

이 인스턴스가 지정된 개체와 같은지를 나타내는 값을 반환합니다.

GetEntitySet(MetadataWorkspace)

지정된 메타데이터 작업 영역에서 이 엔터티 키에 대한 엔터티 집합을 가져옵니다.

GetHashCode()

현재 EntityKey 개체의 해시 함수로 사용됩니다. GetHashCode()는 해시 알고리즘 및 해시 테이블과 같은 데이터 구조에 적합합니다.

OnDeserialized(StreamingContext)

EntityKey를 역직렬화하는 데 사용되는 도우미 메서드입니다.

OnDeserializing(StreamingContext)

EntityKey를 역직렬화하는 데 사용되는 도우미 메서드입니다.

연산자

Equality(EntityKey, EntityKey)

두 개의 EntityKey 개체를 비교합니다.

Inequality(EntityKey, EntityKey)

두 개의 EntityKey 개체를 비교합니다.

적용 대상