Work with EntityFrameworkCore and asp.net core
1. Select Required EntityFrameworkCORE Package When you search on the EntityFrameworkCore in Nuget Package Manager you will get 100+ packages... All the packages are derived from Microsoft.EntityFrameworkCore 2. You need to select Required package Then it will add the Dependencies 3. I am going to work with SqlServer and i am going to add Microsoft.EntityFrameworkCore.SqlServer 4. Now Create the DataBaseContext class and here i am going to create MyDataBaseContext class and extend DBContext 5. Put the DataBase Configuration you need to Override OnConfiguring Method protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseSqlServer(@"Data Source=.;Initial Catalog=testdb;Integrated Security=True;"); } Then you need to configure OptionBuilder method to say UseSqlServer and give the connection link to the DataBase What you Need to Know - If Core performing Dat...