Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
EShop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
EShop
Commits
b28f7a75
Commit
b28f7a75
authored
May 09, 2020
by
gdlcf88
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close #29: Rename ConfigureModuleName()
parent
e760c680
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
26 additions
and
26 deletions
+26
-26
BasketsDbContext.cs
...tityFrameworkCore/EntityFrameworkCore/BasketsDbContext.cs
+1
-1
BasketsDbContextModelCreatingExtensions.cs
...yFrameworkCore/BasketsDbContextModelCreatingExtensions.cs
+1
-1
BasketsMongoDbContext.cs
...bp.EShop.Baskets.MongoDB/MongoDB/BasketsMongoDbContext.cs
+1
-1
OrdersDbContext.cs
...syAbp/EShop/Orders/EntityFrameworkCore/OrdersDbContext.cs
+1
-1
OrdersDbContextModelCreatingExtensions.cs
...tyFrameworkCore/OrdersDbContextModelCreatingExtensions.cs
+1
-1
OrdersMongoDbContext.cs
...goDB/EasyAbp/EShop/Orders/MongoDB/OrdersMongoDbContext.cs
+1
-1
WeChatPayDbContext.cs
...tyFrameworkCore/EntityFrameworkCore/WeChatPayDbContext.cs
+1
-1
WeChatPayDbContextModelCreatingExtensions.cs
...rameworkCore/WeChatPayDbContextModelCreatingExtensions.cs
+1
-1
WeChatPayMongoDbContext.cs
...ents.WeChatPay.MongoDB/MongoDB/WeChatPayMongoDbContext.cs
+1
-1
PaymentsDbContext.cs
...p/EShop/Payments/EntityFrameworkCore/PaymentsDbContext.cs
+1
-1
PaymentsDbContextModelCreatingExtensions.cs
...FrameworkCore/PaymentsDbContextModelCreatingExtensions.cs
+1
-1
PaymentsMongoDbContext.cs
.../EasyAbp/EShop/Payments/MongoDB/PaymentsMongoDbContext.cs
+1
-1
ProductsDbContext.cs
...p/EShop/Products/EntityFrameworkCore/ProductsDbContext.cs
+1
-1
ProductsDbContextModelCreatingExtensions.cs
...FrameworkCore/ProductsDbContextModelCreatingExtensions.cs
+1
-1
ProductsMongoDbContext.cs
.../EasyAbp/EShop/Products/MongoDB/ProductsMongoDbContext.cs
+1
-1
StoresDbContext.cs
...syAbp/EShop/Stores/EntityFrameworkCore/StoresDbContext.cs
+1
-1
StoresDbContextModelCreatingExtensions.cs
...tyFrameworkCore/StoresDbContextModelCreatingExtensions.cs
+1
-1
StoresMongoDbContext.cs
...goDB/EasyAbp/EShop/Stores/MongoDB/StoresMongoDbContext.cs
+1
-1
EasyMallMigrationsDbContext.cs
...ations/EntityFrameworkCore/EasyMallMigrationsDbContext.cs
+6
-6
EasyMallDbContext.cs
...ityFrameworkCore/EntityFrameworkCore/EasyMallDbContext.cs
+1
-1
EasyMallDbContextModelCreatingExtensions.cs
...FrameworkCore/EasyMallDbContextModelCreatingExtensions.cs
+1
-1
No files found.
modules/EasyAbp.EShop.Baskets/src/EasyAbp.EShop.Baskets.EntityFrameworkCore/EntityFrameworkCore/BasketsDbContext.cs
View file @
b28f7a75
...
...
@@ -21,7 +21,7 @@ namespace EasyAbp.EShop.Baskets.EntityFrameworkCore
{
base
.
OnModelCreating
(
builder
);
builder
.
ConfigureBaskets
();
builder
.
Configure
EShop
Baskets
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Baskets/src/EasyAbp.EShop.Baskets.EntityFrameworkCore/EntityFrameworkCore/BasketsDbContextModelCreatingExtensions.cs
View file @
b28f7a75
...
...
@@ -6,7 +6,7 @@ namespace EasyAbp.EShop.Baskets.EntityFrameworkCore
{
public
static
class
BasketsDbContextModelCreatingExtensions
{
public
static
void
ConfigureBaskets
(
public
static
void
Configure
EShop
Baskets
(
this
ModelBuilder
builder
,
Action
<
BasketsModelBuilderConfigurationOptions
>
optionsAction
=
null
)
{
...
...
modules/EasyAbp.EShop.Baskets/src/EasyAbp.EShop.Baskets.MongoDB/MongoDB/BasketsMongoDbContext.cs
View file @
b28f7a75
...
...
@@ -14,7 +14,7 @@ namespace EasyAbp.EShop.Baskets.MongoDB
{
base
.
CreateModel
(
modelBuilder
);
modelBuilder
.
ConfigureBaskets
();
modelBuilder
.
Configure
EShop
Baskets
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.EntityFrameworkCore/EasyAbp/EShop/Orders/EntityFrameworkCore/OrdersDbContext.cs
View file @
b28f7a75
...
...
@@ -24,7 +24,7 @@ namespace EasyAbp.EShop.Orders.EntityFrameworkCore
{
base
.
OnModelCreating
(
builder
);
builder
.
ConfigureOrders
();
builder
.
Configure
EShop
Orders
();
}
}
}
modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.EntityFrameworkCore/EasyAbp/EShop/Orders/EntityFrameworkCore/OrdersDbContextModelCreatingExtensions.cs
View file @
b28f7a75
...
...
@@ -8,7 +8,7 @@ namespace EasyAbp.EShop.Orders.EntityFrameworkCore
{
public
static
class
OrdersDbContextModelCreatingExtensions
{
public
static
void
ConfigureOrders
(
public
static
void
Configure
EShop
Orders
(
this
ModelBuilder
builder
,
Action
<
OrdersModelBuilderConfigurationOptions
>
optionsAction
=
null
)
{
...
...
modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.MongoDB/EasyAbp/EShop/Orders/MongoDB/OrdersMongoDbContext.cs
View file @
b28f7a75
...
...
@@ -14,7 +14,7 @@ namespace EasyAbp.EShop.Orders.MongoDB
{
base
.
CreateModel
(
modelBuilder
);
modelBuilder
.
ConfigureOrders
();
modelBuilder
.
Configure
EShop
Orders
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Payments.WeChatPay/src/EasyAbp.EShop.Payments.WeChatPay.EntityFrameworkCore/EntityFrameworkCore/WeChatPayDbContext.cs
View file @
b28f7a75
...
...
@@ -21,7 +21,7 @@ namespace EasyAbp.EShop.Payments.WeChatPay.EntityFrameworkCore
{
base
.
OnModelCreating
(
builder
);
builder
.
ConfigureWeChatPay
();
builder
.
Configure
EShop
WeChatPay
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Payments.WeChatPay/src/EasyAbp.EShop.Payments.WeChatPay.EntityFrameworkCore/EntityFrameworkCore/WeChatPayDbContextModelCreatingExtensions.cs
View file @
b28f7a75
...
...
@@ -6,7 +6,7 @@ namespace EasyAbp.EShop.Payments.WeChatPay.EntityFrameworkCore
{
public
static
class
WeChatPayDbContextModelCreatingExtensions
{
public
static
void
ConfigureWeChatPay
(
public
static
void
Configure
EShop
WeChatPay
(
this
ModelBuilder
builder
,
Action
<
WeChatPayModelBuilderConfigurationOptions
>
optionsAction
=
null
)
{
...
...
modules/EasyAbp.EShop.Payments.WeChatPay/src/EasyAbp.EShop.Payments.WeChatPay.MongoDB/MongoDB/WeChatPayMongoDbContext.cs
View file @
b28f7a75
...
...
@@ -14,7 +14,7 @@ namespace EasyAbp.EShop.Payments.WeChatPay.MongoDB
{
base
.
CreateModel
(
modelBuilder
);
modelBuilder
.
ConfigureWeChatPay
();
modelBuilder
.
Configure
EShop
WeChatPay
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.EntityFrameworkCore/EasyAbp/EShop/Payments/EntityFrameworkCore/PaymentsDbContext.cs
View file @
b28f7a75
...
...
@@ -26,7 +26,7 @@ namespace EasyAbp.EShop.Payments.EntityFrameworkCore
{
base
.
OnModelCreating
(
builder
);
builder
.
ConfigurePayments
();
builder
.
Configure
EShop
Payments
();
}
}
}
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.EntityFrameworkCore/EasyAbp/EShop/Payments/EntityFrameworkCore/PaymentsDbContextModelCreatingExtensions.cs
View file @
b28f7a75
...
...
@@ -9,7 +9,7 @@ namespace EasyAbp.EShop.Payments.EntityFrameworkCore
{
public
static
class
PaymentsDbContextModelCreatingExtensions
{
public
static
void
ConfigurePayments
(
public
static
void
Configure
EShop
Payments
(
this
ModelBuilder
builder
,
Action
<
PaymentsModelBuilderConfigurationOptions
>
optionsAction
=
null
)
{
...
...
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.MongoDB/EasyAbp/EShop/Payments/MongoDB/PaymentsMongoDbContext.cs
View file @
b28f7a75
...
...
@@ -14,7 +14,7 @@ namespace EasyAbp.EShop.Payments.MongoDB
{
base
.
CreateModel
(
modelBuilder
);
modelBuilder
.
ConfigurePayments
();
modelBuilder
.
Configure
EShop
Payments
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.EntityFrameworkCore/EasyAbp/EShop/Products/EntityFrameworkCore/ProductsDbContext.cs
View file @
b28f7a75
...
...
@@ -40,7 +40,7 @@ namespace EasyAbp.EShop.Products.EntityFrameworkCore
{
base
.
OnModelCreating
(
builder
);
builder
.
ConfigureProducts
();
builder
.
Configure
EShop
Products
();
}
}
}
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.EntityFrameworkCore/EasyAbp/EShop/Products/EntityFrameworkCore/ProductsDbContextModelCreatingExtensions.cs
View file @
b28f7a75
...
...
@@ -15,7 +15,7 @@ namespace EasyAbp.EShop.Products.EntityFrameworkCore
{
public
static
class
ProductsDbContextModelCreatingExtensions
{
public
static
void
ConfigureProducts
(
public
static
void
Configure
EShop
Products
(
this
ModelBuilder
builder
,
Action
<
ProductsModelBuilderConfigurationOptions
>
optionsAction
=
null
)
{
...
...
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.MongoDB/EasyAbp/EShop/Products/MongoDB/ProductsMongoDbContext.cs
View file @
b28f7a75
...
...
@@ -14,7 +14,7 @@ namespace EasyAbp.EShop.Products.MongoDB
{
base
.
CreateModel
(
modelBuilder
);
modelBuilder
.
ConfigureProducts
();
modelBuilder
.
Configure
EShop
Products
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.EntityFrameworkCore/EasyAbp/EShop/Stores/EntityFrameworkCore/StoresDbContext.cs
View file @
b28f7a75
...
...
@@ -23,7 +23,7 @@ namespace EasyAbp.EShop.Stores.EntityFrameworkCore
{
base
.
OnModelCreating
(
builder
);
builder
.
ConfigureStores
();
builder
.
Configure
EShop
Stores
();
}
}
}
modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.EntityFrameworkCore/EasyAbp/EShop/Stores/EntityFrameworkCore/StoresDbContextModelCreatingExtensions.cs
View file @
b28f7a75
...
...
@@ -8,7 +8,7 @@ namespace EasyAbp.EShop.Stores.EntityFrameworkCore
{
public
static
class
StoresDbContextModelCreatingExtensions
{
public
static
void
ConfigureStores
(
public
static
void
Configure
EShop
Stores
(
this
ModelBuilder
builder
,
Action
<
StoresModelBuilderConfigurationOptions
>
optionsAction
=
null
)
{
...
...
modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.MongoDB/EasyAbp/EShop/Stores/MongoDB/StoresMongoDbContext.cs
View file @
b28f7a75
...
...
@@ -14,7 +14,7 @@ namespace EasyAbp.EShop.Stores.MongoDB
{
base
.
CreateModel
(
modelBuilder
);
modelBuilder
.
ConfigureStores
();
modelBuilder
.
Configure
EShop
Stores
();
}
}
}
\ No newline at end of file
samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/EasyMallMigrationsDbContext.cs
View file @
b28f7a75
...
...
@@ -47,12 +47,12 @@ namespace EasyMall.EntityFrameworkCore
/* Configure your own tables/entities inside the ConfigureEasyMall method */
builder
.
ConfigureEasyMall
();
builder
.
ConfigureBaskets
();
builder
.
ConfigureOrders
();
builder
.
ConfigurePayments
();
builder
.
ConfigureProducts
();
builder
.
ConfigureStores
();
builder
.
ConfigureE
ShopE
asyMall
();
builder
.
Configure
EShop
Baskets
();
builder
.
Configure
EShop
Orders
();
builder
.
Configure
EShop
Payments
();
builder
.
Configure
EShop
Products
();
builder
.
Configure
EShop
Stores
();
}
}
}
\ No newline at end of file
samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore/EntityFrameworkCore/EasyMallDbContext.cs
View file @
b28f7a75
...
...
@@ -52,7 +52,7 @@ namespace EasyMall.EntityFrameworkCore
/* Configure your own tables/entities inside the ConfigureEasyMall method */
builder
.
ConfigureEasyMall
();
builder
.
ConfigureE
ShopE
asyMall
();
}
}
}
samples/EasyMall/aspnet-core/src/EasyMall.EntityFrameworkCore/EntityFrameworkCore/EasyMallDbContextModelCreatingExtensions.cs
View file @
b28f7a75
...
...
@@ -5,7 +5,7 @@ namespace EasyMall.EntityFrameworkCore
{
public
static
class
EasyMallDbContextModelCreatingExtensions
{
public
static
void
ConfigureEasyMall
(
this
ModelBuilder
builder
)
public
static
void
ConfigureE
ShopE
asyMall
(
this
ModelBuilder
builder
)
{
Check
.
NotNull
(
builder
,
nameof
(
builder
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment