다음을 통해 공유


EntitySetAttribute 클래스

정의

클라이언트 데이터 서비스 클래스가 속한 엔터티 집합을 나타냅니다.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class EntitySetAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type EntitySetAttribute = class
    inherit Attribute
Public NotInheritable Class EntitySetAttribute
Inherits Attribute
상속
EntitySetAttribute
특성

설명

이 특성은 형식과 연결된 엔터티 집합이 하나 있는 경우에만 생성됩니다. 형식과 연결된 엔터티 집합이 두 개 이상 있는 경우 EntitySetNameResolver 이벤트를 통해 엔터티 집합 이름을 전달할 수 있습니다.

생성자

EntitySetAttribute(String)

EntitySetAttribute의 새 인스턴스를 만듭니다.

속성

EntitySet

클래스가 속한 엔터티 집합을 가져옵니다.

적용 대상