Unable te retrieve geometries with circular arcs

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Unable te retrieve geometries with circular arcs

Post by Shalex » Sat 25 Dec 2021 12:22

We have reproduced the issue using your scenario but with a different error. Could you please specify a test value with circular arc stored in your MDSYS.SDO_GEOMETRY column?

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

Re: Unable te retrieve geometries with circular arcs

Post by Shalex » Thu 27 Jan 2022 16:02

Mapping of Oracle object types like MDSYS.SDO_GEOMETRY or Oracle user-defined object datatypes in a database to the OracleObject class in EF Core 3, EF Core 5, EF Core 6 is supported in dotConnect for Oracle v9.16.

Please upgrade and make sure that:

1) UseNetTopologySuite() is not used in options

2) mapping includes column type

Code: Select all

 protected override void OnModelCreating(ModelBuilder modelBuilder) { 
      modelBuilder.Entity<Region>() 
      .Property(x => x.Geometry) 
      .HasColumnType(@"SDO_GEOMETRY"); 
  } 

Post Reply