Skip to content

Commit

Permalink
🚚 Moves namespaces according to interface changes
Browse files Browse the repository at this point in the history
  • Loading branch information
akritikos committed Apr 26, 2021
1 parent b9d95d6 commit dcf4e80
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Kritikos.Configuration.Peristence.IdentityServer
using IdentityServer4.EntityFramework.Interfaces;
using IdentityServer4.EntityFramework.Options;

using Kritikos.Configuration.Persistence.Abstractions;
using Kritikos.Configuration.Persistence.Contracts.Behavioral;

using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
namespace Kritikos.Configuration.Persistence.Extensions
{
using Kritikos.Configuration.Persistence.Abstractions;
using Kritikos.Configuration.Persistence.Contracts.Behavioral;

using Microsoft.EntityFrameworkCore;

public static class DbContextExtensions
{
public static void UpdateConcurrencyToken(this DbContext ctx, IConcurrent entity, byte[] rowVersion)
public static void UpdateConcurrencyToken<TKey>(this DbContext ctx, IConcurrent<TKey> entity, TKey rowVersion)
=> ctx.Entry(entity).Property(x => x.RowVersion).OriginalValue = rowVersion;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Kritikos.Configuration.Persistence.Interceptors
using System.Threading;
using System.Threading.Tasks;

using Kritikos.Configuration.Persistence.Abstractions;
using Kritikos.Configuration.Persistence.Contracts.Behavioral;
using Kritikos.Configuration.Persistence.Services;

using Microsoft.EntityFrameworkCore;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Kritikos.Configuration.Persistence.Interceptors
using System.Threading;
using System.Threading.Tasks;

using Kritikos.Configuration.Persistence.Abstractions;
using Kritikos.Configuration.Persistence.Contracts.Behavioral;

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
Expand Down

0 comments on commit dcf4e80

Please sign in to comment.