Hello,
I have added a new table in the database named 'Hotel' and add the following files in Nop solution:
1. Path : Nop/Core/Domain/Hotel.cs
2. Path : Nop/Data/Mapping/HotelMap.cs
3. Path : Nop/Admin/Models/HotelModel.cs
4. Path : Nop/Admin/Infrastructure/AutoMapperStartupTask.cs
5. Apply Mapping between Model and Entity on MappingExtensions.cs
6. Create a service class and service interface (e.g HotelService.cs , IHotelService.cs)
Path : Nop/Services/EntityService.cs AND Nop/Services/IEntityService.cs
after running the application, and trying to call _hotelService.InsertHotel(hotel) method
I got the following error :
Invalid column name 'Hotel_Id'. Even though i don't have this column name in db or in Nop solution.
Any help would appreciated.