Imports System Imports System.ComponentModel Imports DevExpress.Xpo Imports DevExpress.Data.Filtering Imports DevExpress.ExpressApp Imports DevExpress.Persistent.Base Imports DevExpress.Persistent.BaseImpl Imports DevExpress.Persistent.Validation _ Public Class CRM_Opportunities_Services 'CRM-hez rendelt termékek Inherits BaseObject Private _CRM_Opportunities As CRM_Opportunities Private _RowGroup1 As String 'Szöveges csoportosítás (nem kötelező) Private _RowGroup2 As String 'Szöveges másodlagos csoportosítás (nem kötelező) Private _Services As Services Public Sub New(ByVal session As Session) MyBase.New(session) ' This constructor is used when an object is loaded from a persistent storage. ' Do not place any code here or place it only when the IsLoading property is false: ' if (!IsLoading){ ' It is now OK to place your initialization code here. ' } ' or as an alternative, move your initialization code into the AfterConstruction method. End Sub Public Overrides Sub AfterConstruction() MyBase.AfterConstruction() ' Place here your initialization code. End Sub _ Property CRM_Opportunities As CRM_Opportunities Get Return _CRM_Opportunities End Get Set(value As CRM_Opportunities) SetPropertyValue("CRM_Opportunities", _CRM_Opportunities, value) End Set End Property Public Property RowGroup1() As String Get Return _RowGroup1 End Get Set(ByVal value As String) SetPropertyValue("RowGroup1", _RowGroup1, value) End Set End Property Public Property RowGroup2() As String Get Return _RowGroup2 End Get Set(ByVal value As String) SetPropertyValue("RowGroup2", _RowGroup2, value) End Set End Property Public Property Services As Services Get Return _Services End Get Set(value As Services) SetPropertyValue("Services", _Services, value) End Set End Property End Class