From 3a065a3674060785a77380644313aa9b6f432ec3 Mon Sep 17 00:00:00 2001 From: Koen Bekkenutte <2912652+kbekkenutte@users.noreply.github.com> Date: Fri, 5 Nov 2021 05:30:35 +0800 Subject: [PATCH] Prepping for EF Core 6: Removed Z prefix to extension namespace --- .../Extensions/DbContextOptionsExtensions.cs | 2 +- .../Infrastructure/Internal/ProjectionOptionsExtension.cs | 6 +----- .../Infrastructure/ProjectableOptionsBuilder.cs | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/EntityFrameworkCore.Projectables/Extensions/DbContextOptionsExtensions.cs b/src/EntityFrameworkCore.Projectables/Extensions/DbContextOptionsExtensions.cs index a2b070d..d1ff67e 100644 --- a/src/EntityFrameworkCore.Projectables/Extensions/DbContextOptionsExtensions.cs +++ b/src/EntityFrameworkCore.Projectables/Extensions/DbContextOptionsExtensions.cs @@ -1,6 +1,6 @@ using EntityFrameworkCore.Projectables.Infrastructure; using EntityFrameworkCore.Projectables.Infrastructure.Internal; -using ZEntityFrameworkCore.Projectables.Infrastructure.Internal; +using EntityFrameworkCore.Projectables.Infrastructure.Internal; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using System; diff --git a/src/EntityFrameworkCore.Projectables/Infrastructure/Internal/ProjectionOptionsExtension.cs b/src/EntityFrameworkCore.Projectables/Infrastructure/Internal/ProjectionOptionsExtension.cs index 8d33bcc..118b073 100644 --- a/src/EntityFrameworkCore.Projectables/Infrastructure/Internal/ProjectionOptionsExtension.cs +++ b/src/EntityFrameworkCore.Projectables/Infrastructure/Internal/ProjectionOptionsExtension.cs @@ -12,11 +12,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -// The Z in the namespace is not a typo -// We need to make sure that this extension is registered last. -// see: https://github.com/dotnet/efcore/issues/26071 - -namespace ZEntityFrameworkCore.Projectables.Infrastructure.Internal +namespace EntityFrameworkCore.Projectables.Infrastructure.Internal { public class ProjectionOptionsExtension : IDbContextOptionsExtension { diff --git a/src/EntityFrameworkCore.Projectables/Infrastructure/ProjectableOptionsBuilder.cs b/src/EntityFrameworkCore.Projectables/Infrastructure/ProjectableOptionsBuilder.cs index 85ea51f..d80861e 100644 --- a/src/EntityFrameworkCore.Projectables/Infrastructure/ProjectableOptionsBuilder.cs +++ b/src/EntityFrameworkCore.Projectables/Infrastructure/ProjectableOptionsBuilder.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using EntityFrameworkCore.Projectables.Infrastructure.Internal; -using ZEntityFrameworkCore.Projectables.Infrastructure.Internal; +using EntityFrameworkCore.Projectables.Infrastructure.Internal; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure;