Breaking Changes
Application Programming Interface Changes
-
Oracle EF Core
UseOracleSQLCompatibility
extension methodIn EF Core 6 and higher versions with Oracle EF Core version 23,
UseOracleSQLCompatibility
extension method now takes an enumeration type as an argument rather than a string value. This extension method's default value will be the same as the Oracle EF Core version. For example, if you are using Oracle EF Core 23, then its value will beOracleSQLCompatibility.DatabaseVersion23
.This default assumes the app is using the same database version as the Oracle EF Core version, that is, Oracle Database 23ai with Oracle 23ai client. If they are not the same version, then the developer should modify the enumeration value to match the database version they are connecting to. This ensures fewer compatibility errors and allows Oracle EF Core to use the latest Oracle Database features.
See Also:
Desupported APIs
The desupported APIs are as follows:
-
ModelBuilder.UseOracleIdentityColumn Extension
MethodStarting with EF Core 5, ODP.NET EF Core desupports
UseOracleIdentityColumn
. Developers should call theModelBuilder.UseIdentityColumn
extension method instead, which provides identical functionality.UseOracleIdentityColumn
remains supported for EF Core 3.1 and earlier releases. -
ModelBuilder
andPropertyBuilder ForOracleUseSequenceHiLo
Extension MethodStarting with EF Core 5, ODP.NET EF Core desupports
ForOracleUseSequenceHiLo
. Developers should call theModelBuilder.UseHiLo
extension method instead, which provides identical functionality.ForOracleUseSequenceHiLo
remains supported for EF Core 3.1 and earlier releases. -
Oracle.EntityFrameworkCore.Migrations.Operations.OracleCreateUserOperation
ClassStarting with Oracle EF Core 21c, the
OracleCreateUserOperation
class is desupported. Developers should call theMigrationBuilder.Sql
method instead with aCREATE USER
SQL statement to create a user if they are using the desupported API directly. -
Oracle.EntityFrameworkCore.Migrations.Operations.OracleDropUserOperation
ClassStarting with Oracle EF Core 21c, the
OracleDropUserOperation
class is desupported. Developers should call theMigrationBuilder.Sql
method instead with aDROP USER
SQL statement to drop a user if they are using the desupported API directly.