EntitySet 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public class EntitySet : System.Data.Entity.Core.Metadata.Edm.EntitySetBase
type EntitySet = class
inherit EntitySetBase
Public Class EntitySet
Inherits EntitySetBase
- 繼承
屬性
BuiltInTypeKind |
取得這個 EntitySet 的內建型別類型。 |
DefiningQuery |
取得描述此實體集的逸出提供者特定 SQL。 (繼承來源 EntitySetBase) |
Documentation |
取得或設定與這個型別相關聯的文件。 (繼承來源 MetadataItem) |
ElementType |
取得這個 EntitySet 的實體型別。 |
EntityContainer |
取得目前的實體或關聯性集合的實體容器。 (繼承來源 EntitySetBase) |
MetadataProperties |
取得目前型別的屬性清單。 (繼承來源 MetadataItem) |
Name |
取得或設定目前實體或關聯性集的名稱。 如果此屬性從存放區空間變更,則也必須更新對應圖層,以反映新的名稱。 若要變更存放區空間 EntitySet 的資料表名稱,請使用 Table 屬性。 (繼承來源 EntitySetBase) |
Schema |
取得或設定這個實體集的資料庫架構。 (繼承來源 EntitySetBase) |
Table |
取得或設定這個實體集的資料庫資料表名稱。 (繼承來源 EntitySetBase) |
方法
AddAnnotation(String, Object) |
新增或更新具有指定名稱和值的注釋。 (繼承來源 MetadataItem) |
Create(String, String, String, String, EntityType, IEnumerable<MetadataProperty>) |
用來建構 EntitySet 物件的 Factory 方法。 |
RemoveAnnotation(String) |
移除具有指定名稱的批註。 (繼承來源 MetadataItem) |
ToString() |
傳回目前的實體或關聯性集合的名稱。 (繼承來源 EntitySetBase) |
擴充方法
CreateRef(EntitySet, IEnumerable<DbExpression>) |
建立會根據索引鍵值將參考編碼為特定實體的新 DbRefExpression。 |
CreateRef(EntitySet, DbExpression[]) |
建立會根據索引鍵值將參考編碼為特定實體的新 DbRefExpression。 |
CreateRef(EntitySet, EntityType, IEnumerable<DbExpression>) |
建立新的 DbRefExpression,它會根據索引鍵值將參考編碼為給定型別的特定實體。 |
CreateRef(EntitySet, EntityType, DbExpression[]) |
建立新的 DbRefExpression,它會根據索引鍵值將參考編碼為給定型別的特定實體。 |
RefFromKey(EntitySet, DbExpression, EntityType) |
建立新的 DbRefExpression,其會根據索引鍵值編碼指定的實體的參考。 |
RefFromKey(EntitySet, DbExpression) |
建立新的 DbRefExpression,其會根據索引鍵值編碼指定的實體的參考。 |
Scan(EntitySetBase) |
建立新的 DbScanExpression,這個運算式會參考指定實體或關聯性集合。 |