Created
October 10, 2020 09:55
-
-
Save JIOO-phoeNIX/f66d15edb6188e344a672de71c8ea599 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.EntityFrameworkCore; | |
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace CockroachDbLib.Models | |
{ | |
public class CockroachDbContext : DbContext | |
{ | |
public CockroachDbContext(DbContextOptions<CockroachDbContext> options) : base(options) | |
{ | |
} | |
public DbSet<Account> accounts { get; set; } | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment