Transformations should check that the relationship connector actually exists

Shane Day (Chief Technology Officer) 13 years ago updated by anonymous 9 years ago 3

Some of the relationship connectors don't check that the relationship connector ID supplied exists. This should be an invalid configuration.

Tony, did you consider placing the following on IAdapterEntityTransformationGenerator:

IEnumerable<Guid> RelationalConnectorIds();

Which would allow you to check for the relational connectors in the one place, in:

public IAdapterEntityTransformationFactory CreateComponent(IAdapterEntityTransformationGeneratorInformation factoryInformation)

At the end of the method, before the return statement.

Let me know if you want to have a chat about this.


Reassigned for confirmation of completion.