how to add new table ??

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago


I am newbie to nopcommerce and i've gone through all the steps which are : Create The Entity Class (e.g Entity.cs)

Path : Nop/Core/Domain/Entity.cs Create The Mapping Class (e.g EntityMap.cs)

Path : Nop/Data/Mapping/EntityMap.cs Create a Model for MVC (e.g EntityModel.cs)

Path : Nop/Admin/Models/EntityModel.cs OR Nop/Web/Models/EntityModel.cs Create a validator for model (e.g EntityValidator.cs)

Path : Nop/Admin/Validators/EntityValidator.cs OR Nop/Web/Validators/EntityValidator.cs Create A Mapping Configuration On AutoMapperStartupTask.cs for Entity and Model

Path : Nop/Admin/Infrastructure OR Nop/Web/Infrastructure Apply Mapping between Model and Entity on MappingExtensions.cs

Path : Nop/Admin OR Nop/Web Create a service class and service interface (e.g EntityService.cs , IEntityService.cs)

Path : Nop/Services/EntityService.cs AND Nop/Services/IEntityService.cs Register service for dependency injection

Path : Nop/Web/Framework/DependencyRegistrar.cs Finally Create Controller and View for given model

but i'm not able to create a table and insert an entity by following these steps...
7 years ago
AsadShah wrote:


I am newbie to nopcommerce and i've gone through all the steps which are : Create The Entity Class (e.g Entity.cs)

Path : Nop/Core/Domain/Entity.cs Create The Mapping Class (e.g EntityMap.cs)

Path : Nop/Data/Mapping/EntityMap.cs Create a Model for MVC (e.g EntityModel.cs)

Path : Nop/Admin/Models/EntityModel.cs OR Nop/Web/Models/EntityModel.cs Create a validator for model (e.g EntityValidator.cs)

Path : Nop/Admin/Validators/EntityValidator.cs OR Nop/Web/Validators/EntityValidator.cs Create A Mapping Configuration On AutoMapperStartupTask.cs for Entity and Model

Path : Nop/Admin/Infrastructure OR Nop/Web/Infrastructure Apply Mapping between Model and Entity on MappingExtensions.cs

Path : Nop/Admin OR Nop/Web Create a service class and service interface (e.g EntityService.cs , IEntityService.cs)

Path : Nop/Services/EntityService.cs AND Nop/Services/IEntityService.cs Register service for dependency injection

Path : Nop/Web/Framework/DependencyRegistrar.cs Finally Create Controller and View for given model

but i'm not able to create a table and insert an entity by following these steps...


Go through==>https://www.nopcommerce.com/boards/t/14123/step-by-step-tutorial-for-adding-a-new-table-to-nopcommerce-23.aspx#92781

Must read ==>http://docs.nopcommerce.com/display/nc/Developer+Guide
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.