Skip to content

Commit

Permalink
Separate DbProviders Logic into a Standalone Project
Browse files Browse the repository at this point in the history
Co-authored-by: support <[email protected]>
  • Loading branch information
KrzysztofPajak and support authored Dec 27, 2023
1 parent 363ff86 commit ce6567e
Show file tree
Hide file tree
Showing 368 changed files with 447 additions and 371 deletions.
7 changes: 7 additions & 0 deletions GrandNode.sln
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Grand.Web.Common.Tests", "s
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Grand.Web.Vendor", "src\Web\Grand.Web.Vendor\Grand.Web.Vendor.csproj", "{061F07B8-067A-43E6-B0FF-250027EE705F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Grand.Data", "src\Core\Grand.Data\Grand.Data.csproj", "{1308D857-1D87-4973-A848-077F8BBD28DF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -336,6 +338,10 @@ Global
{061F07B8-067A-43E6-B0FF-250027EE705F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{061F07B8-067A-43E6-B0FF-250027EE705F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{061F07B8-067A-43E6-B0FF-250027EE705F}.Release|Any CPU.Build.0 = Release|Any CPU
{1308D857-1D87-4973-A848-077F8BBD28DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1308D857-1D87-4973-A848-077F8BBD28DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1308D857-1D87-4973-A848-077F8BBD28DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1308D857-1D87-4973-A848-077F8BBD28DF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -391,6 +397,7 @@ Global
{0B2B4B1B-EBF7-447F-9E5F-C55CE3247929} = {6360202A-F931-4BBD-ADBD-C9A628EE59F8}
{6969D83E-567C-47A7-8E7F-7FE40940704E} = {6360202A-F931-4BBD-ADBD-C9A628EE59F8}
{061F07B8-067A-43E6-B0FF-250027EE705F} = {38ECA068-176F-463C-A1D7-044341D4CACB}
{1308D857-1D87-4973-A848-077F8BBD28DF} = {FA350BD6-C29D-40D9-BA47-FE5FBDFC84A0}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {88B478F4-FD3B-4C24-9E84-4FAAF0254397}
Expand Down
2 changes: 1 addition & 1 deletion src/API/Grand.Api/Filters/AuthorizeApiAdminAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Grand.Business.Core.Interfaces.Common.Security;
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Security;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Mvc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Grand.Api.Models;
using Grand.Api.Queries.Models.Common;
using Grand.Domain;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Api.Queries.Handlers.Common
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Grand.Api.DTOs.Common;
using Grand.Api.Queries.Models.Common;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Api.Queries.Handlers.Common
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Grand.Infrastructure.Events;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Authentication.Events
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Grand.Business.Core.Interfaces.Customers;
using Grand.Business.Core.Utilities.Customers;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Stores;
using Grand.Infrastructure;
using Grand.Infrastructure.Extensions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Grand.Business.Core.Commands.Catalog;
using Grand.Business.Core.Interfaces.Catalog.Products;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
using MediatR;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure.Events;
using MediatR;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Seo;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Seo;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Directory;
using Grand.Infrastructure.Events;
using MediatR;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Shipping;
using Grand.Infrastructure.Events;
using MediatR;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Discounts;
using Grand.Domain.Vendors;
using Grand.Infrastructure.Caching;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Grand.Infrastructure.Events;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Seo;
using MediatR;
using Newtonsoft.Json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Catalog;
using Grand.Domain.Tax;
using Grand.Infrastructure.Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Grand.Business.Core.Events.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Events.Handlers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Catalog;
using Grand.Domain.Shipping;
using Grand.Infrastructure.Events;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Grand.Infrastructure.Caching.Constants;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Queries.Handlers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Queries.Handlers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Grand.Business.Core.Queries.Catalog;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Queries.Handlers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Grand.Business.Core.Queries.Catalog;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
using MediatR;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure.Configuration;
using MediatR;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Grand.Infrastructure.Caching.Constants;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Queries.Handlers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Grand.Business.Core.Queries.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Vendors;
using MediatR;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Grand.Business.Core.Interfaces.Catalog.Brands;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
using Grand.Infrastructure.Extensions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Grand.Business.Core.Interfaces.Catalog.Categories;
using Grand.Infrastructure.Extensions;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Grand.Business.Core.Interfaces.Catalog.Collections;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
using Grand.Infrastructure.Extensions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
using Grand.Infrastructure.Extensions;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Directory;
using Grand.SharedKernel;
using MediatR;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Grand.Business.Core.Utilities.Catalog;
using Grand.Domain;
using Grand.Domain.Common;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure.Extensions;
using MediatR;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Directory;
using Grand.Domain.Discounts;
using Grand.Domain.Orders;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Localization;
using Grand.Domain.Stores;
using MediatR;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Grand.Business.Core.Interfaces.Catalog.Products;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
using Grand.Infrastructure.Extensions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Grand.Business.Core.Interfaces.Catalog.Products;
using Grand.Domain.Catalog;
using Grand.Domain.Common;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Shipping;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Common;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Services.Products
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Grand.Infrastructure.Extensions;
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Services.Products
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Grand.Business.Core.Interfaces.Catalog.Products;
using Grand.Domain.Catalog;
using Grand.Domain.Courses;
using Grand.Domain.Data;
using Grand.Data;

namespace Grand.Business.Catalog.Services.Products
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Grand.Business.Core.Interfaces.Catalog.Products;
using Grand.Infrastructure.Extensions;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;
using Grand.Infrastructure.Caching;
using Grand.Infrastructure.Caching.Constants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Grand.Infrastructure.Extensions;
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Services.Products
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Grand.Infrastructure.Extensions;
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Data;
using Grand.Data;
using MediatR;

namespace Grand.Business.Catalog.Services.Products
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Grand.Domain;
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Domain.Data;
using Grand.Data;
using Grand.Domain.Orders;
using Grand.Infrastructure;
using Grand.Infrastructure.Caching;
Expand Down
Loading

0 comments on commit ce6567e

Please sign in to comment.