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?
var db = new Database("DSN=MYDSN", "System.Data.Odbc"); db.OpenSharedConnection();
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?