Does dotConnect for Oracle support EF4 CTP5 code only POCOs?

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Alex123
Posts: 4
Joined: Thu 09 Dec 2010 00:53

Does dotConnect for Oracle support EF4 CTP5 code only POCOs?

Post by Alex123 » Thu 09 Dec 2010 02:46

Hi,

I am currently evaluating dotConnect as EF4 provider for Oracle.
I've written a simple app which uses EF4 CTP5 and maps POCOs code only. It works fine for MS SQL Server. Unfortunately, I can't get it to work with dotConnect.
I am getting [b]ProviderIncompatibleException was unhandled exception[/b] with [i]The provider did not return a ProviderManifestToken string.[/i] message.
Does dotConnect support code only POCOs at all?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 13 Dec 2010 14:44

We are in the process of testing the new CTP. However, we are unable to reproduce the particular problem you've reported about.
In case it is reproducible on the latest 6.0.58 build of dotConnect for Oracle, please send us (support * devart * com, subject "EF CTP 5 ProviderManifest") a small test project illustrating the issue (or provide detailed steps to reproduce the error).

Remco Blok
Posts: 25
Joined: Tue 14 Dec 2010 12:34

code first with EF CTP5

Post by Remco Blok » Tue 14 Dec 2010 12:46

I get the following error with CTP5 and the Devart dotConnect for Oracle provider 6.0.58.0:

Schema specified is not valid. Errors:
error 0040: The Type varchar2 is not qualified with a namespace or alias. Only PrimitiveTypes can be used without qualification.

Any idea how I can solve that?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 14 Dec 2010 13:20

Thank you for the report, we are aware of this problem.
Our investigation is in progress, I will post here about the results.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 15 Dec 2010 16:43

Try a workaround: add the following code in the OnModelCreating(ModelBuilder modelBuilder) method.

Code: Select all

modelBuilder.Conventions.Remove();

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 18 Jan 2011 08:34

We have released a build with Entity Framework 4 CTP 5 support.
It can be downloaded from this page (Trial Edition) or from Registered Users' Area (non-Trial Editions).

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 04 Mar 2011 08:21

We have written an article dealing with CTP 5 support.
It contains a sample and some notes about database creation and configuration conventions.

Post Reply