System.Data.Services.Common 命名空間
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
實作 WCF Data Services 客戶端與伺服器執行時共通的功能。
類別
| 名稱 | Description |
|---|---|
| DataServiceEntityAttribute |
將類別標示為 WCF Data Services 中的實體類型。 |
| DataServiceKeyAttribute |
表示實體的索引鍵屬性或屬性。 |
| EntityPropertyMappingAttribute |
屬性,指定 WCF Data Services 傳回之摘要中實體類型和專案專案之專案屬性之間的自定義對應。 |
| EntitySetAttribute |
指出客戶端數據服務類別所屬的實體集。 |
| HasStreamAttribute |
表示屬於實體類型的類別具有要串流的預設二進位屬性。 |
列舉
| 名稱 | Description |
|---|---|
| DataServiceProtocolVersion |
表示數據服務可能支援的開放式數據通訊協定 (OData) 版本。 |
| SyndicationItemProperty |
用來識別新聞訂閱項目專案的列舉型別。 |
| SyndicationTextContentKind |
列舉,用來識別新聞訂閱專案的文字內容。 |