Breaking Changes
Application Programming Interface Changes
-
Oracle EF Core
UseOracleSQLCompatibilityextension methodIn EF Core 6 and higher versions with Oracle EF Core version 23,
UseOracleSQLCompatibilityextension 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 ExtensionMethodStarting with EF Core 5, ODP.NET EF Core desupports
UseOracleIdentityColumn. Developers should call theModelBuilder.UseIdentityColumnextension method instead, which provides identical functionality.UseOracleIdentityColumnremains supported for EF Core 3.1 and earlier releases. -
ModelBuilderandPropertyBuilder ForOracleUseSequenceHiLoExtension MethodStarting with EF Core 5, ODP.NET EF Core desupports
ForOracleUseSequenceHiLo. Developers should call theModelBuilder.UseHiLoextension method instead, which provides identical functionality.ForOracleUseSequenceHiLoremains supported for EF Core 3.1 and earlier releases. -
Oracle.EntityFrameworkCore.Migrations.Operations.OracleCreateUserOperationClassStarting with Oracle EF Core 21c, the
OracleCreateUserOperationclass is desupported. Developers should call theMigrationBuilder.Sqlmethod instead with aCREATE USERSQL statement to create a user if they are using the desupported API directly. -
Oracle.EntityFrameworkCore.Migrations.Operations.OracleDropUserOperationClassStarting with Oracle EF Core 21c, the
OracleDropUserOperationclass is desupported. Developers should call theMigrationBuilder.Sqlmethod instead with aDROP USERSQL statement to drop a user if they are using the desupported API directly.