Fix up to Macros in Core project
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Umbraco.Cms.Core.Configuration
|
||||
private static string ParseProviderName(DbConnectionStringBuilder builder)
|
||||
{
|
||||
if ((builder.TryGetValue("Data Source", out var dataSource) || builder.TryGetValue("DataSource", out dataSource)) &&
|
||||
dataSource?.ToString().EndsWith(".sdf", StringComparison.OrdinalIgnoreCase) == true)
|
||||
dataSource?.ToString()?.EndsWith(".sdf", StringComparison.OrdinalIgnoreCase) == true)
|
||||
{
|
||||
return Constants.DbProviderNames.SqlCe;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user