Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Is it possible to use Flexmonster Compressor and Entity Framework

Answered
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)
 
Thanks!

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster February 14, 2020

Hello,
 
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,
Illia

Please login or Register to Submit Answer