Browse Source

Rename ConfigurePluginsBaskets to ConfigureEShopPluginsBaskets

pull/87/head
gdlcf88 6 years ago
parent
commit
1e5bce103e
  1. 2
      plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.EntityFrameworkCore/EasyAbp/EShop/Plugins/Baskets/EntityFrameworkCore/BasketsDbContext.cs
  2. 2
      plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.EntityFrameworkCore/EasyAbp/EShop/Plugins/Baskets/EntityFrameworkCore/BasketsDbContextModelCreatingExtensions.cs
  3. 2
      samples/EShopSample/aspnet-core/src/EShopSample.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/EShopSampleMigrationsDbContext.cs

2
plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.EntityFrameworkCore/EasyAbp/EShop/Plugins/Baskets/EntityFrameworkCore/BasketsDbContext.cs

@ -25,7 +25,7 @@ namespace EasyAbp.EShop.Plugins.Baskets.EntityFrameworkCore
{ {
base.OnModelCreating(builder); base.OnModelCreating(builder);
builder.ConfigurePluginsBaskets(); builder.ConfigureEShopPluginsBaskets();
} }
} }
} }

2
plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.EntityFrameworkCore/EasyAbp/EShop/Plugins/Baskets/EntityFrameworkCore/BasketsDbContextModelCreatingExtensions.cs

@ -9,7 +9,7 @@ namespace EasyAbp.EShop.Plugins.Baskets.EntityFrameworkCore
{ {
public static class BasketsDbContextModelCreatingExtensions public static class BasketsDbContextModelCreatingExtensions
{ {
public static void ConfigurePluginsBaskets( public static void ConfigureEShopPluginsBaskets(
this ModelBuilder builder, this ModelBuilder builder,
Action<BasketsModelBuilderConfigurationOptions> optionsAction = null) Action<BasketsModelBuilderConfigurationOptions> optionsAction = null)
{ {

2
samples/EShopSample/aspnet-core/src/EShopSample.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/EShopSampleMigrationsDbContext.cs

@ -49,7 +49,7 @@ namespace EShopSample.EntityFrameworkCore
builder.ConfigureEShop(); builder.ConfigureEShop();
builder.ConfigurePluginsBaskets(); builder.ConfigureEShopPluginsBaskets();
builder.ConfigurePaymentService(); builder.ConfigurePaymentService();
builder.ConfigurePaymentServiceWeChatPay(); builder.ConfigurePaymentServiceWeChatPay();

Loading…
Cancel
Save