Standardize namespaces to all be under the Microsoft.eShopOnWeb namespace and update default namespaces. (#102)

This commit is contained in:
Jeremy Hutchinson
2018-06-05 08:52:54 -04:00
committed by Steve Smith
parent 8bf2a7ade1
commit f953495e38
136 changed files with 342 additions and 335 deletions

View File

@@ -2,7 +2,7 @@
using Microsoft.EntityFrameworkCore;
namespace Infrastructure.Identity
namespace Microsoft.eShopWeb.Infrastructure.Identity
{
public class AppIdentityDbContext : IdentityDbContext<ApplicationUser>
{

View File

@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Identity;
using System.Threading.Tasks;
namespace Infrastructure.Identity
namespace Microsoft.eShopWeb.Infrastructure.Identity
{
public class AppIdentityDbContextSeed
{

View File

@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Identity;
namespace Infrastructure.Identity
namespace Microsoft.eShopWeb.Infrastructure.Identity
{
public class ApplicationUser : IdentityUser
{

View File

@@ -3,9 +3,9 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Infrastructure.Identity;
using Microsoft.eShopWeb.Infrastructure.Identity;
namespace Infrastructure.Identity.Migrations
namespace Microsoft.eShopWeb.Infrastructure.Identity.Migrations
{
[DbContext(typeof(AppIdentityDbContext))]
[Migration("20170822214310_InitialIdentityModel")]

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Infrastructure.Identity.Migrations
namespace Microsoft.eShopWeb.Infrastructure.Identity.Migrations
{
public partial class InitialIdentityModel : Migration
{

View File

@@ -3,9 +3,9 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Infrastructure.Identity;
using Microsoft.eShopWeb.Infrastructure.Identity;
namespace Infrastructure.Identity.Migrations
namespace Microsoft.eShopWeb.Infrastructure.Identity.Migrations
{
[DbContext(typeof(AppIdentityDbContext))]
partial class AppIdentityDbContextModelSnapshot : ModelSnapshot