EntityContainer.GetEntitySetByName(String, Boolean) Method

Definition

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

public:
 System::Data::Metadata::Edm::EntitySet ^ GetEntitySetByName(System::String ^ name, bool ignoreCase);
public System.Data.Metadata.Edm.EntitySet GetEntitySetByName (string name, bool ignoreCase);
member this.GetEntitySetByName : string * bool -> System.Data.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