클라이언트 데이터 서비스 클래스가 속한 엔터티 집합을 나타냅니다.
상속 계층
System.Object
System.Attribute
System.Data.Services.Common.EntitySetAttribute
네임스페이스: System.Data.Services.Common
어셈블리: Microsoft.Data.Services.Client(Microsoft.Data.Services.Client.dll)
구문
‘선언
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class EntitySetAttribute _
Inherits Attribute
‘사용 방법
Dim instance As EntitySetAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class EntitySetAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class EntitySetAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type EntitySetAttribute =
class
inherit Attribute
end
public final class EntitySetAttribute extends Attribute
EntitySetAttribute 유형에서 다음 멤버를 표시합니다.
생성자
| 이름 | 설명 | |
|---|---|---|
![]() |
EntitySetAttribute | EntitySetAttribute 의 새 인스턴스를 만듭니다. |
맨 위로 이동
속성
| 이름 | 설명 | |
|---|---|---|
![]() |
EntitySet | 클래스가 속한 엔터티 집합을 가져옵니다. |
![]() |
TypeId | (Attribute에서 상속됨) |
맨 위로 이동
메서드
| 이름 | 설명 | |
|---|---|---|
![]() |
Equals | (Attribute에서 상속됨) |
![]() |
Finalize | (Object에서 상속됨) |
![]() |
GetHashCode | (Attribute에서 상속됨) |
![]() |
GetType | (Object에서 상속됨) |
![]() |
IsDefaultAttribute | (Attribute에서 상속됨) |
![]() |
Match | (Attribute에서 상속됨) |
![]() |
MemberwiseClone | (Object에서 상속됨) |
![]() |
ToString | (Object에서 상속됨) |
맨 위로 이동
명시적 인터페이스 구현
| 이름 | 설명 | |
|---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Attribute에서 상속됨) |
![]() ![]() |
_Attribute.GetTypeInfo | (Attribute에서 상속됨) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Attribute에서 상속됨) |
![]() ![]() |
_Attribute.Invoke | (Attribute에서 상속됨) |
맨 위로 이동
주의
EntitySetAttribute 클래스는 데이터 바인딩 중에 클라이언트에서 클래스가 속한 엔터티 집합 이름을 확인하는 데 사용됩니다. 이 특성은 바인딩 옵션을 사용하는 경우 서비스 참조 추가 대화 상자에서 생성되고 /binding 옵션이 제공된 경우 DataSvcUtil.exe 도구에 의해 생성됩니다.
데이터 바인딩에 사용되는 모든 사용자 제공 클라이언트 데이터 서비스 클래스에 EntitySetAttribute를 적용해야 합니다.
EntitySetAttribute는 형식과 연결된 하나의 엔터티 집합이 있는 경우에만 지원됩니다.
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
.gif)
.gif)
.gif)
.gif)
.gif)