Issue Details (XML | Word | Printable)

Key: DNET-902
Type: Bug Bug
Status: Closed Closed
Resolution: Incomplete
Priority: Major Major
Assignee: Jiri Cincura
Reporter: John Greco
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
.NET Data provider

Failing to connect to Firebird from EF Core 3

Created: 01/Oct/19 07:59 PM   Updated: 18/Dec/19 04:46 PM
Component/s: Entity Framework Core
Affects Version/s: 7.1.1.0
Fix Version/s: None

Environment: Windows 10 / VS 2019 Preview


 Description  « Hide
Trying to utilize: services.AddDbContext<SheaDbContext>(options => options.UseFirebird(connectionString));

Raises an exception:

"Method 'get_Info' in type 'FirebirdSql.EntityFrameworkCore.Firebird.Infrastructure.Internal.FbOptionsExtension' from assembly 'FirebirdSql.EntityFrameworkCore.Firebird, Version=7.1.1.0, Culture=neutral, PublicKeyToken=7a73ef09980c56c9' does not have an implementation." string


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jiri Cincura added a comment - 02/Oct/19 06:21 AM
Please provide a small reproducible test-case and/or exact versions you're using.

Gerdus van Zyl added a comment - 02/Oct/19 02:18 PM
This is the error you get when running on EntityFrameworkCore version 3.0; while the firebird provider supports currently 2.2

John Greco added a comment - 02/Oct/19 02:52 PM
Correct. Any application in .net Core 3 that tries to connect to Firebird has this error.

Jiri Cincura added a comment - 02/Oct/19 03:19 PM
Thanks Gerdus, that was my guess, so I asked for the versions.

The EFCore 3 support is tracked in DNET-903, so I'll close this.

Valdir Stiebe Junior added a comment - 18/Dec/19 04:46 PM
As a workaround, we made it work with entity framework core 3.1 removing the following PackageReference from our project.csproj.

<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0">
    <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>