-
Notifications
You must be signed in to change notification settings - Fork 0
/
database1model.Context.vb
30 lines (24 loc) · 1.02 KB
/
database1model.Context.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated from a template.
'
' Manual changes to this file may cause unexpected behavior in your application.
' Manual changes to this file will be overwritten if the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Imports System
Imports System.Data.Entity
Imports System.Data.Entity.Infrastructure
Partial Public Class Database1Entities
Inherits DbContext
Public Sub New()
MyBase.New("name=Database1Entities")
End Sub
Protected Overrides Sub OnModelCreating(modelBuilder As DbModelBuilder)
Throw New UnintentionalCodeFirstException()
End Sub
Public Overridable Property Doctors() As DbSet(Of Doctor)
Public Overridable Property Patients() As DbSet(Of Patient)
Public Overridable Property Sessions() As DbSet(Of Session)
Public Overridable Property users() As DbSet(Of user)
End Class