EntitySetAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示用戶端資料服務類別所屬的實體集。
[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 事件傳入實體集名稱。