EntityContainer.TryGetEntitySetByName(String, Boolean, EntitySet) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過使用指定的實體集合名稱回傳 EntitySet 物件。
public bool TryGetEntitySetByName(string name, bool ignoreCase, out System.Data.Entity.Core.Metadata.Edm.EntitySet entitySet);
member this.TryGetEntitySetByName : string * bool * -> bool
Public Function TryGetEntitySetByName (name As String, ignoreCase As Boolean, ByRef entitySet As EntitySet) As Boolean
參數
- name
- String
搜尋的實體集合名稱。
- ignoreCase
- Boolean
在執行大小不相關搜尋時為真;否則,則為錯誤。
傳回
若存在符合搜尋條件的實體集合,則為真;否則,則為錯誤。