Skip to content

Instantly share code, notes, and snippets.

@christiannagel
Created Aug 30, 2018
Embed
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