'------------------------------------------------------------------------------
' <auto-generated>
'     此代码由工具生成。
'     运行时版本:2.0.50727.3649
'
'     对此文件的更改可能会导致不正确的行为，并且如果
'     重新生成代码，这些更改将会丢失。
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict On
Option Explicit On

Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Data.Linq
Imports System.Data.Linq.Mapping
Imports System.Linq
Imports System.Linq.Expressions
Imports System.Reflection


<System.Data.Linq.Mapping.DatabaseAttribute(Name:="WebSiteII")>  _
Partial Public Class DB_PlugDataContext
	Inherits System.Data.Linq.DataContext
	
	Private Shared mappingSource As System.Data.Linq.Mapping.MappingSource = New AttributeMappingSource
	
  #Region "Extensibility Method Definitions"
  Partial Private Sub OnCreated()
  End Sub
  Partial Private Sub InsertPlugClass(instance As PlugClass)
    End Sub
  Partial Private Sub UpdatePlugClass(instance As PlugClass)
    End Sub
  Partial Private Sub DeletePlugClass(instance As PlugClass)
    End Sub
  Partial Private Sub InsertPlugParameter(instance As PlugParameter)
    End Sub
  Partial Private Sub UpdatePlugParameter(instance As PlugParameter)
    End Sub
  Partial Private Sub DeletePlugParameter(instance As PlugParameter)
    End Sub
  Partial Private Sub InsertPlugUserSecurity(instance As PlugUserSecurity)
    End Sub
  Partial Private Sub UpdatePlugUserSecurity(instance As PlugUserSecurity)
    End Sub
  Partial Private Sub DeletePlugUserSecurity(instance As PlugUserSecurity)
    End Sub
  Partial Private Sub InsertPlug(instance As Plug)
    End Sub
  Partial Private Sub UpdatePlug(instance As Plug)
    End Sub
  Partial Private Sub DeletePlug(instance As Plug)
    End Sub
  #End Region
	
	Public Sub New()
        MyBase.New(System.Web.Configuration.WebConfigurationManager.ConnectionStrings("XrenCRMConnString").ToString, mappingSource)
		OnCreated
	End Sub
	
	Public Sub New(ByVal connection As String)
		MyBase.New(connection, mappingSource)
		OnCreated
	End Sub
	
	Public Sub New(ByVal connection As System.Data.IDbConnection)
		MyBase.New(connection, mappingSource)
		OnCreated
	End Sub
	
	Public Sub New(ByVal connection As String, ByVal mappingSource As System.Data.Linq.Mapping.MappingSource)
		MyBase.New(connection, mappingSource)
		OnCreated
	End Sub
	
	Public Sub New(ByVal connection As System.Data.IDbConnection, ByVal mappingSource As System.Data.Linq.Mapping.MappingSource)
		MyBase.New(connection, mappingSource)
		OnCreated
	End Sub
	
	Public ReadOnly Property PlugClass() As System.Data.Linq.Table(Of PlugClass)
		Get
			Return Me.GetTable(Of PlugClass)
		End Get
	End Property
	
	Public ReadOnly Property PlugParameter() As System.Data.Linq.Table(Of PlugParameter)
		Get
			Return Me.GetTable(Of PlugParameter)
		End Get
	End Property
	
	Public ReadOnly Property PlugUserSecurity() As System.Data.Linq.Table(Of PlugUserSecurity)
		Get
			Return Me.GetTable(Of PlugUserSecurity)
		End Get
	End Property
	
	Public ReadOnly Property Plug() As System.Data.Linq.Table(Of Plug)
		Get
			Return Me.GetTable(Of Plug)
		End Get
	End Property
End Class

<Table(Name:="dbo.PlugClass")>  _
Partial Public Class PlugClass
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ClassID As Integer
	
	Private _ClassName As String
	
	Private _OrderID As System.Nullable(Of Integer)
	
	Private _ClassType As System.Nullable(Of Integer)
	
	Private _enName As String
	
    #Region "Extensibility Method Definitions"
    Partial Private Sub OnLoaded()
    End Sub
    Partial Private Sub OnValidate(action As System.Data.Linq.ChangeAction)
    End Sub
    Partial Private Sub OnCreated()
    End Sub
    Partial Private Sub OnClassIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnClassIDChanged()
    End Sub
    Partial Private Sub OnClassNameChanging(value As String)
    End Sub
    Partial Private Sub OnClassNameChanged()
    End Sub
    Partial Private Sub OnOrderIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnOrderIDChanged()
    End Sub
    Partial Private Sub OnClassTypeChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnClassTypeChanged()
    End Sub
    Partial Private Sub OnenNameChanging(value As String)
    End Sub
    Partial Private Sub OnenNameChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Column(Storage:="_ClassID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ClassID() As Integer
		Get
			Return Me._ClassID
		End Get
		Set
			If ((Me._ClassID = value)  _
						= false) Then
				Me.OnClassIDChanging(value)
				Me.SendPropertyChanging
				Me._ClassID = value
				Me.SendPropertyChanged("ClassID")
				Me.OnClassIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ClassName", DbType:="NVarChar(30) NOT NULL", CanBeNull:=false)>  _
	Public Property ClassName() As String
		Get
			Return Me._ClassName
		End Get
		Set
			If (String.Equals(Me._ClassName, value) = false) Then
				Me.OnClassNameChanging(value)
				Me.SendPropertyChanging
				Me._ClassName = value
				Me.SendPropertyChanged("ClassName")
				Me.OnClassNameChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_OrderID", DbType:="Int")>  _
	Public Property OrderID() As System.Nullable(Of Integer)
		Get
			Return Me._OrderID
		End Get
		Set
			If (Me._OrderID.Equals(value) = false) Then
				Me.OnOrderIDChanging(value)
				Me.SendPropertyChanging
				Me._OrderID = value
				Me.SendPropertyChanged("OrderID")
				Me.OnOrderIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ClassType", DbType:="Int")>  _
	Public Property ClassType() As System.Nullable(Of Integer)
		Get
			Return Me._ClassType
		End Get
		Set
			If (Me._ClassType.Equals(value) = false) Then
				Me.OnClassTypeChanging(value)
				Me.SendPropertyChanging
				Me._ClassType = value
				Me.SendPropertyChanged("ClassType")
				Me.OnClassTypeChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_enName", DbType:="NVarChar(30)")>  _
	Public Property enName() As String
		Get
			Return Me._enName
		End Get
		Set
			If (String.Equals(Me._enName, value) = false) Then
				Me.OnenNameChanging(value)
				Me.SendPropertyChanging
				Me._enName = value
				Me.SendPropertyChanged("enName")
				Me.OnenNameChanged
			End If
		End Set
	End Property
	
	Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging
	
	Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
	
	Protected Overridable Sub SendPropertyChanging()
		If ((Me.PropertyChangingEvent Is Nothing)  _
					= false) Then
			RaiseEvent PropertyChanging(Me, emptyChangingEventArgs)
		End If
	End Sub
	
	Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String])
		If ((Me.PropertyChangedEvent Is Nothing)  _
					= false) Then
			RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
		End If
	End Sub
End Class

<Table(Name:="dbo.PlugParameter")>  _
Partial Public Class PlugParameter
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ParID As Integer
	
	Private _PlugID As Integer
	
	Private _ParName As String
	
	Private _ParNote As String
	
	Private _ParType As Integer
	
    #Region "Extensibility Method Definitions"
    Partial Private Sub OnLoaded()
    End Sub
    Partial Private Sub OnValidate(action As System.Data.Linq.ChangeAction)
    End Sub
    Partial Private Sub OnCreated()
    End Sub
    Partial Private Sub OnParIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnParIDChanged()
    End Sub
    Partial Private Sub OnPlugIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnPlugIDChanged()
    End Sub
    Partial Private Sub OnParNameChanging(value As String)
    End Sub
    Partial Private Sub OnParNameChanged()
    End Sub
    Partial Private Sub OnParNoteChanging(value As String)
    End Sub
    Partial Private Sub OnParNoteChanged()
    End Sub
    Partial Private Sub OnParTypeChanging(value As Integer)
    End Sub
    Partial Private Sub OnParTypeChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Column(Storage:="_ParID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ParID() As Integer
		Get
			Return Me._ParID
		End Get
		Set
			If ((Me._ParID = value)  _
						= false) Then
				Me.OnParIDChanging(value)
				Me.SendPropertyChanging
				Me._ParID = value
				Me.SendPropertyChanged("ParID")
				Me.OnParIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_PlugID", DbType:="Int NOT NULL")>  _
	Public Property PlugID() As Integer
		Get
			Return Me._PlugID
		End Get
		Set
			If ((Me._PlugID = value)  _
						= false) Then
				Me.OnPlugIDChanging(value)
				Me.SendPropertyChanging
				Me._PlugID = value
				Me.SendPropertyChanged("PlugID")
				Me.OnPlugIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ParName", DbType:="NVarChar(20) NOT NULL", CanBeNull:=false)>  _
	Public Property ParName() As String
		Get
			Return Me._ParName
		End Get
		Set
			If (String.Equals(Me._ParName, value) = false) Then
				Me.OnParNameChanging(value)
				Me.SendPropertyChanging
				Me._ParName = value
				Me.SendPropertyChanged("ParName")
				Me.OnParNameChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ParNote", DbType:="NVarChar(20) NOT NULL", CanBeNull:=false)>  _
	Public Property ParNote() As String
		Get
			Return Me._ParNote
		End Get
		Set
			If (String.Equals(Me._ParNote, value) = false) Then
				Me.OnParNoteChanging(value)
				Me.SendPropertyChanging
				Me._ParNote = value
				Me.SendPropertyChanged("ParNote")
				Me.OnParNoteChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ParType", DbType:="Int NOT NULL")>  _
	Public Property ParType() As Integer
		Get
			Return Me._ParType
		End Get
		Set
			If ((Me._ParType = value)  _
						= false) Then
				Me.OnParTypeChanging(value)
				Me.SendPropertyChanging
				Me._ParType = value
				Me.SendPropertyChanged("ParType")
				Me.OnParTypeChanged
			End If
		End Set
	End Property
	
	Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging
	
	Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
	
	Protected Overridable Sub SendPropertyChanging()
		If ((Me.PropertyChangingEvent Is Nothing)  _
					= false) Then
			RaiseEvent PropertyChanging(Me, emptyChangingEventArgs)
		End If
	End Sub
	
	Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String])
		If ((Me.PropertyChangedEvent Is Nothing)  _
					= false) Then
			RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
		End If
	End Sub
End Class

<Table(Name:="dbo.PlugUserSecurity")>  _
Partial Public Class PlugUserSecurity
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _UserParameteID As Integer
	
	Private _SiteID As Integer
	
	Private _GroupID As Integer
	
	Private _PlugID As Integer
	
	Private _ParID As Integer
	
    #Region "Extensibility Method Definitions"
    Partial Private Sub OnLoaded()
    End Sub
    Partial Private Sub OnValidate(action As System.Data.Linq.ChangeAction)
    End Sub
    Partial Private Sub OnCreated()
    End Sub
    Partial Private Sub OnUserParameteIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnUserParameteIDChanged()
    End Sub
    Partial Private Sub OnSiteIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSiteIDChanged()
    End Sub
    Partial Private Sub OnGroupIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnGroupIDChanged()
    End Sub
    Partial Private Sub OnPlugIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnPlugIDChanged()
    End Sub
    Partial Private Sub OnParIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnParIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Column(Storage:="_UserParameteID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property UserParameteID() As Integer
		Get
			Return Me._UserParameteID
		End Get
		Set
			If ((Me._UserParameteID = value)  _
						= false) Then
				Me.OnUserParameteIDChanging(value)
				Me.SendPropertyChanging
				Me._UserParameteID = value
				Me.SendPropertyChanged("UserParameteID")
				Me.OnUserParameteIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_SiteID", DbType:="Int NOT NULL")>  _
	Public Property SiteID() As Integer
		Get
			Return Me._SiteID
		End Get
		Set
			If ((Me._SiteID = value)  _
						= false) Then
				Me.OnSiteIDChanging(value)
				Me.SendPropertyChanging
				Me._SiteID = value
				Me.SendPropertyChanged("SiteID")
				Me.OnSiteIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_GroupID", DbType:="Int NOT NULL")>  _
	Public Property GroupID() As Integer
		Get
			Return Me._GroupID
		End Get
		Set
			If ((Me._GroupID = value)  _
						= false) Then
				Me.OnGroupIDChanging(value)
				Me.SendPropertyChanging
				Me._GroupID = value
				Me.SendPropertyChanged("GroupID")
				Me.OnGroupIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_PlugID", DbType:="Int NOT NULL")>  _
	Public Property PlugID() As Integer
		Get
			Return Me._PlugID
		End Get
		Set
			If ((Me._PlugID = value)  _
						= false) Then
				Me.OnPlugIDChanging(value)
				Me.SendPropertyChanging
				Me._PlugID = value
				Me.SendPropertyChanged("PlugID")
				Me.OnPlugIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ParID", DbType:="Int NOT NULL")>  _
	Public Property ParID() As Integer
		Get
			Return Me._ParID
		End Get
		Set
			If ((Me._ParID = value)  _
						= false) Then
				Me.OnParIDChanging(value)
				Me.SendPropertyChanging
				Me._ParID = value
				Me.SendPropertyChanged("ParID")
				Me.OnParIDChanged
			End If
		End Set
	End Property
	
	Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging
	
	Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
	
	Protected Overridable Sub SendPropertyChanging()
		If ((Me.PropertyChangingEvent Is Nothing)  _
					= false) Then
			RaiseEvent PropertyChanging(Me, emptyChangingEventArgs)
		End If
	End Sub
	
	Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String])
		If ((Me.PropertyChangedEvent Is Nothing)  _
					= false) Then
			RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
		End If
	End Sub
End Class

<Table(Name:="dbo.Plug")>  _
Partial Public Class Plug
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ID As Integer
	
	Private _PlugName As String
	
	Private _PlugMemo As String
	
	Private _AddTime As System.Nullable(Of Date)
	
	Private _ClassID As Integer
	
	Private _Author As String
	
	Private _PageSetFile As String
	
	Private _PageFlag As Integer
	
	Private _SendTo As String
	
	Private _LookFor As String
	
	Private _PlugPic As String
	
	Private _OrderID As System.Nullable(Of Integer)
	
	Private _ShowMenu As System.Nullable(Of Boolean)
	
	Private _NewTarget As System.Nullable(Of Boolean)
	
	Private _BaseURL As String
	
    #Region "Extensibility Method Definitions"
    Partial Private Sub OnLoaded()
    End Sub
    Partial Private Sub OnValidate(action As System.Data.Linq.ChangeAction)
    End Sub
    Partial Private Sub OnCreated()
    End Sub
    Partial Private Sub OnIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnIDChanged()
    End Sub
    Partial Private Sub OnPlugNameChanging(value As String)
    End Sub
    Partial Private Sub OnPlugNameChanged()
    End Sub
    Partial Private Sub OnPlugMemoChanging(value As String)
    End Sub
    Partial Private Sub OnPlugMemoChanged()
    End Sub
    Partial Private Sub OnAddTimeChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnAddTimeChanged()
    End Sub
    Partial Private Sub OnClassIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnClassIDChanged()
    End Sub
    Partial Private Sub OnAuthorChanging(value As String)
    End Sub
    Partial Private Sub OnAuthorChanged()
    End Sub
    Partial Private Sub OnPageSetFileChanging(value As String)
    End Sub
    Partial Private Sub OnPageSetFileChanged()
    End Sub
    Partial Private Sub OnPageFlagChanging(value As Integer)
    End Sub
    Partial Private Sub OnPageFlagChanged()
    End Sub
    Partial Private Sub OnSendToChanging(value As String)
    End Sub
    Partial Private Sub OnSendToChanged()
    End Sub
    Partial Private Sub OnLookForChanging(value As String)
    End Sub
    Partial Private Sub OnLookForChanged()
    End Sub
    Partial Private Sub OnPlugPicChanging(value As String)
    End Sub
    Partial Private Sub OnPlugPicChanged()
    End Sub
    Partial Private Sub OnOrderIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnOrderIDChanged()
    End Sub
    Partial Private Sub OnShowMenuChanging(value As System.Nullable(Of Boolean))
    End Sub
    Partial Private Sub OnShowMenuChanged()
    End Sub
    Partial Private Sub OnNewTargetChanging(value As System.Nullable(Of Boolean))
    End Sub
    Partial Private Sub OnNewTargetChanged()
    End Sub
    Partial Private Sub OnBaseURLChanging(value As String)
    End Sub
    Partial Private Sub OnBaseURLChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Column(Storage:="_ID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ID() As Integer
		Get
			Return Me._ID
		End Get
		Set
			If ((Me._ID = value)  _
						= false) Then
				Me.OnIDChanging(value)
				Me.SendPropertyChanging
				Me._ID = value
				Me.SendPropertyChanged("ID")
				Me.OnIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_PlugName", DbType:="NVarChar(50) NOT NULL", CanBeNull:=false)>  _
	Public Property PlugName() As String
		Get
			Return Me._PlugName
		End Get
		Set
			If (String.Equals(Me._PlugName, value) = false) Then
				Me.OnPlugNameChanging(value)
				Me.SendPropertyChanging
				Me._PlugName = value
				Me.SendPropertyChanged("PlugName")
				Me.OnPlugNameChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_PlugMemo", DbType:="NVarChar(100) NOT NULL", CanBeNull:=false)>  _
	Public Property PlugMemo() As String
		Get
			Return Me._PlugMemo
		End Get
		Set
			If (String.Equals(Me._PlugMemo, value) = false) Then
				Me.OnPlugMemoChanging(value)
				Me.SendPropertyChanging
				Me._PlugMemo = value
				Me.SendPropertyChanged("PlugMemo")
				Me.OnPlugMemoChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_AddTime", DbType:="DateTime")>  _
	Public Property AddTime() As System.Nullable(Of Date)
		Get
			Return Me._AddTime
		End Get
		Set
			If (Me._AddTime.Equals(value) = false) Then
				Me.OnAddTimeChanging(value)
				Me.SendPropertyChanging
				Me._AddTime = value
				Me.SendPropertyChanged("AddTime")
				Me.OnAddTimeChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ClassID", DbType:="Int NOT NULL")>  _
	Public Property ClassID() As Integer
		Get
			Return Me._ClassID
		End Get
		Set
			If ((Me._ClassID = value)  _
						= false) Then
				Me.OnClassIDChanging(value)
				Me.SendPropertyChanging
				Me._ClassID = value
				Me.SendPropertyChanged("ClassID")
				Me.OnClassIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_Author", DbType:="NVarChar(20)")>  _
	Public Property Author() As String
		Get
			Return Me._Author
		End Get
		Set
			If (String.Equals(Me._Author, value) = false) Then
				Me.OnAuthorChanging(value)
				Me.SendPropertyChanging
				Me._Author = value
				Me.SendPropertyChanged("Author")
				Me.OnAuthorChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_PageSetFile", DbType:="NVarChar(50)")>  _
	Public Property PageSetFile() As String
		Get
			Return Me._PageSetFile
		End Get
		Set
			If (String.Equals(Me._PageSetFile, value) = false) Then
				Me.OnPageSetFileChanging(value)
				Me.SendPropertyChanging
				Me._PageSetFile = value
				Me.SendPropertyChanged("PageSetFile")
				Me.OnPageSetFileChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_PageFlag", DbType:="Int NOT NULL")>  _
	Public Property PageFlag() As Integer
		Get
			Return Me._PageFlag
		End Get
		Set
			If ((Me._PageFlag = value)  _
						= false) Then
				Me.OnPageFlagChanging(value)
				Me.SendPropertyChanging
				Me._PageFlag = value
				Me.SendPropertyChanged("PageFlag")
				Me.OnPageFlagChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_SendTo", DbType:="NVarChar(100)")>  _
	Public Property SendTo() As String
		Get
			Return Me._SendTo
		End Get
		Set
			If (String.Equals(Me._SendTo, value) = false) Then
				Me.OnSendToChanging(value)
				Me.SendPropertyChanging
				Me._SendTo = value
				Me.SendPropertyChanged("SendTo")
				Me.OnSendToChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_LookFor", DbType:="NVarChar(100)")>  _
	Public Property LookFor() As String
		Get
			Return Me._LookFor
		End Get
		Set
			If (String.Equals(Me._LookFor, value) = false) Then
				Me.OnLookForChanging(value)
				Me.SendPropertyChanging
				Me._LookFor = value
				Me.SendPropertyChanged("LookFor")
				Me.OnLookForChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_PlugPic", DbType:="NVarChar(100)")>  _
	Public Property PlugPic() As String
		Get
			Return Me._PlugPic
		End Get
		Set
			If (String.Equals(Me._PlugPic, value) = false) Then
				Me.OnPlugPicChanging(value)
				Me.SendPropertyChanging
				Me._PlugPic = value
				Me.SendPropertyChanged("PlugPic")
				Me.OnPlugPicChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_OrderID", DbType:="Int")>  _
	Public Property OrderID() As System.Nullable(Of Integer)
		Get
			Return Me._OrderID
		End Get
		Set
			If (Me._OrderID.Equals(value) = false) Then
				Me.OnOrderIDChanging(value)
				Me.SendPropertyChanging
				Me._OrderID = value
				Me.SendPropertyChanged("OrderID")
				Me.OnOrderIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ShowMenu", DbType:="Bit")>  _
	Public Property ShowMenu() As System.Nullable(Of Boolean)
		Get
			Return Me._ShowMenu
		End Get
		Set
			If (Me._ShowMenu.Equals(value) = false) Then
				Me.OnShowMenuChanging(value)
				Me.SendPropertyChanging
				Me._ShowMenu = value
				Me.SendPropertyChanged("ShowMenu")
				Me.OnShowMenuChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_NewTarget", DbType:="Bit")>  _
	Public Property NewTarget() As System.Nullable(Of Boolean)
		Get
			Return Me._NewTarget
		End Get
		Set
			If (Me._NewTarget.Equals(value) = false) Then
				Me.OnNewTargetChanging(value)
				Me.SendPropertyChanging
				Me._NewTarget = value
				Me.SendPropertyChanged("NewTarget")
				Me.OnNewTargetChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_BaseURL", DbType:="NVarChar(200)")>  _
	Public Property BaseURL() As String
		Get
			Return Me._BaseURL
		End Get
		Set
			If (String.Equals(Me._BaseURL, value) = false) Then
				Me.OnBaseURLChanging(value)
				Me.SendPropertyChanging
				Me._BaseURL = value
				Me.SendPropertyChanged("BaseURL")
				Me.OnBaseURLChanged
			End If
		End Set
	End Property
	
	Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging
	
	Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
	
	Protected Overridable Sub SendPropertyChanging()
		If ((Me.PropertyChangingEvent Is Nothing)  _
					= false) Then
			RaiseEvent PropertyChanging(Me, emptyChangingEventArgs)
		End If
	End Sub
	
	Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String])
		If ((Me.PropertyChangedEvent Is Nothing)  _
					= false) Then
			RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
		End If
	End Sub
End Class
