Hi,
We'd like to have guidelines or references that explain how to expose an ADO .NET provider (DbConnection, DbCommand, DbParameter and DbDataReader objects)... as a generic RESTful/OData service. This service would provide CRUD, and other custom operations wrapping underlying ADO .NET provider.
Examples: /api/insert/{table}, /api/update/{table}, and /api/delete/{table} URIs process an INSERT/UPDATE/DELETE SQL stmts respectively.
/odata/{table} URI performs SELECT * FROM tablename. We'd enhance this for custom sql generation (CALL, Compuond statements), filtering and paging.
Thanks and regards,
Devendra