Browse Source

Renamed ConfigureEShopEasyMall to ConfigureEasyMall

pull/49/head
gdlcf88 6 years ago
parent
commit
fade1d61e9
  1. 15
      samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/EasyMallMigrationsDbContext.cs
  2. 2
      samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore/EntityFrameworkCore/EasyMallDbContext.cs
  3. 2
      samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore/EntityFrameworkCore/EasyMallDbContextModelCreatingExtensions.cs

15
samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/EasyMallMigrationsDbContext.cs

@ -1,15 +1,10 @@
using EasyAbp.EShop.Baskets.EntityFrameworkCore;
using EasyAbp.EShop.Orders.EntityFrameworkCore;
using EasyAbp.EShop.Payments.EntityFrameworkCore;
using EasyAbp.EShop.Products.EntityFrameworkCore;
using EasyAbp.EShop.Stores.EntityFrameworkCore;
using EasyAbp.EShop.EntityFrameworkCore;
using EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.AuditLogging.EntityFrameworkCore;
using Volo.Abp.BackgroundJobs.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.FeatureManagement.EntityFrameworkCore;
using Volo.Abp.Identity;
using Volo.Abp.Identity.EntityFrameworkCore;
using Volo.Abp.IdentityServer.EntityFrameworkCore;
using Volo.Abp.PermissionManagement.EntityFrameworkCore;
@ -48,12 +43,8 @@ namespace EasyMall.EntityFrameworkCore
/* Configure your own tables/entities inside the ConfigureEasyMall method */
builder.ConfigureEShopEasyMall();
builder.ConfigureEShopBaskets();
builder.ConfigureEShopOrders();
builder.ConfigureEShopPayments();
builder.ConfigureEShopProducts();
builder.ConfigureEShopStores();
builder.ConfigureEasyMall();
builder.ConfigureEShop();
builder.ConfigurePaymentServiceWeChatPay();
}

2
samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore/EntityFrameworkCore/EasyMallDbContext.cs

@ -52,7 +52,7 @@ namespace EasyMall.EntityFrameworkCore
/* Configure your own tables/entities inside the ConfigureEasyMall method */
builder.ConfigureEShopEasyMall();
builder.ConfigureEasyMall();
}
}
}

2
samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore/EntityFrameworkCore/EasyMallDbContextModelCreatingExtensions.cs

@ -5,7 +5,7 @@ namespace EasyMall.EntityFrameworkCore
{
public static class EasyMallDbContextModelCreatingExtensions
{
public static void ConfigureEShopEasyMall(this ModelBuilder builder)
public static void ConfigureEasyMall(this ModelBuilder builder)
{
Check.NotNull(builder, nameof(builder));

Loading…
Cancel
Save