I have an existing SQL Server database that populated with data via another app. I want to work with this database in a new project (ASP.NET Core web application).
I know I can add this database to my project by database-first way (write a command line in package manager console). But I don't know how I can work with this model that add data annotation to existing entity fields, or add new entity (table) to this model, so that data in main database doesn't get damaged and my changes that I do in my model, add and import to it (main database).
Can someone help me? Is there any way to do this? Does I need to use migrations? Or not?