سلام من فولدر Data رو به DataLayer انتقال دادم و Add-Migration به طور درستی کار می کنه ولی یه فیلد به کلاس ApplicationRole اضافه کردم ولی هنگام Add-Migration اررو زیر رو نشون میده علتش چیه ؟
An error occurred while calling method 'BuildWebHost' on class 'Program'. Continuing without the application service provider. Error: One or more errors occurred. (Invalid column name 'Role_Type'.) Unable to create an object of type 'ApplicationDbContext'. Add an implementation of 'IDesignTimeDbContextFactory' to the project, or see https://go.microsoft.com/fwlink/?linkid=851728 for additional patterns supported at design time.
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)