├── .gitattributes ├── .gitignore ├── README.md ├── UnitOfWork.Application ├── Customer │ ├── CustomerAppService.cs │ └── ICustomerAppService.cs ├── IApplicationService.cs └── UnitOfWork.Application.csproj ├── UnitOfWork.Domain ├── AggregateRoot.cs ├── Customer │ ├── ContactAddress.cs │ └── Customer.cs ├── Entity.cs ├── Goods │ ├── Goods.cs │ └── GoodsCategory.cs ├── IAggregateRoot.cs ├── IEntity.cs ├── IRepository.cs ├── IUnitOfWork.cs ├── ShoppingCart │ ├── ShoppingCart.cs │ └── ShoppingCartLine.cs └── UnitOfWork.Domain.csproj ├── UnitOfWork.Infrastructure ├── Configurations │ ├── CustomerConfiguration.cs │ ├── GoodsCategoryConfiguration.cs │ ├── GoodsConfiguration.cs │ ├── ShoppingCartConfiguration.cs │ └── ShoppingCartLineConfiguration.cs ├── Migrations │ ├── 20170820044120_Initial.Designer.cs │ ├── 20170820142111_ModifyStringTypeMaxLength.Designer.cs │ ├── 20170820142111_ModifyStringTypeMaxLength.cs │ ├── Initial.cs │ └── UnitOfWorkDbContextModelSnapshot.cs ├── Repositories │ ├── EfCoreRepository.cs │ ├── IRepositoryWithDbContext.cs │ └── Repository.cs ├── UnitOfWork.Infrastructure.csproj ├── UnitOfWork.cs ├── UnitOfWorkDbContext.cs └── UnitOfWorkServiceCollectionExtensions.cs ├── UnitOfWork.Web ├── Controllers │ └── CustomerController.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── ScaffoldingReadMe.txt ├── Startup.cs ├── UnitOfWork.Web.csproj └── appsettings.json └── UnitOfWork.sln /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/README.md -------------------------------------------------------------------------------- /UnitOfWork.Application/Customer/CustomerAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Application/Customer/CustomerAppService.cs -------------------------------------------------------------------------------- /UnitOfWork.Application/Customer/ICustomerAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Application/Customer/ICustomerAppService.cs -------------------------------------------------------------------------------- /UnitOfWork.Application/IApplicationService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Application/IApplicationService.cs -------------------------------------------------------------------------------- /UnitOfWork.Application/UnitOfWork.Application.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Application/UnitOfWork.Application.csproj -------------------------------------------------------------------------------- /UnitOfWork.Domain/AggregateRoot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/AggregateRoot.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/Customer/ContactAddress.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/Customer/ContactAddress.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/Customer/Customer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/Customer/Customer.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/Entity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/Entity.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/Goods/Goods.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/Goods/Goods.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/Goods/GoodsCategory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/Goods/GoodsCategory.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/IAggregateRoot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/IAggregateRoot.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/IEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/IEntity.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/IRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/IRepository.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/IUnitOfWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/IUnitOfWork.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/ShoppingCart/ShoppingCart.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/ShoppingCart/ShoppingCart.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/ShoppingCart/ShoppingCartLine.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/ShoppingCart/ShoppingCartLine.cs -------------------------------------------------------------------------------- /UnitOfWork.Domain/UnitOfWork.Domain.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Domain/UnitOfWork.Domain.csproj -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Configurations/CustomerConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Configurations/CustomerConfiguration.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Configurations/GoodsCategoryConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Configurations/GoodsCategoryConfiguration.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Configurations/GoodsConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Configurations/GoodsConfiguration.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Configurations/ShoppingCartConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Configurations/ShoppingCartConfiguration.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Configurations/ShoppingCartLineConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Configurations/ShoppingCartLineConfiguration.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Migrations/20170820044120_Initial.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Migrations/20170820044120_Initial.Designer.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Migrations/20170820142111_ModifyStringTypeMaxLength.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Migrations/20170820142111_ModifyStringTypeMaxLength.Designer.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Migrations/20170820142111_ModifyStringTypeMaxLength.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Migrations/20170820142111_ModifyStringTypeMaxLength.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Migrations/Initial.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Migrations/Initial.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Migrations/UnitOfWorkDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Migrations/UnitOfWorkDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Repositories/EfCoreRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Repositories/EfCoreRepository.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Repositories/IRepositoryWithDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Repositories/IRepositoryWithDbContext.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/Repositories/Repository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/Repositories/Repository.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/UnitOfWork.Infrastructure.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/UnitOfWork.Infrastructure.csproj -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/UnitOfWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/UnitOfWork.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/UnitOfWorkDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/UnitOfWorkDbContext.cs -------------------------------------------------------------------------------- /UnitOfWork.Infrastructure/UnitOfWorkServiceCollectionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Infrastructure/UnitOfWorkServiceCollectionExtensions.cs -------------------------------------------------------------------------------- /UnitOfWork.Web/Controllers/CustomerController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Web/Controllers/CustomerController.cs -------------------------------------------------------------------------------- /UnitOfWork.Web/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Web/Program.cs -------------------------------------------------------------------------------- /UnitOfWork.Web/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Web/Properties/launchSettings.json -------------------------------------------------------------------------------- /UnitOfWork.Web/ScaffoldingReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Web/ScaffoldingReadMe.txt -------------------------------------------------------------------------------- /UnitOfWork.Web/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Web/Startup.cs -------------------------------------------------------------------------------- /UnitOfWork.Web/UnitOfWork.Web.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Web/UnitOfWork.Web.csproj -------------------------------------------------------------------------------- /UnitOfWork.Web/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.Web/appsettings.json -------------------------------------------------------------------------------- /UnitOfWork.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheng-jie/UnitOfWork/HEAD/UnitOfWork.sln --------------------------------------------------------------------------------