Skip to content

Instantly share code, notes, and snippets.

Created August 30, 2018 11:12
What would you like to do?
EF Core context for the Cosmos DB provider
public class BooksContext : DbContext
public BooksContext(DbContextOptions<BooksContext> options)
: base(options) { }
public DbSet<Book> Books { get; set; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment