Add Data and appsetings.json
This commit is contained in:
parent
5da18a893f
commit
8a8db92e83
|
|
@ -0,0 +1,11 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using Models ;
|
||||
namespace BackEndAaaapero.Data
|
||||
{
|
||||
public class Context
|
||||
{
|
||||
public Context(DbContextOptions<Context> options) : base(options) {}
|
||||
|
||||
public DbSet<Customer> customers { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,9 @@
|
|||
{
|
||||
"Secret" : "ThisIsMoreThanASecretKey",
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Server= eu-cdbr-west-03.cleardb.net; Database=heroku_9056830531d4329; Uid=b43a17ed9b61f6; Pwd= 009d6ed2"
|
||||
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
|
|
|
|||
Loading…
Reference in New Issue