I\'ve got an application running .Net Framework 4.7 accessing SQL Server. I then use SQLmetal to generate a database.cs file containing the context of my SQL database.