Decouple AutoQuery from OrmLiteConnectionFactory
Currently AutoQuery is coupled to OrmLiteConnectionFactory to support it's feature set.
I am able to write an IQueryDataSource to expose my data through AutoQueryData feature, however in order to use AutoQueryFeature which supports the GenerateCrudServices flag the Feature is coupled to the built in OrmLite implementation.
Would it be possible to modify it so we can use more data sources? Currently having to provide an IDbConnection forces us into SQL type languages, whereas I am trying to support CosmosDb and we should be able to support a CRUD service creation if we have some kind of Document Data Source interfaces we can implement
AutoQueryFeature is specifically AutoQuery for OrmLite, it's not possible to decouple the current implementation which is based on OrmLite APIs.
A completely new implementation would need to be created for AutoQueryDataFeature which is the data agnostic AutoQuery provider although would require much more effort to implement, which is what I'm interpreting this feature request to mean.
James Carter commented
To add, this would also allow your users to enjoy this feature on your existing PocoDynamo framework which has a similar structure.
I realise that in many cases these data sources are schemaless, and I am not suggesting they should be able to interrograte the data store in all instances, one where we can supply Poco types would be sufficient.
Many thanks - long time user since 2015.