Share via


EntityContainer.GetRelationshipSetByName(String, Boolean) Method

Definition

Returns a RelationshipSet object by using the specified name for the relationship set.

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

Parameters

name
String

The name of the relationship set that is searched for.

ignoreCase
Boolean

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

Returns

An RelationshipSet object that represents the relationship set that has the specified name.

Applies to