Technology changes, code optimization, newly design asp.net core 1.1. This article i wrote for you who want to make database in asp.net core 1.1, its a very simple technique provide by Microsoft developers. Thanks guys. Let start how to do this, you can follow these steps to design database in it.
Step-1: Create a new project in ASP.NET CORE using Visual Studio 2017 by the using following picture
Step-2: In Model folder, add a new Student.cs class. Add some properties in it. But make sure , one primary key have in it.
Step-3: Similarly in previous make, a new DataContext class for communicating table.
Check this video for full details
Step-1: Create a new project in ASP.NET CORE using Visual Studio 2017 by the using following picture
Step-2: In Model folder, add a new Student.cs class. Add some properties in it. But make sure , one primary key have in it.
Step-3: Similarly in previous make, a new DataContext class for communicating table.
Check this video for full details