'------------------------------------------------------------------------------
' <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 Shipper
	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 _ShipperID As Integer
    Public Property ShipperID As Integer
        Get
            Return _ShipperID
        End Get
        Set(ByVal value As Integer)
            _ShipperID = value
            OnPropertyChanged("ShipperID")
        End Set
    End Property

    Private _CompanyName As String
    Public Property CompanyName As String
        Get
            Return _CompanyName
        End Get
        Set(ByVal value As String)
            _CompanyName = value
            OnPropertyChanged("CompanyName")
        End Set
    End Property

    Private _Phone As String
    Public Property Phone As String
        Get
            Return _Phone
        End Get
        Set(ByVal value As String)
            _Phone = value
            OnPropertyChanged("Phone")
        End Set
    End Property


    Private _Orders As ObservableCollection(Of Order) = New ObservableCollection(Of Order)
    Public Overridable Property Orders As ObservableCollection(Of Order)
        Get
            Return _Orders
        End Get
        Set(ByVal value As ObservableCollection(Of Order))
            _Orders = value
            OnPropertyChanged("Orders")
        End Set
    End Property

End Class
