Commit graph

2 commits

Author SHA1 Message Date
Sipke Schoorstra 8502165dcc Rename UseMySql methods to UseOracle
Renamed all instances of the `UseMySql` method to `UseOracle` in the `OracleProvidersExtensions` class. This aligns the method names with Oracle-specific functionality. Additionally, marked the class with `PublicAPI` attribute for better code documentation.
2024-11-25 19:57:03 +01:00
Sipke Schoorstra 103034667c
Add configuration actions for DbContext options builders (#6110)
* Add configuration actions for DbContext options builders

Introduce a configuration delegate parameter for each database provider's `Use*` methods, enhancing customization. This change affects MySql, SqlServer, Sqlite, PostgreSql, and Oracle providers, allowing more flexible DbContext configuration.

* Add support for connection strings as functions

This update introduces new overloads to allow passing connection strings as functions that take IServiceProvider. This enhances flexibility by enabling dynamic connection string resolution at runtime. All major database providers (MySQL, SQL Server, SQLite, PostgreSQL, and Oracle) have been updated accordingly.
2024-11-11 19:01:41 +01:00