Connect to Navision with Petapoco or Dapper using ODBC
Domanda
I'm trying to connecto to Navision 2.60 using ODBC. I have a static class to manage the odbc connection.
I want to use a ORM for mapping entities like Petapoco or Dapper, does anyone have an example of doing so?
Soluzione 2
var db = new Database("DSN=MYDSN", "System.Data.Odbc"); db.OpenSharedConnection();
Altri suggerimenti
As for dapper, there are many many many examples @ Github. Dapper Tests & Examples
And here's some PetaPoco stuff. Peta Poco
Haven't you found anything on google?
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow