We performed the following actions:
1. Created a console application (.NET Framework 4.6.1)
2. Installed the corresponding NuGet package by executing the following command in Package Manager Console:
Install-Package Microsoft.EntityFrameworkCore.Sqlite -version 1.1.2
3. Register the provider in app.config file:
Code: Select all
<configuration>
<system.data>
<DbProviderFactories>
<add name="Microsoft.Data.SQLite" invariant="Microsoft.Data.SQLite" description="Microsoft.Data.Sqlite" type="Microsoft.Data.Sqlite.SqliteFactory, Microsoft.Data.Sqlite, Version=1.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" />
</system.data>
</configuration>
4. Created a model and executed Retrieve Data. There is no such error, the model is correctly compiled, and data selection starts correctly.
What should we change in these actions in order to reproduce the issue?