Move to core (#15084)

This commit is contained in:
Nikolaj Geisle
2023-11-01 11:47:27 +01:00
committed by GitHub
parent d5ff80352e
commit 52fd853d52
6 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Umbraco.Cms.Core;
using Umbraco.Cms.Persistence.EFCore.Migrations;
using Umbraco.Extensions;

View File

@@ -1,4 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Umbraco.Cms.Core;
using Umbraco.Cms.Persistence.EFCore.Migrations;
namespace Umbraco.Cms.Persistence.EFCore.SqlServer;

View File

@@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore;
using Umbraco.Cms.Core;
using Umbraco.Cms.Persistence.EFCore.Migrations;
using Umbraco.Extensions;
using Umbraco.Cms.Persistence.EFCore;
namespace Umbraco.Cms.Persistence.EFCore.Sqlite;

View File

@@ -1,4 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Umbraco.Cms.Core;
using Umbraco.Cms.Persistence.EFCore.Migrations;
namespace Umbraco.Cms.Persistence.EFCore.Sqlite;

View File

@@ -132,10 +132,10 @@ public static class UmbracoEFCoreServiceCollectionExtensions
{
switch (providerName)
{
case Cms.Persistence.EFCore.Constants.ProviderNames.SQLServer:
case Constants.ProviderNames.SQLServer:
builder.UseSqlServer(connectionString);
break;
case Cms.Persistence.EFCore.Constants.ProviderNames.SQLLite:
case Constants.ProviderNames.SQLLite:
builder.UseSqlite(connectionString);
break;
default:

View File

@@ -1,4 +1,4 @@
namespace Umbraco.Cms.Persistence.EFCore;
namespace Umbraco.Cms.Core;
public static partial class Constants
{