Global Data Management Forum

 View Only
  • 1.  Namespaces

    Posted Thu December 15, 2022 10:00 AM
    #if NET6_0
    using IBM.Data.Db2;
    #else 
    using IBM.Data.DB2;
    #endif


    I have an internal library that needs to support multiple frameworks.  Just wanted to point this out, the namespaces of the old drivers do not match the new once.  Quite annoying. :)



    ------------------------------
    Fridrik Dyrfjord
    ------------------------------

    #DataManagementGlobal
    #DataServerDrivers


  • 2.  RE: Namespaces

    Posted Fri December 16, 2022 01:37 AM
    Hi Fridrik,
      sorry for the inconvenience it caused but this was forced due to change in the naming convention of Db2. Going forward, the same name IBM.Data.Db2 will remain. Also, the .NET 6 package name starts with Net.*. * Whereas for .NET 5 it was Net5.*.*. We wish to keep the same package naming convention for future versions (.NET 7 and above) and only the version number changes.

    Thanks 
    Vishwa

    ------------------------------
    Hosathota Vishwanatha
    ------------------------------