I don't know how to answer your question right now without having to look into it (no time), but let me warn you:
In PB2019 R2, there'll be NO MORE .srd, so I'm not sure if this is worth looking into?
Appeon has made some changes, also in the namespace. This is an excerpt from an email which I got from Appeon:
Two major changes to PowerBuilder Data in the coming 2019 R2:
- The name of the PowerBuilder.Data library is changed to DWNet.Data;
- There is a major refactoring of .NET DataStore: in 2019 GA version, .NET DataStore must work with the SRD file; in R2, .NET DataStore has moved away from dependency on SRD and becomes standard C# model.
Because of the above changes, if you upgrade PowerBuilder 2019 to 2019 R2, the existing API names would be the same, but the namespaces related with “PowerBuilder.Data” need be updated. We decided to make this change because we think it will be beneficial for greater adoption of this powerful technology by .NET developers and new projects.
Regards,