Page 1 of 1

Does dotConnect for Oracle support EF4 CTP5 code only POCOs?

Posted: Thu 09 Dec 2010 02:46
by Alex123
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?

Posted: Mon 13 Dec 2010 14:44
by AndreyR
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).

code first with EF CTP5

Posted: Tue 14 Dec 2010 12:46
by Remco Blok
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?

Posted: Tue 14 Dec 2010 13:20
by AndreyR
Thank you for the report, we are aware of this problem.
Our investigation is in progress, I will post here about the results.

Posted: Wed 15 Dec 2010 16:43
by AndreyR
Try a workaround: add the following code in the OnModelCreating(ModelBuilder modelBuilder) method.

Code: Select all

modelBuilder.Conventions.Remove();

Posted: Tue 18 Jan 2011 08:34
by AndreyR
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).

Posted: Fri 04 Mar 2011 08:21
by AndreyR
We have written an article dealing with CTP 5 support.
It contains a sample and some notes about database creation and configuration conventions.