Hello,
ILinqMetaData has this method:
IDataSource GetQueryableForEntity(int typeOfEntity);
Which isn't particularly useful for any abstraction where the entities enum isn't around. What would be much more helpful is a generic factory method, ie:
IDataSource GetQueryableForEntity<TEntity>();
The (generated) implementation of such being something like:
public IDataSource GetQueryableForEntity<TEntity>(){
return new DataSource2<TEntity>(_adapterToUse, new ElementCreator(), _customFunctionMappings, _contextToUse);
}
Currently I always seem to need the generated strong typed LinqMetaData class to create an IQueryable... unless there is another way?