Fixing detection of SQLServer for EFCore extensions
This commit is contained in:
@@ -130,7 +130,8 @@ namespace Microsoft.EntityFrameworkCore
|
||||
return DatabaseProvider.PostgreSQL;
|
||||
if (provider.Contains("sqlite", StringComparison.OrdinalIgnoreCase))
|
||||
return DatabaseProvider.SQLite;
|
||||
if (provider.Contains("sqlclient", StringComparison.OrdinalIgnoreCase))
|
||||
if (provider.Contains("sqlclient", StringComparison.OrdinalIgnoreCase)
|
||||
|| provider.Contains("sqlserver", StringComparison.OrdinalIgnoreCase))
|
||||
return DatabaseProvider.SQLServer;
|
||||
if (provider.Contains("inmemory", StringComparison.OrdinalIgnoreCase))
|
||||
return DatabaseProvider.InMemory;
|
||||
|
||||
@@ -4,10 +4,15 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased](https://git.am-wd.de/AM.WD/common/compare/v1.4.1...master) - 0000-00-00
|
||||
## [Unreleased](https://git.am-wd.de/AM.WD/common/compare/v1.4.3...master) - 0000-00-00
|
||||
_nothing changed yet_
|
||||
|
||||
|
||||
## [v1.4.3](https://git.am-wd.de/AM.WD/common/compare/v1.4.2...v1.4.3) - 2022-05-12
|
||||
### Fixed
|
||||
- Fixed detection of SQLServer for EFCore extensions
|
||||
|
||||
|
||||
## [v1.4.2](https://git.am-wd.de/AM.WD/common/compare/v1.4.1...v1.4.2) - 2022-05-06
|
||||
### Added
|
||||
- New extension for `StringBuilder` `AppendLine(value: string, newLine: string)` to add a line with a explicit defined new line character.
|
||||
|
||||
Reference in New Issue
Block a user