CreateAssociation
Creates an association between two entities based on a navigation property. Set the IncludeNavigationProperties connection property to true in order to use this stored procedure.
Input
Name | Type | Required | Accepts Input Streams | Description |
FromId | String | True | False | The Id of the entity you are creating an associations for. |
FromTable | String | True | False | The table where the entity comes from that you are creating an association for. For example, if the FromId was from a table called Customers, set this parameter to: Customers. |
ToNavigationProperty | String | True | False | The navigation property you are creating an association on. It can be obtained from ListNavigationProperties. |
ToId | String | True | False | The Id of the navigation entity. This will come from the table associated with the navigation property. |