Comments (3)
This is a section of an App.Config.
Could you check if your is similar?
</configuration>
<entityFramework>
<providers>
<provider invariantName="JetEntityFrameworkProvider" type="JetEntityFrameworkProvider.JetProviderServices, JetEntityFrameworkProvider" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant="JetEntityFrameworkProvider" />
<add invariant="JetEntityFrameworkProvider" name="Jet Entity Framework Provider" description="Jet Entity Framework Provider" type="JetEntityFrameworkProvider.JetProviderFactory, JetEntityFrameworkProvider" />
</DbProviderFactories>
</system.data>
</configuration>
from jetentityframeworkprovider.
This is a section of an App.Config.
Could you check if your is similar?</configuration> <entityFramework> <providers> <provider invariantName="JetEntityFrameworkProvider" type="JetEntityFrameworkProvider.JetProviderServices, JetEntityFrameworkProvider" /> <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> <system.data> <DbProviderFactories> <remove invariant="JetEntityFrameworkProvider" /> <add invariant="JetEntityFrameworkProvider" name="Jet Entity Framework Provider" description="Jet Entity Framework Provider" type="JetEntityFrameworkProvider.JetProviderFactory, JetEntityFrameworkProvider" /> </DbProviderFactories> </system.data> </configuration>
Question: How to connect these ("App.config" -bubibubi) + "App.config" (My)?
I do not understand you
My "App.config" (My).
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> </startup> <connectionStrings> <add name="DefaultConnection" connectionString="Provider=Microsoft.ACE.OleDB.12.0;Data source=c:\test\csharp\vs\db\db_test_01.accdb" providerName="JetEntityFrameworkProvider"/> </connectionStrings> </configuration>
You are providing "App.config" -bubibubi.
</configuration>
<entityFramework>
<providers>
<provider invariantName = "JetEntityFrameworkProvider" type = "JetEntityFrameworkProvider.JetProviderServices, JetEntityFrameworkProvider" />
<provider invariantName = "System.Data.SqlClient" type = "System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant = "JetEntityFrameworkProvider" />
<add invariant = "JetEntityFrameworkProvider" name = "Jet Entity Framework Provider" description = "Jet Entity Framework Provider"
type = "JetEntityFrameworkProvider.JetProviderFactory, JetEntityFrameworkProvider" />
</DbProviderFactories>
</system.data>
</configuration>
from jetentityframeworkprovider.
@bubibubi
The topic is closed.
Thank.
from jetentityframeworkprovider.
Related Issues (20)
- Setup DB First Provider in VS2019 HOT 1
- Support for EntityFramework.SharpDevelop 6.0.2 HOT 1
- Error 6005 on byte column
- Passing connectionstring to DbContext without using app.config HOT 1
- Cannot install on visual studio 2019 HOT 1
- Decimal values ββignore the decimal separator and are saved as integer HOT 3
- CInt and CLng are for short and int and not for long values
- AnyCPU build HOT 4
- Bug in JetCommand.cs affects TOP and maybe SKIP
- How do I test JetEntityFrameworkProvider? HOT 1
- Mod operation syntax error
- CrossApply not implemented in Jet
- Set JetEntityFrameworkProvider dynamically with ConnectionString HOT 1
- problem with 64 bit OLEDB HOT 3
- Tables with Yes/No column throw Syntax Error exception
- could support Microsoft.ACE.OleDb.4.0
- Cannot update record (query '' is corrupt)
- Create Table for longchar with default
- Alter table statement generated for changing the default value has the wrong SQL syntax.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetentityframeworkprovider.