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 对象,表示具有指定名称的关系集。

适用于