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 FixedAssetsGroup1 Inherits BaseObject Private _CustomersFrom As CustomersFrom Private _ShortName As String Private _NumberGenerator As NumberGenerator Private _ReportData As ReportData 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 CustomersFrom As CustomersFrom Get Return _CustomersFrom End Get Set(value As CustomersFrom) SetPropertyValue("CustomersFrom", _CustomersFrom, value) End Set End Property _ Property ShortName As String Get Return _ShortName End Get Set(value As String) SetPropertyValue("ShortName", _ShortName, value) End Set End Property _ Property NumberGenerator As NumberGenerator Get Return _NumberGenerator End Get Set(value As NumberGenerator) SetPropertyValue("NumberGenerator", _NumberGenerator, value) End Set End Property Property ReportData As ReportData Get Return _ReportData End Get Set(value As ReportData) SetPropertyValue("ReportData", _ReportData, value) End Set End Property _ _ ReadOnly Property FixedAssetsGLParameters As XPCollection(Of FixedAssetsGLParameters) Get Return GetCollection(Of FixedAssetsGLParameters)("FixedAssetsGLParameters") End Get End Property End Class