From: | "FarjadFarid\(ChkNet\)" <farjad(dot)farid(at)checknetworks(dot)com> |
---|---|
To: | "'Adrian Klaver'" <adrian(dot)klaver(at)aklaver(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Asp.net 5 and EF6 |
Date: | 2016-02-04 17:52:59 |
Message-ID: | 000801d15f74$e2c39a90$a84acfb0$@checknetworks.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I am not using EF7. It is actually EF6 under full .net 5
-----Original Message-----
From: Adrian Klaver [mailto:adrian(dot)klaver(at)aklaver(dot)com]
Sent: 04 February 2016 17:29
To: FarjadFarid(ChkNet); pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Asp.net 5 and EF6
On 02/04/2016 09:18 AM, FarjadFarid(ChkNet) wrote:
> I have looked the Npgsql website and downloaded the EF7 files. Of
> course the full .net core.
Alright now I am not following, in your original post you said:
"Hi I am trying to use certain features of Asp.net 5 using postgresql using
EF6."
and
"So I would have thought as an interim measure until EF7 is ready which will
be quite some time to come, it should be possible to connect to postgresql
using EF6. "
So why are you using the EF7 files?
>
> The problem *seems* to be that there are two separate libraries that
> need to be added.
>
> One is EF related and the other is the Npgsql wrapper.
> Unfortunately the Nuget installer is not working correctly either.
>
> The main error seems to be in the submitted version of the libraries
> and build version.
>
> The error is
> NU1007 Dependency specified was EntityFramework7.Npgsql >=1.0.0 but
> ended with EntityFramework7.Npgsql 1.0.0
>
> Npgsql namespace is installed but not the entity framework.
>
> It looks as if EF7 will be released much later than asp.net 5. So a
> lot of time could be lost in the middle.
>
> Current suggested workaround for all DB's solution is to use EF6 under
> a separate .net project.
>
> Any suggestion?
>
> -----Original Message-----
> From: Adrian Klaver [mailto:adrian(dot)klaver(at)aklaver(dot)com]
> Sent: 04 February 2016 17:00
> To: FarjadFarid(ChkNet); pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] Asp.net 5 and EF6
>
> On 02/04/2016 08:46 AM, FarjadFarid(ChkNet) wrote:
>> Hi I am trying to use certain features of Asp.net 5 using postgresql
>> using EF6.
>>
>> I have downloaded the latest unstable version of npgsql and tried to
>> connect to my db.
>>
>> But no luck.
> I am not a nppsql user, so some generic question.
>
> Can you explain in more detail what the errors are?
>
>>
>> I have posted a request to stackoverflow.com but haven't had any
>> response at all.
>>
>> It is easy to connect to Sql Server using EF6 under asp.net 5.
>>
>> So I would have thought as an interim measure until EF7 is ready
>> which will be quite some time to come,
>>
>> it should be possible to connect to postgresql using EF6.
>
> Have you looked here?:
>
> http://www.npgsql.org/doc/ef6.html
>
>>
>> Any ideas how?
>>
>> Many thanks.
>>
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Fabrízio de Royes Mello | 2016-02-04 17:56:54 | Re: [SQL] Q: documentation bug ? |
Previous Message | Adrian Klaver | 2016-02-04 17:28:58 | Re: Asp.net 5 and EF6 |