[CONNECT C++] Database API Introduction

posted a blog about database connecting with C++ and CONNECT.  It's good to see an example for that neglected corner of MicroStation!

This code using the mdlDB_api is very procedural.  Not a lot different to examples published decades ago for MicroStation/J!  Is an object-oriented C++ or .NET API likely to appear for database interfacing?

Parents Reply
  • It would be interesting to know how many people today use DB connection

    Well, that's what lies behind my question.  What prompted to create that blog?

    I haven't personally seen any interest in MicroStation's DB interface for many years.  That's partly, of course, because it's not promoted!  There are many reasons still to want to connect to a DB, if only for reading external data relevant to a DGN object.  ECSchemas are great as an internal DB that is available to external apps, but there are occasions when one wants to merge internal (ECSchema) data with external (relational DB) data.

     
    Regards, Jon Summers
    LA Solutions

Children