Interface IRelationshipClass2
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that get related object row pairs within a query filter specification.
[Guid("C9C39723-40B6-454F-A7FF-A25491C72256")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRelationshipClass2 : IRelationshipClass
Remarks
The IRelationshipClass2 interface extends the IRelationshipClass interface, providing methods to retrieve related object pairs from the relationship class where the matched object satisfies the conditions of a query filter.
Properties
BackwardPathLabel
string BackwardPathLabel { get; }
Property Value
Cardinality
esriRelCardinality Cardinality { get; }
Property Value
DestinationClass
IObjectClass DestinationClass { get; }
Property Value
DestinationForeignKey
string DestinationForeignKey { get; }
Property Value
DestinationPrimaryKey
string DestinationPrimaryKey { get; }
Property Value
FeatureDataset
IFeatureDataset FeatureDataset { get; }
Property Value
ForwardPathLabel
string ForwardPathLabel { get; }
Property Value
IsAttributed
bool IsAttributed { get; }
Property Value
IsComposite
bool IsComposite { get; }
Property Value
Notification
esriRelNotification Notification { get; }
Property Value
OriginClass
IObjectClass OriginClass { get; }
Property Value
OriginForeignKey
string OriginForeignKey { get; }
Property Value
OriginPrimaryKey
string OriginPrimaryKey { get; }
Property Value
RelationshipClassID
int RelationshipClassID { get; }
Property Value
RelationshipRules
IEnumRule RelationshipRules { get; }
Property Value
Methods
AddRelationshipRule(IRule)
void AddRelationshipRule(IRule Rule)
Parameters
RuleIRule
CreateRelationship(IObject, IObject)
IRelationship CreateRelationship(IObject OriginObject, IObject DestinationObject)
Parameters
Returns
DeleteRelationship(IObject, IObject)
void DeleteRelationship(IObject OriginObject, IObject DestinationObject)
Parameters
DeleteRelationshipRule(IRule)
void DeleteRelationshipRule(IRule Rule)
Parameters
RuleIRule
DeleteRelationshipsForObject(IObject)
void DeleteRelationshipsForObject(IObject anObject)
Parameters
anObjectIObject
DeleteRelationshipsForObjectSet(ISet)
void DeleteRelationshipsForObjectSet(ISet anObjectSet)
Parameters
anObjectSetISet
GetObjectsMatchingObjectArray(IArray, IQueryFilter, bool)
Gets rows pairs of objects that are related to the specified origin or destination object array, that also meet the query filter expression.
IRelClassEnumRowPairs GetObjectsMatchingObjectArray(IArray srcObjectArray, IQueryFilter queryFilterAppliedToMatchingObjects, bool returnAllObjectMatches)
Parameters
srcObjectArrayIArrayqueryFilterAppliedToMatchingObjectsIQueryFilterreturnAllObjectMatchesbool
Returns
Remarks
The returnAllObjectMatches parameter indicates whether the first matching object or if all matching objects are returned. A value of True will return all object matches.
GetObjectsMatchingObjectSet(ISet)
IRelClassEnumRowPairs GetObjectsMatchingObjectSet(ISet srcObjectSet)
Parameters
srcObjectSetISet
Returns
GetObjectsMatchingObjectSetEx(ISet, IQueryFilter, bool)
Gets rows pairs of objects that are related to the specified origin or destination object set, that also meet the query filter expression.
IRelClassEnumRowPairs GetObjectsMatchingObjectSetEx(ISet srcObjectSet, IQueryFilter queryFilterAppliedToMatchingObjects, bool returnAllObjectMatches)
Parameters
srcObjectSetISetqueryFilterAppliedToMatchingObjectsIQueryFilterreturnAllObjectMatchesbool
Returns
Remarks
The returnAllObjectMatches parameter indicates whether the first matching object or if all matching objects are returned. A value of True will return all object matches.
GetObjectsRelatedToObject(IObject)
ISet GetObjectsRelatedToObject(IObject anObject)
Parameters
anObjectIObject
Returns
GetObjectsRelatedToObjectSet(ISet)
ISet GetObjectsRelatedToObjectSet(ISet anObjectSet)
Parameters
anObjectSetISet
Returns
GetRelationship(IObject, IObject)
IRelationship GetRelationship(IObject OriginObject, IObject DestinationObject)
Parameters
Returns
GetRelationshipsForObject(IObject)
IEnumRelationship GetRelationshipsForObject(IObject anObject)
Parameters
anObjectIObject
Returns
GetRelationshipsForObjectSet(ISet)
IEnumRelationship GetRelationshipsForObjectSet(ISet anObjectSet)
Parameters
anObjectSetISet