Oracle.EntityFrameworkCore.NetTopologySuite
10.23.26000-Preview.1
Prefix Reserved
dotnet add package Oracle.EntityFrameworkCore.NetTopologySuite --version 10.23.26000-Preview.1
NuGet\Install-Package Oracle.EntityFrameworkCore.NetTopologySuite -Version 10.23.26000-Preview.1
<PackageReference Include="Oracle.EntityFrameworkCore.NetTopologySuite" Version="10.23.26000-Preview.1" />
<PackageVersion Include="Oracle.EntityFrameworkCore.NetTopologySuite" Version="10.23.26000-Preview.1" />
<PackageReference Include="Oracle.EntityFrameworkCore.NetTopologySuite" />
paket add Oracle.EntityFrameworkCore.NetTopologySuite --version 10.23.26000-Preview.1
#r "nuget: Oracle.EntityFrameworkCore.NetTopologySuite, 10.23.26000-Preview.1"
#:package Oracle.EntityFrameworkCore.NetTopologySuite@10.23.26000-Preview.1
#addin nuget:?package=Oracle.EntityFrameworkCore.NetTopologySuite&version=10.23.26000-Preview.1&prerelease
#tool nuget:?package=Oracle.EntityFrameworkCore.NetTopologySuite&version=10.23.26000-Preview.1&prerelease

Oracle.EntityFrameworkCore.NetTopologySuite 10.23.26000-Preview.1
Release Notes for Oracle Entity Framework Core NetTopologySuite 10 Preview 1 NuGet Package
November 2025
Oracle.EntityFrameworkCore.NetTopologySuite is the spatial extension for Oracle Entity Framework Core provider. It enables the use of spatial data types with Oracle databases through Entity Framework Core and NetTopologySuite (NTS). Entity Framework Core (EF Core) is a cross-platform Microsoft object-relational mapper that enables .NET developers to work with relational databases using .NET objects.
This document provides information that supplements the Oracle Data Provider for .NET (ODP.NET) documentation.
Usage
Call UseNetTopologySuite inside the call to UseOracle when configuring the Oracle database provider for your DbContext.
You can optionally specify a tolerance value, which determines the precision level for spatial operations such as Equals, Intersects, or Buffer.
The tolerance value must be a positive number greater than zero.
If not specified, the default tolerance is 0.005.
Example (default tolerance):
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseOracle(
"User Id=hr;Password=<PASSWORD>;Data Source=MyOracleDB;",
b => b.UseNetTopologySuite());
Example (custom tolerance):
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseOracle(
"User Id=hr;Password=<PASSWORD>;Data Source=MyOracleDB;",
b => b.UseNetTopologySuite(tolerance: 0.001));
Oracle .NET Links
- Oracle Spatial and Graph Developer’s Guide
- Oracle .NET Home Page
- GitHub - Sample Code
- ODP.NET Discussion Forum
- YouTube
- X (Twitter)
- Email Newsletter Sign Up
New Features
- Oracle spatial data via NetTopologySuite
Tips, Limitations, and Known Issues
LINQ
- LINQ queries comparing
GeometryCollectionobjects with aPolygonas the last item after aLineStringare not supported. For example, imagine an entity model with the following entities:
public class GeoEntity
{
public int Id { get; set; }
public GeometryCollection Shape { get; set; }
}
The following LINQ would throw 'ORA-13354: incorrect offset in ELEM_INFO_ARRAY':
var gc = new GeometryCollection(
new Geometry[]
{
new Point(1, 1) { SRID = 4326 },
new LineString(new[]
{
new Coordinate(2, 2),
new Coordinate(3, 3)
}) { SRID = 4326 },
new Polygon(new LinearRing(new[]
{
new Coordinate(4, 4),
new Coordinate(4, 6),
new Coordinate(6, 6),
new Coordinate(6, 4),
new Coordinate(4, 4)
})) { SRID = 4326 }
}
) { SRID = 4326 };
var match = context.Geometries
.Where(e => e.Shape.EqualsExact(gc))
.ToList();
As a workaround, Ensure the polygon is placed before the LineString:
var gc = new GeometryCollection(
new Geometry[]
{
new Point(1, 1) { SRID = 4326 },
new Polygon( ... ) { SRID = 4326 },
new LineString( ... ) { SRID = 4326 }
}
);
- LINQ queries using union or convex hull aggregates that return
MULTIPOINTare not supported in Oracle 19c database version. Let us first imagine an entity model with the following entity:
public class PointEntity
{
public int Id { get; set; }
public string Group { get; set; }
public Point Point { get; set; }
}
The following LINQ will return incomplete or invalid geometry in the union and convex hull result against Oracle 19c database version:
var results = context.PointEntity
.Where(e => e.Point != null)
.GroupBy(e => e.Group)
.Select(g => new {
Union = UnaryUnionOp.Union(g.Select(e => e.Point)),
ConvexHull = ConvexHull.Create(g.Select(e => e.Point))
})
.ToList();
Copyright (c) 2025, Oracle and/or its affiliates.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
net10.0
- NetTopologySuite (>= 2.6.0 && < 3.0.0)
- NetTopologySuite.IO.Oracle (>= 4.0.0 && < 5.0.0)
- Oracle.EntityFrameworkCore (>= 10.23.26000 && < 11.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.23.26000-Preview.1 | 67 | 12/11/2025 |