Table relationship eligibility
Before you create a relationship you should confirm whether the table is eligible to participate in the relationship. The following lists the messages that you can use to determine whether tables can participate in relationships.
Message Web API operation SDK Request class |
Description |
---|---|
CanBeReferenced CanBeReferenced ActionCanBeReferencedRequest |
Checks whether the specified table can be the primary table (one) in a one-to-many relationship. |
CanBeReferencing CanBeReferencing ActionCanBeReferencingRequest |
Checks whether the specified table can be the referencing table (many) in a one-to-many relationship. |
CanManyToMany CanManyToMany ActionCanManyToManyRequest |
Checks whether the table can participate in a many-to-many relationship. |
GetValidManyToMany GetValidManyToMany FunctionGetValidManyToManyRequest |
Returns the set of tables that can participate in a many-to-many relationship. |
GetValidReferencedEntities GetValidReferencedEntities FunctionGetValidReferencedEntitiesRequest |
Returns the set of tables that are valid as the primary table (one) from the specified table in a one-to-many relationship. |
GetValidReferencingEntities GetValidReferencingEntities FunctionGetValidReferencingEntitiesRequest |
Returns the set of tables that are valid as the related table (many) to the specified table in a one-to-many relationship. |
See also
Table relationship definitions
Work with table definitions using the SDK for .NET
Create and retrieve table row relationships
Table relationship messages
Configure table relationship cascading behavior
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for