Skip to content

Instantly share code, notes, and snippets.

@jsheridanwells
Created May 1, 2018 21:27
Show Gist options
  • Save jsheridanwells/46a2b8f39ba6627f5336da54b415cabb to your computer and use it in GitHub Desktop.
Save jsheridanwells/46a2b8f39ba6627f5336da54b415cabb to your computer and use it in GitHub Desktop.
Entity Framework Notes

Entity Framework Notes

Installing SQL Backup

Restore backup in SQL Management Studio

In project, create new ADO.NET Entity Model. Select Code First Template option

New connection -> Select Server (PUL0068L in my case) -> Select Database -> Test Connection -> Name connection string -> Select Tables to store -> Leave Singular and Plural names

Now folder is populated with all EF tables.

Change connection strings in App.config files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment