EFCore5 with dotConnect Oracle

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
mrsunflower
Posts: 1
Joined: Thu 20 May 2021 06:05

EFCore5 with dotConnect Oracle

Post by mrsunflower » Thu 20 May 2021 06:09

Hello,

I have a problem with generating Model Classes with EF Core 5 from existing Oracle DB. It prompts warnings like:

Could not find type mapping for column '<COLUMN NAME>' with data type 'sdo_geometry'. Skipping column.

Command that I use:

Scaffold-DbContext "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<host>)(PORT=<port>))(CONNECT_DATA=(SERVICE_NAME=<dbname>)));Persist Security Info=True;User Id=<id>;Password=<pass>;License Key=<MY LICENCE KEY>" Devart.Data.Oracle.Entity.EFCore -OutputDir Models -f

This is weird because from what documentation says
it supports topology types.

Maybe I'm missing some additional flag or parameter? May I ask for some help?

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

Re: EFCore5 with dotConnect Oracle

Post by Shalex » Thu 20 May 2021 15:13

We have reproduced the error with Scaffold-DbContext and are investigating the issue. We will notify you about the result.

Post Reply