-
Notifications
You must be signed in to change notification settings - Fork 1
/
DataObjects.vb
76 lines (71 loc) · 1.43 KB
/
DataObjects.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
Imports Microsoft.VisualBasic
Imports System
Imports DevExpress.Xpo
Namespace AdvancedSupportForEnums
Public Enum Title
Mr
Mrs
Miss
Mx
End Enum
Public Class Person
Inherits XPObject
Private privateGender As Title
Public Property Gender() As Title
Get
Return privateGender
End Get
Set(ByVal value As Title)
privateGender = value
End Set
End Property
Private privateDateOfBirth As DateTime
Public Property DateOfBirth() As DateTime
Get
Return privateDateOfBirth
End Get
Set(ByVal value As DateTime)
privateDateOfBirth = value
End Set
End Property
Private privateOwner As Person
Public Property Owner() As Person
Get
Return privateOwner
End Get
Set(ByVal value As Person)
privateOwner = value
End Set
End Property
Private privateFirstName As String
Public Property FirstName() As String
Get
Return privateFirstName
End Get
Set(ByVal value As String)
privateFirstName = value
End Set
End Property
Private privateTeam As Team
Public Property Team() As Team
Get
Return privateTeam
End Get
Set(ByVal value As Team)
privateTeam = value
End Set
End Property
End Class
Public Class Team
Inherits XPObject
Private privateName As String
Public Property Name() As String
Get
Return privateName
End Get
Set(ByVal value As String)
privateName = value
End Set
End Property
End Class
End Namespace