Errors connecting to Devart/Oracle-based EF model
Options
I have a EF 6.1.1 assembly that works fine in my project, but when I try to point to that DAL Assembly in LINQPAD and [test] the connection, I get:
Schema specified is not valid. Errors:
(0,0) : error 0040: The Type char is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type char is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type date is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type char is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type date is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type date is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type char is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type interval day to second is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type interval day to second is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type timestamp is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type nvarchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type nclob is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type xmltype is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type xmltype is not qualified with a namespace or alias. Only primitive types can be used without qualification.
Any idea what this means and why it only shows up in LinqPad?
Randy
Schema specified is not valid. Errors:
(0,0) : error 0040: The Type char is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type char is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type date is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type char is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type date is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type date is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type char is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type interval day to second is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type interval day to second is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type timestamp is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type nvarchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type nclob is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type varchar2 is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type xmltype is not qualified with a namespace or alias. Only primitive types can be used without qualification.
(0,0) : error 0040: The Type xmltype is not qualified with a namespace or alias. Only primitive types can be used without qualification.
Any idea what this means and why it only shows up in LinqPad?
Randy
Comments
-
I'm not overly familiar with devart but I believe you are running into a casing mismatch between your generated model and your local settings.
For example if you have ColumnTypeCasingConventionCompatibility set in your web.config or app.config linqpad won't be aware of the setting.
Can you try setting it in code and see if it changes the result?
Some more details here:
http://stackoverflow.com/questions/15077985/using-code-first-and-database-first-entity-framework-with-devart
-
You nailed it!! That fixed it! Thanks!
-
Fantastic - Glad that helped!