This is the old way of working with the Entity Framework. The most current way uses only the web.config
project file settings and NuGet packages.
The ADO.NET provider to Firebird and its Entity Framework support can be easily installed by using the following commands in the Package Manager Console ( View > Other Windows & gt ; Package Manager Console ):
PM> Install-Package FirebirdSql.Data.FirebirdClient
PM> Install-Package EntityFramework.Firebird
The setting in web.config
is done as follows:
<configuration>
...
<entityFramework>
<defaultConnectionFactory type="FirebirdSql.Data.EntityFramework6.FbConnectionFactory, EntityFramework.Firebird" />
<providers>
<provider invariantName="FirebirdSql.Data.FirebirdClient" type="FirebirdSql.Data.EntityFramework6.FbProviderServices, EntityFramework.Firebird" />
</providers>
</entityFramework>
...
</configuration>
In addition, you need to provide a connection string in the same file:
<configuration>
...
<connectionStrings>
<add name="DefaultConnection" connectionString="User=usuario;Password=senha;Database=C:/caminho/do/arquivo.fdb;DataSource=localhost;Port=3050;Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet size=8192;ServerType=0;" providerName="FirebirdSql.Data.FirebirdClient" />
</connectionStrings>
...
</configuration>
EDIT
For reverse engineering, install the DDEX provider in your Visual Studio. You can download it here .