Closed billzhuang closed 3 years ago
@billzhuang note that this provider is archived and no longer being actively maintained.
@roji yep, since EF6 also live in maintain Mode, I suppose this repo should work with EF6 together happy.:)
Any idea from your experience why this exception happened in enable migration phase?
Appreciated.
add assembly binding in app.config
`
` There is an assembly version conflict.
Hi @icewindq , amazing! You saved my time. After add the binding redirect, works like a charm.
sample repo here: https://github.com/myspyx/ef6play
pretty simple code from https://www.npgsql.org/ef6/index.html and https://docs.microsoft.com/en-us/ef/ef6/modeling/code-first/workflows/new-database
the code works well at first time, create databse automaticly for me, but if I change anything in the model, and try to "Enable migrations", it will throw exception of System.Data.Entity.Core.ProviderIncompatibleException.
Any idea? I try different Postgres verision, no lucky. Run Postgres in docker for test with below
docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres:11
IDE: Rider 2021.2.2