다음을 통해 공유


EntityContainer.TryGetEntitySetByName(String, Boolean, EntitySet) 메서드

정의

지정된 엔터티 집합 이름을 사용하여 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

검색할 때 대/소문자를 구분하지 않는 경우 true이고, 그렇지 않으면 false입니다.

entitySet
EntitySet

이 메서드가 반환될 때 EntitySet 개체를 포함합니다. 해당 엔터티 집합이 없으면 이 출력 매개 변수에는 null이 들어 있습니다.

반환

검색 조건과 일치하는 엔터티 집합이 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상