Can i use a dynamic C# object to access database values. For example if i have a table name Settings, with different values could i simply call from code Settings.SomeSetting, rather then programming them all.
4 Answers
You could also use a C# ORM in order to do something like what you are trying to do.
Dapper.Net - A simple C# ORM.
NHibernate - A mature ORM which has been around while.
I don't have experience with either but both sound like something you are trying to achieve.
Comments
Here's a blog post showing one technique using a dynamic wrapper for ADO.NET data access. This should work against a query run against an Access database (as well as any other ADO.NET data source).