There is one option Entity Framework 6, see the following for migration options. For database commands see the Database class.
Microsoft docs Get started with Entity Framework 6
Example using SQL-Server for windows forms, see the following GitHub repository.