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
Imports DevExpress.Persistent.Base.General
Imports System.Data.SqlClient
Imports System.Configuration
Imports System.Linq
Imports System.Linq.Expressions
Imports DevExpress.ExpressApp.ConditionalAppearance

<DefaultClassOptions()> _
<NavigationItem(False), CreatableItem(False)> _
<DeferredDeletion(False)> _
Public Class PartnerAccountConnectionInfoQueryPartner
    Inherits BaseObject
    Private _PartnerAccountConnectionInfoQueryHeader As PartnerAccountConnectionInfoQueryHeader
    Private _CustomersFrom As CustomersFrom 'Saját cég
    Private _Customers As Customers 'Partner
    Private _CurrencyName_Account As CurrencyName 'Számla devizaneme
    Private _PartnerType As ePartnerType 'Folyószámla oldal
    Private _BallanceHUF As Double 'Egyenleg HUF
    Private _BallanceDEV As Double 'Egyenleg DEV
    Public Sub New(ByVal session As Session)
        MyBase.New(session)
    End Sub
    <Association("PartnerAccountConnectionInfoQueryHeader-PartnerAccountConnectionInfoQueryPartner", GetType(PartnerAccountConnectionInfoQueryHeader))> _
    Property PartnerAccountConnectionInfoQueryHeader As PartnerAccountConnectionInfoQueryHeader
        Get
            Return _PartnerAccountConnectionInfoQueryHeader
        End Get
        Set(ByVal value As PartnerAccountConnectionInfoQueryHeader)
            SetPropertyValue("PartnerAccountConnectionInfoQueryHeader", _PartnerAccountConnectionInfoQueryHeader, value)
        End Set
    End Property
    Property CustomersFrom() As CustomersFrom
        Get
            Return _CustomersFrom
        End Get
        Set(ByVal value As CustomersFrom)
            SetPropertyValue("CustomersFrom", _CustomersFrom, value)
        End Set
    End Property
    Property Customers() As Customers
        Get
            Return _Customers
        End Get
        Set(ByVal value As Customers)
            SetPropertyValue("Customers", _Customers, value)
        End Set
    End Property
    Property CurrencyName_Account As CurrencyName
        Get
            Return _CurrencyName_Account
        End Get
        Set(value As CurrencyName)
            SetPropertyValue("CurrencyName_Account", _CurrencyName_Account, value)
        End Set
    End Property
    Property PartnerType() As ePartnerType
        Get
            Return _PartnerType
        End Get
        Set(ByVal value As ePartnerType)
            SetPropertyValue("PartnerType", _PartnerType, value)
        End Set
    End Property
    Property BallanceHUF As Double
        Get
            Return _BallanceHUF
        End Get
        Set(ByVal value As Double)
            SetPropertyValue("BallanceHUF", _BallanceHUF, value)
        End Set
    End Property
    Property BallanceDEV As Double
        Get
            Return _BallanceDEV
        End Get
        Set(ByVal value As Double)
            SetPropertyValue("BallanceTotal", _BallanceDEV, value)
        End Set
    End Property
End Class
