EntityContainer.TryGetRelationshipSetByName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a RelationshipSet object by using the specified name for the relationship set.
public:
bool TryGetRelationshipSetByName(System::String ^ name, bool ignoreCase, [Runtime::InteropServices::Out] System::Data::Metadata::Edm::RelationshipSet ^ % relationshipSet);
public bool TryGetRelationshipSetByName (string name, bool ignoreCase, out System.Data.Metadata.Edm.RelationshipSet relationshipSet);
member this.TryGetRelationshipSetByName : string * bool * RelationshipSet -> bool
Public Function TryGetRelationshipSetByName (name As String, ignoreCase As Boolean, ByRef relationshipSet As RelationshipSet) As Boolean
Parameters
- name
- String
The name of the relationship set that is searched for.
- ignoreCase
- Boolean
true
to perform the case-insensitive search; otherwise, false
.
- relationshipSet
- RelationshipSet
When this method returns, contains a RelationshipSet object.
Returns
true
if there is a relationship set that matches the search criteria; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.