带有多种编程语言支持的ORM(对象关系管理器)解决方案 [英] ORM (object relational manager) solution with multiple programming language support

查看:94
本文介绍了带有多种编程语言支持的ORM(对象关系管理器)解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个好的ORM(对象关系管理器)解决方案可以使用来自C ++,C#,Python的相同数据库?

Is there a good ORM (object relational manager) solution that can use the same database from C++, C#, Python?

它也可能是多种解决方案,例如一种语言,只要他们可以访问相同的数据库并使用相同的架构即可.

It could also be multiple solutions, e.g. one per language, as long as they can can access the same database and use the same schema.

还需要多平台支持.

这个想法是拥有一个数据库,并可以使用几种不同的编程语言编写的软件访问该数据库.理想情况下,这将由一个具有所有这些语言的API(或绑定)的ORM提供.

The idea is to have one database and access this from software written in several different programming languages. Ideally this would be provided by one ORM having APIs (or bindings) in all of these languages.

另一种解决方案是在每种语言中使用兼容的架构来使用不同的ORM.但是我相信在这种情况下架构迁移将非常困难.

One other solution is to have a different ORM in each language, that use compatible schemas. However I believe that schema migration will be very hard in this setting.

推荐答案

我知道 DataAbstract 用于Pascal,C#,不久将用于Mac和Iphone的目标C,但不支持Python.

I know DataAbstract for Pascal, C# and soon for objective C for Mac and Iphone but no Python support.

这篇关于带有多种编程语言支持的ORM(对象关系管理器)解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆