Share via


EntityContainer.GetEntitySetByName(String, Boolean) Method

Definition

Returns an EntitySet object by using the specified name for the entity set.

public System.Data.Entity.Core.Metadata.Edm.EntitySet GetEntitySetByName (string name, bool ignoreCase);
member this.GetEntitySetByName : string * bool -> System.Data.Entity.Core.Metadata.Edm.EntitySet
Public Function GetEntitySetByName (name As String, ignoreCase As Boolean) As EntitySet

Parameters

name
String

The name of the entity set that is searched for.

ignoreCase
Boolean

true to perform the case-insensitive search; otherwise, false.

Returns

An EntitySet object that represents the entity set that has the specified name.

Applies to