Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 ODBC 连接到 Navision 2.60。我有一个静态类来管理 odbc 连接。
我想使用 ORM 来映射 Petapoco 或 Dapper 等实体,有人有这样做的例子吗?
至于 dapper,@ Github 有很多很多很多的例子。 Dapper 测试和示例
这里有一些 PetaPoco 的东西。佩塔波科
你在谷歌上没有找到任何东西吗?
var db = new Database("DSN=MYDSN", "System.Data.Odbc"); db.OpenSharedConnection();