EntityContainer.GetRelationshipSetByName(String, Boolean) 方法
定义
使用关系集的指定名称返回一个 RelationshipSet 对象。Returns a RelationshipSet object by using the specified name for the relationship set.
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
要搜索的关系集的名称。The name of the relationship set that is searched for.
- ignoreCase
- Boolean
如果执行不区分大小写的搜索,则为 true;否则为 false。true to perform the case-insensitive search; otherwise, false.
返回
一个 RelationshipSet 对象,表示具有指定名称的关系集。An RelationshipSet object that represents the relationship set that has the specified name.