- Upd: 2.8.2021
- To reverse update:
- - Set Data project as Startup Project
- - Ensure if solution is buildable - backup Entity folder
- - Open PM (Package Manager Console from View menu)
- - Run following command
- Scaffold-DbContext "Server=(local);Database=BO;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Entity -Force
- - Go to file BOContext.cs and replace class declaration as : public partial class BOContext : DataDomain
- - replace in all entities // public long Id { get; set; } -> // // public long Id { get; set; }
|