add database model with the context

This commit is contained in:
ismail 2018-06-01 15:35:19 +02:00
parent e8cf6f279d
commit d977fc0433
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ using System;
using System.Data.Entity;
using System.Linq;
using Service_Server.Models;
using System.Web;
namespace Service_Server
{
@ -15,6 +16,8 @@ namespace Service_Server
public DbSet<PStatus> PStatuses { get; set; }
public DbSet<Doctor> Doctors { get; set; }
public DbSet<Origin> Origins { get; set; }
public DbSet<Exam> Exams { get; set; }
public DbSet<Result> Results { get; set; }
}