-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCountry.vb
78 lines (73 loc) · 2 KB
/
Country.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
'------------------------------------------------------------------------------
' <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 Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Namespace E4425.Models
Partial Public Class Country
Public Sub New()
Me.Cities = New HashSet(Of City)()
Me.Customers = New HashSet(Of Customer)()
End Sub
Private privateCountryId As Integer
Public Property CountryId() As Integer
Get
Return privateCountryId
End Get
Set(ByVal value As Integer)
privateCountryId = value
End Set
End Property
Private privateCountryName As String
Public Property CountryName() As String
Get
Return privateCountryName
End Get
Set(ByVal value As String)
privateCountryName = value
End Set
End Property
Private privateCapitalId? As Integer
Public Property CapitalId() As Integer?
Get
Return privateCapitalId
End Get
Set(ByVal value? As Integer)
privateCapitalId = value
End Set
End Property
Private privateCities As ICollection(Of City)
Public Overridable Property Cities() As ICollection(Of City)
Get
Return privateCities
End Get
Set(ByVal value As ICollection(Of City))
privateCities = value
End Set
End Property
Private privateCity As City
Public Overridable Property City() As City
Get
Return privateCity
End Get
Set(ByVal value As City)
privateCity = value
End Set
End Property
Private privateCustomers As ICollection(Of Customer)
Public Overridable Property Customers() As ICollection(Of Customer)
Get
Return privateCustomers
End Get
Set(ByVal value As ICollection(Of Customer))
privateCustomers = value
End Set
End Property
End Class
End Namespace