SqlMetal.exe /code:Northwind.cs /context:Northwind /namespace:nwind Northwind.dbml
Rather think this does not function as described from 2012 to 2017.
Seems when you create an ADO.Net Entitity Data Model you have to go with EF Designer rather than Entity Framework Reverse Engineer Code First plugin on the Project.