'------------------------------------------------------------------------------
' <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_ConfigsDataContext
	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 InsertManagerLog(instance As ManagerLog)
    End Sub
  Partial Private Sub UpdateManagerLog(instance As ManagerLog)
    End Sub
  Partial Private Sub DeleteManagerLog(instance As ManagerLog)
    End Sub
  Partial Private Sub InsertSiteSEO(instance As SiteSEO)
    End Sub
  Partial Private Sub UpdateSiteSEO(instance As SiteSEO)
    End Sub
  Partial Private Sub DeleteSiteSEO(instance As SiteSEO)
    End Sub
  Partial Private Sub InsertConfigs(instance As Configs)
    End Sub
  Partial Private Sub UpdateConfigs(instance As Configs)
    End Sub
  Partial Private Sub DeleteConfigs(instance As Configs)
    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 ManagerLog() As System.Data.Linq.Table(Of ManagerLog)
		Get
			Return Me.GetTable(Of ManagerLog)
		End Get
	End Property
	
	Public ReadOnly Property SiteSEO() As System.Data.Linq.Table(Of SiteSEO)
		Get
			Return Me.GetTable(Of SiteSEO)
		End Get
	End Property
	
	Public ReadOnly Property Configs() As System.Data.Linq.Table(Of Configs)
		Get
			Return Me.GetTable(Of Configs)
		End Get
	End Property
End Class

<Table(Name:="dbo.ManagerLog")>  _
Partial Public Class ManagerLog
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ID As Long
	
	Private _SiteID As System.Nullable(Of Integer)
	
	Private _UserName As String
	
	Private _UserIP As String
	
	Private _LogTime As Date
	
	Private _LogAction 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 Long)
    End Sub
    Partial Private Sub OnIDChanged()
    End Sub
    Partial Private Sub OnSiteIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSiteIDChanged()
    End Sub
    Partial Private Sub OnUserNameChanging(value As String)
    End Sub
    Partial Private Sub OnUserNameChanged()
    End Sub
    Partial Private Sub OnUserIPChanging(value As String)
    End Sub
    Partial Private Sub OnUserIPChanged()
    End Sub
    Partial Private Sub OnLogTimeChanging(value As Date)
    End Sub
    Partial Private Sub OnLogTimeChanged()
    End Sub
    Partial Private Sub OnLogActionChanging(value As String)
    End Sub
    Partial Private Sub OnLogActionChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Column(Storage:="_ID", AutoSync:=AutoSync.OnInsert, DbType:="BigInt NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ID() As Long
		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:="_SiteID", DbType:="Int")>  _
	Public Property SiteID() As System.Nullable(Of Integer)
		Get
			Return Me._SiteID
		End Get
		Set
			If (Me._SiteID.Equals(value) = false) Then
				Me.OnSiteIDChanging(value)
				Me.SendPropertyChanging
				Me._SiteID = value
				Me.SendPropertyChanged("SiteID")
				Me.OnSiteIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_UserName", DbType:="NVarChar(20) NOT NULL", CanBeNull:=false)>  _
	Public Property UserName() As String
		Get
			Return Me._UserName
		End Get
		Set
			If (String.Equals(Me._UserName, value) = false) Then
				Me.OnUserNameChanging(value)
				Me.SendPropertyChanging
				Me._UserName = value
				Me.SendPropertyChanged("UserName")
				Me.OnUserNameChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_UserIP", DbType:="NVarChar(15) NOT NULL", CanBeNull:=false)>  _
	Public Property UserIP() As String
		Get
			Return Me._UserIP
		End Get
		Set
			If (String.Equals(Me._UserIP, value) = false) Then
				Me.OnUserIPChanging(value)
				Me.SendPropertyChanging
				Me._UserIP = value
				Me.SendPropertyChanged("UserIP")
				Me.OnUserIPChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_LogTime", DbType:="DateTime NOT NULL")>  _
	Public Property LogTime() As Date
		Get
			Return Me._LogTime
		End Get
		Set
			If ((Me._LogTime = value)  _
						= false) Then
				Me.OnLogTimeChanging(value)
				Me.SendPropertyChanging
				Me._LogTime = value
				Me.SendPropertyChanged("LogTime")
				Me.OnLogTimeChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_LogAction", DbType:="NVarChar(200) NOT NULL", CanBeNull:=false)>  _
	Public Property LogAction() As String
		Get
			Return Me._LogAction
		End Get
		Set
			If (String.Equals(Me._LogAction, value) = false) Then
				Me.OnLogActionChanging(value)
				Me.SendPropertyChanging
				Me._LogAction = value
				Me.SendPropertyChanged("LogAction")
				Me.OnLogActionChanged
			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.SiteSEO")>  _
Partial Public Class SiteSEO
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ID As Integer
	
	Private _SiteID As System.Nullable(Of Integer)
	
	Private _SEOName As String
	
	Private _BindType As Integer
	
	Private _BindID As Integer
	
	Private _PageTitle As String
	
	Private _KeyWords As String
	
	Private _Description 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 OnSiteIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSiteIDChanged()
    End Sub
    Partial Private Sub OnSEONameChanging(value As String)
    End Sub
    Partial Private Sub OnSEONameChanged()
    End Sub
    Partial Private Sub OnBindTypeChanging(value As Integer)
    End Sub
    Partial Private Sub OnBindTypeChanged()
    End Sub
    Partial Private Sub OnBindIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnBindIDChanged()
    End Sub
    Partial Private Sub OnPageTitleChanging(value As String)
    End Sub
    Partial Private Sub OnPageTitleChanged()
    End Sub
    Partial Private Sub OnKeyWordsChanging(value As String)
    End Sub
    Partial Private Sub OnKeyWordsChanged()
    End Sub
    Partial Private Sub OnDescriptionChanging(value As String)
    End Sub
    Partial Private Sub OnDescriptionChanged()
    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:="_SiteID", DbType:="Int")>  _
	Public Property SiteID() As System.Nullable(Of Integer)
		Get
			Return Me._SiteID
		End Get
		Set
			If (Me._SiteID.Equals(value) = false) Then
				Me.OnSiteIDChanging(value)
				Me.SendPropertyChanging
				Me._SiteID = value
				Me.SendPropertyChanged("SiteID")
				Me.OnSiteIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_SEOName", DbType:="NVarChar(50)")>  _
	Public Property SEOName() As String
		Get
			Return Me._SEOName
		End Get
		Set
			If (String.Equals(Me._SEOName, value) = false) Then
				Me.OnSEONameChanging(value)
				Me.SendPropertyChanging
				Me._SEOName = value
				Me.SendPropertyChanged("SEOName")
				Me.OnSEONameChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_BindType", DbType:="Int NOT NULL")>  _
	Public Property BindType() As Integer
		Get
			Return Me._BindType
		End Get
		Set
			If ((Me._BindType = value)  _
						= false) Then
				Me.OnBindTypeChanging(value)
				Me.SendPropertyChanging
				Me._BindType = value
				Me.SendPropertyChanged("BindType")
				Me.OnBindTypeChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_BindID", DbType:="Int NOT NULL")>  _
	Public Property BindID() As Integer
		Get
			Return Me._BindID
		End Get
		Set
			If ((Me._BindID = value)  _
						= false) Then
				Me.OnBindIDChanging(value)
				Me.SendPropertyChanging
				Me._BindID = value
				Me.SendPropertyChanged("BindID")
				Me.OnBindIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_PageTitle", DbType:="NVarChar(500)")>  _
	Public Property PageTitle() As String
		Get
			Return Me._PageTitle
		End Get
		Set
			If (String.Equals(Me._PageTitle, value) = false) Then
				Me.OnPageTitleChanging(value)
				Me.SendPropertyChanging
				Me._PageTitle = value
				Me.SendPropertyChanged("PageTitle")
				Me.OnPageTitleChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_KeyWords", DbType:="NVarChar(500)")>  _
	Public Property KeyWords() As String
		Get
			Return Me._KeyWords
		End Get
		Set
			If (String.Equals(Me._KeyWords, value) = false) Then
				Me.OnKeyWordsChanging(value)
				Me.SendPropertyChanging
				Me._KeyWords = value
				Me.SendPropertyChanged("KeyWords")
				Me.OnKeyWordsChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_Description", DbType:="NVarChar(500)")>  _
	Public Property Description() As String
		Get
			Return Me._Description
		End Get
		Set
			If (String.Equals(Me._Description, value) = false) Then
				Me.OnDescriptionChanging(value)
				Me.SendPropertyChanging
				Me._Description = value
				Me.SendPropertyChanged("Description")
				Me.OnDescriptionChanged
			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.Configs")>  _
Partial Public Class Configs
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ID As Integer
	
	Private _ParentID As Integer
	
	Private _WebName As String
	
	Private _WebURL As String
	
	Private _UpType As String
	
	Private _LogTime As Integer
	
	Private _DefaultGroup As Integer
	
	Private _SiteKey As String
	
	Private _ManagerDirectory As String
	
	Private _CreatTime As Date
	
	Private _EndTime As Date
	
	Private _SiteState As Boolean
	
	Private _ManagerGroup As Integer
	
	Private _OpenTrace As System.Nullable(Of Integer)
	
	Private _CheckFile As System.Nullable(Of Boolean)
	
	Private _SecCache As System.Nullable(Of Boolean)
	
	Private _URLFileEx 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 OnParentIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnParentIDChanged()
    End Sub
    Partial Private Sub OnWebNameChanging(value As String)
    End Sub
    Partial Private Sub OnWebNameChanged()
    End Sub
    Partial Private Sub OnWebURLChanging(value As String)
    End Sub
    Partial Private Sub OnWebURLChanged()
    End Sub
    Partial Private Sub OnUpTypeChanging(value As String)
    End Sub
    Partial Private Sub OnUpTypeChanged()
    End Sub
    Partial Private Sub OnLogTimeChanging(value As Integer)
    End Sub
    Partial Private Sub OnLogTimeChanged()
    End Sub
    Partial Private Sub OnDefaultGroupChanging(value As Integer)
    End Sub
    Partial Private Sub OnDefaultGroupChanged()
    End Sub
    Partial Private Sub OnSiteKeyChanging(value As String)
    End Sub
    Partial Private Sub OnSiteKeyChanged()
    End Sub
    Partial Private Sub OnManagerDirectoryChanging(value As String)
    End Sub
    Partial Private Sub OnManagerDirectoryChanged()
    End Sub
    Partial Private Sub OnCreatTimeChanging(value As Date)
    End Sub
    Partial Private Sub OnCreatTimeChanged()
    End Sub
    Partial Private Sub OnEndTimeChanging(value As Date)
    End Sub
    Partial Private Sub OnEndTimeChanged()
    End Sub
    Partial Private Sub OnSiteStateChanging(value As Boolean)
    End Sub
    Partial Private Sub OnSiteStateChanged()
    End Sub
    Partial Private Sub OnManagerGroupChanging(value As Integer)
    End Sub
    Partial Private Sub OnManagerGroupChanged()
    End Sub
    Partial Private Sub OnOpenTraceChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnOpenTraceChanged()
    End Sub
    Partial Private Sub OnCheckFileChanging(value As System.Nullable(Of Boolean))
    End Sub
    Partial Private Sub OnCheckFileChanged()
    End Sub
    Partial Private Sub OnSecCacheChanging(value As System.Nullable(Of Boolean))
    End Sub
    Partial Private Sub OnSecCacheChanged()
    End Sub
    Partial Private Sub OnURLFileExChanging(value As String)
    End Sub
    Partial Private Sub OnURLFileExChanged()
    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:="_ParentID", DbType:="Int NOT NULL")>  _
	Public Property ParentID() As Integer
		Get
			Return Me._ParentID
		End Get
		Set
			If ((Me._ParentID = value)  _
						= false) Then
				Me.OnParentIDChanging(value)
				Me.SendPropertyChanging
				Me._ParentID = value
				Me.SendPropertyChanged("ParentID")
				Me.OnParentIDChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_WebName", DbType:="NVarChar(40) NOT NULL", CanBeNull:=false)>  _
	Public Property WebName() As String
		Get
			Return Me._WebName
		End Get
		Set
			If (String.Equals(Me._WebName, value) = false) Then
				Me.OnWebNameChanging(value)
				Me.SendPropertyChanging
				Me._WebName = value
				Me.SendPropertyChanged("WebName")
				Me.OnWebNameChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_WebURL", DbType:="NVarChar(60) NOT NULL", CanBeNull:=false)>  _
	Public Property WebURL() As String
		Get
			Return Me._WebURL
		End Get
		Set
			If (String.Equals(Me._WebURL, value) = false) Then
				Me.OnWebURLChanging(value)
				Me.SendPropertyChanging
				Me._WebURL = value
				Me.SendPropertyChanged("WebURL")
				Me.OnWebURLChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_UpType", DbType:="NVarChar(150)")>  _
	Public Property UpType() As String
		Get
			Return Me._UpType
		End Get
		Set
			If (String.Equals(Me._UpType, value) = false) Then
				Me.OnUpTypeChanging(value)
				Me.SendPropertyChanging
				Me._UpType = value
				Me.SendPropertyChanged("UpType")
				Me.OnUpTypeChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_LogTime", DbType:="Int NOT NULL")>  _
	Public Property LogTime() As Integer
		Get
			Return Me._LogTime
		End Get
		Set
			If ((Me._LogTime = value)  _
						= false) Then
				Me.OnLogTimeChanging(value)
				Me.SendPropertyChanging
				Me._LogTime = value
				Me.SendPropertyChanged("LogTime")
				Me.OnLogTimeChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_DefaultGroup", DbType:="Int NOT NULL")>  _
	Public Property DefaultGroup() As Integer
		Get
			Return Me._DefaultGroup
		End Get
		Set
			If ((Me._DefaultGroup = value)  _
						= false) Then
				Me.OnDefaultGroupChanging(value)
				Me.SendPropertyChanging
				Me._DefaultGroup = value
				Me.SendPropertyChanged("DefaultGroup")
				Me.OnDefaultGroupChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_SiteKey", DbType:="NChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property SiteKey() As String
		Get
			Return Me._SiteKey
		End Get
		Set
			If (String.Equals(Me._SiteKey, value) = false) Then
				Me.OnSiteKeyChanging(value)
				Me.SendPropertyChanging
				Me._SiteKey = value
				Me.SendPropertyChanged("SiteKey")
				Me.OnSiteKeyChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ManagerDirectory", DbType:="NVarChar(200) NOT NULL", CanBeNull:=false)>  _
	Public Property ManagerDirectory() As String
		Get
			Return Me._ManagerDirectory
		End Get
		Set
			If (String.Equals(Me._ManagerDirectory, value) = false) Then
				Me.OnManagerDirectoryChanging(value)
				Me.SendPropertyChanging
				Me._ManagerDirectory = value
				Me.SendPropertyChanged("ManagerDirectory")
				Me.OnManagerDirectoryChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_CreatTime", DbType:="DateTime NOT NULL")>  _
	Public Property CreatTime() As Date
		Get
			Return Me._CreatTime
		End Get
		Set
			If ((Me._CreatTime = value)  _
						= false) Then
				Me.OnCreatTimeChanging(value)
				Me.SendPropertyChanging
				Me._CreatTime = value
				Me.SendPropertyChanged("CreatTime")
				Me.OnCreatTimeChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_EndTime", DbType:="DateTime NOT NULL")>  _
	Public Property EndTime() As Date
		Get
			Return Me._EndTime
		End Get
		Set
			If ((Me._EndTime = value)  _
						= false) Then
				Me.OnEndTimeChanging(value)
				Me.SendPropertyChanging
				Me._EndTime = value
				Me.SendPropertyChanged("EndTime")
				Me.OnEndTimeChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_SiteState", DbType:="Bit NOT NULL")>  _
	Public Property SiteState() As Boolean
		Get
			Return Me._SiteState
		End Get
		Set
			If ((Me._SiteState = value)  _
						= false) Then
				Me.OnSiteStateChanging(value)
				Me.SendPropertyChanging
				Me._SiteState = value
				Me.SendPropertyChanged("SiteState")
				Me.OnSiteStateChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_ManagerGroup", DbType:="Int NOT NULL")>  _
	Public Property ManagerGroup() As Integer
		Get
			Return Me._ManagerGroup
		End Get
		Set
			If ((Me._ManagerGroup = value)  _
						= false) Then
				Me.OnManagerGroupChanging(value)
				Me.SendPropertyChanging
				Me._ManagerGroup = value
				Me.SendPropertyChanged("ManagerGroup")
				Me.OnManagerGroupChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_OpenTrace", DbType:="Int")>  _
	Public Property OpenTrace() As System.Nullable(Of Integer)
		Get
			Return Me._OpenTrace
		End Get
		Set
			If (Me._OpenTrace.Equals(value) = false) Then
				Me.OnOpenTraceChanging(value)
				Me.SendPropertyChanging
				Me._OpenTrace = value
				Me.SendPropertyChanged("OpenTrace")
				Me.OnOpenTraceChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_CheckFile", DbType:="Bit")>  _
	Public Property CheckFile() As System.Nullable(Of Boolean)
		Get
			Return Me._CheckFile
		End Get
		Set
			If (Me._CheckFile.Equals(value) = false) Then
				Me.OnCheckFileChanging(value)
				Me.SendPropertyChanging
				Me._CheckFile = value
				Me.SendPropertyChanged("CheckFile")
				Me.OnCheckFileChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_SecCache", DbType:="Bit")>  _
	Public Property SecCache() As System.Nullable(Of Boolean)
		Get
			Return Me._SecCache
		End Get
		Set
			If (Me._SecCache.Equals(value) = false) Then
				Me.OnSecCacheChanging(value)
				Me.SendPropertyChanging
				Me._SecCache = value
				Me.SendPropertyChanged("SecCache")
				Me.OnSecCacheChanged
			End If
		End Set
	End Property
	
	<Column(Storage:="_URLFileEx", DbType:="NVarChar(500)")>  _
	Public Property URLFileEx() As String
		Get
			Return Me._URLFileEx
		End Get
		Set
			If (String.Equals(Me._URLFileEx, value) = false) Then
				Me.OnURLFileExChanging(value)
				Me.SendPropertyChanging
				Me._URLFileEx = value
				Me.SendPropertyChanged("URLFileEx")
				Me.OnURLFileExChanged
			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
