Share via


EntityContainer.GetRelationshipSetByName(String, Boolean) 方法

定义

使用关系集的指定名称返回一个 RelationshipSet 对象。

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

参数

name
String

要搜索的关系集的名称。

ignoreCase
Boolean

如果执行不区分大小写的搜索,则为 true;否则为 false

返回

一个 RelationshipSet 对象,表示具有指定名称的关系集。

适用于