I have a console application. I'm trying to use EF Database First. I used ADO.NET Entity Data Model, then EF Designer from Database. Then I connected to the database, and classes are generated. Now what should I do to retrieve the data of these classes? Here is my empty Program.cs file :
class Program
{
static void Main(string[] args)
{
}
}
Thanks.
Copyright Notice:Content Author:「jason」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/39825319/how-to-retrieve-data-using-ef-database-first