Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleConnection parameter changes
Usage

The old way with credentials which is still possible:

Code Block
languagec#
var connectionParams = new MsSqlConnectionParameters("10.10.11.80", "DEVMasterData", "dev_import", "n&Wt({f9C4x3", false);

The new way without credentials:

Code Block
languagec#
var connectionParams = new TargetSystemMsSqlConnectionParameters("10.10.11.80", "DEVMasterData", false, targetSystemId: 2);

Instead of providing the username and password, the new class TargetSystemMsSqlConnectionParameters takes parameters for the id of the target system and username and password will be taken from target system attribute values.

Info

This is not a breaking change for running system as all the old deployed import configurations still work with this change

Note

Be aware: Every parameter in the ConnectionParameter class has now to be called in the constructor when creating the object. Usually this is now done by using the object initializers. Customer projects won't build anymore if this is not adjusted

...