-
Notifications
You must be signed in to change notification settings - Fork 0
/
EmployeeTask.vb
30 lines (27 loc) · 958 Bytes
/
EmployeeTask.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
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports DevExpress.Xpo
Imports DevExpress.Persistent.Base
Imports DevExpress.Persistent.BaseImpl
Imports DevExpress.ExpressApp.SystemModule
Namespace EmployeeAsUserExample.Module.BusinessObjects
<DefaultClassOptions, ImageName("BO_Task"), ListViewFilter("All Tasks", ""), ListViewFilter("My Tasks", "[Owner.Oid] = CurrentUserId()")> _
Public Class EmployeeTask
Inherits Task
Public Sub New(ByVal session As Session)
MyBase.New(session)
End Sub
Private owner_Renamed As Employee
<Association("Employee-Task")> _
Public Property Owner() As Employee
Get
Return owner_Renamed
End Get
Set(ByVal value As Employee)
SetPropertyValue("Owner", owner_Renamed, value)
End Set
End Property
End Class
End Namespace