could not find clr type for

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
hmoeGStA
Posts: 1
Joined: Tue 09 Apr 2019 12:17

could not find clr type for

Post by hmoeGStA » Tue 09 Apr 2019 12:27

Hello,
we use VS2017 and dotConnect (for ORACLE V12). We've create a new model and if we tried to generate a new Controller it's not possible. We've got the message …… could not find CLR type for ……
What's wrong?
Thank you for help.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: could not find clr type for

Post by Pinturiccio » Mon 15 Apr 2019 16:41

Please describe the steps that you have performed. How exactly did you try to generate a new Controller? Are you generating a new Contrtoller for an ORM model? For which ORM did you try to generate a new Controller? Which ORM version is used in this model? What type of mapping do you use?

For example, Devart's Entity Developer has templates for generating Controllers: https://www.devart.com/entitydeveloper/templates.html . Or did you use Microsoft tools for generating a new controller with our provider?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: could not find clr type for

Post by Shalex » Thu 18 Apr 2019 18:30

Please use the DbContext template (default template is EntityObject). You can set the template to use this way: open *.edml and navigate to Tools > Entity Developer > Model Explorer > the Templates node.

Post Reply