Visual Studio Code Snippets to Make Coding EF Core a Little Simpler

added by DotNetKicks
10/31/2016 1:49:14 PM

2 Kicks, 343 Views

I've been using the user snippet feature of Visual Studio Code to make it easier to get some of the code I commonly use for EF Core into my files. For example I have C# snippets for DbContext to create a constructor overload that takes in a DbContextOptions parameter, OnConfiguring or OnModeling .