-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathSampleModel.Context.vb
More file actions
27 lines (21 loc) · 880 Bytes
/
SampleModel.Context.vb
File metadata and controls
27 lines (21 loc) · 880 Bytes
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
'------------------------------------------------------------------------------
' <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 SpatialExampleEntities
Inherits DbContext
Public Sub New()
MyBase.New("name=SpatialExampleEntities")
End Sub
Protected Overrides Sub OnModelCreating(modelBuilder As DbModelBuilder)
Throw New UnintentionalCodeFirstException()
End Sub
Public Overridable Property SampleTables() As DbSet(Of SampleTable)
End Class