add database model with the context
This commit is contained in:
parent
e8cf6f279d
commit
d977fc0433
|
@ -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; }
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue