In SQL Server, the Test database has a test table:
CREATE TABLE [dbo].[test]( [Key] [nvarchar](50) NULL, [Value] [nvarchar](100) NULL ) ON [PRIMARY] It is necessary with the help of EF Code First to output data from test to the DataGridView. There is no need to edit and save data in the database, just bring it to the control.
What is the minimum and sufficient code needed for this?