Is there an ORM structure (Relational Mapper object) that supports C ++ and C #

I am looking for an ORM that will allow me to write a C # user interface and a C ++ service. Both must access data from the same database. Ideally, I want the C # and C ++ classes to be generated from a database schema with which I can then program.

The database will probably be SQLServer, but this has not yet been resolved.

Note. I do this in a Windows environment, but for reasons I don’t want to log in, I cannot use COM, so COM solution is not an option.

This is similar to this question:

ORM solution (relational object manager) with support for several programming languages

However, they did not answer him well enough, and I cannot raise him for a reward.

+4
source share
1 answer

Unfortunately, this will not help you, but if you refuse to search for a solution for pre-assembly, it is not so difficult to develop an internal version that supports only what you need.

We have our own data definition language, which we use to create an SQL schema for our data and ORM classes for our own C ++ and .NET. The only real trick is to compare the generated schema with what is already in the database to facilitate migration to the next version.

+2
source

All Articles