Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Src/Infrastructure/PaintedProsthetics.Persistence/Amputee.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class Amputee
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Microsoft.EntityFrameworkCore;

namespace PaintedProsthetics.Persistence
{
public class ApplicationContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
base.OnConfiguring(optionsBuilder);
}


public DbSet<Amputee> Amputees { get; set; }
public DbSet<User> Users { get; set; }
public DbSet<ProstheticRequest> ProstheticRequests { get; set; }
public DbSet<Artwork> Artwork { get; set; }
public DbSet<Artist> Artists { get; set; }
public DbSet<Portfolio> Portfolios { get; set; }
public DbSet<Donation> Donations { get; set; }
public DbSet<ArtistRequest> ArtistRequests { get; set; }
public DbSet<Feedback> Feedback { get; set; }

}
}
10 changes: 10 additions & 0 deletions Src/Infrastructure/PaintedProsthetics.Persistence/Artist.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class Artist
{
}
}
10 changes: 10 additions & 0 deletions Src/Infrastructure/PaintedProsthetics.Persistence/ArtistRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class ArtistRequest
{
}
}
10 changes: 10 additions & 0 deletions Src/Infrastructure/PaintedProsthetics.Persistence/Artwork.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class Artwork
{
}
}
10 changes: 10 additions & 0 deletions Src/Infrastructure/PaintedProsthetics.Persistence/Donation.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class Donation
{
}
}
10 changes: 10 additions & 0 deletions Src/Infrastructure/PaintedProsthetics.Persistence/Feedback.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class Feedback
{
}
}
8 changes: 0 additions & 8 deletions Src/Infrastructure/PaintedProsthetics.Persistence/Foo.cs

This file was deleted.

10 changes: 10 additions & 0 deletions Src/Infrastructure/PaintedProsthetics.Persistence/Portfolio.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class Portfolio
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class ProstheticRequest
{
}
}
10 changes: 10 additions & 0 deletions Src/Infrastructure/PaintedProsthetics.Persistence/User.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace PaintedProsthetics.Persistence
{
public class User
{
}
}