Skip to content

Instantly share code, notes, and snippets.

@JIOO-phoeNIX
Created October 10, 2020 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JIOO-phoeNIX/f66d15edb6188e344a672de71c8ea599 to your computer and use it in GitHub Desktop.
Save JIOO-phoeNIX/f66d15edb6188e344a672de71c8ea599 to your computer and use it in GitHub Desktop.
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