Get Free Trial

Is it possible to use Flexmonster Compressor and Entity Framework

Jose Luis Torrent asked on February 13, 2020

Just as the title says, 
I currently have the report query against a database using entity framework and linq queries.
As far as I’ve seen the compressor accepts a DataReader to do its work but I haven’t found a way to directly get a datareader when I have then query already to my liking.
Do I have to write the query again so I connect to the db using ADO.NET to get a DataReader or is there some other way arround (So I don’t have to rewrite the queries)

1 answer

Illia Yatsyshyn Illia Yatsyshyn Flexmonster February 14, 2020

Thank you for your question.
We would like to kindly inform you that it is not possible to use the Data Compressor with an Entity Framework. Moreover, with a major release v. 2.8. using the Data Compressor in order to connect to databases has ceased to be a recommended approach.
We suggest checking out our new custom API data source. Detailed information about it can be found in our blog post dedicated to custom API data source. As a starting point, our team recommends jumping into the Quick start guide. Also, check out an example demonstrating the implementation of the sample .NET Core server available on our GitHub.
We hope it helps.
Best regards,

Please login or Register to Submit Answer