'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated from a template.
'
'     Manual changes to this file may cause unexpected behavior in your application.
'     Manual changes to this file will be overwritten if the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

Imports System
Imports System.Collections.Generic
Imports System.Collections.ObjectModel
Imports System.ComponentModel

Partial Public Class Order_Detail
	Implements INotifyPropertyChanged
    Public Event PropertyChanged As PropertyChangedEventHandler Implements INotifyPropertyChanged.PropertyChanged
    Protected Sub OnPropertyChanged(ByVal propertyName As String)
        RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
    End Sub

    Private _OrderID As Integer
    Public Property OrderID As Integer
        Get
            Return _OrderID
        End Get
        Set(ByVal value As Integer)
            _OrderID = value
            OnPropertyChanged("OrderID")
        End Set
    End Property

    Private _ProductID As Integer
    Public Property ProductID As Integer
        Get
            Return _ProductID
        End Get
        Set(ByVal value As Integer)
            _ProductID = value
            OnPropertyChanged("ProductID")
        End Set
    End Property

    Private _UnitPrice As Decimal
    Public Property UnitPrice As Decimal
        Get
            Return _UnitPrice
        End Get
        Set(ByVal value As Decimal)
            _UnitPrice = value
            OnPropertyChanged("UnitPrice")
        End Set
    End Property

    Private _Quantity As Short
    Public Property Quantity As Short
        Get
            Return _Quantity
        End Get
        Set(ByVal value As Short)
            _Quantity = value
            OnPropertyChanged("Quantity")
        End Set
    End Property

    Private _Discount As Single
    Public Property Discount As Single
        Get
            Return _Discount
        End Get
        Set(ByVal value As Single)
            _Discount = value
            OnPropertyChanged("Discount")
        End Set
    End Property


    Private _Order As Order
    Public Overridable Property Order As Order
        Get
            Return _Order
        End Get
        Set(ByVal value As Order)
            _Order = value
            OnPropertyChanged("Order")
        End Set
    End Property

    Private _Product As Product
    Public Overridable Property Product As Product
        Get
            Return _Product
        End Get
        Set(ByVal value As Product)
            _Product = value
            OnPropertyChanged("Product")
        End Set
    End Property

End Class
